configure revision 1.1 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for smproxy 1.0.2.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='smproxy'
271 PACKAGE_TARNAME='smproxy'
272 PACKAGE_VERSION='1.0.2'
273 PACKAGE_STRING='smproxy 1.0.2'
274 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG ac_pt_PKG_CONFIG SMPROXY_CFLAGS SMPROXY_LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS'
277 ac_subst_files=''
278
279 # Initialize some variables set by options.
280 ac_init_help=
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
284 cache_file=/dev/null
285 exec_prefix=NONE
286 no_create=
287 no_recursion=
288 prefix=NONE
289 program_prefix=NONE
290 program_suffix=NONE
291 program_transform_name=s,x,x,
292 silent=
293 site=
294 srcdir=
295 verbose=
296 x_includes=NONE
297 x_libraries=NONE
298
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
316
317 ac_prev=
318 for ac_option
319 do
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
323 ac_prev=
324 continue
325 fi
326
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329 # Accept the important Cygnus configure options, so we can diagnose typos.
330
331 case $ac_option in
332
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 ac_prev=bindir ;;
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 bindir=$ac_optarg ;;
337
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
342
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
349
350 --config-cache | -C)
351 cache_file=config.cache ;;
352
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 ac_prev=datadir ;;
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 | --da=*)
357 datadir=$ac_optarg ;;
358
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
367
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 case $ac_option in
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 *) ac_optarg=yes ;;
378 esac
379 eval "enable_$ac_feature='$ac_optarg'" ;;
380
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
389
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
392 with_gas=yes ;;
393
394 -help | --help | --hel | --he | -h)
395 ac_init_help=long ;;
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
400
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
405
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
412
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 ac_prev=infodir ;;
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
417
418 -libdir | --libdir | --libdi | --libd)
419 ac_prev=libdir ;;
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 libdir=$ac_optarg ;;
422
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
429
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
438
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 ac_prev=mandir ;;
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 mandir=$ac_optarg ;;
443
444 -nfp | --nfp | --nf)
445 # Obsolete; use --without-fp.
446 with_fp=no ;;
447
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
450 no_create=yes ;;
451
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 no_recursion=yes ;;
455
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
464
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 ac_prev=prefix ;;
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 prefix=$ac_optarg ;;
469
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
476
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
483
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
500
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
503 silent=yes ;;
504
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 ac_prev=sbindir ;;
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 | --sbi=* | --sb=*)
509 sbindir=$ac_optarg ;;
510
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
514 | --sha | --sh)
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 | --sha=* | --sh=*)
520 sharedstatedir=$ac_optarg ;;
521
522 -site | --site | --sit)
523 ac_prev=site ;;
524 -site=* | --site=* | --sit=*)
525 site=$ac_optarg ;;
526
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 ac_prev=srcdir ;;
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 srcdir=$ac_optarg ;;
531
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
538
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
543
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 verbose=yes ;;
546
547 -version | --version | --versio | --versi | --vers | -V)
548 ac_init_version=: ;;
549
550 -with-* | --with-*)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 case $ac_option in
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 *) ac_optarg=yes ;;
560 esac
561 eval "with_$ac_package='$ac_optarg'" ;;
562
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
571
572 --x)
573 # Obsolete; use --with-x.
574 with_x=yes ;;
575
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
582
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
589
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
593 ;;
594
595 *=*)
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
603 export $ac_envvar ;;
604
605 *)
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611 ;;
612
613 esac
614 done
615
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
620 fi
621
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
624 do
625 eval ac_val=$`echo $ac_var`
626 case $ac_val in
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
630 esac
631 done
632
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
636 do
637 eval ac_val=$`echo $ac_var`
638 case $ac_val in
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
642 esac
643 done
644
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
648 build=$build_alias
649 host=$host_alias
650 target=$target_alias
651
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
659 cross_compiling=yes
660 fi
661 fi
662
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666 test "$silent" = yes && exec 6>/dev/null
667
668
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
679 echo X"$0" |
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
684 s/.*/./; q'`
685 srcdir=$ac_confdir
686 if test ! -r $srcdir/$ac_unique_file; then
687 srcdir=..
688 fi
689 else
690 ac_srcdir_defaulted=no
691 fi
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
696 else
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
699 fi
700 fi
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
718 ac_env_CC_value=$CC
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
734 ac_env_PKG_CONFIG_value=$PKG_CONFIG
735 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
736 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
737 ac_env_SMPROXY_CFLAGS_set=${SMPROXY_CFLAGS+set}
738 ac_env_SMPROXY_CFLAGS_value=$SMPROXY_CFLAGS
739 ac_cv_env_SMPROXY_CFLAGS_set=${SMPROXY_CFLAGS+set}
740 ac_cv_env_SMPROXY_CFLAGS_value=$SMPROXY_CFLAGS
741 ac_env_SMPROXY_LIBS_set=${SMPROXY_LIBS+set}
742 ac_env_SMPROXY_LIBS_value=$SMPROXY_LIBS
743 ac_cv_env_SMPROXY_LIBS_set=${SMPROXY_LIBS+set}
744 ac_cv_env_SMPROXY_LIBS_value=$SMPROXY_LIBS
745
746 #
747 # Report the --help message.
748 #
749 if test "$ac_init_help" = "long"; then
750 # Omit some internal or obsolete options to make the list less imposing.
751 # This message is too long to be a string in the A/UX 3.1 sh.
752 cat <<_ACEOF
753 \`configure' configures smproxy 1.0.2 to adapt to many kinds of systems.
754
755 Usage: $0 [OPTION]... [VAR=VALUE]...
756
757 To assign environment variables (e.g., CC, CFLAGS...), specify them as
758 VAR=VALUE. See below for descriptions of some of the useful variables.
759
760 Defaults for the options are specified in brackets.
761
762 Configuration:
763 -h, --help display this help and exit
764 --help=short display options specific to this package
765 --help=recursive display the short help of all the included packages
766 -V, --version display version information and exit
767 -q, --quiet, --silent do not print \`checking...' messages
768 --cache-file=FILE cache test results in FILE [disabled]
769 -C, --config-cache alias for \`--cache-file=config.cache'
770 -n, --no-create do not create output files
771 --srcdir=DIR find the sources in DIR [configure dir or \`..']
772
773 _ACEOF
774
775 cat <<_ACEOF
776 Installation directories:
777 --prefix=PREFIX install architecture-independent files in PREFIX
778 [$ac_default_prefix]
779 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
780 [PREFIX]
781
782 By default, \`make install' will install all the files in
783 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
784 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
785 for instance \`--prefix=\$HOME'.
786
787 For better control, use the options below.
788
789 Fine tuning of the installation directories:
790 --bindir=DIR user executables [EPREFIX/bin]
791 --sbindir=DIR system admin executables [EPREFIX/sbin]
792 --libexecdir=DIR program executables [EPREFIX/libexec]
793 --datadir=DIR read-only architecture-independent data [PREFIX/share]
794 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
795 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
796 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
797 --libdir=DIR object code libraries [EPREFIX/lib]
798 --includedir=DIR C header files [PREFIX/include]
799 --oldincludedir=DIR C header files for non-gcc [/usr/include]
800 --infodir=DIR info documentation [PREFIX/info]
801 --mandir=DIR man documentation [PREFIX/man]
802 _ACEOF
803
804 cat <<\_ACEOF
805
806 Program names:
807 --program-prefix=PREFIX prepend PREFIX to installed program names
808 --program-suffix=SUFFIX append SUFFIX to installed program names
809 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
810
811 System types:
812 --build=BUILD configure for building on BUILD [guessed]
813 --host=HOST cross-compile to build programs to run on HOST [BUILD]
814 _ACEOF
815 fi
816
817 if test -n "$ac_init_help"; then
818 case $ac_init_help in
819 short | recursive ) echo "Configuration of smproxy 1.0.2:";;
820 esac
821 cat <<\_ACEOF
822
823 Optional Features:
824 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
825 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
826 --enable-maintainer-mode enable make rules and dependencies not useful
827 (and sometimes confusing) to the casual installer
828 --disable-dependency-tracking speeds up one-time build
829 --enable-dependency-tracking do not reject slow dependency extractors
830
831 Optional Packages:
832 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
833 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
834 --with-release-version=STRING
835 Use release version string in package name
836
837 Some influential environment variables:
838 CC C compiler command
839 CFLAGS C compiler flags
840 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
841 nonstandard directory <lib dir>
842 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
843 headers in a nonstandard directory <include dir>
844 PKG_CONFIG path to pkg-config utility
845 SMPROXY_CFLAGS
846 C compiler flags for SMPROXY, overriding pkg-config
847 SMPROXY_LIBS
848 linker flags for SMPROXY, overriding pkg-config
849
850 Use these variables to override the choices made by `configure' or to help
851 it to find libraries and programs with nonstandard names/locations.
852
853 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
854 _ACEOF
855 fi
856
857 if test "$ac_init_help" = "recursive"; then
858 # If there are subdirs, report their specific --help.
859 ac_popdir=`pwd`
860 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
861 test -d $ac_dir || continue
862 ac_builddir=.
863
864 if test "$ac_dir" != .; then
865 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
866 # A "../" for each directory in $ac_dir_suffix.
867 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
868 else
869 ac_dir_suffix= ac_top_builddir=
870 fi
871
872 case $srcdir in
873 .) # No --srcdir option. We are building in place.
874 ac_srcdir=.
875 if test -z "$ac_top_builddir"; then
876 ac_top_srcdir=.
877 else
878 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
879 fi ;;
880 [\\/]* | ?:[\\/]* ) # Absolute path.
881 ac_srcdir=$srcdir$ac_dir_suffix;
882 ac_top_srcdir=$srcdir ;;
883 *) # Relative path.
884 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
885 ac_top_srcdir=$ac_top_builddir$srcdir ;;
886 esac
887
888 # Do not use `cd foo && pwd` to compute absolute paths, because
889 # the directories may not exist.
890 case `pwd` in
891 .) ac_abs_builddir="$ac_dir";;
892 *)
893 case "$ac_dir" in
894 .) ac_abs_builddir=`pwd`;;
895 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
896 *) ac_abs_builddir=`pwd`/"$ac_dir";;
897 esac;;
898 esac
899 case $ac_abs_builddir in
900 .) ac_abs_top_builddir=${ac_top_builddir}.;;
901 *)
902 case ${ac_top_builddir}. in
903 .) ac_abs_top_builddir=$ac_abs_builddir;;
904 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
905 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
906 esac;;
907 esac
908 case $ac_abs_builddir in
909 .) ac_abs_srcdir=$ac_srcdir;;
910 *)
911 case $ac_srcdir in
912 .) ac_abs_srcdir=$ac_abs_builddir;;
913 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
914 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
915 esac;;
916 esac
917 case $ac_abs_builddir in
918 .) ac_abs_top_srcdir=$ac_top_srcdir;;
919 *)
920 case $ac_top_srcdir in
921 .) ac_abs_top_srcdir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
923 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
924 esac;;
925 esac
926
927 cd $ac_dir
928 # Check for guested configure; otherwise get Cygnus style configure.
929 if test -f $ac_srcdir/configure.gnu; then
930 echo
931 $SHELL $ac_srcdir/configure.gnu --help=recursive
932 elif test -f $ac_srcdir/configure; then
933 echo
934 $SHELL $ac_srcdir/configure --help=recursive
935 elif test -f $ac_srcdir/configure.ac ||
936 test -f $ac_srcdir/configure.in; then
937 echo
938 $ac_configure --help
939 else
940 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
941 fi
942 cd $ac_popdir
943 done
944 fi
945
946 test -n "$ac_init_help" && exit 0
947 if $ac_init_version; then
948 cat <<\_ACEOF
949 smproxy configure 1.0.2
950 generated by GNU Autoconf 2.59
951
952 Copyright (C) 2003 Free Software Foundation, Inc.
953 This configure script is free software; the Free Software Foundation
954 gives unlimited permission to copy, distribute and modify it.
955 _ACEOF
956 exit 0
957 fi
958 exec 5>config.log
959 cat >&5 <<_ACEOF
960 This file contains any messages produced by compilers while
961 running configure, to aid debugging if configure makes a mistake.
962
963 It was created by smproxy $as_me 1.0.2, which was
964 generated by GNU Autoconf 2.59. Invocation command line was
965
966 $ $0 $@
967
968 _ACEOF
969 {
970 cat <<_ASUNAME
971 ## --------- ##
972 ## Platform. ##
973 ## --------- ##
974
975 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
976 uname -m = `(uname -m) 2>/dev/null || echo unknown`
977 uname -r = `(uname -r) 2>/dev/null || echo unknown`
978 uname -s = `(uname -s) 2>/dev/null || echo unknown`
979 uname -v = `(uname -v) 2>/dev/null || echo unknown`
980
981 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
982 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
983
984 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
985 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
986 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
987 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
988 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
989 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
990 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
991
992 _ASUNAME
993
994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
995 for as_dir in $PATH
996 do
997 IFS=$as_save_IFS
998 test -z "$as_dir" && as_dir=.
999 echo "PATH: $as_dir"
1000 done
1001
1002 } >&5
1003
1004 cat >&5 <<_ACEOF
1005
1006
1007 ## ----------- ##
1008 ## Core tests. ##
1009 ## ----------- ##
1010
1011 _ACEOF
1012
1013
1014 # Keep a trace of the command line.
1015 # Strip out --no-create and --no-recursion so they do not pile up.
1016 # Strip out --silent because we don't want to record it for future runs.
1017 # Also quote any args containing shell meta-characters.
1018 # Make two passes to allow for proper duplicate-argument suppression.
1019 ac_configure_args=
1020 ac_configure_args0=
1021 ac_configure_args1=
1022 ac_sep=
1023 ac_must_keep_next=false
1024 for ac_pass in 1 2
1025 do
1026 for ac_arg
1027 do
1028 case $ac_arg in
1029 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1031 | -silent | --silent | --silen | --sile | --sil)
1032 continue ;;
1033 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1034 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1035 esac
1036 case $ac_pass in
1037 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1038 2)
1039 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1040 if test $ac_must_keep_next = true; then
1041 ac_must_keep_next=false # Got value, back to normal.
1042 else
1043 case $ac_arg in
1044 *=* | --config-cache | -C | -disable-* | --disable-* \
1045 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1046 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1047 | -with-* | --with-* | -without-* | --without-* | --x)
1048 case "$ac_configure_args0 " in
1049 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1050 esac
1051 ;;
1052 -* ) ac_must_keep_next=true ;;
1053 esac
1054 fi
1055 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1056 # Get rid of the leading space.
1057 ac_sep=" "
1058 ;;
1059 esac
1060 done
1061 done
1062 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1063 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1064
1065 # When interrupted or exit'd, cleanup temporary files, and complete
1066 # config.log. We remove comments because anyway the quotes in there
1067 # would cause problems or look ugly.
1068 # WARNING: Be sure not to use single quotes in there, as some shells,
1069 # such as our DU 5.0 friend, will then `close' the trap.
1070 trap 'exit_status=$?
1071 # Save into config.log some information that might help in debugging.
1072 {
1073 echo
1074
1075 cat <<\_ASBOX
1076 ## ---------------- ##
1077 ## Cache variables. ##
1078 ## ---------------- ##
1079 _ASBOX
1080 echo
1081 # The following way of writing the cache mishandles newlines in values,
1082 {
1083 (set) 2>&1 |
1084 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1085 *ac_space=\ *)
1086 sed -n \
1087 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1089 ;;
1090 *)
1091 sed -n \
1092 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1093 ;;
1094 esac;
1095 }
1096 echo
1097
1098 cat <<\_ASBOX
1099 ## ----------------- ##
1100 ## Output variables. ##
1101 ## ----------------- ##
1102 _ASBOX
1103 echo
1104 for ac_var in $ac_subst_vars
1105 do
1106 eval ac_val=$`echo $ac_var`
1107 echo "$ac_var='"'"'$ac_val'"'"'"
1108 done | sort
1109 echo
1110
1111 if test -n "$ac_subst_files"; then
1112 cat <<\_ASBOX
1113 ## ------------- ##
1114 ## Output files. ##
1115 ## ------------- ##
1116 _ASBOX
1117 echo
1118 for ac_var in $ac_subst_files
1119 do
1120 eval ac_val=$`echo $ac_var`
1121 echo "$ac_var='"'"'$ac_val'"'"'"
1122 done | sort
1123 echo
1124 fi
1125
1126 if test -s confdefs.h; then
1127 cat <<\_ASBOX
1128 ## ----------- ##
1129 ## confdefs.h. ##
1130 ## ----------- ##
1131 _ASBOX
1132 echo
1133 sed "/^$/d" confdefs.h | sort
1134 echo
1135 fi
1136 test "$ac_signal" != 0 &&
1137 echo "$as_me: caught signal $ac_signal"
1138 echo "$as_me: exit $exit_status"
1139 } >&5
1140 rm -f core *.core &&
1141 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1142 exit $exit_status
1143 ' 0
1144 for ac_signal in 1 2 13 15; do
1145 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1146 done
1147 ac_signal=0
1148
1149 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1150 rm -rf conftest* confdefs.h
1151 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1152 echo >confdefs.h
1153
1154 # Predefined preprocessor variables.
1155
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_NAME "$PACKAGE_NAME"
1158 _ACEOF
1159
1160
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1163 _ACEOF
1164
1165
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1168 _ACEOF
1169
1170
1171 cat >>confdefs.h <<_ACEOF
1172 #define PACKAGE_STRING "$PACKAGE_STRING"
1173 _ACEOF
1174
1175
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1178 _ACEOF
1179
1180
1181 # Let the site file select an alternate cache file if it wants to.
1182 # Prefer explicitly selected file to automatically selected ones.
1183 if test -z "$CONFIG_SITE"; then
1184 if test "x$prefix" != xNONE; then
1185 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1186 else
1187 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1188 fi
1189 fi
1190 for ac_site_file in $CONFIG_SITE; do
1191 if test -r "$ac_site_file"; then
1192 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1193 echo "$as_me: loading site script $ac_site_file" >&6;}
1194 sed 's/^/| /' "$ac_site_file" >&5
1195 . "$ac_site_file"
1196 fi
1197 done
1198
1199 if test -r "$cache_file"; then
1200 # Some versions of bash will fail to source /dev/null (special
1201 # files actually), so we avoid doing that.
1202 if test -f "$cache_file"; then
1203 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1204 echo "$as_me: loading cache $cache_file" >&6;}
1205 case $cache_file in
1206 [\\/]* | ?:[\\/]* ) . $cache_file;;
1207 *) . ./$cache_file;;
1208 esac
1209 fi
1210 else
1211 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1212 echo "$as_me: creating cache $cache_file" >&6;}
1213 >$cache_file
1214 fi
1215
1216 # Check that the precious variables saved in the cache have kept the same
1217 # value.
1218 ac_cache_corrupted=false
1219 for ac_var in `(set) 2>&1 |
1220 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1221 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1222 eval ac_new_set=\$ac_env_${ac_var}_set
1223 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1224 eval ac_new_val="\$ac_env_${ac_var}_value"
1225 case $ac_old_set,$ac_new_set in
1226 set,)
1227 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1228 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1229 ac_cache_corrupted=: ;;
1230 ,set)
1231 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1232 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1233 ac_cache_corrupted=: ;;
1234 ,);;
1235 *)
1236 if test "x$ac_old_val" != "x$ac_new_val"; then
1237 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1238 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1239 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1240 echo "$as_me: former value: $ac_old_val" >&2;}
1241 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1242 echo "$as_me: current value: $ac_new_val" >&2;}
1243 ac_cache_corrupted=:
1244 fi;;
1245 esac
1246 # Pass precious variables to config.status.
1247 if test "$ac_new_set" = set; then
1248 case $ac_new_val in
1249 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1250 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1251 *) ac_arg=$ac_var=$ac_new_val ;;
1252 esac
1253 case " $ac_configure_args " in
1254 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1255 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1256 esac
1257 fi
1258 done
1259 if $ac_cache_corrupted; then
1260 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1261 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1262 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1263 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1264 { (exit 1); exit 1; }; }
1265 fi
1266
1267 ac_ext=c
1268 ac_cpp='$CPP $CPPFLAGS'
1269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299 am__api_version="1.9"
1300 ac_aux_dir=
1301 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1302 if test -f $ac_dir/install-sh; then
1303 ac_aux_dir=$ac_dir
1304 ac_install_sh="$ac_aux_dir/install-sh -c"
1305 break
1306 elif test -f $ac_dir/install.sh; then
1307 ac_aux_dir=$ac_dir
1308 ac_install_sh="$ac_aux_dir/install.sh -c"
1309 break
1310 elif test -f $ac_dir/shtool; then
1311 ac_aux_dir=$ac_dir
1312 ac_install_sh="$ac_aux_dir/shtool install -c"
1313 break
1314 fi
1315 done
1316 if test -z "$ac_aux_dir"; then
1317 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1318 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1319 { (exit 1); exit 1; }; }
1320 fi
1321 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1322 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1323 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1324
1325 # Find a good install program. We prefer a C program (faster),
1326 # so one script is as good as another. But avoid the broken or
1327 # incompatible versions:
1328 # SysV /etc/install, /usr/sbin/install
1329 # SunOS /usr/etc/install
1330 # IRIX /sbin/install
1331 # AIX /bin/install
1332 # AmigaOS /C/install, which installs bootblocks on floppy discs
1333 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1334 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1335 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1336 # OS/2's system install, which has a completely different semantic
1337 # ./install, which can be erroneously created by make from ./install.sh.
1338 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1339 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1340 if test -z "$INSTALL"; then
1341 if test "${ac_cv_path_install+set}" = set; then
1342 echo $ECHO_N "(cached) $ECHO_C" >&6
1343 else
1344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1345 for as_dir in $PATH
1346 do
1347 IFS=$as_save_IFS
1348 test -z "$as_dir" && as_dir=.
1349 # Account for people who put trailing slashes in PATH elements.
1350 case $as_dir/ in
1351 ./ | .// | /cC/* | \
1352 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1353 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1354 /usr/ucb/* ) ;;
1355 *)
1356 # OSF1 and SCO ODT 3.0 have their own names for install.
1357 # Don't use installbsd from OSF since it installs stuff as root
1358 # by default.
1359 for ac_prog in ginstall scoinst install; do
1360 for ac_exec_ext in '' $ac_executable_extensions; do
1361 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1362 if test $ac_prog = install &&
1363 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1364 # AIX install. It has an incompatible calling convention.
1365 :
1366 elif test $ac_prog = install &&
1367 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1368 # program-specific install script used by HP pwplus--don't use.
1369 :
1370 else
1371 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1372 break 3
1373 fi
1374 fi
1375 done
1376 done
1377 ;;
1378 esac
1379 done
1380
1381
1382 fi
1383 if test "${ac_cv_path_install+set}" = set; then
1384 INSTALL=$ac_cv_path_install
1385 else
1386 # As a last resort, use the slow shell script. We don't cache a
1387 # path for INSTALL within a source directory, because that will
1388 # break other packages using the cache if that directory is
1389 # removed, or if the path is relative.
1390 INSTALL=$ac_install_sh
1391 fi
1392 fi
1393 echo "$as_me:$LINENO: result: $INSTALL" >&5
1394 echo "${ECHO_T}$INSTALL" >&6
1395
1396 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1397 # It thinks the first close brace ends the variable substitution.
1398 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1399
1400 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1401
1402 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1403
1404 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1405 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1406 # Just in case
1407 sleep 1
1408 echo timestamp > conftest.file
1409 # Do `set' in a subshell so we don't clobber the current shell's
1410 # arguments. Must try -L first in case configure is actually a
1411 # symlink; some systems play weird games with the mod time of symlinks
1412 # (eg FreeBSD returns the mod time of the symlink's containing
1413 # directory).
1414 if (
1415 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1416 if test "$*" = "X"; then
1417 # -L didn't work.
1418 set X `ls -t $srcdir/configure conftest.file`
1419 fi
1420 rm -f conftest.file
1421 if test "$*" != "X $srcdir/configure conftest.file" \
1422 && test "$*" != "X conftest.file $srcdir/configure"; then
1423
1424 # If neither matched, then we have a broken ls. This can happen
1425 # if, for instance, CONFIG_SHELL is bash and it inherits a
1426 # broken ls alias from the environment. This has actually
1427 # happened. Such a system could not be considered "sane".
1428 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1429 alias in your environment" >&5
1430 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1431 alias in your environment" >&2;}
1432 { (exit 1); exit 1; }; }
1433 fi
1434
1435 test "$2" = conftest.file
1436 )
1437 then
1438 # Ok.
1439 :
1440 else
1441 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1442 Check your system clock" >&5
1443 echo "$as_me: error: newly created file is older than distributed files!
1444 Check your system clock" >&2;}
1445 { (exit 1); exit 1; }; }
1446 fi
1447 echo "$as_me:$LINENO: result: yes" >&5
1448 echo "${ECHO_T}yes" >&6
1449 test "$program_prefix" != NONE &&
1450 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1451 # Use a double $ so make ignores it.
1452 test "$program_suffix" != NONE &&
1453 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1454 # Double any \ or $. echo might interpret backslashes.
1455 # By default was `s,x,x', remove it if useless.
1456 cat <<\_ACEOF >conftest.sed
1457 s/[\\$]/&&/g;s/;s,x,x,$//
1458 _ACEOF
1459 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1460 rm conftest.sed
1461
1462 # expand $ac_aux_dir to an absolute path
1463 am_aux_dir=`cd $ac_aux_dir && pwd`
1464
1465 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1466 # Use eval to expand $SHELL
1467 if eval "$MISSING --run true"; then
1468 am_missing_run="$MISSING --run "
1469 else
1470 am_missing_run=
1471 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1472 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1473 fi
1474
1475 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1476 # We used to keeping the `.' as first argument, in order to
1477 # allow $(mkdir_p) to be used without argument. As in
1478 # $(mkdir_p) $(somedir)
1479 # where $(somedir) is conditionally defined. However this is wrong
1480 # for two reasons:
1481 # 1. if the package is installed by a user who cannot write `.'
1482 # make install will fail,
1483 # 2. the above comment should most certainly read
1484 # $(mkdir_p) $(DESTDIR)$(somedir)
1485 # so it does not work when $(somedir) is undefined and
1486 # $(DESTDIR) is not.
1487 # To support the latter case, we have to write
1488 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1489 # so the `.' trick is pointless.
1490 mkdir_p='mkdir -p --'
1491 else
1492 # On NextStep and OpenStep, the `mkdir' command does not
1493 # recognize any option. It will interpret all options as
1494 # directories to create, and then abort because `.' already
1495 # exists.
1496 for d in ./-p ./--version;
1497 do
1498 test -d $d && rmdir $d
1499 done
1500 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1501 if test -f "$ac_aux_dir/mkinstalldirs"; then
1502 mkdir_p='$(mkinstalldirs)'
1503 else
1504 mkdir_p='$(install_sh) -d'
1505 fi
1506 fi
1507
1508 for ac_prog in gawk mawk nawk awk
1509 do
1510 # Extract the first word of "$ac_prog", so it can be a program name with args.
1511 set dummy $ac_prog; ac_word=$2
1512 echo "$as_me:$LINENO: checking for $ac_word" >&5
1513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1514 if test "${ac_cv_prog_AWK+set}" = set; then
1515 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 else
1517 if test -n "$AWK"; then
1518 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1519 else
1520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1521 for as_dir in $PATH
1522 do
1523 IFS=$as_save_IFS
1524 test -z "$as_dir" && as_dir=.
1525 for ac_exec_ext in '' $ac_executable_extensions; do
1526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1527 ac_cv_prog_AWK="$ac_prog"
1528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1529 break 2
1530 fi
1531 done
1532 done
1533
1534 fi
1535 fi
1536 AWK=$ac_cv_prog_AWK
1537 if test -n "$AWK"; then
1538 echo "$as_me:$LINENO: result: $AWK" >&5
1539 echo "${ECHO_T}$AWK" >&6
1540 else
1541 echo "$as_me:$LINENO: result: no" >&5
1542 echo "${ECHO_T}no" >&6
1543 fi
1544
1545 test -n "$AWK" && break
1546 done
1547
1548 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1549 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1550 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1551 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 else
1554 cat >conftest.make <<\_ACEOF
1555 all:
1556 @echo 'ac_maketemp="$(MAKE)"'
1557 _ACEOF
1558 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1559 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1560 if test -n "$ac_maketemp"; then
1561 eval ac_cv_prog_make_${ac_make}_set=yes
1562 else
1563 eval ac_cv_prog_make_${ac_make}_set=no
1564 fi
1565 rm -f conftest.make
1566 fi
1567 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1568 echo "$as_me:$LINENO: result: yes" >&5
1569 echo "${ECHO_T}yes" >&6
1570 SET_MAKE=
1571 else
1572 echo "$as_me:$LINENO: result: no" >&5
1573 echo "${ECHO_T}no" >&6
1574 SET_MAKE="MAKE=${MAKE-make}"
1575 fi
1576
1577 rm -rf .tst 2>/dev/null
1578 mkdir .tst 2>/dev/null
1579 if test -d .tst; then
1580 am__leading_dot=.
1581 else
1582 am__leading_dot=_
1583 fi
1584 rmdir .tst 2>/dev/null
1585
1586 # test to see if srcdir already configured
1587 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1588 test -f $srcdir/config.status; then
1589 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1590 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1591 { (exit 1); exit 1; }; }
1592 fi
1593
1594 # test whether we have cygpath
1595 if test -z "$CYGPATH_W"; then
1596 if (cygpath --version) >/dev/null 2>/dev/null; then
1597 CYGPATH_W='cygpath -w'
1598 else
1599 CYGPATH_W=echo
1600 fi
1601 fi
1602
1603
1604 # Define the identity of the package.
1605 PACKAGE='smproxy'
1606 VERSION='1.0.2'
1607
1608
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE "$PACKAGE"
1611 _ACEOF
1612
1613
1614 cat >>confdefs.h <<_ACEOF
1615 #define VERSION "$VERSION"
1616 _ACEOF
1617
1618 # Some tools Automake needs.
1619
1620 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1621
1622
1623 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1624
1625
1626 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1627
1628
1629 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1630
1631
1632 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1633
1634 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1635
1636 # Installed binaries are usually stripped using `strip' when the user
1637 # run `make install-strip'. However `strip' might not be the right
1638 # tool to use in cross-compilation environments, therefore Automake
1639 # will honor the `STRIP' environment variable to overrule this program.
1640 if test "$cross_compiling" != no; then
1641 if test -n "$ac_tool_prefix"; then
1642 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1643 set dummy ${ac_tool_prefix}strip; ac_word=$2
1644 echo "$as_me:$LINENO: checking for $ac_word" >&5
1645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1646 if test "${ac_cv_prog_STRIP+set}" = set; then
1647 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 else
1649 if test -n "$STRIP"; then
1650 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1651 else
1652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1653 for as_dir in $PATH
1654 do
1655 IFS=$as_save_IFS
1656 test -z "$as_dir" && as_dir=.
1657 for ac_exec_ext in '' $ac_executable_extensions; do
1658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1659 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661 break 2
1662 fi
1663 done
1664 done
1665
1666 fi
1667 fi
1668 STRIP=$ac_cv_prog_STRIP
1669 if test -n "$STRIP"; then
1670 echo "$as_me:$LINENO: result: $STRIP" >&5
1671 echo "${ECHO_T}$STRIP" >&6
1672 else
1673 echo "$as_me:$LINENO: result: no" >&5
1674 echo "${ECHO_T}no" >&6
1675 fi
1676
1677 fi
1678 if test -z "$ac_cv_prog_STRIP"; then
1679 ac_ct_STRIP=$STRIP
1680 # Extract the first word of "strip", so it can be a program name with args.
1681 set dummy strip; ac_word=$2
1682 echo "$as_me:$LINENO: checking for $ac_word" >&5
1683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 else
1687 if test -n "$ac_ct_STRIP"; then
1688 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1689 else
1690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 for as_dir in $PATH
1692 do
1693 IFS=$as_save_IFS
1694 test -z "$as_dir" && as_dir=.
1695 for ac_exec_ext in '' $ac_executable_extensions; do
1696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1697 ac_cv_prog_ac_ct_STRIP="strip"
1698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1699 break 2
1700 fi
1701 done
1702 done
1703
1704 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1705 fi
1706 fi
1707 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1708 if test -n "$ac_ct_STRIP"; then
1709 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1710 echo "${ECHO_T}$ac_ct_STRIP" >&6
1711 else
1712 echo "$as_me:$LINENO: result: no" >&5
1713 echo "${ECHO_T}no" >&6
1714 fi
1715
1716 STRIP=$ac_ct_STRIP
1717 else
1718 STRIP="$ac_cv_prog_STRIP"
1719 fi
1720
1721 fi
1722 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1723
1724 # We need awk for the "check" target. The system "awk" is bad on
1725 # some platforms.
1726 # Always define AMTAR for backward compatibility.
1727
1728 AMTAR=${AMTAR-"${am_missing_run}tar"}
1729
1730 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1731
1732
1733
1734
1735
1736 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1737 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1738 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1739 if test "${enable_maintainer_mode+set}" = set; then
1740 enableval="$enable_maintainer_mode"
1741 USE_MAINTAINER_MODE=$enableval
1742 else
1743 USE_MAINTAINER_MODE=no
1744 fi;
1745 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1746 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1747
1748
1749 if test $USE_MAINTAINER_MODE = yes; then
1750 MAINTAINER_MODE_TRUE=
1751 MAINTAINER_MODE_FALSE='#'
1752 else
1753 MAINTAINER_MODE_TRUE='#'
1754 MAINTAINER_MODE_FALSE=
1755 fi
1756
1757 MAINT=$MAINTAINER_MODE_TRUE
1758
1759
1760
1761 ac_config_headers="$ac_config_headers config.h"
1762
1763
1764 ac_ext=c
1765 ac_cpp='$CPP $CPPFLAGS'
1766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1769 if test -n "$ac_tool_prefix"; then
1770 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1771 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1772 echo "$as_me:$LINENO: checking for $ac_word" >&5
1773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1774 if test "${ac_cv_prog_CC+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 if test -n "$CC"; then
1778 ac_cv_prog_CC="$CC" # Let the user override the test.
1779 else
1780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781 for as_dir in $PATH
1782 do
1783 IFS=$as_save_IFS
1784 test -z "$as_dir" && as_dir=.
1785 for ac_exec_ext in '' $ac_executable_extensions; do
1786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1787 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 break 2
1790 fi
1791 done
1792 done
1793
1794 fi
1795 fi
1796 CC=$ac_cv_prog_CC
1797 if test -n "$CC"; then
1798 echo "$as_me:$LINENO: result: $CC" >&5
1799 echo "${ECHO_T}$CC" >&6
1800 else
1801 echo "$as_me:$LINENO: result: no" >&5
1802 echo "${ECHO_T}no" >&6
1803 fi
1804
1805 fi
1806 if test -z "$ac_cv_prog_CC"; then
1807 ac_ct_CC=$CC
1808 # Extract the first word of "gcc", so it can be a program name with args.
1809 set dummy gcc; ac_word=$2
1810 echo "$as_me:$LINENO: checking for $ac_word" >&5
1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1812 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1813 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 else
1815 if test -n "$ac_ct_CC"; then
1816 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1817 else
1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819 for as_dir in $PATH
1820 do
1821 IFS=$as_save_IFS
1822 test -z "$as_dir" && as_dir=.
1823 for ac_exec_ext in '' $ac_executable_extensions; do
1824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1825 ac_cv_prog_ac_ct_CC="gcc"
1826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827 break 2
1828 fi
1829 done
1830 done
1831
1832 fi
1833 fi
1834 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1835 if test -n "$ac_ct_CC"; then
1836 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1837 echo "${ECHO_T}$ac_ct_CC" >&6
1838 else
1839 echo "$as_me:$LINENO: result: no" >&5
1840 echo "${ECHO_T}no" >&6
1841 fi
1842
1843 CC=$ac_ct_CC
1844 else
1845 CC="$ac_cv_prog_CC"
1846 fi
1847
1848 if test -z "$CC"; then
1849 if test -n "$ac_tool_prefix"; then
1850 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1851 set dummy ${ac_tool_prefix}cc; ac_word=$2
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854 if test "${ac_cv_prog_CC+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 else
1857 if test -n "$CC"; then
1858 ac_cv_prog_CC="$CC" # Let the user override the test.
1859 else
1860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861 for as_dir in $PATH
1862 do
1863 IFS=$as_save_IFS
1864 test -z "$as_dir" && as_dir=.
1865 for ac_exec_ext in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 ac_cv_prog_CC="${ac_tool_prefix}cc"
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 break 2
1870 fi
1871 done
1872 done
1873
1874 fi
1875 fi
1876 CC=$ac_cv_prog_CC
1877 if test -n "$CC"; then
1878 echo "$as_me:$LINENO: result: $CC" >&5
1879 echo "${ECHO_T}$CC" >&6
1880 else
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1883 fi
1884
1885 fi
1886 if test -z "$ac_cv_prog_CC"; then
1887 ac_ct_CC=$CC
1888 # Extract the first word of "cc", so it can be a program name with args.
1889 set dummy cc; ac_word=$2
1890 echo "$as_me:$LINENO: checking for $ac_word" >&5
1891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1892 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 else
1895 if test -n "$ac_ct_CC"; then
1896 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1897 else
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 for as_dir in $PATH
1900 do
1901 IFS=$as_save_IFS
1902 test -z "$as_dir" && as_dir=.
1903 for ac_exec_ext in '' $ac_executable_extensions; do
1904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905 ac_cv_prog_ac_ct_CC="cc"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907 break 2
1908 fi
1909 done
1910 done
1911
1912 fi
1913 fi
1914 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1915 if test -n "$ac_ct_CC"; then
1916 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1917 echo "${ECHO_T}$ac_ct_CC" >&6
1918 else
1919 echo "$as_me:$LINENO: result: no" >&5
1920 echo "${ECHO_T}no" >&6
1921 fi
1922
1923 CC=$ac_ct_CC
1924 else
1925 CC="$ac_cv_prog_CC"
1926 fi
1927
1928 fi
1929 if test -z "$CC"; then
1930 # Extract the first word of "cc", so it can be a program name with args.
1931 set dummy cc; ac_word=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_CC+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 else
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC="$CC" # Let the user override the test.
1939 else
1940 ac_prog_rejected=no
1941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 for as_dir in $PATH
1943 do
1944 IFS=$as_save_IFS
1945 test -z "$as_dir" && as_dir=.
1946 for ac_exec_ext in '' $ac_executable_extensions; do
1947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1948 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1949 ac_prog_rejected=yes
1950 continue
1951 fi
1952 ac_cv_prog_CC="cc"
1953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1954 break 2
1955 fi
1956 done
1957 done
1958
1959 if test $ac_prog_rejected = yes; then
1960 # We found a bogon in the path, so make sure we never use it.
1961 set dummy $ac_cv_prog_CC
1962 shift
1963 if test $# != 0; then
1964 # We chose a different compiler from the bogus one.
1965 # However, it has the same basename, so the bogon will be chosen
1966 # first if we set CC to just the basename; use the full file name.
1967 shift
1968 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1969 fi
1970 fi
1971 fi
1972 fi
1973 CC=$ac_cv_prog_CC
1974 if test -n "$CC"; then
1975 echo "$as_me:$LINENO: result: $CC" >&5
1976 echo "${ECHO_T}$CC" >&6
1977 else
1978 echo "$as_me:$LINENO: result: no" >&5
1979 echo "${ECHO_T}no" >&6
1980 fi
1981
1982 fi
1983 if test -z "$CC"; then
1984 if test -n "$ac_tool_prefix"; then
1985 for ac_prog in cl
1986 do
1987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1989 echo "$as_me:$LINENO: checking for $ac_word" >&5
1990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1991 if test "${ac_cv_prog_CC+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 else
1994 if test -n "$CC"; then
1995 ac_cv_prog_CC="$CC" # Let the user override the test.
1996 else
1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998 for as_dir in $PATH
1999 do
2000 IFS=$as_save_IFS
2001 test -z "$as_dir" && as_dir=.
2002 for ac_exec_ext in '' $ac_executable_extensions; do
2003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2004 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006 break 2
2007 fi
2008 done
2009 done
2010
2011 fi
2012 fi
2013 CC=$ac_cv_prog_CC
2014 if test -n "$CC"; then
2015 echo "$as_me:$LINENO: result: $CC" >&5
2016 echo "${ECHO_T}$CC" >&6
2017 else
2018 echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6
2020 fi
2021
2022 test -n "$CC" && break
2023 done
2024 fi
2025 if test -z "$CC"; then
2026 ac_ct_CC=$CC
2027 for ac_prog in cl
2028 do
2029 # Extract the first word of "$ac_prog", so it can be a program name with args.
2030 set dummy $ac_prog; ac_word=$2
2031 echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 else
2036 if test -n "$ac_ct_CC"; then
2037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2038 else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH
2041 do
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_ac_ct_CC="$ac_prog"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 break 2
2049 fi
2050 done
2051 done
2052
2053 fi
2054 fi
2055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2056 if test -n "$ac_ct_CC"; then
2057 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2058 echo "${ECHO_T}$ac_ct_CC" >&6
2059 else
2060 echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6
2062 fi
2063
2064 test -n "$ac_ct_CC" && break
2065 done
2066
2067 CC=$ac_ct_CC
2068 fi
2069
2070 fi
2071
2072
2073 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2074 See \`config.log' for more details." >&5
2075 echo "$as_me: error: no acceptable C compiler found in \$PATH
2076 See \`config.log' for more details." >&2;}
2077 { (exit 1); exit 1; }; }
2078
2079 # Provide some information about the compiler.
2080 echo "$as_me:$LINENO:" \
2081 "checking for C compiler version" >&5
2082 ac_compiler=`set X $ac_compile; echo $2`
2083 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2084 (eval $ac_compiler --version </dev/null >&5) 2>&5
2085 ac_status=$?
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); }
2088 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2089 (eval $ac_compiler -v </dev/null >&5) 2>&5
2090 ac_status=$?
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); }
2093 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2094 (eval $ac_compiler -V </dev/null >&5) 2>&5
2095 ac_status=$?
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }
2098
2099 cat >conftest.$ac_ext <<_ACEOF
2100 /* confdefs.h. */
2101 _ACEOF
2102 cat confdefs.h >>conftest.$ac_ext
2103 cat >>conftest.$ac_ext <<_ACEOF
2104 /* end confdefs.h. */
2105
2106 int
2107 main ()
2108 {
2109
2110 ;
2111 return 0;
2112 }
2113 _ACEOF
2114 ac_clean_files_save=$ac_clean_files
2115 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2116 # Try to create an executable without -o first, disregard a.out.
2117 # It will help us diagnose broken compilers, and finding out an intuition
2118 # of exeext.
2119 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2120 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2121 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2122 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2123 (eval $ac_link_default) 2>&5
2124 ac_status=$?
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }; then
2127 # Find the output, starting from the most likely. This scheme is
2128 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2129 # resort.
2130
2131 # Be careful to initialize this variable, since it used to be cached.
2132 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2133 ac_cv_exeext=
2134 # b.out is created by i960 compilers.
2135 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2136 do
2137 test -f "$ac_file" || continue
2138 case $ac_file in
2139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2140 ;;
2141 conftest.$ac_ext )
2142 # This is the source file.
2143 ;;
2144 [ab].out )
2145 # We found the default executable, but exeext='' is most
2146 # certainly right.
2147 break;;
2148 *.* )
2149 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2150 # FIXME: I believe we export ac_cv_exeext for Libtool,
2151 # but it would be cool to find out if it's true. Does anybody
2152 # maintain Libtool? --akim.
2153 export ac_cv_exeext
2154 break;;
2155 * )
2156 break;;
2157 esac
2158 done
2159 else
2160 echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.$ac_ext >&5
2162
2163 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2164 See \`config.log' for more details." >&5
2165 echo "$as_me: error: C compiler cannot create executables
2166 See \`config.log' for more details." >&2;}
2167 { (exit 77); exit 77; }; }
2168 fi
2169
2170 ac_exeext=$ac_cv_exeext
2171 echo "$as_me:$LINENO: result: $ac_file" >&5
2172 echo "${ECHO_T}$ac_file" >&6
2173
2174 # Check the compiler produces executables we can run. If not, either
2175 # the compiler is broken, or we cross compile.
2176 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2177 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2178 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2179 # If not cross compiling, check that we can run a simple program.
2180 if test "$cross_compiling" != yes; then
2181 if { ac_try='./$ac_file'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 (eval $ac_try) 2>&5
2184 ac_status=$?
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2187 cross_compiling=no
2188 else
2189 if test "$cross_compiling" = maybe; then
2190 cross_compiling=yes
2191 else
2192 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2193 If you meant to cross compile, use \`--host'.
2194 See \`config.log' for more details." >&5
2195 echo "$as_me: error: cannot run C compiled programs.
2196 If you meant to cross compile, use \`--host'.
2197 See \`config.log' for more details." >&2;}
2198 { (exit 1); exit 1; }; }
2199 fi
2200 fi
2201 fi
2202 echo "$as_me:$LINENO: result: yes" >&5
2203 echo "${ECHO_T}yes" >&6
2204
2205 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2206 ac_clean_files=$ac_clean_files_save
2207 # Check the compiler produces executables we can run. If not, either
2208 # the compiler is broken, or we cross compile.
2209 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2210 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2211 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2212 echo "${ECHO_T}$cross_compiling" >&6
2213
2214 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2215 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2217 (eval $ac_link) 2>&5
2218 ac_status=$?
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; then
2221 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2222 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2223 # work properly (i.e., refer to `conftest.exe'), while it won't with
2224 # `rm'.
2225 for ac_file in conftest.exe conftest conftest.*; do
2226 test -f "$ac_file" || continue
2227 case $ac_file in
2228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2229 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2230 export ac_cv_exeext
2231 break;;
2232 * ) break;;
2233 esac
2234 done
2235 else
2236 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2237 See \`config.log' for more details." >&5
2238 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2239 See \`config.log' for more details." >&2;}
2240 { (exit 1); exit 1; }; }
2241 fi
2242
2243 rm -f conftest$ac_cv_exeext
2244 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2245 echo "${ECHO_T}$ac_cv_exeext" >&6
2246
2247 rm -f conftest.$ac_ext
2248 EXEEXT=$ac_cv_exeext
2249 ac_exeext=$EXEEXT
2250 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2251 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2252 if test "${ac_cv_objext+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 else
2255 cat >conftest.$ac_ext <<_ACEOF
2256 /* confdefs.h. */
2257 _ACEOF
2258 cat confdefs.h >>conftest.$ac_ext
2259 cat >>conftest.$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2261
2262 int
2263 main ()
2264 {
2265
2266 ;
2267 return 0;
2268 }
2269 _ACEOF
2270 rm -f conftest.o conftest.obj
2271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2272 (eval $ac_compile) 2>&5
2273 ac_status=$?
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; then
2276 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2277 case $ac_file in
2278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2279 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2280 break;;
2281 esac
2282 done
2283 else
2284 echo "$as_me: failed program was:" >&5
2285 sed 's/^/| /' conftest.$ac_ext >&5
2286
2287 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2288 See \`config.log' for more details." >&5
2289 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2290 See \`config.log' for more details." >&2;}
2291 { (exit 1); exit 1; }; }
2292 fi
2293
2294 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2295 fi
2296 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2297 echo "${ECHO_T}$ac_cv_objext" >&6
2298 OBJEXT=$ac_cv_objext
2299 ac_objext=$OBJEXT
2300 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2301 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2302 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 else
2305 cat >conftest.$ac_ext <<_ACEOF
2306 /* confdefs.h. */
2307 _ACEOF
2308 cat confdefs.h >>conftest.$ac_ext
2309 cat >>conftest.$ac_ext <<_ACEOF
2310 /* end confdefs.h. */
2311
2312 int
2313 main ()
2314 {
2315 #ifndef __GNUC__
2316 choke me
2317 #endif
2318
2319 ;
2320 return 0;
2321 }
2322 _ACEOF
2323 rm -f conftest.$ac_objext
2324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2325 (eval $ac_compile) 2>conftest.er1
2326 ac_status=$?
2327 grep -v '^ *+' conftest.er1 >conftest.err
2328 rm -f conftest.er1
2329 cat conftest.err >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); } &&
2332 { ac_try='test -z "$ac_c_werror_flag"
2333 || test ! -s conftest.err'
2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 (eval $ac_try) 2>&5
2336 ac_status=$?
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; } &&
2339 { ac_try='test -s conftest.$ac_objext'
2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2341 (eval $ac_try) 2>&5
2342 ac_status=$?
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; }; then
2345 ac_compiler_gnu=yes
2346 else
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.$ac_ext >&5
2349
2350 ac_compiler_gnu=no
2351 fi
2352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2353 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2354
2355 fi
2356 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2357 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2358 GCC=`test $ac_compiler_gnu = yes && echo yes`
2359 ac_test_CFLAGS=${CFLAGS+set}
2360 ac_save_CFLAGS=$CFLAGS
2361 CFLAGS="-g"
2362 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2363 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2364 if test "${ac_cv_prog_cc_g+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2373
2374 int
2375 main ()
2376 {
2377
2378 ;
2379 return 0;
2380 }
2381 _ACEOF
2382 rm -f conftest.$ac_objext
2383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2384 (eval $ac_compile) 2>conftest.er1
2385 ac_status=$?
2386 grep -v '^ *+' conftest.er1 >conftest.err
2387 rm -f conftest.er1
2388 cat conftest.err >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } &&
2391 { ac_try='test -z "$ac_c_werror_flag"
2392 || test ! -s conftest.err'
2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 (eval $ac_try) 2>&5
2395 ac_status=$?
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; } &&
2398 { ac_try='test -s conftest.$ac_objext'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 (eval $ac_try) 2>&5
2401 ac_status=$?
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; }; then
2404 ac_cv_prog_cc_g=yes
2405 else
2406 echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.$ac_ext >&5
2408
2409 ac_cv_prog_cc_g=no
2410 fi
2411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2412 fi
2413 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2414 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2415 if test "$ac_test_CFLAGS" = set; then
2416 CFLAGS=$ac_save_CFLAGS
2417 elif test $ac_cv_prog_cc_g = yes; then
2418 if test "$GCC" = yes; then
2419 CFLAGS="-g -O2"
2420 else
2421 CFLAGS="-g"
2422 fi
2423 else
2424 if test "$GCC" = yes; then
2425 CFLAGS="-O2"
2426 else
2427 CFLAGS=
2428 fi
2429 fi
2430 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2431 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2432 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 else
2435 ac_cv_prog_cc_stdc=no
2436 ac_save_CC=$CC
2437 cat >conftest.$ac_ext <<_ACEOF
2438 /* confdefs.h. */
2439 _ACEOF
2440 cat confdefs.h >>conftest.$ac_ext
2441 cat >>conftest.$ac_ext <<_ACEOF
2442 /* end confdefs.h. */
2443 #include <stdarg.h>
2444 #include <stdio.h>
2445 #include <sys/types.h>
2446 #include <sys/stat.h>
2447 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2448 struct buf { int x; };
2449 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2450 static char *e (p, i)
2451 char **p;
2452 int i;
2453 {
2454 return p[i];
2455 }
2456 static char *f (char * (*g) (char **, int), char **p, ...)
2457 {
2458 char *s;
2459 va_list v;
2460 va_start (v,p);
2461 s = g (p, va_arg (v,int));
2462 va_end (v);
2463 return s;
2464 }
2465
2466 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2467 function prototypes and stuff, but not '\xHH' hex character constants.
2468 These don't provoke an error unfortunately, instead are silently treated
2469 as 'x'. The following induces an error, until -std1 is added to get
2470 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2471 array size at least. It's necessary to write '\x00'==0 to get something
2472 that's true only with -std1. */
2473 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2474
2475 int test (int i, double x);
2476 struct s1 {int (*f) (int a);};
2477 struct s2 {int (*f) (double a);};
2478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2479 int argc;
2480 char **argv;
2481 int
2482 main ()
2483 {
2484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2485 ;
2486 return 0;
2487 }
2488 _ACEOF
2489 # Don't try gcc -ansi; that turns off useful extensions and
2490 # breaks some systems' header files.
2491 # AIX -qlanglvl=ansi
2492 # Ultrix and OSF/1 -std1
2493 # HP-UX 10.20 and later -Ae
2494 # HP-UX older versions -Aa -D_HPUX_SOURCE
2495 # SVR4 -Xc -D__EXTENSIONS__
2496 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2497 do
2498 CC="$ac_save_CC $ac_arg"
2499 rm -f conftest.$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2502 ac_status=$?
2503 grep -v '^ *+' conftest.er1 >conftest.err
2504 rm -f conftest.er1
2505 cat conftest.err >&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 (eval $ac_try) 2>&5
2512 ac_status=$?
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 (eval $ac_try) 2>&5
2518 ac_status=$?
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2521 ac_cv_prog_cc_stdc=$ac_arg
2522 break
2523 else
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2526
2527 fi
2528 rm -f conftest.err conftest.$ac_objext
2529 done
2530 rm -f conftest.$ac_ext conftest.$ac_objext
2531 CC=$ac_save_CC
2532
2533 fi
2534
2535 case "x$ac_cv_prog_cc_stdc" in
2536 x|xno)
2537 echo "$as_me:$LINENO: result: none needed" >&5
2538 echo "${ECHO_T}none needed" >&6 ;;
2539 *)
2540 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2541 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2542 CC="$CC $ac_cv_prog_cc_stdc" ;;
2543 esac
2544
2545 # Some people use a C++ compiler to compile C. Since we use `exit',
2546 # in C++ we need to declare it. In case someone uses the same compiler
2547 # for both compiling C and C++ we need to have the C++ compiler decide
2548 # the declaration of exit, since it's the most demanding environment.
2549 cat >conftest.$ac_ext <<_ACEOF
2550 #ifndef __cplusplus
2551 choke me
2552 #endif
2553 _ACEOF
2554 rm -f conftest.$ac_objext
2555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2556 (eval $ac_compile) 2>conftest.er1
2557 ac_status=$?
2558 grep -v '^ *+' conftest.er1 >conftest.err
2559 rm -f conftest.er1
2560 cat conftest.err >&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); } &&
2563 { ac_try='test -z "$ac_c_werror_flag"
2564 || test ! -s conftest.err'
2565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 (eval $ac_try) 2>&5
2567 ac_status=$?
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; } &&
2570 { ac_try='test -s conftest.$ac_objext'
2571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2572 (eval $ac_try) 2>&5
2573 ac_status=$?
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; }; then
2576 for ac_declaration in \
2577 '' \
2578 'extern "C" void std::exit (int) throw (); using std::exit;' \
2579 'extern "C" void std::exit (int); using std::exit;' \
2580 'extern "C" void exit (int) throw ();' \
2581 'extern "C" void exit (int);' \
2582 'void exit (int);'
2583 do
2584 cat >conftest.$ac_ext <<_ACEOF
2585 /* confdefs.h. */
2586 _ACEOF
2587 cat confdefs.h >>conftest.$ac_ext
2588 cat >>conftest.$ac_ext <<_ACEOF
2589 /* end confdefs.h. */
2590 $ac_declaration
2591 #include <stdlib.h>
2592 int
2593 main ()
2594 {
2595 exit (42);
2596 ;
2597 return 0;
2598 }
2599 _ACEOF
2600 rm -f conftest.$ac_objext
2601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2602 (eval $ac_compile) 2>conftest.er1
2603 ac_status=$?
2604 grep -v '^ *+' conftest.er1 >conftest.err
2605 rm -f conftest.er1
2606 cat conftest.err >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); } &&
2609 { ac_try='test -z "$ac_c_werror_flag"
2610 || test ! -s conftest.err'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 (eval $ac_try) 2>&5
2613 ac_status=$?
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; } &&
2616 { ac_try='test -s conftest.$ac_objext'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2618 (eval $ac_try) 2>&5
2619 ac_status=$?
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2622 :
2623 else
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2626
2627 continue
2628 fi
2629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2630 cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h. */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2636 $ac_declaration
2637 int
2638 main ()
2639 {
2640 exit (42);
2641 ;
2642 return 0;
2643 }
2644 _ACEOF
2645 rm -f conftest.$ac_objext
2646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647 (eval $ac_compile) 2>conftest.er1
2648 ac_status=$?
2649 grep -v '^ *+' conftest.er1 >conftest.err
2650 rm -f conftest.er1
2651 cat conftest.err >&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); } &&
2654 { ac_try='test -z "$ac_c_werror_flag"
2655 || test ! -s conftest.err'
2656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657 (eval $ac_try) 2>&5
2658 ac_status=$?
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; } &&
2661 { ac_try='test -s conftest.$ac_objext'
2662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663 (eval $ac_try) 2>&5
2664 ac_status=$?
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; }; then
2667 break
2668 else
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2671
2672 fi
2673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2674 done
2675 rm -f conftest*
2676 if test -n "$ac_declaration"; then
2677 echo '#ifdef __cplusplus' >>confdefs.h
2678 echo $ac_declaration >>confdefs.h
2679 echo '#endif' >>confdefs.h
2680 fi
2681
2682 else
2683 echo "$as_me: failed program was:" >&5
2684 sed 's/^/| /' conftest.$ac_ext >&5
2685
2686 fi
2687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2688 ac_ext=c
2689 ac_cpp='$CPP $CPPFLAGS'
2690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2693 DEPDIR="${am__leading_dot}deps"
2694
2695 ac_config_commands="$ac_config_commands depfiles"
2696
2697
2698 am_make=${MAKE-make}
2699 cat > confinc << 'END'
2700 am__doit:
2701 @echo done
2702 .PHONY: am__doit
2703 END
2704 # If we don't find an include directive, just comment out the code.
2705 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2706 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2707 am__include="#"
2708 am__quote=
2709 _am_result=none
2710 # First try GNU make style include.
2711 echo "include confinc" > confmf
2712 # We grep out `Entering directory' and `Leaving directory'
2713 # messages which can occur if `w' ends up in MAKEFLAGS.
2714 # In particular we don't look at `^make:' because GNU make might
2715 # be invoked under some other name (usually "gmake"), in which
2716 # case it prints its new name instead of `make'.
2717 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2718 am__include=include
2719 am__quote=
2720 _am_result=GNU
2721 fi
2722 # Now try BSD make style include.
2723 if test "$am__include" = "#"; then
2724 echo '.include "confinc"' > confmf
2725 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2726 am__include=.include
2727 am__quote="\""
2728 _am_result=BSD
2729 fi
2730 fi
2731
2732
2733 echo "$as_me:$LINENO: result: $_am_result" >&5
2734 echo "${ECHO_T}$_am_result" >&6
2735 rm -f confinc confmf
2736
2737 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2738 if test "${enable_dependency_tracking+set}" = set; then
2739 enableval="$enable_dependency_tracking"
2740
2741 fi;
2742 if test "x$enable_dependency_tracking" != xno; then
2743 am_depcomp="$ac_aux_dir/depcomp"
2744 AMDEPBACKSLASH='\'
2745 fi
2746
2747
2748 if test "x$enable_dependency_tracking" != xno; then
2749 AMDEP_TRUE=
2750 AMDEP_FALSE='#'
2751 else
2752 AMDEP_TRUE='#'
2753 AMDEP_FALSE=
2754 fi
2755
2756
2757
2758
2759 depcc="$CC" am_compiler_list=
2760
2761 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2762 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2763 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2765 else
2766 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2767 # We make a subdir and do the tests there. Otherwise we can end up
2768 # making bogus files that we don't know about and never remove. For
2769 # instance it was reported that on HP-UX the gcc test will end up
2770 # making a dummy file named `D' -- because `-MD' means `put the output
2771 # in D'.
2772 mkdir conftest.dir
2773 # Copy depcomp to subdir because otherwise we won't find it if we're
2774 # using a relative directory.
2775 cp "$am_depcomp" conftest.dir
2776 cd conftest.dir
2777 # We will build objects and dependencies in a subdirectory because
2778 # it helps to detect inapplicable dependency modes. For instance
2779 # both Tru64's cc and ICC support -MD to output dependencies as a
2780 # side effect of compilation, but ICC will put the dependencies in
2781 # the current directory while Tru64 will put them in the object
2782 # directory.
2783 mkdir sub
2784
2785 am_cv_CC_dependencies_compiler_type=none
2786 if test "$am_compiler_list" = ""; then
2787 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2788 fi
2789 for depmode in $am_compiler_list; do
2790 # Setup a source with many dependencies, because some compilers
2791 # like to wrap large dependency lists on column 80 (with \), and
2792 # we should not choose a depcomp mode which is confused by this.
2793 #
2794 # We need to recreate these files for each test, as the compiler may
2795 # overwrite some of them when testing with obscure command lines.
2796 # This happens at least with the AIX C compiler.
2797 : > sub/conftest.c
2798 for i in 1 2 3 4 5 6; do
2799 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2800 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2801 # Solaris 8's {/usr,}/bin/sh.
2802 touch sub/conftst$i.h
2803 done
2804 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2805
2806 case $depmode in
2807 nosideeffect)
2808 # after this tag, mechanisms are not by side-effect, so they'll
2809 # only be used when explicitly requested
2810 if test "x$enable_dependency_tracking" = xyes; then
2811 continue
2812 else
2813 break
2814 fi
2815 ;;
2816 none) break ;;
2817 esac
2818 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2819 # mode. It turns out that the SunPro C++ compiler does not properly
2820 # handle `-M -o', and we need to detect this.
2821 if depmode=$depmode \
2822 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2823 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2824 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2825 >/dev/null 2>conftest.err &&
2826 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2827 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2828 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2829 # icc doesn't choke on unknown options, it will just issue warnings
2830 # or remarks (even with -Werror). So we grep stderr for any message
2831 # that says an option was ignored or not supported.
2832 # When given -MP, icc 7.0 and 7.1 complain thusly:
2833 # icc: Command line warning: ignoring option '-M'; no argument required
2834 # The diagnosis changed in icc 8.0:
2835 # icc: Command line remark: option '-MP' not supported
2836 if (grep 'ignoring option' conftest.err ||
2837 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2838 am_cv_CC_dependencies_compiler_type=$depmode
2839 break
2840 fi
2841 fi
2842 done
2843
2844 cd ..
2845 rm -rf conftest.dir
2846 else
2847 am_cv_CC_dependencies_compiler_type=none
2848 fi
2849
2850 fi
2851 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2852 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2853 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2854
2855
2856
2857 if
2858 test "x$enable_dependency_tracking" != xno \
2859 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2860 am__fastdepCC_TRUE=
2861 am__fastdepCC_FALSE='#'
2862 else
2863 am__fastdepCC_TRUE='#'
2864 am__fastdepCC_FALSE=
2865 fi
2866
2867
2868 # Find a good install program. We prefer a C program (faster),
2869 # so one script is as good as another. But avoid the broken or
2870 # incompatible versions:
2871 # SysV /etc/install, /usr/sbin/install
2872 # SunOS /usr/etc/install
2873 # IRIX /sbin/install
2874 # AIX /bin/install
2875 # AmigaOS /C/install, which installs bootblocks on floppy discs
2876 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2877 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2878 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2879 # OS/2's system install, which has a completely different semantic
2880 # ./install, which can be erroneously created by make from ./install.sh.
2881 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2882 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2883 if test -z "$INSTALL"; then
2884 if test "${ac_cv_path_install+set}" = set; then
2885 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 else
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888 for as_dir in $PATH
2889 do
2890 IFS=$as_save_IFS
2891 test -z "$as_dir" && as_dir=.
2892 # Account for people who put trailing slashes in PATH elements.
2893 case $as_dir/ in
2894 ./ | .// | /cC/* | \
2895 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2896 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2897 /usr/ucb/* ) ;;
2898 *)
2899 # OSF1 and SCO ODT 3.0 have their own names for install.
2900 # Don't use installbsd from OSF since it installs stuff as root
2901 # by default.
2902 for ac_prog in ginstall scoinst install; do
2903 for ac_exec_ext in '' $ac_executable_extensions; do
2904 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2905 if test $ac_prog = install &&
2906 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2907 # AIX install. It has an incompatible calling convention.
2908 :
2909 elif test $ac_prog = install &&
2910 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2911 # program-specific install script used by HP pwplus--don't use.
2912 :
2913 else
2914 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2915 break 3
2916 fi
2917 fi
2918 done
2919 done
2920 ;;
2921 esac
2922 done
2923
2924
2925 fi
2926 if test "${ac_cv_path_install+set}" = set; then
2927 INSTALL=$ac_cv_path_install
2928 else
2929 # As a last resort, use the slow shell script. We don't cache a
2930 # path for INSTALL within a source directory, because that will
2931 # break other packages using the cache if that directory is
2932 # removed, or if the path is relative.
2933 INSTALL=$ac_install_sh
2934 fi
2935 fi
2936 echo "$as_me:$LINENO: result: $INSTALL" >&5
2937 echo "${ECHO_T}$INSTALL" >&6
2938
2939 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2940 # It thinks the first close brace ends the variable substitution.
2941 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2942
2943 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2944
2945 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2946
2947
2948
2949 echo "$as_me:$LINENO: checking for mkstemp" >&5
2950 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
2951 if test "${ac_cv_func_mkstemp+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2953 else
2954 cat >conftest.$ac_ext <<_ACEOF
2955 /* confdefs.h. */
2956 _ACEOF
2957 cat confdefs.h >>conftest.$ac_ext
2958 cat >>conftest.$ac_ext <<_ACEOF
2959 /* end confdefs.h. */
2960 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
2961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2962 #define mkstemp innocuous_mkstemp
2963
2964 /* System header to define __stub macros and hopefully few prototypes,
2965 which can conflict with char mkstemp (); below.
2966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2967 <limits.h> exists even on freestanding compilers. */
2968
2969 #ifdef __STDC__
2970 # include <limits.h>
2971 #else
2972 # include <assert.h>
2973 #endif
2974
2975 #undef mkstemp
2976
2977 /* Override any gcc2 internal prototype to avoid an error. */
2978 #ifdef __cplusplus
2979 extern "C"
2980 {
2981 #endif
2982 /* We use char because int might match the return type of a gcc2
2983 builtin and then its argument prototype would still apply. */
2984 char mkstemp ();
2985 /* The GNU C library defines this for functions which it implements
2986 to always fail with ENOSYS. Some functions are actually named
2987 something starting with __ and the normal name is an alias. */
2988 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
2989 choke me
2990 #else
2991 char (*f) () = mkstemp;
2992 #endif
2993 #ifdef __cplusplus
2994 }
2995 #endif
2996
2997 int
2998 main ()
2999 {
3000 return f != mkstemp;
3001 ;
3002 return 0;
3003 }
3004 _ACEOF
3005 rm -f conftest.$ac_objext conftest$ac_exeext
3006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3007 (eval $ac_link) 2>conftest.er1
3008 ac_status=$?
3009 grep -v '^ *+' conftest.er1 >conftest.err
3010 rm -f conftest.er1
3011 cat conftest.err >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); } &&
3014 { ac_try='test -z "$ac_c_werror_flag"
3015 || test ! -s conftest.err'
3016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017 (eval $ac_try) 2>&5
3018 ac_status=$?
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); }; } &&
3021 { ac_try='test -s conftest$ac_exeext'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023 (eval $ac_try) 2>&5
3024 ac_status=$?
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; }; then
3027 ac_cv_func_mkstemp=yes
3028 else
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3031
3032 ac_cv_func_mkstemp=no
3033 fi
3034 rm -f conftest.err conftest.$ac_objext \
3035 conftest$ac_exeext conftest.$ac_ext
3036 fi
3037 echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
3038 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
3039 if test $ac_cv_func_mkstemp = yes; then
3040
3041 cat >>confdefs.h <<\_ACEOF
3042 #define HAS_MKSTEMP 1
3043 _ACEOF
3044
3045 fi
3046
3047
3048 # Checks for pkg-config packages
3049
3050
3051 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3052 if test -n "$ac_tool_prefix"; then
3053 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3054 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3055 echo "$as_me:$LINENO: checking for $ac_word" >&5
3056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3057 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3058 echo $ECHO_N "(cached) $ECHO_C" >&6
3059 else
3060 case $PKG_CONFIG in
3061 [\\/]* | ?:[\\/]*)
3062 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3063 ;;
3064 *)
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 for as_dir in $PATH
3067 do
3068 IFS=$as_save_IFS
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3072 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 break 2
3075 fi
3076 done
3077 done
3078
3079 ;;
3080 esac
3081 fi
3082 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3083
3084 if test -n "$PKG_CONFIG"; then
3085 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3086 echo "${ECHO_T}$PKG_CONFIG" >&6
3087 else
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3090 fi
3091
3092 fi
3093 if test -z "$ac_cv_path_PKG_CONFIG"; then
3094 ac_pt_PKG_CONFIG=$PKG_CONFIG
3095 # Extract the first word of "pkg-config", so it can be a program name with args.
3096 set dummy pkg-config; ac_word=$2
3097 echo "$as_me:$LINENO: checking for $ac_word" >&5
3098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3099 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3100 echo $ECHO_N "(cached) $ECHO_C" >&6
3101 else
3102 case $ac_pt_PKG_CONFIG in
3103 [\\/]* | ?:[\\/]*)
3104 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3105 ;;
3106 *)
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 for as_dir in $PATH
3109 do
3110 IFS=$as_save_IFS
3111 test -z "$as_dir" && as_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 break 2
3117 fi
3118 done
3119 done
3120
3121 ;;
3122 esac
3123 fi
3124 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3125
3126 if test -n "$ac_pt_PKG_CONFIG"; then
3127 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3128 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
3129 else
3130 echo "$as_me:$LINENO: result: no" >&5
3131 echo "${ECHO_T}no" >&6
3132 fi
3133
3134 PKG_CONFIG=$ac_pt_PKG_CONFIG
3135 else
3136 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3137 fi
3138
3139 fi
3140 if test -n "$PKG_CONFIG"; then
3141 _pkg_min_version=0.9.0
3142 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3143 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
3144 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146 echo "${ECHO_T}yes" >&6
3147 else
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3150 PKG_CONFIG=""
3151 fi
3152
3153 fi
3154
3155 pkg_failed=no
3156 echo "$as_me:$LINENO: checking for SMPROXY" >&5
3157 echo $ECHO_N "checking for SMPROXY... $ECHO_C" >&6
3158
3159 if test -n "$PKG_CONFIG"; then
3160 if test -n "$SMPROXY_CFLAGS"; then
3161 pkg_cv_SMPROXY_CFLAGS="$SMPROXY_CFLAGS"
3162 else
3163 if test -n "$PKG_CONFIG" && \
3164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xmu\"") >&5
3165 ($PKG_CONFIG --exists --print-errors "xt xmu") 2>&5
3166 ac_status=$?
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; then
3169 pkg_cv_SMPROXY_CFLAGS=`$PKG_CONFIG --cflags "xt xmu" 2>/dev/null`
3170 else
3171 pkg_failed=yes
3172 fi
3173 fi
3174 else
3175 pkg_failed=untried
3176 fi
3177 if test -n "$PKG_CONFIG"; then
3178 if test -n "$SMPROXY_LIBS"; then
3179 pkg_cv_SMPROXY_LIBS="$SMPROXY_LIBS"
3180 else
3181 if test -n "$PKG_CONFIG" && \
3182 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xmu\"") >&5
3183 ($PKG_CONFIG --exists --print-errors "xt xmu") 2>&5
3184 ac_status=$?
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; then
3187 pkg_cv_SMPROXY_LIBS=`$PKG_CONFIG --libs "xt xmu" 2>/dev/null`
3188 else
3189 pkg_failed=yes
3190 fi
3191 fi
3192 else
3193 pkg_failed=untried
3194 fi
3195
3196
3197
3198 if test $pkg_failed = yes; then
3199
3200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3201 _pkg_short_errors_supported=yes
3202 else
3203 _pkg_short_errors_supported=no
3204 fi
3205 if test $_pkg_short_errors_supported = yes; then
3206 SMPROXY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xt xmu"`
3207 else
3208 SMPROXY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt xmu"`
3209 fi
3210 # Put the nasty error message in config.log where it belongs
3211 echo "$SMPROXY_PKG_ERRORS" >&5
3212
3213 { { echo "$as_me:$LINENO: error: Package requirements (xt xmu) were not met:
3214
3215 $SMPROXY_PKG_ERRORS
3216
3217 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3218 installed software in a non-standard prefix.
3219
3220 Alternatively, you may set the environment variables SMPROXY_CFLAGS
3221 and SMPROXY_LIBS to avoid the need to call pkg-config.
3222 See the pkg-config man page for more details.
3223 " >&5
3224 echo "$as_me: error: Package requirements (xt xmu) were not met:
3225
3226 $SMPROXY_PKG_ERRORS
3227
3228 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3229 installed software in a non-standard prefix.
3230
3231 Alternatively, you may set the environment variables SMPROXY_CFLAGS
3232 and SMPROXY_LIBS to avoid the need to call pkg-config.
3233 See the pkg-config man page for more details.
3234 " >&2;}
3235 { (exit 1); exit 1; }; }
3236 elif test $pkg_failed = untried; then
3237 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3238 is in your PATH or set the PKG_CONFIG environment variable to the full
3239 path to pkg-config.
3240
3241 Alternatively, you may set the environment variables SMPROXY_CFLAGS
3242 and SMPROXY_LIBS to avoid the need to call pkg-config.
3243 See the pkg-config man page for more details.
3244
3245 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3246 See \`config.log' for more details." >&5
3247 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3248 is in your PATH or set the PKG_CONFIG environment variable to the full
3249 path to pkg-config.
3250
3251 Alternatively, you may set the environment variables SMPROXY_CFLAGS
3252 and SMPROXY_LIBS to avoid the need to call pkg-config.
3253 See the pkg-config man page for more details.
3254
3255 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3256 See \`config.log' for more details." >&2;}
3257 { (exit 1); exit 1; }; }
3258 else
3259 SMPROXY_CFLAGS=$pkg_cv_SMPROXY_CFLAGS
3260 SMPROXY_LIBS=$pkg_cv_SMPROXY_LIBS
3261 echo "$as_me:$LINENO: result: yes" >&5
3262 echo "${ECHO_T}yes" >&6
3263 :
3264 fi
3265
3266
3267
3268 # Make sure we can run config.sub.
3269 $ac_config_sub sun4 >/dev/null 2>&1 ||
3270 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3271 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3272 { (exit 1); exit 1; }; }
3273
3274 echo "$as_me:$LINENO: checking build system type" >&5
3275 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3276 if test "${ac_cv_build+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 else
3279 ac_cv_build_alias=$build_alias
3280 test -z "$ac_cv_build_alias" &&
3281 ac_cv_build_alias=`$ac_config_guess`
3282 test -z "$ac_cv_build_alias" &&
3283 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3284 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3285 { (exit 1); exit 1; }; }
3286 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3287 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3288 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3289 { (exit 1); exit 1; }; }
3290
3291 fi
3292 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3293 echo "${ECHO_T}$ac_cv_build" >&6
3294 build=$ac_cv_build
3295 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3296 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3297 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3298
3299
3300 echo "$as_me:$LINENO: checking host system type" >&5
3301 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3302 if test "${ac_cv_host+set}" = set; then
3303 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 else
3305 ac_cv_host_alias=$host_alias
3306 test -z "$ac_cv_host_alias" &&
3307 ac_cv_host_alias=$ac_cv_build_alias
3308 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3309 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3310 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3311 { (exit 1); exit 1; }; }
3312
3313 fi
3314 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3315 echo "${ECHO_T}$ac_cv_host" >&6
3316 host=$ac_cv_host
3317 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3318 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3319 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3320
3321
3322
3323
3324
3325 if test x$APP_MAN_SUFFIX = x ; then
3326 case $host_os in
3327 linux*) APP_MAN_SUFFIX=1x ;;
3328 *) APP_MAN_SUFFIX=1 ;;
3329 esac
3330 fi
3331 if test x$APP_MAN_DIR = x ; then
3332 case $host_os in
3333 linux*) APP_MAN_DIR='$(mandir)/man1' ;;
3334 *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
3335 esac
3336 fi
3337
3338 if test x$LIB_MAN_SUFFIX = x ; then
3339 case $host_os in
3340 linux*) LIB_MAN_SUFFIX=3x ;;
3341 *) LIB_MAN_SUFFIX=3 ;;
3342 esac
3343 fi
3344 if test x$LIB_MAN_DIR = x ; then
3345 case $host_os in
3346 linux*) LIB_MAN_DIR='$(mandir)/man3' ;;
3347 *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
3348 esac
3349 fi
3350
3351 if test x$FILE_MAN_SUFFIX = x ; then
3352 case $host_os in
3353 linux*) FILE_MAN_SUFFIX=5x ;;
3354 solaris*) FILE_MAN_SUFFIX=4 ;;
3355 *) FILE_MAN_SUFFIX=5 ;;
3356 esac
3357 fi
3358 if test x$FILE_MAN_DIR = x ; then
3359 case $host_os in
3360 linux*) FILE_MAN_DIR='$(mandir)/man5' ;;
3361 *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
3362 esac
3363 fi
3364
3365 # In Imake's linux.cf, the misc man suffix & dir was only changed for
3366 # LinuxDebian, not other Linuxes, so we leave it unchanged here
3367 if test x$MISC_MAN_SUFFIX = x ; then
3368 case $host_os in
3369 # linux*) MISC_MAN_SUFFIX=7x ;;
3370 solaris*) MISC_MAN_SUFFIX=5 ;;
3371 *) MISC_MAN_SUFFIX=7 ;;
3372 esac
3373 fi
3374 if test x$MISC_MAN_DIR = x ; then
3375 case $host_os in
3376 # linux*) MISC_MAN_DIR='$(mandir)/man7' ;;
3377 *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
3378 esac
3379 fi
3380
3381 # In Imake's linux.cf, the driver man suffix & dir was only changed for
3382 # LinuxDebian, not other Linuxes, so we leave it unchanged here
3383 if test x$DRIVER_MAN_SUFFIX = x ; then
3384 case $host_os in
3385 # linux*) DRIVER_MAN_SUFFIX=4x ;;
3386 solaris*) DRIVER_MAN_SUFFIX=7 ;;
3387 *) DRIVER_MAN_SUFFIX=4 ;;
3388 esac
3389 fi
3390 if test x$DRIVER_MAN_DIR = x ; then
3391 case $host_os in
3392 # linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;;
3393 *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
3394 esac
3395 fi
3396
3397 if test x$ADMIN_MAN_SUFFIX = x ; then
3398 case $host_os in
3399 solaris*) ADMIN_MAN_SUFFIX=1m ;;
3400 *) ADMIN_MAN_SUFFIX=8 ;;
3401 esac
3402 fi
3403 if test x$ADMIN_MAN_DIR = x ; then
3404 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3405 fi
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423 # Check whether --with-release-version or --without-release-version was given.
3424 if test "${with_release_version+set}" = set; then
3425 withval="$with_release_version"
3426 RELEASE_VERSION="$withval"
3427 else
3428 RELEASE_VERSION=""
3429 fi;
3430 if test "x$RELEASE_VERSION" != "x"; then
3431 PACKAGE="$PACKAGE-$RELEASE_VERSION"
3432 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3433 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3434 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3435 fi
3436
3437
3438 ac_config_files="$ac_config_files Makefile"
3439 cat >confcache <<\_ACEOF
3440 # This file is a shell script that caches the results of configure
3441 # tests run on this system so they can be shared between configure
3442 # scripts and configure runs, see configure's option --config-cache.
3443 # It is not useful on other systems. If it contains results you don't
3444 # want to keep, you may remove or edit it.
3445 #
3446 # config.status only pays attention to the cache file if you give it
3447 # the --recheck option to rerun configure.
3448 #
3449 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3450 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3451 # following values.
3452
3453 _ACEOF
3454
3455 # The following way of writing the cache mishandles newlines in values,
3456 # but we know of no workaround that is simple, portable, and efficient.
3457 # So, don't put newlines in cache variables' values.
3458 # Ultrix sh set writes to stderr and can't be redirected directly,
3459 # and sets the high bit in the cache file unless we assign to the vars.
3460 {
3461 (set) 2>&1 |
3462 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3463 *ac_space=\ *)
3464 # `set' does not quote correctly, so add quotes (double-quote
3465 # substitution turns \\\\ into \\, and sed turns \\ into \).
3466 sed -n \
3467 "s/'/'\\\\''/g;
3468 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3469 ;;
3470 *)
3471 # `set' quotes correctly as required by POSIX, so do not add quotes.
3472 sed -n \
3473 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3474 ;;
3475 esac;
3476 } |
3477 sed '
3478 t clear
3479 : clear
3480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3481 t end
3482 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3483 : end' >>confcache
3484 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3485 if test -w $cache_file; then
3486 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3487 cat confcache >$cache_file
3488 else
3489 echo "not updating unwritable cache $cache_file"
3490 fi
3491 fi
3492 rm -f confcache
3493
3494 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3495 # Let make expand exec_prefix.
3496 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3497
3498 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3499 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3500 # trailing colons and then remove the whole line if VPATH becomes empty
3501 # (actually we leave an empty line to preserve line numbers).
3502 if test "x$srcdir" = x.; then
3503 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3504 s/:*\$(srcdir):*/:/;
3505 s/:*\${srcdir}:*/:/;
3506 s/:*@srcdir@:*/:/;
3507 s/^\([^=]*=[ ]*\):*/\1/;
3508 s/:*$//;
3509 s/^[^=]*=[ ]*$//;
3510 }'
3511 fi
3512
3513 DEFS=-DHAVE_CONFIG_H
3514
3515 ac_libobjs=
3516 ac_ltlibobjs=
3517 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3518 # 1. Remove the extension, and $U if already installed.
3519 ac_i=`echo "$ac_i" |
3520 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3521 # 2. Add them.
3522 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3523 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3524 done
3525 LIBOBJS=$ac_libobjs
3526
3527 LTLIBOBJS=$ac_ltlibobjs
3528
3529
3530 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3531 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3532 Usually this means the macro was only invoked conditionally." >&5
3533 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3534 Usually this means the macro was only invoked conditionally." >&2;}
3535 { (exit 1); exit 1; }; }
3536 fi
3537 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3538 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3539 Usually this means the macro was only invoked conditionally." >&5
3540 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3541 Usually this means the macro was only invoked conditionally." >&2;}
3542 { (exit 1); exit 1; }; }
3543 fi
3544 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3545 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3546 Usually this means the macro was only invoked conditionally." >&5
3547 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3548 Usually this means the macro was only invoked conditionally." >&2;}
3549 { (exit 1); exit 1; }; }
3550 fi
3551
3552 : ${CONFIG_STATUS=./config.status}
3553 ac_clean_files_save=$ac_clean_files
3554 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3555 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3556 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3557 cat >$CONFIG_STATUS <<_ACEOF
3558 #! $SHELL
3559 # Generated by $as_me.
3560 # Run this file to recreate the current configuration.
3561 # Compiler output produced by configure, useful for debugging
3562 # configure, is in config.log if it exists.
3563
3564 debug=false
3565 ac_cs_recheck=false
3566 ac_cs_silent=false
3567 SHELL=\${CONFIG_SHELL-$SHELL}
3568 _ACEOF
3569
3570 cat >>$CONFIG_STATUS <<\_ACEOF
3571 ## --------------------- ##
3572 ## M4sh Initialization. ##
3573 ## --------------------- ##
3574
3575 # Be Bourne compatible
3576 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3577 emulate sh
3578 NULLCMD=:
3579 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3580 # is contrary to our usage. Disable this feature.
3581 alias -g '${1+"$@"}'='"$@"'
3582 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3583 set -o posix
3584 fi
3585 DUALCASE=1; export DUALCASE # for MKS sh
3586
3587 # Support unset when possible.
3588 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3589 as_unset=unset
3590 else
3591 as_unset=false
3592 fi
3593
3594
3595 # Work around bugs in pre-3.0 UWIN ksh.
3596 $as_unset ENV MAIL MAILPATH
3597 PS1='$ '
3598 PS2='> '
3599 PS4='+ '
3600
3601 # NLS nuisances.
3602 for as_var in \
3603 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3604 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3605 LC_TELEPHONE LC_TIME
3606 do
3607 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3608 eval $as_var=C; export $as_var
3609 else
3610 $as_unset $as_var
3611 fi
3612 done
3613
3614 # Required to use basename.
3615 if expr a : '\(a\)' >/dev/null 2>&1; then
3616 as_expr=expr
3617 else
3618 as_expr=false
3619 fi
3620
3621 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3622 as_basename=basename
3623 else
3624 as_basename=false
3625 fi
3626
3627
3628 # Name of the executable.
3629 as_me=`$as_basename "$0" ||
3630 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3631 X"$0" : 'X\(//\)$' \| \
3632 X"$0" : 'X\(/\)$' \| \
3633 . : '\(.\)' 2>/dev/null ||
3634 echo X/"$0" |
3635 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3636 /^X\/\(\/\/\)$/{ s//\1/; q; }
3637 /^X\/\(\/\).*/{ s//\1/; q; }
3638 s/.*/./; q'`
3639
3640
3641 # PATH needs CR, and LINENO needs CR and PATH.
3642 # Avoid depending upon Character Ranges.
3643 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3644 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3645 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3646 as_cr_digits='0123456789'
3647 as_cr_alnum=$as_cr_Letters$as_cr_digits
3648
3649 # The user is always right.
3650 if test "${PATH_SEPARATOR+set}" != set; then
3651 echo "#! /bin/sh" >conf$$.sh
3652 echo "exit 0" >>conf$$.sh
3653 chmod +x conf$$.sh
3654 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3655 PATH_SEPARATOR=';'
3656 else
3657 PATH_SEPARATOR=:
3658 fi
3659 rm -f conf$$.sh
3660 fi
3661
3662
3663 as_lineno_1=$LINENO
3664 as_lineno_2=$LINENO
3665 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3666 test "x$as_lineno_1" != "x$as_lineno_2" &&
3667 test "x$as_lineno_3" = "x$as_lineno_2" || {
3668 # Find who we are. Look in the path if we contain no path at all
3669 # relative or not.
3670 case $0 in
3671 *[\\/]* ) as_myself=$0 ;;
3672 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 for as_dir in $PATH
3674 do
3675 IFS=$as_save_IFS
3676 test -z "$as_dir" && as_dir=.
3677 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3678 done
3679
3680 ;;
3681 esac
3682 # We did not find ourselves, most probably we were run as `sh COMMAND'
3683 # in which case we are not to be found in the path.
3684 if test "x$as_myself" = x; then
3685 as_myself=$0
3686 fi
3687 if test ! -f "$as_myself"; then
3688 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3689 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3690 { (exit 1); exit 1; }; }
3691 fi
3692 case $CONFIG_SHELL in
3693 '')
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3696 do
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for as_base in sh bash ksh sh5; do
3700 case $as_dir in
3701 /*)
3702 if ("$as_dir/$as_base" -c '
3703 as_lineno_1=$LINENO
3704 as_lineno_2=$LINENO
3705 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3706 test "x$as_lineno_1" != "x$as_lineno_2" &&
3707 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3708 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3709 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3710 CONFIG_SHELL=$as_dir/$as_base
3711 export CONFIG_SHELL
3712 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3713 fi;;
3714 esac
3715 done
3716 done
3717 ;;
3718 esac
3719
3720 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3721 # uniformly replaced by the line number. The first 'sed' inserts a
3722 # line-number line before each line; the second 'sed' does the real
3723 # work. The second script uses 'N' to pair each line-number line
3724 # with the numbered line, and appends trailing '-' during
3725 # substitution so that $LINENO is not a special case at line end.
3726 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3727 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3728 sed '=' <$as_myself |
3729 sed '
3730 N
3731 s,$,-,
3732 : loop
3733 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3734 t loop
3735 s,-$,,
3736 s,^['$as_cr_digits']*\n,,
3737 ' >$as_me.lineno &&
3738 chmod +x $as_me.lineno ||
3739 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3740 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3741 { (exit 1); exit 1; }; }
3742
3743 # Don't try to exec as it changes $[0], causing all sort of problems
3744 # (the dirname of $[0] is not the place where we might find the
3745 # original and so on. Autoconf is especially sensible to this).
3746 . ./$as_me.lineno
3747 # Exit status is that of the last command.
3748 exit
3749 }
3750
3751
3752 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3753 *c*,-n*) ECHO_N= ECHO_C='
3754 ' ECHO_T=' ' ;;
3755 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3756 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3757 esac
3758
3759 if expr a : '\(a\)' >/dev/null 2>&1; then
3760 as_expr=expr
3761 else
3762 as_expr=false
3763 fi
3764
3765 rm -f conf$$ conf$$.exe conf$$.file
3766 echo >conf$$.file
3767 if ln -s conf$$.file conf$$ 2>/dev/null; then
3768 # We could just check for DJGPP; but this test a) works b) is more generic
3769 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3770 if test -f conf$$.exe; then
3771 # Don't use ln at all; we don't have any links
3772 as_ln_s='cp -p'
3773 else
3774 as_ln_s='ln -s'
3775 fi
3776 elif ln conf$$.file conf$$ 2>/dev/null; then
3777 as_ln_s=ln
3778 else
3779 as_ln_s='cp -p'
3780 fi
3781 rm -f conf$$ conf$$.exe conf$$.file
3782
3783 if mkdir -p . 2>/dev/null; then
3784 as_mkdir_p=:
3785 else
3786 test -d ./-p && rmdir ./-p
3787 as_mkdir_p=false
3788 fi
3789
3790 as_executable_p="test -f"
3791
3792 # Sed expression to map a string onto a valid CPP name.
3793 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3794
3795 # Sed expression to map a string onto a valid variable name.
3796 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3797
3798
3799 # IFS
3800 # We need space, tab and new line, in precisely that order.
3801 as_nl='
3802 '
3803 IFS=" $as_nl"
3804
3805 # CDPATH.
3806 $as_unset CDPATH
3807
3808 exec 6>&1
3809
3810 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3811 # report actual input values of CONFIG_FILES etc. instead of their
3812 # values after options handling. Logging --version etc. is OK.
3813 exec 5>>config.log
3814 {
3815 echo
3816 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3817 ## Running $as_me. ##
3818 _ASBOX
3819 } >&5
3820 cat >&5 <<_CSEOF
3821
3822 This file was extended by smproxy $as_me 1.0.2, which was
3823 generated by GNU Autoconf 2.59. Invocation command line was
3824
3825 CONFIG_FILES = $CONFIG_FILES
3826 CONFIG_HEADERS = $CONFIG_HEADERS
3827 CONFIG_LINKS = $CONFIG_LINKS
3828 CONFIG_COMMANDS = $CONFIG_COMMANDS
3829 $ $0 $@
3830
3831 _CSEOF
3832 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3833 echo >&5
3834 _ACEOF
3835
3836 # Files that config.status was made for.
3837 if test -n "$ac_config_files"; then
3838 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3839 fi
3840
3841 if test -n "$ac_config_headers"; then
3842 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3843 fi
3844
3845 if test -n "$ac_config_links"; then
3846 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3847 fi
3848
3849 if test -n "$ac_config_commands"; then
3850 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3851 fi
3852
3853 cat >>$CONFIG_STATUS <<\_ACEOF
3854
3855 ac_cs_usage="\
3856 \`$as_me' instantiates files from templates according to the
3857 current configuration.
3858
3859 Usage: $0 [OPTIONS] [FILE]...
3860
3861 -h, --help print this help, then exit
3862 -V, --version print version number, then exit
3863 -q, --quiet do not print progress messages
3864 -d, --debug don't remove temporary files
3865 --recheck update $as_me by reconfiguring in the same conditions
3866 --file=FILE[:TEMPLATE]
3867 instantiate the configuration file FILE
3868 --header=FILE[:TEMPLATE]
3869 instantiate the configuration header FILE
3870
3871 Configuration files:
3872 $config_files
3873
3874 Configuration headers:
3875 $config_headers
3876
3877 Configuration commands:
3878 $config_commands
3879
3880 Report bugs to <bug-autoconf@gnu.org>."
3881 _ACEOF
3882
3883 cat >>$CONFIG_STATUS <<_ACEOF
3884 ac_cs_version="\\
3885 smproxy config.status 1.0.2
3886 configured by $0, generated by GNU Autoconf 2.59,
3887 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3888
3889 Copyright (C) 2003 Free Software Foundation, Inc.
3890 This config.status script is free software; the Free Software Foundation
3891 gives unlimited permission to copy, distribute and modify it."
3892 srcdir=$srcdir
3893 INSTALL="$INSTALL"
3894 _ACEOF
3895
3896 cat >>$CONFIG_STATUS <<\_ACEOF
3897 # If no file are specified by the user, then we need to provide default
3898 # value. By we need to know if files were specified by the user.
3899 ac_need_defaults=:
3900 while test $# != 0
3901 do
3902 case $1 in
3903 --*=*)
3904 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3905 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3906 ac_shift=:
3907 ;;
3908 -*)
3909 ac_option=$1
3910 ac_optarg=$2
3911 ac_shift=shift
3912 ;;
3913 *) # This is not an option, so the user has probably given explicit
3914 # arguments.
3915 ac_option=$1
3916 ac_need_defaults=false;;
3917 esac
3918
3919 case $ac_option in
3920 # Handling of the options.
3921 _ACEOF
3922 cat >>$CONFIG_STATUS <<\_ACEOF
3923 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3924 ac_cs_recheck=: ;;
3925 --version | --vers* | -V )
3926 echo "$ac_cs_version"; exit 0 ;;
3927 --he | --h)
3928 # Conflict between --help and --header
3929 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3930 Try \`$0 --help' for more information." >&5
3931 echo "$as_me: error: ambiguous option: $1
3932 Try \`$0 --help' for more information." >&2;}
3933 { (exit 1); exit 1; }; };;
3934 --help | --hel | -h )
3935 echo "$ac_cs_usage"; exit 0 ;;
3936 --debug | --d* | -d )
3937 debug=: ;;
3938 --file | --fil | --fi | --f )
3939 $ac_shift
3940 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3941 ac_need_defaults=false;;
3942 --header | --heade | --head | --hea )
3943 $ac_shift
3944 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3945 ac_need_defaults=false;;
3946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3947 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3948 ac_cs_silent=: ;;
3949
3950 # This is an error.
3951 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3952 Try \`$0 --help' for more information." >&5
3953 echo "$as_me: error: unrecognized option: $1
3954 Try \`$0 --help' for more information." >&2;}
3955 { (exit 1); exit 1; }; } ;;
3956
3957 *) ac_config_targets="$ac_config_targets $1" ;;
3958
3959 esac
3960 shift
3961 done
3962
3963 ac_configure_extra_args=
3964
3965 if $ac_cs_silent; then
3966 exec 6>/dev/null
3967 ac_configure_extra_args="$ac_configure_extra_args --silent"
3968 fi
3969
3970 _ACEOF
3971 cat >>$CONFIG_STATUS <<_ACEOF
3972 if \$ac_cs_recheck; then
3973 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3974 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3975 fi
3976
3977 _ACEOF
3978
3979 cat >>$CONFIG_STATUS <<_ACEOF
3980 #
3981 # INIT-COMMANDS section.
3982 #
3983
3984 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3985
3986 _ACEOF
3987
3988
3989
3990 cat >>$CONFIG_STATUS <<\_ACEOF
3991 for ac_config_target in $ac_config_targets
3992 do
3993 case "$ac_config_target" in
3994 # Handling of arguments.
3995 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3996 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3997 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3998 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3999 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4000 { (exit 1); exit 1; }; };;
4001 esac
4002 done
4003
4004 # If the user did not use the arguments to specify the items to instantiate,
4005 # then the envvar interface is used. Set only those that are not.
4006 # We use the long form for the default assignment because of an extremely
4007 # bizarre bug on SunOS 4.1.3.
4008 if $ac_need_defaults; then
4009 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4010 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4011 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4012 fi
4013
4014 # Have a temporary directory for convenience. Make it in the build tree
4015 # simply because there is no reason to put it here, and in addition,
4016 # creating and moving files from /tmp can sometimes cause problems.
4017 # Create a temporary directory, and hook for its removal unless debugging.
4018 $debug ||
4019 {
4020 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4021 trap '{ (exit 1); exit 1; }' 1 2 13 15
4022 }
4023
4024 # Create a (secure) tmp directory for tmp files.
4025
4026 {
4027 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4028 test -n "$tmp" && test -d "$tmp"
4029 } ||
4030 {
4031 tmp=./confstat$$-$RANDOM
4032 (umask 077 && mkdir $tmp)
4033 } ||
4034 {
4035 echo "$me: cannot create a temporary directory in ." >&2
4036 { (exit 1); exit 1; }
4037 }
4038
4039 _ACEOF
4040
4041 cat >>$CONFIG_STATUS <<_ACEOF
4042
4043 #
4044 # CONFIG_FILES section.
4045 #
4046
4047 # No need to generate the scripts if there are no CONFIG_FILES.
4048 # This happens for instance when ./config.status config.h
4049 if test -n "\$CONFIG_FILES"; then
4050 # Protect against being on the right side of a sed subst in config.status.
4051 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4052 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4053 s,@SHELL@,$SHELL,;t t
4054 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4055 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4056 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4057 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4058 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4059 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4060 s,@exec_prefix@,$exec_prefix,;t t
4061 s,@prefix@,$prefix,;t t
4062 s,@program_transform_name@,$program_transform_name,;t t
4063 s,@bindir@,$bindir,;t t
4064 s,@sbindir@,$sbindir,;t t
4065 s,@libexecdir@,$libexecdir,;t t
4066 s,@datadir@,$datadir,;t t
4067 s,@sysconfdir@,$sysconfdir,;t t
4068 s,@sharedstatedir@,$sharedstatedir,;t t
4069 s,@localstatedir@,$localstatedir,;t t
4070 s,@libdir@,$libdir,;t t
4071 s,@includedir@,$includedir,;t t
4072 s,@oldincludedir@,$oldincludedir,;t t
4073 s,@infodir@,$infodir,;t t
4074 s,@mandir@,$mandir,;t t
4075 s,@build_alias@,$build_alias,;t t
4076 s,@host_alias@,$host_alias,;t t
4077 s,@target_alias@,$target_alias,;t t
4078 s,@DEFS@,$DEFS,;t t
4079 s,@ECHO_C@,$ECHO_C,;t t
4080 s,@ECHO_N@,$ECHO_N,;t t
4081 s,@ECHO_T@,$ECHO_T,;t t
4082 s,@LIBS@,$LIBS,;t t
4083 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4084 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4085 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4086 s,@CYGPATH_W@,$CYGPATH_W,;t t
4087 s,@PACKAGE@,$PACKAGE,;t t
4088 s,@VERSION@,$VERSION,;t t
4089 s,@ACLOCAL@,$ACLOCAL,;t t
4090 s,@AUTOCONF@,$AUTOCONF,;t t
4091 s,@AUTOMAKE@,$AUTOMAKE,;t t
4092 s,@AUTOHEADER@,$AUTOHEADER,;t t
4093 s,@MAKEINFO@,$MAKEINFO,;t t
4094 s,@install_sh@,$install_sh,;t t
4095 s,@STRIP@,$STRIP,;t t
4096 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4097 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4098 s,@mkdir_p@,$mkdir_p,;t t
4099 s,@AWK@,$AWK,;t t
4100 s,@SET_MAKE@,$SET_MAKE,;t t
4101 s,@am__leading_dot@,$am__leading_dot,;t t
4102 s,@AMTAR@,$AMTAR,;t t
4103 s,@am__tar@,$am__tar,;t t
4104 s,@am__untar@,$am__untar,;t t
4105 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4106 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4107 s,@MAINT@,$MAINT,;t t
4108 s,@CC@,$CC,;t t
4109 s,@CFLAGS@,$CFLAGS,;t t
4110 s,@LDFLAGS@,$LDFLAGS,;t t
4111 s,@CPPFLAGS@,$CPPFLAGS,;t t
4112 s,@ac_ct_CC@,$ac_ct_CC,;t t
4113 s,@EXEEXT@,$EXEEXT,;t t
4114 s,@OBJEXT@,$OBJEXT,;t t
4115 s,@DEPDIR@,$DEPDIR,;t t
4116 s,@am__include@,$am__include,;t t
4117 s,@am__quote@,$am__quote,;t t
4118 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4119 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4120 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4121 s,@CCDEPMODE@,$CCDEPMODE,;t t
4122 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4123 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4124 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
4125 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
4126 s,@SMPROXY_CFLAGS@,$SMPROXY_CFLAGS,;t t
4127 s,@SMPROXY_LIBS@,$SMPROXY_LIBS,;t t
4128 s,@build@,$build,;t t
4129 s,@build_cpu@,$build_cpu,;t t
4130 s,@build_vendor@,$build_vendor,;t t
4131 s,@build_os@,$build_os,;t t
4132 s,@host@,$host,;t t
4133 s,@host_cpu@,$host_cpu,;t t
4134 s,@host_vendor@,$host_vendor,;t t
4135 s,@host_os@,$host_os,;t t
4136 s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
4137 s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
4138 s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
4139 s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
4140 s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
4141 s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
4142 s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
4143 s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
4144 s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
4145 s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
4146 s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
4147 s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
4148 s,@LIBOBJS@,$LIBOBJS,;t t
4149 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4150 CEOF
4151
4152 _ACEOF
4153
4154 cat >>$CONFIG_STATUS <<\_ACEOF
4155 # Split the substitutions into bite-sized pieces for seds with
4156 # small command number limits, like on Digital OSF/1 and HP-UX.
4157 ac_max_sed_lines=48
4158 ac_sed_frag=1 # Number of current file.
4159 ac_beg=1 # First line for current file.
4160 ac_end=$ac_max_sed_lines # Line after last line for current file.
4161 ac_more_lines=:
4162 ac_sed_cmds=
4163 while $ac_more_lines; do
4164 if test $ac_beg -gt 1; then
4165 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4166 else
4167 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4168 fi
4169 if test ! -s $tmp/subs.frag; then
4170 ac_more_lines=false
4171 else
4172 # The purpose of the label and of the branching condition is to
4173 # speed up the sed processing (if there are no `@' at all, there
4174 # is no need to browse any of the substitutions).
4175 # These are the two extra sed commands mentioned above.
4176 (echo ':t
4177 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4178 if test -z "$ac_sed_cmds"; then
4179 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4180 else
4181 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4182 fi
4183 ac_sed_frag=`expr $ac_sed_frag + 1`
4184 ac_beg=$ac_end
4185 ac_end=`expr $ac_end + $ac_max_sed_lines`
4186 fi
4187 done
4188 if test -z "$ac_sed_cmds"; then
4189 ac_sed_cmds=cat
4190 fi
4191 fi # test -n "$CONFIG_FILES"
4192
4193 _ACEOF
4194 cat >>$CONFIG_STATUS <<\_ACEOF
4195 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4196 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4197 case $ac_file in
4198 - | *:- | *:-:* ) # input from stdin
4199 cat >$tmp/stdin
4200 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4201 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4202 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4203 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4204 * ) ac_file_in=$ac_file.in ;;
4205 esac
4206
4207 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4208 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4209 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4210 X"$ac_file" : 'X\(//\)[^/]' \| \
4211 X"$ac_file" : 'X\(//\)$' \| \
4212 X"$ac_file" : 'X\(/\)' \| \
4213 . : '\(.\)' 2>/dev/null ||
4214 echo X"$ac_file" |
4215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4216 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4217 /^X\(\/\/\)$/{ s//\1/; q; }
4218 /^X\(\/\).*/{ s//\1/; q; }
4219 s/.*/./; q'`
4220 { if $as_mkdir_p; then
4221 mkdir -p "$ac_dir"
4222 else
4223 as_dir="$ac_dir"
4224 as_dirs=
4225 while test ! -d "$as_dir"; do
4226 as_dirs="$as_dir $as_dirs"
4227 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4228 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4229 X"$as_dir" : 'X\(//\)[^/]' \| \
4230 X"$as_dir" : 'X\(//\)$' \| \
4231 X"$as_dir" : 'X\(/\)' \| \
4232 . : '\(.\)' 2>/dev/null ||
4233 echo X"$as_dir" |
4234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4235 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4236 /^X\(\/\/\)$/{ s//\1/; q; }
4237 /^X\(\/\).*/{ s//\1/; q; }
4238 s/.*/./; q'`
4239 done
4240 test ! -n "$as_dirs" || mkdir $as_dirs
4241 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4242 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4243 { (exit 1); exit 1; }; }; }
4244
4245 ac_builddir=.
4246
4247 if test "$ac_dir" != .; then
4248 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4249 # A "../" for each directory in $ac_dir_suffix.
4250 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4251 else
4252 ac_dir_suffix= ac_top_builddir=
4253 fi
4254
4255 case $srcdir in
4256 .) # No --srcdir option. We are building in place.
4257 ac_srcdir=.
4258 if test -z "$ac_top_builddir"; then
4259 ac_top_srcdir=.
4260 else
4261 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4262 fi ;;
4263 [\\/]* | ?:[\\/]* ) # Absolute path.
4264 ac_srcdir=$srcdir$ac_dir_suffix;
4265 ac_top_srcdir=$srcdir ;;
4266 *) # Relative path.
4267 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4268 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4269 esac
4270
4271 # Do not use `cd foo && pwd` to compute absolute paths, because
4272 # the directories may not exist.
4273 case `pwd` in
4274 .) ac_abs_builddir="$ac_dir";;
4275 *)
4276 case "$ac_dir" in
4277 .) ac_abs_builddir=`pwd`;;
4278 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4279 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4280 esac;;
4281 esac
4282 case $ac_abs_builddir in
4283 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4284 *)
4285 case ${ac_top_builddir}. in
4286 .) ac_abs_top_builddir=$ac_abs_builddir;;
4287 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4288 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4289 esac;;
4290 esac
4291 case $ac_abs_builddir in
4292 .) ac_abs_srcdir=$ac_srcdir;;
4293 *)
4294 case $ac_srcdir in
4295 .) ac_abs_srcdir=$ac_abs_builddir;;
4296 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4297 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4298 esac;;
4299 esac
4300 case $ac_abs_builddir in
4301 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4302 *)
4303 case $ac_top_srcdir in
4304 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4305 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4306 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4307 esac;;
4308 esac
4309
4310
4311 case $INSTALL in
4312 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4313 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4314 esac
4315
4316 if test x"$ac_file" != x-; then
4317 { echo "$as_me:$LINENO: creating $ac_file" >&5
4318 echo "$as_me: creating $ac_file" >&6;}
4319 rm -f "$ac_file"
4320 fi
4321 # Let's still pretend it is `configure' which instantiates (i.e., don't
4322 # use $as_me), people would be surprised to read:
4323 # /* config.h. Generated by config.status. */
4324 if test x"$ac_file" = x-; then
4325 configure_input=
4326 else
4327 configure_input="$ac_file. "
4328 fi
4329 configure_input=$configure_input"Generated from `echo $ac_file_in |
4330 sed 's,.*/,,'` by configure."
4331
4332 # First look for the input files in the build tree, otherwise in the
4333 # src tree.
4334 ac_file_inputs=`IFS=:
4335 for f in $ac_file_in; do
4336 case $f in
4337 -) echo $tmp/stdin ;;
4338 [\\/$]*)
4339 # Absolute (can't be DOS-style, as IFS=:)
4340 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4341 echo "$as_me: error: cannot find input file: $f" >&2;}
4342 { (exit 1); exit 1; }; }
4343 echo "$f";;
4344 *) # Relative
4345 if test -f "$f"; then
4346 # Build tree
4347 echo "$f"
4348 elif test -f "$srcdir/$f"; then
4349 # Source tree
4350 echo "$srcdir/$f"
4351 else
4352 # /dev/null tree
4353 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4354 echo "$as_me: error: cannot find input file: $f" >&2;}
4355 { (exit 1); exit 1; }; }
4356 fi;;
4357 esac
4358 done` || { (exit 1); exit 1; }
4359 _ACEOF
4360 cat >>$CONFIG_STATUS <<_ACEOF
4361 sed "$ac_vpsub
4362 $extrasub
4363 _ACEOF
4364 cat >>$CONFIG_STATUS <<\_ACEOF
4365 :t
4366 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4367 s,@configure_input@,$configure_input,;t t
4368 s,@srcdir@,$ac_srcdir,;t t
4369 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4370 s,@top_srcdir@,$ac_top_srcdir,;t t
4371 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4372 s,@builddir@,$ac_builddir,;t t
4373 s,@abs_builddir@,$ac_abs_builddir,;t t
4374 s,@top_builddir@,$ac_top_builddir,;t t
4375 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4376 s,@INSTALL@,$ac_INSTALL,;t t
4377 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4378 rm -f $tmp/stdin
4379 if test x"$ac_file" != x-; then
4380 mv $tmp/out $ac_file
4381 else
4382 cat $tmp/out
4383 rm -f $tmp/out
4384 fi
4385
4386 done
4387 _ACEOF
4388 cat >>$CONFIG_STATUS <<\_ACEOF
4389
4390 #
4391 # CONFIG_HEADER section.
4392 #
4393
4394 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4395 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4396 #
4397 # ac_d sets the value in "#define NAME VALUE" lines.
4398 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4399 ac_dB='[ ].*$,\1#\2'
4400 ac_dC=' '
4401 ac_dD=',;t'
4402 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4403 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4404 ac_uB='$,\1#\2define\3'
4405 ac_uC=' '
4406 ac_uD=',;t'
4407
4408 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4409 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4410 case $ac_file in
4411 - | *:- | *:-:* ) # input from stdin
4412 cat >$tmp/stdin
4413 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4414 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4415 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4416 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4417 * ) ac_file_in=$ac_file.in ;;
4418 esac
4419
4420 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4421 echo "$as_me: creating $ac_file" >&6;}
4422
4423 # First look for the input files in the build tree, otherwise in the
4424 # src tree.
4425 ac_file_inputs=`IFS=:
4426 for f in $ac_file_in; do
4427 case $f in
4428 -) echo $tmp/stdin ;;
4429 [\\/$]*)
4430 # Absolute (can't be DOS-style, as IFS=:)
4431 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4432 echo "$as_me: error: cannot find input file: $f" >&2;}
4433 { (exit 1); exit 1; }; }
4434 # Do quote $f, to prevent DOS paths from being IFS'd.
4435 echo "$f";;
4436 *) # Relative
4437 if test -f "$f"; then
4438 # Build tree
4439 echo "$f"
4440 elif test -f "$srcdir/$f"; then
4441 # Source tree
4442 echo "$srcdir/$f"
4443 else
4444 # /dev/null tree
4445 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4446 echo "$as_me: error: cannot find input file: $f" >&2;}
4447 { (exit 1); exit 1; }; }
4448 fi;;
4449 esac
4450 done` || { (exit 1); exit 1; }
4451 # Remove the trailing spaces.
4452 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4453
4454 _ACEOF
4455
4456 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4457 # `conftest.undefs', that substitutes the proper values into
4458 # config.h.in to produce config.h. The first handles `#define'
4459 # templates, and the second `#undef' templates.
4460 # And first: Protect against being on the right side of a sed subst in
4461 # config.status. Protect against being in an unquoted here document
4462 # in config.status.
4463 rm -f conftest.defines conftest.undefs
4464 # Using a here document instead of a string reduces the quoting nightmare.
4465 # Putting comments in sed scripts is not portable.
4466 #
4467 # `end' is used to avoid that the second main sed command (meant for
4468 # 0-ary CPP macros) applies to n-ary macro definitions.
4469 # See the Autoconf documentation for `clear'.
4470 cat >confdef2sed.sed <<\_ACEOF
4471 s/[\\&,]/\\&/g
4472 s,[\\$`],\\&,g
4473 t clear
4474 : clear
4475 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4476 t end
4477 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4478 : end
4479 _ACEOF
4480 # If some macros were called several times there might be several times
4481 # the same #defines, which is useless. Nevertheless, we may not want to
4482 # sort them, since we want the *last* AC-DEFINE to be honored.
4483 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4484 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4485 rm -f confdef2sed.sed
4486
4487 # This sed command replaces #undef with comments. This is necessary, for
4488 # example, in the case of _POSIX_SOURCE, which is predefined and required
4489 # on some systems where configure will not decide to define it.
4490 cat >>conftest.undefs <<\_ACEOF
4491 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4492 _ACEOF
4493
4494 # Break up conftest.defines because some shells have a limit on the size
4495 # of here documents, and old seds have small limits too (100 cmds).
4496 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4497 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4498 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4499 echo ' :' >>$CONFIG_STATUS
4500 rm -f conftest.tail
4501 while grep . conftest.defines >/dev/null
4502 do
4503 # Write a limited-size here document to $tmp/defines.sed.
4504 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4505 # Speed up: don't consider the non `#define' lines.
4506 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4507 # Work around the forget-to-reset-the-flag bug.
4508 echo 't clr' >>$CONFIG_STATUS
4509 echo ': clr' >>$CONFIG_STATUS
4510 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4511 echo 'CEOF
4512 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4513 rm -f $tmp/in
4514 mv $tmp/out $tmp/in
4515 ' >>$CONFIG_STATUS
4516 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4517 rm -f conftest.defines
4518 mv conftest.tail conftest.defines
4519 done
4520 rm -f conftest.defines
4521 echo ' fi # grep' >>$CONFIG_STATUS
4522 echo >>$CONFIG_STATUS
4523
4524 # Break up conftest.undefs because some shells have a limit on the size
4525 # of here documents, and old seds have small limits too (100 cmds).
4526 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4527 rm -f conftest.tail
4528 while grep . conftest.undefs >/dev/null
4529 do
4530 # Write a limited-size here document to $tmp/undefs.sed.
4531 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4532 # Speed up: don't consider the non `#undef'
4533 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4534 # Work around the forget-to-reset-the-flag bug.
4535 echo 't clr' >>$CONFIG_STATUS
4536 echo ': clr' >>$CONFIG_STATUS
4537 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4538 echo 'CEOF
4539 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4540 rm -f $tmp/in
4541 mv $tmp/out $tmp/in
4542 ' >>$CONFIG_STATUS
4543 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4544 rm -f conftest.undefs
4545 mv conftest.tail conftest.undefs
4546 done
4547 rm -f conftest.undefs
4548
4549 cat >>$CONFIG_STATUS <<\_ACEOF
4550 # Let's still pretend it is `configure' which instantiates (i.e., don't
4551 # use $as_me), people would be surprised to read:
4552 # /* config.h. Generated by config.status. */
4553 if test x"$ac_file" = x-; then
4554 echo "/* Generated by configure. */" >$tmp/config.h
4555 else
4556 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4557 fi
4558 cat $tmp/in >>$tmp/config.h
4559 rm -f $tmp/in
4560 if test x"$ac_file" != x-; then
4561 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4562 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4563 echo "$as_me: $ac_file is unchanged" >&6;}
4564 else
4565 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4566 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4567 X"$ac_file" : 'X\(//\)[^/]' \| \
4568 X"$ac_file" : 'X\(//\)$' \| \
4569 X"$ac_file" : 'X\(/\)' \| \
4570 . : '\(.\)' 2>/dev/null ||
4571 echo X"$ac_file" |
4572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4574 /^X\(\/\/\)$/{ s//\1/; q; }
4575 /^X\(\/\).*/{ s//\1/; q; }
4576 s/.*/./; q'`
4577 { if $as_mkdir_p; then
4578 mkdir -p "$ac_dir"
4579 else
4580 as_dir="$ac_dir"
4581 as_dirs=
4582 while test ! -d "$as_dir"; do
4583 as_dirs="$as_dir $as_dirs"
4584 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4586 X"$as_dir" : 'X\(//\)[^/]' \| \
4587 X"$as_dir" : 'X\(//\)$' \| \
4588 X"$as_dir" : 'X\(/\)' \| \
4589 . : '\(.\)' 2>/dev/null ||
4590 echo X"$as_dir" |
4591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4593 /^X\(\/\/\)$/{ s//\1/; q; }
4594 /^X\(\/\).*/{ s//\1/; q; }
4595 s/.*/./; q'`
4596 done
4597 test ! -n "$as_dirs" || mkdir $as_dirs
4598 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4599 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4600 { (exit 1); exit 1; }; }; }
4601
4602 rm -f $ac_file
4603 mv $tmp/config.h $ac_file
4604 fi
4605 else
4606 cat $tmp/config.h
4607 rm -f $tmp/config.h
4608 fi
4609 # Compute $ac_file's index in $config_headers.
4610 _am_stamp_count=1
4611 for _am_header in $config_headers :; do
4612 case $_am_header in
4613 $ac_file | $ac_file:* )
4614 break ;;
4615 * )
4616 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4617 esac
4618 done
4619 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4620 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4621 X$ac_file : 'X\(//\)[^/]' \| \
4622 X$ac_file : 'X\(//\)$' \| \
4623 X$ac_file : 'X\(/\)' \| \
4624 . : '\(.\)' 2>/dev/null ||
4625 echo X$ac_file |
4626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4628 /^X\(\/\/\)$/{ s//\1/; q; }
4629 /^X\(\/\).*/{ s//\1/; q; }
4630 s/.*/./; q'`/stamp-h$_am_stamp_count
4631 done
4632 _ACEOF
4633 cat >>$CONFIG_STATUS <<\_ACEOF
4634
4635 #
4636 # CONFIG_COMMANDS section.
4637 #
4638 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4639 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4640 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4641 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4642 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4643 X"$ac_dest" : 'X\(//\)[^/]' \| \
4644 X"$ac_dest" : 'X\(//\)$' \| \
4645 X"$ac_dest" : 'X\(/\)' \| \
4646 . : '\(.\)' 2>/dev/null ||
4647 echo X"$ac_dest" |
4648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4650 /^X\(\/\/\)$/{ s//\1/; q; }
4651 /^X\(\/\).*/{ s//\1/; q; }
4652 s/.*/./; q'`
4653 { if $as_mkdir_p; then
4654 mkdir -p "$ac_dir"
4655 else
4656 as_dir="$ac_dir"
4657 as_dirs=
4658 while test ! -d "$as_dir"; do
4659 as_dirs="$as_dir $as_dirs"
4660 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4662 X"$as_dir" : 'X\(//\)[^/]' \| \
4663 X"$as_dir" : 'X\(//\)$' \| \
4664 X"$as_dir" : 'X\(/\)' \| \
4665 . : '\(.\)' 2>/dev/null ||
4666 echo X"$as_dir" |
4667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4669 /^X\(\/\/\)$/{ s//\1/; q; }
4670 /^X\(\/\).*/{ s//\1/; q; }
4671 s/.*/./; q'`
4672 done
4673 test ! -n "$as_dirs" || mkdir $as_dirs
4674 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4675 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4676 { (exit 1); exit 1; }; }; }
4677
4678 ac_builddir=.
4679
4680 if test "$ac_dir" != .; then
4681 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4682 # A "../" for each directory in $ac_dir_suffix.
4683 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4684 else
4685 ac_dir_suffix= ac_top_builddir=
4686 fi
4687
4688 case $srcdir in
4689 .) # No --srcdir option. We are building in place.
4690 ac_srcdir=.
4691 if test -z "$ac_top_builddir"; then
4692 ac_top_srcdir=.
4693 else
4694 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4695 fi ;;
4696 [\\/]* | ?:[\\/]* ) # Absolute path.
4697 ac_srcdir=$srcdir$ac_dir_suffix;
4698 ac_top_srcdir=$srcdir ;;
4699 *) # Relative path.
4700 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4701 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4702 esac
4703
4704 # Do not use `cd foo && pwd` to compute absolute paths, because
4705 # the directories may not exist.
4706 case `pwd` in
4707 .) ac_abs_builddir="$ac_dir";;
4708 *)
4709 case "$ac_dir" in
4710 .) ac_abs_builddir=`pwd`;;
4711 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4712 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4713 esac;;
4714 esac
4715 case $ac_abs_builddir in
4716 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4717 *)
4718 case ${ac_top_builddir}. in
4719 .) ac_abs_top_builddir=$ac_abs_builddir;;
4720 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4721 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4722 esac;;
4723 esac
4724 case $ac_abs_builddir in
4725 .) ac_abs_srcdir=$ac_srcdir;;
4726 *)
4727 case $ac_srcdir in
4728 .) ac_abs_srcdir=$ac_abs_builddir;;
4729 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4730 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4731 esac;;
4732 esac
4733 case $ac_abs_builddir in
4734 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4735 *)
4736 case $ac_top_srcdir in
4737 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4738 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4739 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4740 esac;;
4741 esac
4742
4743
4744 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4745 echo "$as_me: executing $ac_dest commands" >&6;}
4746 case $ac_dest in
4747 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4748 # Strip MF so we end up with the name of the file.
4749 mf=`echo "$mf" | sed -e 's/:.*$//'`
4750 # Check whether this is an Automake generated Makefile or not.
4751 # We used to match only the files named `Makefile.in', but
4752 # some people rename them; so instead we look at the file content.
4753 # Grep'ing the first line is not enough: some people post-process
4754 # each Makefile.in and add a new line on top of each file to say so.
4755 # So let's grep whole file.
4756 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4757 dirpart=`(dirname "$mf") 2>/dev/null ||
4758 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4759 X"$mf" : 'X\(//\)[^/]' \| \
4760 X"$mf" : 'X\(//\)$' \| \
4761 X"$mf" : 'X\(/\)' \| \
4762 . : '\(.\)' 2>/dev/null ||
4763 echo X"$mf" |
4764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4765 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4766 /^X\(\/\/\)$/{ s//\1/; q; }
4767 /^X\(\/\).*/{ s//\1/; q; }
4768 s/.*/./; q'`
4769 else
4770 continue
4771 fi
4772 # Extract the definition of DEPDIR, am__include, and am__quote
4773 # from the Makefile without running `make'.
4774 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4775 test -z "$DEPDIR" && continue
4776 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4777 test -z "am__include" && continue
4778 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4779 # When using ansi2knr, U may be empty or an underscore; expand it
4780 U=`sed -n 's/^U = //p' < "$mf"`
4781 # Find all dependency output files, they are included files with
4782 # $(DEPDIR) in their names. We invoke sed twice because it is the
4783 # simplest approach to changing $(DEPDIR) to its actual value in the
4784 # expansion.
4785 for file in `sed -n "
4786 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4787 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4788 # Make sure the directory exists.
4789 test -f "$dirpart/$file" && continue
4790 fdir=`(dirname "$file") 2>/dev/null ||
4791 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4792 X"$file" : 'X\(//\)[^/]' \| \
4793 X"$file" : 'X\(//\)$' \| \
4794 X"$file" : 'X\(/\)' \| \
4795 . : '\(.\)' 2>/dev/null ||
4796 echo X"$file" |
4797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4798 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4799 /^X\(\/\/\)$/{ s//\1/; q; }
4800 /^X\(\/\).*/{ s//\1/; q; }
4801 s/.*/./; q'`
4802 { if $as_mkdir_p; then
4803 mkdir -p $dirpart/$fdir
4804 else
4805 as_dir=$dirpart/$fdir
4806 as_dirs=
4807 while test ! -d "$as_dir"; do
4808 as_dirs="$as_dir $as_dirs"
4809 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4810 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4811 X"$as_dir" : 'X\(//\)[^/]' \| \
4812 X"$as_dir" : 'X\(//\)$' \| \
4813 X"$as_dir" : 'X\(/\)' \| \
4814 . : '\(.\)' 2>/dev/null ||
4815 echo X"$as_dir" |
4816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4818 /^X\(\/\/\)$/{ s//\1/; q; }
4819 /^X\(\/\).*/{ s//\1/; q; }
4820 s/.*/./; q'`
4821 done
4822 test ! -n "$as_dirs" || mkdir $as_dirs
4823 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4824 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4825 { (exit 1); exit 1; }; }; }
4826
4827 # echo "creating $dirpart/$file"
4828 echo '# dummy' > "$dirpart/$file"
4829 done
4830 done
4831 ;;
4832 esac
4833 done
4834 _ACEOF
4835
4836 cat >>$CONFIG_STATUS <<\_ACEOF
4837
4838 { (exit 0); exit 0; }
4839 _ACEOF
4840 chmod +x $CONFIG_STATUS
4841 ac_clean_files=$ac_clean_files_save
4842
4843
4844 # configure is writing to config.log, and then calls config.status.
4845 # config.status does its own redirection, appending to config.log.
4846 # Unfortunately, on DOS this fails, as config.log is still kept open
4847 # by configure, so config.status won't be able to write to it; its
4848 # output is simply discarded. So we exec the FD to /dev/null,
4849 # effectively closing config.log, so it can be properly (re)opened and
4850 # appended to by config.status. When coming back to configure, we
4851 # need to make the FD available again.
4852 if test "$no_create" != yes; then
4853 ac_cs_success=:
4854 ac_config_status_args=
4855 test "$silent" = yes &&
4856 ac_config_status_args="$ac_config_status_args --quiet"
4857 exec 5>/dev/null
4858 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4859 exec 5>>config.log
4860 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4861 # would make configure fail if this is the last instruction.
4862 $ac_cs_success || { (exit 1); exit 1; }
4863 fi
4864
4865