Default gumstix configuration changed
[gumsense-br.git] / package / carwhisperer / configure
blob34580cf138fb4c44fbebf8c99cef1c0976f7e2a2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for FULL-PACKAGE-NAME VERSION.
5 # Report bugs to <BUG-REPORT-ADDRESS>.
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 ## --------------------- ##
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
24 DUALCASE=1; export DUALCASE # for MKS sh
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
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
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
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
51 done
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
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
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'`
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
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=:
98 rm -f conf$$.sh
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
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
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
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; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
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
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
156 esac
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 '
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; }; }
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
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
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
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'
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
218 rm -f conf$$ conf$$.exe conf$$.file
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
227 as_executable_p="test -f"
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'"
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'"
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
240 IFS=" $as_nl"
242 # CDPATH.
243 $as_unset CDPATH
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`
251 exec 6>&1
254 # Initializations.
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}
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}
269 # Identity of this package.
270 PACKAGE_NAME='FULL-PACKAGE-NAME'
271 PACKAGE_TARNAME='full-package-name'
272 PACKAGE_VERSION='VERSION'
273 PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
274 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
276 ac_unique_file="carwhisperer.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
314 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS LTLIBOBJS'
315 ac_subst_files=''
317 # Initialize some variables set by options.
318 ac_init_help=
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
322 cache_file=/dev/null
323 exec_prefix=NONE
324 no_create=
325 no_recursion=
326 prefix=NONE
327 program_prefix=NONE
328 program_suffix=NONE
329 program_transform_name=s,x,x,
330 silent=
331 site=
332 srcdir=
333 verbose=
334 x_includes=NONE
335 x_libraries=NONE
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
355 ac_prev=
356 for ac_option
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
369 case $ac_option in
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
388 --config-cache | -C)
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
430 with_gas=yes ;;
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
541 silent=yes ;;
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 verbose=yes ;;
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
588 -with-* | --with-*)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
633 *=*)
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
641 export $ac_envvar ;;
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 esac
652 done
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669 done
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681 done
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
686 build=$build_alias
687 host=$host_alias
688 target=$target_alias
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
697 cross_compiling=yes
701 ac_tool_prefix=
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
717 echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
727 else
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
734 else
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
756 ac_env_CC_value=$CC
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
782 cat <<_ACEOF
783 \`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
792 Configuration:
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 _ACEOF
805 cat <<_ACEOF
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
808 [$ac_default_prefix]
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 [PREFIX]
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
832 _ACEOF
834 cat <<\_ACEOF
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
841 esac
842 cat <<\_ACEOF
844 Some influential environment variables:
845 CC C compiler command
846 CFLAGS C compiler flags
847 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
848 nonstandard directory <lib dir>
849 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
850 headers in a nonstandard directory <include dir>
851 CPP C preprocessor
853 Use these variables to override the choices made by `configure' or to help
854 it to find libraries and programs with nonstandard names/locations.
856 Report bugs to <BUG-REPORT-ADDRESS>.
857 _ACEOF
860 if test "$ac_init_help" = "recursive"; then
861 # If there are subdirs, report their specific --help.
862 ac_popdir=`pwd`
863 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
864 test -d $ac_dir || continue
865 ac_builddir=.
867 if test "$ac_dir" != .; then
868 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
869 # A "../" for each directory in $ac_dir_suffix.
870 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
871 else
872 ac_dir_suffix= ac_top_builddir=
875 case $srcdir in
876 .) # No --srcdir option. We are building in place.
877 ac_srcdir=.
878 if test -z "$ac_top_builddir"; then
879 ac_top_srcdir=.
880 else
881 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
882 fi ;;
883 [\\/]* | ?:[\\/]* ) # Absolute path.
884 ac_srcdir=$srcdir$ac_dir_suffix;
885 ac_top_srcdir=$srcdir ;;
886 *) # Relative path.
887 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
888 ac_top_srcdir=$ac_top_builddir$srcdir ;;
889 esac
891 # Do not use `cd foo && pwd` to compute absolute paths, because
892 # the directories may not exist.
893 case `pwd` in
894 .) ac_abs_builddir="$ac_dir";;
896 case "$ac_dir" in
897 .) ac_abs_builddir=`pwd`;;
898 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
899 *) ac_abs_builddir=`pwd`/"$ac_dir";;
900 esac;;
901 esac
902 case $ac_abs_builddir in
903 .) ac_abs_top_builddir=${ac_top_builddir}.;;
905 case ${ac_top_builddir}. in
906 .) ac_abs_top_builddir=$ac_abs_builddir;;
907 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
908 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
909 esac;;
910 esac
911 case $ac_abs_builddir in
912 .) ac_abs_srcdir=$ac_srcdir;;
914 case $ac_srcdir in
915 .) ac_abs_srcdir=$ac_abs_builddir;;
916 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
917 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
918 esac;;
919 esac
920 case $ac_abs_builddir in
921 .) ac_abs_top_srcdir=$ac_top_srcdir;;
923 case $ac_top_srcdir in
924 .) ac_abs_top_srcdir=$ac_abs_builddir;;
925 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
926 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
927 esac;;
928 esac
930 cd $ac_dir
931 # Check for guested configure; otherwise get Cygnus style configure.
932 if test -f $ac_srcdir/configure.gnu; then
933 echo
934 $SHELL $ac_srcdir/configure.gnu --help=recursive
935 elif test -f $ac_srcdir/configure; then
936 echo
937 $SHELL $ac_srcdir/configure --help=recursive
938 elif test -f $ac_srcdir/configure.ac ||
939 test -f $ac_srcdir/configure.in; then
940 echo
941 $ac_configure --help
942 else
943 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
945 cd $ac_popdir
946 done
949 test -n "$ac_init_help" && exit 0
950 if $ac_init_version; then
951 cat <<\_ACEOF
952 FULL-PACKAGE-NAME configure VERSION
953 generated by GNU Autoconf 2.59
955 Copyright (C) 2003 Free Software Foundation, Inc.
956 This configure script is free software; the Free Software Foundation
957 gives unlimited permission to copy, distribute and modify it.
958 _ACEOF
959 exit 0
961 exec 5>config.log
962 cat >&5 <<_ACEOF
963 This file contains any messages produced by compilers while
964 running configure, to aid debugging if configure makes a mistake.
966 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
967 generated by GNU Autoconf 2.59. Invocation command line was
969 $ $0 $@
971 _ACEOF
973 cat <<_ASUNAME
974 ## --------- ##
975 ## Platform. ##
976 ## --------- ##
978 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
979 uname -m = `(uname -m) 2>/dev/null || echo unknown`
980 uname -r = `(uname -r) 2>/dev/null || echo unknown`
981 uname -s = `(uname -s) 2>/dev/null || echo unknown`
982 uname -v = `(uname -v) 2>/dev/null || echo unknown`
984 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
985 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
987 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
988 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
989 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
990 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
991 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
992 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
993 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
995 _ASUNAME
997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
998 for as_dir in $PATH
1000 IFS=$as_save_IFS
1001 test -z "$as_dir" && as_dir=.
1002 echo "PATH: $as_dir"
1003 done
1005 } >&5
1007 cat >&5 <<_ACEOF
1010 ## ----------- ##
1011 ## Core tests. ##
1012 ## ----------- ##
1014 _ACEOF
1017 # Keep a trace of the command line.
1018 # Strip out --no-create and --no-recursion so they do not pile up.
1019 # Strip out --silent because we don't want to record it for future runs.
1020 # Also quote any args containing shell meta-characters.
1021 # Make two passes to allow for proper duplicate-argument suppression.
1022 ac_configure_args=
1023 ac_configure_args0=
1024 ac_configure_args1=
1025 ac_sep=
1026 ac_must_keep_next=false
1027 for ac_pass in 1 2
1029 for ac_arg
1031 case $ac_arg in
1032 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1033 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1034 | -silent | --silent | --silen | --sile | --sil)
1035 continue ;;
1036 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1037 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1038 esac
1039 case $ac_pass in
1040 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1042 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1043 if test $ac_must_keep_next = true; then
1044 ac_must_keep_next=false # Got value, back to normal.
1045 else
1046 case $ac_arg in
1047 *=* | --config-cache | -C | -disable-* | --disable-* \
1048 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1049 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1050 | -with-* | --with-* | -without-* | --without-* | --x)
1051 case "$ac_configure_args0 " in
1052 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1053 esac
1055 -* ) ac_must_keep_next=true ;;
1056 esac
1058 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1059 # Get rid of the leading space.
1060 ac_sep=" "
1062 esac
1063 done
1064 done
1065 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1066 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1068 # When interrupted or exit'd, cleanup temporary files, and complete
1069 # config.log. We remove comments because anyway the quotes in there
1070 # would cause problems or look ugly.
1071 # WARNING: Be sure not to use single quotes in there, as some shells,
1072 # such as our DU 5.0 friend, will then `close' the trap.
1073 trap 'exit_status=$?
1074 # Save into config.log some information that might help in debugging.
1076 echo
1078 cat <<\_ASBOX
1079 ## ---------------- ##
1080 ## Cache variables. ##
1081 ## ---------------- ##
1082 _ASBOX
1083 echo
1084 # The following way of writing the cache mishandles newlines in values,
1086 (set) 2>&1 |
1087 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1088 *ac_space=\ *)
1089 sed -n \
1090 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1091 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1094 sed -n \
1095 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1097 esac;
1099 echo
1101 cat <<\_ASBOX
1102 ## ----------------- ##
1103 ## Output variables. ##
1104 ## ----------------- ##
1105 _ASBOX
1106 echo
1107 for ac_var in $ac_subst_vars
1109 eval ac_val=$`echo $ac_var`
1110 echo "$ac_var='"'"'$ac_val'"'"'"
1111 done | sort
1112 echo
1114 if test -n "$ac_subst_files"; then
1115 cat <<\_ASBOX
1116 ## ------------- ##
1117 ## Output files. ##
1118 ## ------------- ##
1119 _ASBOX
1120 echo
1121 for ac_var in $ac_subst_files
1123 eval ac_val=$`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1125 done | sort
1126 echo
1129 if test -s confdefs.h; then
1130 cat <<\_ASBOX
1131 ## ----------- ##
1132 ## confdefs.h. ##
1133 ## ----------- ##
1134 _ASBOX
1135 echo
1136 sed "/^$/d" confdefs.h | sort
1137 echo
1139 test "$ac_signal" != 0 &&
1140 echo "$as_me: caught signal $ac_signal"
1141 echo "$as_me: exit $exit_status"
1142 } >&5
1143 rm -f core *.core &&
1144 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1145 exit $exit_status
1147 for ac_signal in 1 2 13 15; do
1148 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1149 done
1150 ac_signal=0
1152 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1153 rm -rf conftest* confdefs.h
1154 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1155 echo >confdefs.h
1157 # Predefined preprocessor variables.
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_NAME "$PACKAGE_NAME"
1161 _ACEOF
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1166 _ACEOF
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1171 _ACEOF
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_STRING "$PACKAGE_STRING"
1176 _ACEOF
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1181 _ACEOF
1184 # Let the site file select an alternate cache file if it wants to.
1185 # Prefer explicitly selected file to automatically selected ones.
1186 if test -z "$CONFIG_SITE"; then
1187 if test "x$prefix" != xNONE; then
1188 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1189 else
1190 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1193 for ac_site_file in $CONFIG_SITE; do
1194 if test -r "$ac_site_file"; then
1195 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1196 echo "$as_me: loading site script $ac_site_file" >&6;}
1197 sed 's/^/| /' "$ac_site_file" >&5
1198 . "$ac_site_file"
1200 done
1202 if test -r "$cache_file"; then
1203 # Some versions of bash will fail to source /dev/null (special
1204 # files actually), so we avoid doing that.
1205 if test -f "$cache_file"; then
1206 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1207 echo "$as_me: loading cache $cache_file" >&6;}
1208 case $cache_file in
1209 [\\/]* | ?:[\\/]* ) . $cache_file;;
1210 *) . ./$cache_file;;
1211 esac
1213 else
1214 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1215 echo "$as_me: creating cache $cache_file" >&6;}
1216 >$cache_file
1219 # Check that the precious variables saved in the cache have kept the same
1220 # value.
1221 ac_cache_corrupted=false
1222 for ac_var in `(set) 2>&1 |
1223 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1224 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1225 eval ac_new_set=\$ac_env_${ac_var}_set
1226 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1227 eval ac_new_val="\$ac_env_${ac_var}_value"
1228 case $ac_old_set,$ac_new_set in
1229 set,)
1230 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1231 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1232 ac_cache_corrupted=: ;;
1233 ,set)
1234 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1235 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1236 ac_cache_corrupted=: ;;
1237 ,);;
1239 if test "x$ac_old_val" != "x$ac_new_val"; then
1240 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1241 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1242 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1243 echo "$as_me: former value: $ac_old_val" >&2;}
1244 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1245 echo "$as_me: current value: $ac_new_val" >&2;}
1246 ac_cache_corrupted=:
1247 fi;;
1248 esac
1249 # Pass precious variables to config.status.
1250 if test "$ac_new_set" = set; then
1251 case $ac_new_val in
1252 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1253 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1254 *) ac_arg=$ac_var=$ac_new_val ;;
1255 esac
1256 case " $ac_configure_args " in
1257 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1258 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1259 esac
1261 done
1262 if $ac_cache_corrupted; then
1263 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1264 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1265 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1266 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1267 { (exit 1); exit 1; }; }
1270 ac_ext=c
1271 ac_cpp='$CPP $CPPFLAGS'
1272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1304 # Checks for programs.
1305 ac_ext=c
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1310 if test -n "$ac_tool_prefix"; then
1311 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1312 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1313 echo "$as_me:$LINENO: checking for $ac_word" >&5
1314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1315 if test "${ac_cv_prog_CC+set}" = set; then
1316 echo $ECHO_N "(cached) $ECHO_C" >&6
1317 else
1318 if test -n "$CC"; then
1319 ac_cv_prog_CC="$CC" # Let the user override the test.
1320 else
1321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1322 for as_dir in $PATH
1324 IFS=$as_save_IFS
1325 test -z "$as_dir" && as_dir=.
1326 for ac_exec_ext in '' $ac_executable_extensions; do
1327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1328 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1330 break 2
1332 done
1333 done
1337 CC=$ac_cv_prog_CC
1338 if test -n "$CC"; then
1339 echo "$as_me:$LINENO: result: $CC" >&5
1340 echo "${ECHO_T}$CC" >&6
1341 else
1342 echo "$as_me:$LINENO: result: no" >&5
1343 echo "${ECHO_T}no" >&6
1347 if test -z "$ac_cv_prog_CC"; then
1348 ac_ct_CC=$CC
1349 # Extract the first word of "gcc", so it can be a program name with args.
1350 set dummy gcc; ac_word=$2
1351 echo "$as_me:$LINENO: checking for $ac_word" >&5
1352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1355 else
1356 if test -n "$ac_ct_CC"; then
1357 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1358 else
1359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1360 for as_dir in $PATH
1362 IFS=$as_save_IFS
1363 test -z "$as_dir" && as_dir=.
1364 for ac_exec_ext in '' $ac_executable_extensions; do
1365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1366 ac_cv_prog_ac_ct_CC="gcc"
1367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1368 break 2
1370 done
1371 done
1375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1376 if test -n "$ac_ct_CC"; then
1377 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1378 echo "${ECHO_T}$ac_ct_CC" >&6
1379 else
1380 echo "$as_me:$LINENO: result: no" >&5
1381 echo "${ECHO_T}no" >&6
1384 CC=$ac_ct_CC
1385 else
1386 CC="$ac_cv_prog_CC"
1389 if test -z "$CC"; then
1390 if test -n "$ac_tool_prefix"; then
1391 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1392 set dummy ${ac_tool_prefix}cc; ac_word=$2
1393 echo "$as_me:$LINENO: checking for $ac_word" >&5
1394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1395 if test "${ac_cv_prog_CC+set}" = set; then
1396 echo $ECHO_N "(cached) $ECHO_C" >&6
1397 else
1398 if test -n "$CC"; then
1399 ac_cv_prog_CC="$CC" # Let the user override the test.
1400 else
1401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1402 for as_dir in $PATH
1404 IFS=$as_save_IFS
1405 test -z "$as_dir" && as_dir=.
1406 for ac_exec_ext in '' $ac_executable_extensions; do
1407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1408 ac_cv_prog_CC="${ac_tool_prefix}cc"
1409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1410 break 2
1412 done
1413 done
1417 CC=$ac_cv_prog_CC
1418 if test -n "$CC"; then
1419 echo "$as_me:$LINENO: result: $CC" >&5
1420 echo "${ECHO_T}$CC" >&6
1421 else
1422 echo "$as_me:$LINENO: result: no" >&5
1423 echo "${ECHO_T}no" >&6
1427 if test -z "$ac_cv_prog_CC"; then
1428 ac_ct_CC=$CC
1429 # Extract the first word of "cc", so it can be a program name with args.
1430 set dummy cc; ac_word=$2
1431 echo "$as_me:$LINENO: checking for $ac_word" >&5
1432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1434 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 else
1436 if test -n "$ac_ct_CC"; then
1437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1438 else
1439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1440 for as_dir in $PATH
1442 IFS=$as_save_IFS
1443 test -z "$as_dir" && as_dir=.
1444 for ac_exec_ext in '' $ac_executable_extensions; do
1445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1446 ac_cv_prog_ac_ct_CC="cc"
1447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1448 break 2
1450 done
1451 done
1455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1456 if test -n "$ac_ct_CC"; then
1457 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1458 echo "${ECHO_T}$ac_ct_CC" >&6
1459 else
1460 echo "$as_me:$LINENO: result: no" >&5
1461 echo "${ECHO_T}no" >&6
1464 CC=$ac_ct_CC
1465 else
1466 CC="$ac_cv_prog_CC"
1470 if test -z "$CC"; then
1471 # Extract the first word of "cc", so it can be a program name with args.
1472 set dummy cc; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478 if test -n "$CC"; then
1479 ac_cv_prog_CC="$CC" # Let the user override the test.
1480 else
1481 ac_prog_rejected=no
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1483 for as_dir in $PATH
1485 IFS=$as_save_IFS
1486 test -z "$as_dir" && as_dir=.
1487 for ac_exec_ext in '' $ac_executable_extensions; do
1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1490 ac_prog_rejected=yes
1491 continue
1493 ac_cv_prog_CC="cc"
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 break 2
1497 done
1498 done
1500 if test $ac_prog_rejected = yes; then
1501 # We found a bogon in the path, so make sure we never use it.
1502 set dummy $ac_cv_prog_CC
1503 shift
1504 if test $# != 0; then
1505 # We chose a different compiler from the bogus one.
1506 # However, it has the same basename, so the bogon will be chosen
1507 # first if we set CC to just the basename; use the full file name.
1508 shift
1509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1514 CC=$ac_cv_prog_CC
1515 if test -n "$CC"; then
1516 echo "$as_me:$LINENO: result: $CC" >&5
1517 echo "${ECHO_T}$CC" >&6
1518 else
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1524 if test -z "$CC"; then
1525 if test -n "$ac_tool_prefix"; then
1526 for ac_prog in cl
1528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1530 echo "$as_me:$LINENO: checking for $ac_word" >&5
1531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1532 if test "${ac_cv_prog_CC+set}" = set; then
1533 echo $ECHO_N "(cached) $ECHO_C" >&6
1534 else
1535 if test -n "$CC"; then
1536 ac_cv_prog_CC="$CC" # Let the user override the test.
1537 else
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 for as_dir in $PATH
1541 IFS=$as_save_IFS
1542 test -z "$as_dir" && as_dir=.
1543 for ac_exec_ext in '' $ac_executable_extensions; do
1544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1545 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547 break 2
1549 done
1550 done
1554 CC=$ac_cv_prog_CC
1555 if test -n "$CC"; then
1556 echo "$as_me:$LINENO: result: $CC" >&5
1557 echo "${ECHO_T}$CC" >&6
1558 else
1559 echo "$as_me:$LINENO: result: no" >&5
1560 echo "${ECHO_T}no" >&6
1563 test -n "$CC" && break
1564 done
1566 if test -z "$CC"; then
1567 ac_ct_CC=$CC
1568 for ac_prog in cl
1570 # Extract the first word of "$ac_prog", so it can be a program name with args.
1571 set dummy $ac_prog; ac_word=$2
1572 echo "$as_me:$LINENO: checking for $ac_word" >&5
1573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1574 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 else
1577 if test -n "$ac_ct_CC"; then
1578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1579 else
1580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1581 for as_dir in $PATH
1583 IFS=$as_save_IFS
1584 test -z "$as_dir" && as_dir=.
1585 for ac_exec_ext in '' $ac_executable_extensions; do
1586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1587 ac_cv_prog_ac_ct_CC="$ac_prog"
1588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1589 break 2
1591 done
1592 done
1596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1597 if test -n "$ac_ct_CC"; then
1598 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1599 echo "${ECHO_T}$ac_ct_CC" >&6
1600 else
1601 echo "$as_me:$LINENO: result: no" >&5
1602 echo "${ECHO_T}no" >&6
1605 test -n "$ac_ct_CC" && break
1606 done
1608 CC=$ac_ct_CC
1614 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1615 See \`config.log' for more details." >&5
1616 echo "$as_me: error: no acceptable C compiler found in \$PATH
1617 See \`config.log' for more details." >&2;}
1618 { (exit 1); exit 1; }; }
1620 # Provide some information about the compiler.
1621 echo "$as_me:$LINENO:" \
1622 "checking for C compiler version" >&5
1623 ac_compiler=`set X $ac_compile; echo $2`
1624 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1625 (eval $ac_compiler --version </dev/null >&5) 2>&5
1626 ac_status=$?
1627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1628 (exit $ac_status); }
1629 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1630 (eval $ac_compiler -v </dev/null >&5) 2>&5
1631 ac_status=$?
1632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1633 (exit $ac_status); }
1634 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1635 (eval $ac_compiler -V </dev/null >&5) 2>&5
1636 ac_status=$?
1637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1638 (exit $ac_status); }
1640 cat >conftest.$ac_ext <<_ACEOF
1641 /* confdefs.h. */
1642 _ACEOF
1643 cat confdefs.h >>conftest.$ac_ext
1644 cat >>conftest.$ac_ext <<_ACEOF
1645 /* end confdefs.h. */
1648 main ()
1652 return 0;
1654 _ACEOF
1655 ac_clean_files_save=$ac_clean_files
1656 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1657 # Try to create an executable without -o first, disregard a.out.
1658 # It will help us diagnose broken compilers, and finding out an intuition
1659 # of exeext.
1660 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1661 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1662 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1663 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1664 (eval $ac_link_default) 2>&5
1665 ac_status=$?
1666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1667 (exit $ac_status); }; then
1668 # Find the output, starting from the most likely. This scheme is
1669 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1670 # resort.
1672 # Be careful to initialize this variable, since it used to be cached.
1673 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1674 ac_cv_exeext=
1675 # b.out is created by i960 compilers.
1676 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1678 test -f "$ac_file" || continue
1679 case $ac_file in
1680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1682 conftest.$ac_ext )
1683 # This is the source file.
1685 [ab].out )
1686 # We found the default executable, but exeext='' is most
1687 # certainly right.
1688 break;;
1689 *.* )
1690 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1691 # FIXME: I believe we export ac_cv_exeext for Libtool,
1692 # but it would be cool to find out if it's true. Does anybody
1693 # maintain Libtool? --akim.
1694 export ac_cv_exeext
1695 break;;
1697 break;;
1698 esac
1699 done
1700 else
1701 echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1705 See \`config.log' for more details." >&5
1706 echo "$as_me: error: C compiler cannot create executables
1707 See \`config.log' for more details." >&2;}
1708 { (exit 77); exit 77; }; }
1711 ac_exeext=$ac_cv_exeext
1712 echo "$as_me:$LINENO: result: $ac_file" >&5
1713 echo "${ECHO_T}$ac_file" >&6
1715 # Check the compiler produces executables we can run. If not, either
1716 # the compiler is broken, or we cross compile.
1717 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1718 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1719 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1720 # If not cross compiling, check that we can run a simple program.
1721 if test "$cross_compiling" != yes; then
1722 if { ac_try='./$ac_file'
1723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1724 (eval $ac_try) 2>&5
1725 ac_status=$?
1726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1727 (exit $ac_status); }; }; then
1728 cross_compiling=no
1729 else
1730 if test "$cross_compiling" = maybe; then
1731 cross_compiling=yes
1732 else
1733 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1734 If you meant to cross compile, use \`--host'.
1735 See \`config.log' for more details." >&5
1736 echo "$as_me: error: cannot run C compiled programs.
1737 If you meant to cross compile, use \`--host'.
1738 See \`config.log' for more details." >&2;}
1739 { (exit 1); exit 1; }; }
1743 echo "$as_me:$LINENO: result: yes" >&5
1744 echo "${ECHO_T}yes" >&6
1746 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1747 ac_clean_files=$ac_clean_files_save
1748 # Check the compiler produces executables we can run. If not, either
1749 # the compiler is broken, or we cross compile.
1750 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1751 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1752 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1753 echo "${ECHO_T}$cross_compiling" >&6
1755 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1756 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1758 (eval $ac_link) 2>&5
1759 ac_status=$?
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }; then
1762 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1763 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1764 # work properly (i.e., refer to `conftest.exe'), while it won't with
1765 # `rm'.
1766 for ac_file in conftest.exe conftest conftest.*; do
1767 test -f "$ac_file" || continue
1768 case $ac_file in
1769 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1770 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1771 export ac_cv_exeext
1772 break;;
1773 * ) break;;
1774 esac
1775 done
1776 else
1777 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1778 See \`config.log' for more details." >&5
1779 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1780 See \`config.log' for more details." >&2;}
1781 { (exit 1); exit 1; }; }
1784 rm -f conftest$ac_cv_exeext
1785 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1786 echo "${ECHO_T}$ac_cv_exeext" >&6
1788 rm -f conftest.$ac_ext
1789 EXEEXT=$ac_cv_exeext
1790 ac_exeext=$EXEEXT
1791 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1792 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1793 if test "${ac_cv_objext+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 else
1796 cat >conftest.$ac_ext <<_ACEOF
1797 /* confdefs.h. */
1798 _ACEOF
1799 cat confdefs.h >>conftest.$ac_ext
1800 cat >>conftest.$ac_ext <<_ACEOF
1801 /* end confdefs.h. */
1804 main ()
1808 return 0;
1810 _ACEOF
1811 rm -f conftest.o conftest.obj
1812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1813 (eval $ac_compile) 2>&5
1814 ac_status=$?
1815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1816 (exit $ac_status); }; then
1817 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1818 case $ac_file in
1819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1820 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1821 break;;
1822 esac
1823 done
1824 else
1825 echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1828 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1829 See \`config.log' for more details." >&5
1830 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1831 See \`config.log' for more details." >&2;}
1832 { (exit 1); exit 1; }; }
1835 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1837 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1838 echo "${ECHO_T}$ac_cv_objext" >&6
1839 OBJEXT=$ac_cv_objext
1840 ac_objext=$OBJEXT
1841 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1842 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1843 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 else
1846 cat >conftest.$ac_ext <<_ACEOF
1847 /* confdefs.h. */
1848 _ACEOF
1849 cat confdefs.h >>conftest.$ac_ext
1850 cat >>conftest.$ac_ext <<_ACEOF
1851 /* end confdefs.h. */
1854 main ()
1856 #ifndef __GNUC__
1857 choke me
1858 #endif
1861 return 0;
1863 _ACEOF
1864 rm -f conftest.$ac_objext
1865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1866 (eval $ac_compile) 2>conftest.er1
1867 ac_status=$?
1868 grep -v '^ *+' conftest.er1 >conftest.err
1869 rm -f conftest.er1
1870 cat conftest.err >&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); } &&
1873 { ac_try='test -z "$ac_c_werror_flag"
1874 || test ! -s conftest.err'
1875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1876 (eval $ac_try) 2>&5
1877 ac_status=$?
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); }; } &&
1880 { ac_try='test -s conftest.$ac_objext'
1881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1882 (eval $ac_try) 2>&5
1883 ac_status=$?
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; }; then
1886 ac_compiler_gnu=yes
1887 else
1888 echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_compiler_gnu=no
1893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1894 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1897 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1898 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1899 GCC=`test $ac_compiler_gnu = yes && echo yes`
1900 ac_test_CFLAGS=${CFLAGS+set}
1901 ac_save_CFLAGS=$CFLAGS
1902 CFLAGS="-g"
1903 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1904 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1905 if test "${ac_cv_prog_cc_g+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1907 else
1908 cat >conftest.$ac_ext <<_ACEOF
1909 /* confdefs.h. */
1910 _ACEOF
1911 cat confdefs.h >>conftest.$ac_ext
1912 cat >>conftest.$ac_ext <<_ACEOF
1913 /* end confdefs.h. */
1916 main ()
1920 return 0;
1922 _ACEOF
1923 rm -f conftest.$ac_objext
1924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1925 (eval $ac_compile) 2>conftest.er1
1926 ac_status=$?
1927 grep -v '^ *+' conftest.er1 >conftest.err
1928 rm -f conftest.er1
1929 cat conftest.err >&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); } &&
1932 { ac_try='test -z "$ac_c_werror_flag"
1933 || test ! -s conftest.err'
1934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1935 (eval $ac_try) 2>&5
1936 ac_status=$?
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; } &&
1939 { ac_try='test -s conftest.$ac_objext'
1940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1941 (eval $ac_try) 2>&5
1942 ac_status=$?
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; }; then
1945 ac_cv_prog_cc_g=yes
1946 else
1947 echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1950 ac_cv_prog_cc_g=no
1952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1954 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1955 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1956 if test "$ac_test_CFLAGS" = set; then
1957 CFLAGS=$ac_save_CFLAGS
1958 elif test $ac_cv_prog_cc_g = yes; then
1959 if test "$GCC" = yes; then
1960 CFLAGS="-g -O2"
1961 else
1962 CFLAGS="-g"
1964 else
1965 if test "$GCC" = yes; then
1966 CFLAGS="-O2"
1967 else
1968 CFLAGS=
1971 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1972 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1973 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 else
1976 ac_cv_prog_cc_stdc=no
1977 ac_save_CC=$CC
1978 cat >conftest.$ac_ext <<_ACEOF
1979 /* confdefs.h. */
1980 _ACEOF
1981 cat confdefs.h >>conftest.$ac_ext
1982 cat >>conftest.$ac_ext <<_ACEOF
1983 /* end confdefs.h. */
1984 #include <stdarg.h>
1985 #include <stdio.h>
1986 #include <sys/types.h>
1987 #include <sys/stat.h>
1988 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1989 struct buf { int x; };
1990 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1991 static char *e (p, i)
1992 char **p;
1993 int i;
1995 return p[i];
1997 static char *f (char * (*g) (char **, int), char **p, ...)
1999 char *s;
2000 va_list v;
2001 va_start (v,p);
2002 s = g (p, va_arg (v,int));
2003 va_end (v);
2004 return s;
2007 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2008 function prototypes and stuff, but not '\xHH' hex character constants.
2009 These don't provoke an error unfortunately, instead are silently treated
2010 as 'x'. The following induces an error, until -std1 is added to get
2011 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2012 array size at least. It's necessary to write '\x00'==0 to get something
2013 that's true only with -std1. */
2014 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2016 int test (int i, double x);
2017 struct s1 {int (*f) (int a);};
2018 struct s2 {int (*f) (double a);};
2019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2020 int argc;
2021 char **argv;
2023 main ()
2025 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2027 return 0;
2029 _ACEOF
2030 # Don't try gcc -ansi; that turns off useful extensions and
2031 # breaks some systems' header files.
2032 # AIX -qlanglvl=ansi
2033 # Ultrix and OSF/1 -std1
2034 # HP-UX 10.20 and later -Ae
2035 # HP-UX older versions -Aa -D_HPUX_SOURCE
2036 # SVR4 -Xc -D__EXTENSIONS__
2037 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2039 CC="$ac_save_CC $ac_arg"
2040 rm -f conftest.$ac_objext
2041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2042 (eval $ac_compile) 2>conftest.er1
2043 ac_status=$?
2044 grep -v '^ *+' conftest.er1 >conftest.err
2045 rm -f conftest.er1
2046 cat conftest.err >&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } &&
2049 { ac_try='test -z "$ac_c_werror_flag"
2050 || test ! -s conftest.err'
2051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2052 (eval $ac_try) 2>&5
2053 ac_status=$?
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }; } &&
2056 { ac_try='test -s conftest.$ac_objext'
2057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2058 (eval $ac_try) 2>&5
2059 ac_status=$?
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; }; then
2062 ac_cv_prog_cc_stdc=$ac_arg
2063 break
2064 else
2065 echo "$as_me: failed program was:" >&5
2066 sed 's/^/| /' conftest.$ac_ext >&5
2069 rm -f conftest.err conftest.$ac_objext
2070 done
2071 rm -f conftest.$ac_ext conftest.$ac_objext
2072 CC=$ac_save_CC
2076 case "x$ac_cv_prog_cc_stdc" in
2077 x|xno)
2078 echo "$as_me:$LINENO: result: none needed" >&5
2079 echo "${ECHO_T}none needed" >&6 ;;
2081 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2082 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2083 CC="$CC $ac_cv_prog_cc_stdc" ;;
2084 esac
2086 # Some people use a C++ compiler to compile C. Since we use `exit',
2087 # in C++ we need to declare it. In case someone uses the same compiler
2088 # for both compiling C and C++ we need to have the C++ compiler decide
2089 # the declaration of exit, since it's the most demanding environment.
2090 cat >conftest.$ac_ext <<_ACEOF
2091 #ifndef __cplusplus
2092 choke me
2093 #endif
2094 _ACEOF
2095 rm -f conftest.$ac_objext
2096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2097 (eval $ac_compile) 2>conftest.er1
2098 ac_status=$?
2099 grep -v '^ *+' conftest.er1 >conftest.err
2100 rm -f conftest.er1
2101 cat conftest.err >&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); } &&
2104 { ac_try='test -z "$ac_c_werror_flag"
2105 || test ! -s conftest.err'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2107 (eval $ac_try) 2>&5
2108 ac_status=$?
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; } &&
2111 { ac_try='test -s conftest.$ac_objext'
2112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2113 (eval $ac_try) 2>&5
2114 ac_status=$?
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; }; then
2117 for ac_declaration in \
2118 '' \
2119 'extern "C" void std::exit (int) throw (); using std::exit;' \
2120 'extern "C" void std::exit (int); using std::exit;' \
2121 'extern "C" void exit (int) throw ();' \
2122 'extern "C" void exit (int);' \
2123 'void exit (int);'
2125 cat >conftest.$ac_ext <<_ACEOF
2126 /* confdefs.h. */
2127 _ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2131 $ac_declaration
2132 #include <stdlib.h>
2134 main ()
2136 exit (42);
2138 return 0;
2140 _ACEOF
2141 rm -f conftest.$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143 (eval $ac_compile) 2>conftest.er1
2144 ac_status=$?
2145 grep -v '^ *+' conftest.er1 >conftest.err
2146 rm -f conftest.er1
2147 cat conftest.err >&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try='test -z "$ac_c_werror_flag"
2151 || test ! -s conftest.err'
2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 (eval $ac_try) 2>&5
2154 ac_status=$?
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; } &&
2157 { ac_try='test -s conftest.$ac_objext'
2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 (eval $ac_try) 2>&5
2160 ac_status=$?
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }; }; then
2164 else
2165 echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.$ac_ext >&5
2168 continue
2170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2171 cat >conftest.$ac_ext <<_ACEOF
2172 /* confdefs.h. */
2173 _ACEOF
2174 cat confdefs.h >>conftest.$ac_ext
2175 cat >>conftest.$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2177 $ac_declaration
2179 main ()
2181 exit (42);
2183 return 0;
2185 _ACEOF
2186 rm -f conftest.$ac_objext
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>conftest.er1
2189 ac_status=$?
2190 grep -v '^ *+' conftest.er1 >conftest.err
2191 rm -f conftest.er1
2192 cat conftest.err >&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); } &&
2195 { ac_try='test -z "$ac_c_werror_flag"
2196 || test ! -s conftest.err'
2197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2198 (eval $ac_try) 2>&5
2199 ac_status=$?
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); }; } &&
2202 { ac_try='test -s conftest.$ac_objext'
2203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 (eval $ac_try) 2>&5
2205 ac_status=$?
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }; }; then
2208 break
2209 else
2210 echo "$as_me: failed program was:" >&5
2211 sed 's/^/| /' conftest.$ac_ext >&5
2214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2215 done
2216 rm -f conftest*
2217 if test -n "$ac_declaration"; then
2218 echo '#ifdef __cplusplus' >>confdefs.h
2219 echo $ac_declaration >>confdefs.h
2220 echo '#endif' >>confdefs.h
2223 else
2224 echo "$as_me: failed program was:" >&5
2225 sed 's/^/| /' conftest.$ac_ext >&5
2228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2229 ac_ext=c
2230 ac_cpp='$CPP $CPPFLAGS'
2231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2236 # Checks for libraries.
2239 echo "$as_me:$LINENO: checking for main in -lbluetooth" >&5
2240 echo $ECHO_N "checking for main in -lbluetooth... $ECHO_C" >&6
2241 if test "${ac_cv_lib_bluetooth_main+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 else
2244 ac_check_lib_save_LIBS=$LIBS
2245 LIBS="-lbluetooth $LIBS"
2246 cat >conftest.$ac_ext <<_ACEOF
2247 /* confdefs.h. */
2248 _ACEOF
2249 cat confdefs.h >>conftest.$ac_ext
2250 cat >>conftest.$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2255 main ()
2257 main ();
2259 return 0;
2261 _ACEOF
2262 rm -f conftest.$ac_objext conftest$ac_exeext
2263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2264 (eval $ac_link) 2>conftest.er1
2265 ac_status=$?
2266 grep -v '^ *+' conftest.er1 >conftest.err
2267 rm -f conftest.er1
2268 cat conftest.err >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); } &&
2271 { ac_try='test -z "$ac_c_werror_flag"
2272 || test ! -s conftest.err'
2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 (eval $ac_try) 2>&5
2275 ac_status=$?
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }; } &&
2278 { ac_try='test -s conftest$ac_exeext'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 (eval $ac_try) 2>&5
2281 ac_status=$?
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; }; then
2284 ac_cv_lib_bluetooth_main=yes
2285 else
2286 echo "$as_me: failed program was:" >&5
2287 sed 's/^/| /' conftest.$ac_ext >&5
2289 ac_cv_lib_bluetooth_main=no
2291 rm -f conftest.err conftest.$ac_objext \
2292 conftest$ac_exeext conftest.$ac_ext
2293 LIBS=$ac_check_lib_save_LIBS
2295 echo "$as_me:$LINENO: result: $ac_cv_lib_bluetooth_main" >&5
2296 echo "${ECHO_T}$ac_cv_lib_bluetooth_main" >&6
2297 if test $ac_cv_lib_bluetooth_main = yes; then
2298 cat >>confdefs.h <<_ACEOF
2299 #define HAVE_LIBBLUETOOTH 1
2300 _ACEOF
2302 LIBS="-lbluetooth $LIBS"
2304 else
2305 { { echo "$as_me:$LINENO: error: Bluetooth not found" >&5
2306 echo "$as_me: error: Bluetooth not found" >&2;}
2307 { (exit 1); exit 1; }; }
2309 ac_cv_lib_bluetooth=ac_cv_lib_bluetooth_main
2312 # Checks for header files.
2313 ac_ext=c
2314 ac_cpp='$CPP $CPPFLAGS'
2315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2320 # On Suns, sometimes $CPP names a directory.
2321 if test -n "$CPP" && test -d "$CPP"; then
2322 CPP=
2324 if test -z "$CPP"; then
2325 if test "${ac_cv_prog_CPP+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 else
2328 # Double quotes because CPP needs to be expanded
2329 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2331 ac_preproc_ok=false
2332 for ac_c_preproc_warn_flag in '' yes
2334 # Use a header file that comes with gcc, so configuring glibc
2335 # with a fresh cross-compiler works.
2336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2337 # <limits.h> exists even on freestanding compilers.
2338 # On the NeXT, cc -E runs the code through the compiler's parser,
2339 # not just through cpp. "Syntax error" is here to catch this case.
2340 cat >conftest.$ac_ext <<_ACEOF
2341 /* confdefs.h. */
2342 _ACEOF
2343 cat confdefs.h >>conftest.$ac_ext
2344 cat >>conftest.$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2346 #ifdef __STDC__
2347 # include <limits.h>
2348 #else
2349 # include <assert.h>
2350 #endif
2351 Syntax error
2352 _ACEOF
2353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2355 ac_status=$?
2356 grep -v '^ *+' conftest.er1 >conftest.err
2357 rm -f conftest.er1
2358 cat conftest.err >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); } >/dev/null; then
2361 if test -s conftest.err; then
2362 ac_cpp_err=$ac_c_preproc_warn_flag
2363 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2364 else
2365 ac_cpp_err=
2367 else
2368 ac_cpp_err=yes
2370 if test -z "$ac_cpp_err"; then
2372 else
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2376 # Broken: fails on valid input.
2377 continue
2379 rm -f conftest.err conftest.$ac_ext
2381 # OK, works on sane cases. Now check whether non-existent headers
2382 # can be detected and how.
2383 cat >conftest.$ac_ext <<_ACEOF
2384 /* confdefs.h. */
2385 _ACEOF
2386 cat confdefs.h >>conftest.$ac_ext
2387 cat >>conftest.$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2389 #include <ac_nonexistent.h>
2390 _ACEOF
2391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2393 ac_status=$?
2394 grep -v '^ *+' conftest.er1 >conftest.err
2395 rm -f conftest.er1
2396 cat conftest.err >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } >/dev/null; then
2399 if test -s conftest.err; then
2400 ac_cpp_err=$ac_c_preproc_warn_flag
2401 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2402 else
2403 ac_cpp_err=
2405 else
2406 ac_cpp_err=yes
2408 if test -z "$ac_cpp_err"; then
2409 # Broken: success on invalid input.
2410 continue
2411 else
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.$ac_ext >&5
2415 # Passes both tests.
2416 ac_preproc_ok=:
2417 break
2419 rm -f conftest.err conftest.$ac_ext
2421 done
2422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2423 rm -f conftest.err conftest.$ac_ext
2424 if $ac_preproc_ok; then
2425 break
2428 done
2429 ac_cv_prog_CPP=$CPP
2432 CPP=$ac_cv_prog_CPP
2433 else
2434 ac_cv_prog_CPP=$CPP
2436 echo "$as_me:$LINENO: result: $CPP" >&5
2437 echo "${ECHO_T}$CPP" >&6
2438 ac_preproc_ok=false
2439 for ac_c_preproc_warn_flag in '' yes
2441 # Use a header file that comes with gcc, so configuring glibc
2442 # with a fresh cross-compiler works.
2443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2444 # <limits.h> exists even on freestanding compilers.
2445 # On the NeXT, cc -E runs the code through the compiler's parser,
2446 # not just through cpp. "Syntax error" is here to catch this case.
2447 cat >conftest.$ac_ext <<_ACEOF
2448 /* confdefs.h. */
2449 _ACEOF
2450 cat confdefs.h >>conftest.$ac_ext
2451 cat >>conftest.$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2453 #ifdef __STDC__
2454 # include <limits.h>
2455 #else
2456 # include <assert.h>
2457 #endif
2458 Syntax error
2459 _ACEOF
2460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2462 ac_status=$?
2463 grep -v '^ *+' conftest.er1 >conftest.err
2464 rm -f conftest.er1
2465 cat conftest.err >&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } >/dev/null; then
2468 if test -s conftest.err; then
2469 ac_cpp_err=$ac_c_preproc_warn_flag
2470 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2471 else
2472 ac_cpp_err=
2474 else
2475 ac_cpp_err=yes
2477 if test -z "$ac_cpp_err"; then
2479 else
2480 echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.$ac_ext >&5
2483 # Broken: fails on valid input.
2484 continue
2486 rm -f conftest.err conftest.$ac_ext
2488 # OK, works on sane cases. Now check whether non-existent headers
2489 # can be detected and how.
2490 cat >conftest.$ac_ext <<_ACEOF
2491 /* confdefs.h. */
2492 _ACEOF
2493 cat confdefs.h >>conftest.$ac_ext
2494 cat >>conftest.$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2496 #include <ac_nonexistent.h>
2497 _ACEOF
2498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2500 ac_status=$?
2501 grep -v '^ *+' conftest.er1 >conftest.err
2502 rm -f conftest.er1
2503 cat conftest.err >&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); } >/dev/null; then
2506 if test -s conftest.err; then
2507 ac_cpp_err=$ac_c_preproc_warn_flag
2508 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2509 else
2510 ac_cpp_err=
2512 else
2513 ac_cpp_err=yes
2515 if test -z "$ac_cpp_err"; then
2516 # Broken: success on invalid input.
2517 continue
2518 else
2519 echo "$as_me: failed program was:" >&5
2520 sed 's/^/| /' conftest.$ac_ext >&5
2522 # Passes both tests.
2523 ac_preproc_ok=:
2524 break
2526 rm -f conftest.err conftest.$ac_ext
2528 done
2529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2530 rm -f conftest.err conftest.$ac_ext
2531 if $ac_preproc_ok; then
2533 else
2534 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2541 ac_ext=c
2542 ac_cpp='$CPP $CPPFLAGS'
2543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2548 echo "$as_me:$LINENO: checking for egrep" >&5
2549 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2550 if test "${ac_cv_prog_egrep+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 else
2553 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2554 then ac_cv_prog_egrep='grep -E'
2555 else ac_cv_prog_egrep='egrep'
2558 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2559 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2560 EGREP=$ac_cv_prog_egrep
2563 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2564 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2565 if test "${ac_cv_header_stdc+set}" = set; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 else
2568 cat >conftest.$ac_ext <<_ACEOF
2569 /* confdefs.h. */
2570 _ACEOF
2571 cat confdefs.h >>conftest.$ac_ext
2572 cat >>conftest.$ac_ext <<_ACEOF
2573 /* end confdefs.h. */
2574 #include <stdlib.h>
2575 #include <stdarg.h>
2576 #include <string.h>
2577 #include <float.h>
2580 main ()
2584 return 0;
2586 _ACEOF
2587 rm -f conftest.$ac_objext
2588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2589 (eval $ac_compile) 2>conftest.er1
2590 ac_status=$?
2591 grep -v '^ *+' conftest.er1 >conftest.err
2592 rm -f conftest.er1
2593 cat conftest.err >&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); } &&
2596 { ac_try='test -z "$ac_c_werror_flag"
2597 || test ! -s conftest.err'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599 (eval $ac_try) 2>&5
2600 ac_status=$?
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; } &&
2603 { ac_try='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605 (eval $ac_try) 2>&5
2606 ac_status=$?
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2609 ac_cv_header_stdc=yes
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 ac_cv_header_stdc=no
2616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2618 if test $ac_cv_header_stdc = yes; then
2619 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2620 cat >conftest.$ac_ext <<_ACEOF
2621 /* confdefs.h. */
2622 _ACEOF
2623 cat confdefs.h >>conftest.$ac_ext
2624 cat >>conftest.$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2626 #include <string.h>
2628 _ACEOF
2629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2630 $EGREP "memchr" >/dev/null 2>&1; then
2632 else
2633 ac_cv_header_stdc=no
2635 rm -f conftest*
2639 if test $ac_cv_header_stdc = yes; then
2640 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2641 cat >conftest.$ac_ext <<_ACEOF
2642 /* confdefs.h. */
2643 _ACEOF
2644 cat confdefs.h >>conftest.$ac_ext
2645 cat >>conftest.$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2647 #include <stdlib.h>
2649 _ACEOF
2650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2651 $EGREP "free" >/dev/null 2>&1; then
2653 else
2654 ac_cv_header_stdc=no
2656 rm -f conftest*
2660 if test $ac_cv_header_stdc = yes; then
2661 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2662 if test "$cross_compiling" = yes; then
2664 else
2665 cat >conftest.$ac_ext <<_ACEOF
2666 /* confdefs.h. */
2667 _ACEOF
2668 cat confdefs.h >>conftest.$ac_ext
2669 cat >>conftest.$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2671 #include <ctype.h>
2672 #if ((' ' & 0x0FF) == 0x020)
2673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2675 #else
2676 # define ISLOWER(c) \
2677 (('a' <= (c) && (c) <= 'i') \
2678 || ('j' <= (c) && (c) <= 'r') \
2679 || ('s' <= (c) && (c) <= 'z'))
2680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2681 #endif
2683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2685 main ()
2687 int i;
2688 for (i = 0; i < 256; i++)
2689 if (XOR (islower (i), ISLOWER (i))
2690 || toupper (i) != TOUPPER (i))
2691 exit(2);
2692 exit (0);
2694 _ACEOF
2695 rm -f conftest$ac_exeext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2697 (eval $ac_link) 2>&5
2698 ac_status=$?
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2707 else
2708 echo "$as_me: program exited with status $ac_status" >&5
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2712 ( exit $ac_status )
2713 ac_cv_header_stdc=no
2715 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2719 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2720 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2721 if test $ac_cv_header_stdc = yes; then
2723 cat >>confdefs.h <<\_ACEOF
2724 #define STDC_HEADERS 1
2725 _ACEOF
2729 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2739 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2740 inttypes.h stdint.h unistd.h
2742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2743 echo "$as_me:$LINENO: checking for $ac_header" >&5
2744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 else
2748 cat >conftest.$ac_ext <<_ACEOF
2749 /* confdefs.h. */
2750 _ACEOF
2751 cat confdefs.h >>conftest.$ac_ext
2752 cat >>conftest.$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2754 $ac_includes_default
2756 #include <$ac_header>
2757 _ACEOF
2758 rm -f conftest.$ac_objext
2759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2760 (eval $ac_compile) 2>conftest.er1
2761 ac_status=$?
2762 grep -v '^ *+' conftest.er1 >conftest.err
2763 rm -f conftest.er1
2764 cat conftest.err >&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); } &&
2767 { ac_try='test -z "$ac_c_werror_flag"
2768 || test ! -s conftest.err'
2769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 (eval $ac_try) 2>&5
2771 ac_status=$?
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; } &&
2774 { ac_try='test -s conftest.$ac_objext'
2775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 (eval $ac_try) 2>&5
2777 ac_status=$?
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; }; then
2780 eval "$as_ac_Header=yes"
2781 else
2782 echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2785 eval "$as_ac_Header=no"
2787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2792 cat >>confdefs.h <<_ACEOF
2793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2794 _ACEOF
2798 done
2807 for ac_header in netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h unistd.h
2809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2811 echo "$as_me:$LINENO: checking for $ac_header" >&5
2812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2818 else
2819 # Is the header compilable?
2820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2822 cat >conftest.$ac_ext <<_ACEOF
2823 /* confdefs.h. */
2824 _ACEOF
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2828 $ac_includes_default
2829 #include <$ac_header>
2830 _ACEOF
2831 rm -f conftest.$ac_objext
2832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2833 (eval $ac_compile) 2>conftest.er1
2834 ac_status=$?
2835 grep -v '^ *+' conftest.er1 >conftest.err
2836 rm -f conftest.er1
2837 cat conftest.err >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } &&
2840 { ac_try='test -z "$ac_c_werror_flag"
2841 || test ! -s conftest.err'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 (eval $ac_try) 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; } &&
2847 { ac_try='test -s conftest.$ac_objext'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849 (eval $ac_try) 2>&5
2850 ac_status=$?
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; }; then
2853 ac_header_compiler=yes
2854 else
2855 echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 ac_header_compiler=no
2860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2862 echo "${ECHO_T}$ac_header_compiler" >&6
2864 # Is the header present?
2865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2867 cat >conftest.$ac_ext <<_ACEOF
2868 /* confdefs.h. */
2869 _ACEOF
2870 cat confdefs.h >>conftest.$ac_ext
2871 cat >>conftest.$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2873 #include <$ac_header>
2874 _ACEOF
2875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2877 ac_status=$?
2878 grep -v '^ *+' conftest.er1 >conftest.err
2879 rm -f conftest.er1
2880 cat conftest.err >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } >/dev/null; then
2883 if test -s conftest.err; then
2884 ac_cpp_err=$ac_c_preproc_warn_flag
2885 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2886 else
2887 ac_cpp_err=
2889 else
2890 ac_cpp_err=yes
2892 if test -z "$ac_cpp_err"; then
2893 ac_header_preproc=yes
2894 else
2895 echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2898 ac_header_preproc=no
2900 rm -f conftest.err conftest.$ac_ext
2901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2902 echo "${ECHO_T}$ac_header_preproc" >&6
2904 # So? What about this header?
2905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2906 yes:no: )
2907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2911 ac_header_preproc=yes
2913 no:yes:* )
2914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2927 cat <<\_ASBOX
2928 ## --------------------------------- ##
2929 ## Report this to BUG-REPORT-ADDRESS ##
2930 ## --------------------------------- ##
2931 _ASBOX
2933 sed "s/^/$as_me: WARNING: /" >&2
2935 esac
2936 echo "$as_me:$LINENO: checking for $ac_header" >&5
2937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 else
2941 eval "$as_ac_Header=\$ac_header_preproc"
2943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2948 cat >>confdefs.h <<_ACEOF
2949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2950 _ACEOF
2954 done
2957 for ac_header in bluetooth/bluetooth.h
2959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2961 echo "$as_me:$LINENO: checking for $ac_header" >&5
2962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2968 else
2969 # Is the header compilable?
2970 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2972 cat >conftest.$ac_ext <<_ACEOF
2973 /* confdefs.h. */
2974 _ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2978 $ac_includes_default
2979 #include <$ac_header>
2980 _ACEOF
2981 rm -f conftest.$ac_objext
2982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2983 (eval $ac_compile) 2>conftest.er1
2984 ac_status=$?
2985 grep -v '^ *+' conftest.er1 >conftest.err
2986 rm -f conftest.er1
2987 cat conftest.err >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } &&
2990 { ac_try='test -z "$ac_c_werror_flag"
2991 || test ! -s conftest.err'
2992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2993 (eval $ac_try) 2>&5
2994 ac_status=$?
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); }; } &&
2997 { ac_try='test -s conftest.$ac_objext'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 (eval $ac_try) 2>&5
3000 ac_status=$?
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; }; then
3003 ac_header_compiler=yes
3004 else
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3008 ac_header_compiler=no
3010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3012 echo "${ECHO_T}$ac_header_compiler" >&6
3014 # Is the header present?
3015 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3016 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3017 cat >conftest.$ac_ext <<_ACEOF
3018 /* confdefs.h. */
3019 _ACEOF
3020 cat confdefs.h >>conftest.$ac_ext
3021 cat >>conftest.$ac_ext <<_ACEOF
3022 /* end confdefs.h. */
3023 #include <$ac_header>
3024 _ACEOF
3025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3026 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3027 ac_status=$?
3028 grep -v '^ *+' conftest.er1 >conftest.err
3029 rm -f conftest.er1
3030 cat conftest.err >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); } >/dev/null; then
3033 if test -s conftest.err; then
3034 ac_cpp_err=$ac_c_preproc_warn_flag
3035 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3036 else
3037 ac_cpp_err=
3039 else
3040 ac_cpp_err=yes
3042 if test -z "$ac_cpp_err"; then
3043 ac_header_preproc=yes
3044 else
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3048 ac_header_preproc=no
3050 rm -f conftest.err conftest.$ac_ext
3051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3052 echo "${ECHO_T}$ac_header_preproc" >&6
3054 # So? What about this header?
3055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3056 yes:no: )
3057 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3059 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3061 ac_header_preproc=yes
3063 no:yes:* )
3064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3068 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3069 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3070 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3071 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3074 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3075 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3077 cat <<\_ASBOX
3078 ## --------------------------------- ##
3079 ## Report this to BUG-REPORT-ADDRESS ##
3080 ## --------------------------------- ##
3081 _ASBOX
3083 sed "s/^/$as_me: WARNING: /" >&2
3085 esac
3086 echo "$as_me:$LINENO: checking for $ac_header" >&5
3087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 else
3091 eval "$as_ac_Header=\$ac_header_preproc"
3093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3098 cat >>confdefs.h <<_ACEOF
3099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3100 _ACEOF
3102 else
3103 { { echo "$as_me:$LINENO: error: Bluetooth headers MIA" >&5
3104 echo "$as_me: error: Bluetooth headers MIA" >&2;}
3105 { (exit 1); exit 1; }; }
3108 done
3111 # Checks for typedefs, structures, and compiler characteristics.
3112 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3113 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3114 if test "${ac_cv_c_const+set}" = set; then
3115 echo $ECHO_N "(cached) $ECHO_C" >&6
3116 else
3117 cat >conftest.$ac_ext <<_ACEOF
3118 /* confdefs.h. */
3119 _ACEOF
3120 cat confdefs.h >>conftest.$ac_ext
3121 cat >>conftest.$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3125 main ()
3127 /* FIXME: Include the comments suggested by Paul. */
3128 #ifndef __cplusplus
3129 /* Ultrix mips cc rejects this. */
3130 typedef int charset[2];
3131 const charset x;
3132 /* SunOS 4.1.1 cc rejects this. */
3133 char const *const *ccp;
3134 char **p;
3135 /* NEC SVR4.0.2 mips cc rejects this. */
3136 struct point {int x, y;};
3137 static struct point const zero = {0,0};
3138 /* AIX XL C 1.02.0.0 rejects this.
3139 It does not let you subtract one const X* pointer from another in
3140 an arm of an if-expression whose if-part is not a constant
3141 expression */
3142 const char *g = "string";
3143 ccp = &g + (g ? g-g : 0);
3144 /* HPUX 7.0 cc rejects these. */
3145 ++ccp;
3146 p = (char**) ccp;
3147 ccp = (char const *const *) p;
3148 { /* SCO 3.2v4 cc rejects this. */
3149 char *t;
3150 char const *s = 0 ? (char *) 0 : (char const *) 0;
3152 *t++ = 0;
3154 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3155 int x[] = {25, 17};
3156 const int *foo = &x[0];
3157 ++foo;
3159 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3160 typedef const int *iptr;
3161 iptr p = 0;
3162 ++p;
3164 { /* AIX XL C 1.02.0.0 rejects this saying
3165 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3166 struct s { int j; const int *ap[3]; };
3167 struct s *b; b->j = 5;
3169 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3170 const int foo = 10;
3172 #endif
3175 return 0;
3177 _ACEOF
3178 rm -f conftest.$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180 (eval $ac_compile) 2>conftest.er1
3181 ac_status=$?
3182 grep -v '^ *+' conftest.er1 >conftest.err
3183 rm -f conftest.er1
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try='test -z "$ac_c_werror_flag"
3188 || test ! -s conftest.err'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190 (eval $ac_try) 2>&5
3191 ac_status=$?
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; } &&
3194 { ac_try='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 (eval $ac_try) 2>&5
3197 ac_status=$?
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3200 ac_cv_c_const=yes
3201 else
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3205 ac_cv_c_const=no
3207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3209 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3210 echo "${ECHO_T}$ac_cv_c_const" >&6
3211 if test $ac_cv_c_const = no; then
3213 cat >>confdefs.h <<\_ACEOF
3214 #define const
3215 _ACEOF
3219 echo "$as_me:$LINENO: checking for size_t" >&5
3220 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3221 if test "${ac_cv_type_size_t+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 else
3224 cat >conftest.$ac_ext <<_ACEOF
3225 /* confdefs.h. */
3226 _ACEOF
3227 cat confdefs.h >>conftest.$ac_ext
3228 cat >>conftest.$ac_ext <<_ACEOF
3229 /* end confdefs.h. */
3230 $ac_includes_default
3232 main ()
3234 if ((size_t *) 0)
3235 return 0;
3236 if (sizeof (size_t))
3237 return 0;
3239 return 0;
3241 _ACEOF
3242 rm -f conftest.$ac_objext
3243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3244 (eval $ac_compile) 2>conftest.er1
3245 ac_status=$?
3246 grep -v '^ *+' conftest.er1 >conftest.err
3247 rm -f conftest.er1
3248 cat conftest.err >&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } &&
3251 { ac_try='test -z "$ac_c_werror_flag"
3252 || test ! -s conftest.err'
3253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 (eval $ac_try) 2>&5
3255 ac_status=$?
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }; } &&
3258 { ac_try='test -s conftest.$ac_objext'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 (eval $ac_try) 2>&5
3261 ac_status=$?
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
3264 ac_cv_type_size_t=yes
3265 else
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_cv_type_size_t=no
3271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3273 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3274 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3275 if test $ac_cv_type_size_t = yes; then
3277 else
3279 cat >>confdefs.h <<_ACEOF
3280 #define size_t unsigned
3281 _ACEOF
3286 # Checks for library functions.
3287 if test $ac_cv_c_compiler_gnu = yes; then
3288 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3289 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3290 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 else
3293 ac_pattern="Autoconf.*'x'"
3294 cat >conftest.$ac_ext <<_ACEOF
3295 /* confdefs.h. */
3296 _ACEOF
3297 cat confdefs.h >>conftest.$ac_ext
3298 cat >>conftest.$ac_ext <<_ACEOF
3299 /* end confdefs.h. */
3300 #include <sgtty.h>
3301 Autoconf TIOCGETP
3302 _ACEOF
3303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3304 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3305 ac_cv_prog_gcc_traditional=yes
3306 else
3307 ac_cv_prog_gcc_traditional=no
3309 rm -f conftest*
3312 if test $ac_cv_prog_gcc_traditional = no; then
3313 cat >conftest.$ac_ext <<_ACEOF
3314 /* confdefs.h. */
3315 _ACEOF
3316 cat confdefs.h >>conftest.$ac_ext
3317 cat >>conftest.$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3319 #include <termio.h>
3320 Autoconf TCGETA
3321 _ACEOF
3322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3323 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3324 ac_cv_prog_gcc_traditional=yes
3326 rm -f conftest*
3330 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3331 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3332 if test $ac_cv_prog_gcc_traditional = yes; then
3333 CC="$CC -traditional"
3338 for ac_header in stdlib.h
3340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3342 echo "$as_me:$LINENO: checking for $ac_header" >&5
3343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3345 echo $ECHO_N "(cached) $ECHO_C" >&6
3347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3349 else
3350 # Is the header compilable?
3351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3353 cat >conftest.$ac_ext <<_ACEOF
3354 /* confdefs.h. */
3355 _ACEOF
3356 cat confdefs.h >>conftest.$ac_ext
3357 cat >>conftest.$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3359 $ac_includes_default
3360 #include <$ac_header>
3361 _ACEOF
3362 rm -f conftest.$ac_objext
3363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3364 (eval $ac_compile) 2>conftest.er1
3365 ac_status=$?
3366 grep -v '^ *+' conftest.er1 >conftest.err
3367 rm -f conftest.er1
3368 cat conftest.err >&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); } &&
3371 { ac_try='test -z "$ac_c_werror_flag"
3372 || test ! -s conftest.err'
3373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3374 (eval $ac_try) 2>&5
3375 ac_status=$?
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; } &&
3378 { ac_try='test -s conftest.$ac_objext'
3379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3380 (eval $ac_try) 2>&5
3381 ac_status=$?
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }; }; then
3384 ac_header_compiler=yes
3385 else
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3389 ac_header_compiler=no
3391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3393 echo "${ECHO_T}$ac_header_compiler" >&6
3395 # Is the header present?
3396 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3398 cat >conftest.$ac_ext <<_ACEOF
3399 /* confdefs.h. */
3400 _ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3404 #include <$ac_header>
3405 _ACEOF
3406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3408 ac_status=$?
3409 grep -v '^ *+' conftest.er1 >conftest.err
3410 rm -f conftest.er1
3411 cat conftest.err >&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } >/dev/null; then
3414 if test -s conftest.err; then
3415 ac_cpp_err=$ac_c_preproc_warn_flag
3416 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3417 else
3418 ac_cpp_err=
3420 else
3421 ac_cpp_err=yes
3423 if test -z "$ac_cpp_err"; then
3424 ac_header_preproc=yes
3425 else
3426 echo "$as_me: failed program was:" >&5
3427 sed 's/^/| /' conftest.$ac_ext >&5
3429 ac_header_preproc=no
3431 rm -f conftest.err conftest.$ac_ext
3432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3433 echo "${ECHO_T}$ac_header_preproc" >&6
3435 # So? What about this header?
3436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3437 yes:no: )
3438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3442 ac_header_preproc=yes
3444 no:yes:* )
3445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3458 cat <<\_ASBOX
3459 ## --------------------------------- ##
3460 ## Report this to BUG-REPORT-ADDRESS ##
3461 ## --------------------------------- ##
3462 _ASBOX
3464 sed "s/^/$as_me: WARNING: /" >&2
3466 esac
3467 echo "$as_me:$LINENO: checking for $ac_header" >&5
3468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 else
3472 eval "$as_ac_Header=\$ac_header_preproc"
3474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3479 cat >>confdefs.h <<_ACEOF
3480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3481 _ACEOF
3485 done
3487 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
3488 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
3489 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3491 else
3492 if test "$cross_compiling" = yes; then
3493 ac_cv_func_malloc_0_nonnull=no
3494 else
3495 cat >conftest.$ac_ext <<_ACEOF
3496 /* confdefs.h. */
3497 _ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3501 #if STDC_HEADERS || HAVE_STDLIB_H
3502 # include <stdlib.h>
3503 #else
3504 char *malloc ();
3505 #endif
3508 main ()
3510 exit (malloc (0) ? 0 : 1);
3512 return 0;
3514 _ACEOF
3515 rm -f conftest$ac_exeext
3516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3517 (eval $ac_link) 2>&5
3518 ac_status=$?
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 (eval $ac_try) 2>&5
3523 ac_status=$?
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3526 ac_cv_func_malloc_0_nonnull=yes
3527 else
3528 echo "$as_me: program exited with status $ac_status" >&5
3529 echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3532 ( exit $ac_status )
3533 ac_cv_func_malloc_0_nonnull=no
3535 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3538 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
3539 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
3540 if test $ac_cv_func_malloc_0_nonnull = yes; then
3542 cat >>confdefs.h <<\_ACEOF
3543 #define HAVE_MALLOC 1
3544 _ACEOF
3546 else
3547 cat >>confdefs.h <<\_ACEOF
3548 #define HAVE_MALLOC 0
3549 _ACEOF
3551 case $LIBOBJS in
3552 "malloc.$ac_objext" | \
3553 *" malloc.$ac_objext" | \
3554 "malloc.$ac_objext "* | \
3555 *" malloc.$ac_objext "* ) ;;
3556 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
3557 esac
3560 cat >>confdefs.h <<\_ACEOF
3561 #define malloc rpl_malloc
3562 _ACEOF
3568 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3569 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3570 if test "${ac_cv_type_signal+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 else
3573 cat >conftest.$ac_ext <<_ACEOF
3574 /* confdefs.h. */
3575 _ACEOF
3576 cat confdefs.h >>conftest.$ac_ext
3577 cat >>conftest.$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3579 #include <sys/types.h>
3580 #include <signal.h>
3581 #ifdef signal
3582 # undef signal
3583 #endif
3584 #ifdef __cplusplus
3585 extern "C" void (*signal (int, void (*)(int)))(int);
3586 #else
3587 void (*signal ()) ();
3588 #endif
3591 main ()
3593 int i;
3595 return 0;
3597 _ACEOF
3598 rm -f conftest.$ac_objext
3599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3600 (eval $ac_compile) 2>conftest.er1
3601 ac_status=$?
3602 grep -v '^ *+' conftest.er1 >conftest.err
3603 rm -f conftest.er1
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } &&
3607 { ac_try='test -z "$ac_c_werror_flag"
3608 || test ! -s conftest.err'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 (eval $ac_try) 2>&5
3611 ac_status=$?
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; } &&
3614 { ac_try='test -s conftest.$ac_objext'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3616 (eval $ac_try) 2>&5
3617 ac_status=$?
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; }; then
3620 ac_cv_type_signal=void
3621 else
3622 echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.$ac_ext >&5
3625 ac_cv_type_signal=int
3627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3629 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3630 echo "${ECHO_T}$ac_cv_type_signal" >&6
3632 cat >>confdefs.h <<_ACEOF
3633 #define RETSIGTYPE $ac_cv_type_signal
3634 _ACEOF
3639 for ac_func in memset strerror
3641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3642 echo "$as_me:$LINENO: checking for $ac_func" >&5
3643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3644 if eval "test \"\${$as_ac_var+set}\" = set"; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3646 else
3647 cat >conftest.$ac_ext <<_ACEOF
3648 /* confdefs.h. */
3649 _ACEOF
3650 cat confdefs.h >>conftest.$ac_ext
3651 cat >>conftest.$ac_ext <<_ACEOF
3652 /* end confdefs.h. */
3653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3655 #define $ac_func innocuous_$ac_func
3657 /* System header to define __stub macros and hopefully few prototypes,
3658 which can conflict with char $ac_func (); below.
3659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3660 <limits.h> exists even on freestanding compilers. */
3662 #ifdef __STDC__
3663 # include <limits.h>
3664 #else
3665 # include <assert.h>
3666 #endif
3668 #undef $ac_func
3670 /* Override any gcc2 internal prototype to avoid an error. */
3671 #ifdef __cplusplus
3672 extern "C"
3674 #endif
3675 /* We use char because int might match the return type of a gcc2
3676 builtin and then its argument prototype would still apply. */
3677 char $ac_func ();
3678 /* The GNU C library defines this for functions which it implements
3679 to always fail with ENOSYS. Some functions are actually named
3680 something starting with __ and the normal name is an alias. */
3681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3682 choke me
3683 #else
3684 char (*f) () = $ac_func;
3685 #endif
3686 #ifdef __cplusplus
3688 #endif
3691 main ()
3693 return f != $ac_func;
3695 return 0;
3697 _ACEOF
3698 rm -f conftest.$ac_objext conftest$ac_exeext
3699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3700 (eval $ac_link) 2>conftest.er1
3701 ac_status=$?
3702 grep -v '^ *+' conftest.er1 >conftest.err
3703 rm -f conftest.er1
3704 cat conftest.err >&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); } &&
3707 { ac_try='test -z "$ac_c_werror_flag"
3708 || test ! -s conftest.err'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3710 (eval $ac_try) 2>&5
3711 ac_status=$?
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; } &&
3714 { ac_try='test -s conftest$ac_exeext'
3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716 (eval $ac_try) 2>&5
3717 ac_status=$?
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; }; then
3720 eval "$as_ac_var=yes"
3721 else
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.$ac_ext >&5
3725 eval "$as_ac_var=no"
3727 rm -f conftest.err conftest.$ac_objext \
3728 conftest$ac_exeext conftest.$ac_ext
3730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3732 if test `eval echo '${'$as_ac_var'}'` = yes; then
3733 cat >>confdefs.h <<_ACEOF
3734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3735 _ACEOF
3738 done
3741 # CFLAGS
3744 ac_config_files="$ac_config_files Makefile"
3746 cat >confcache <<\_ACEOF
3747 # This file is a shell script that caches the results of configure
3748 # tests run on this system so they can be shared between configure
3749 # scripts and configure runs, see configure's option --config-cache.
3750 # It is not useful on other systems. If it contains results you don't
3751 # want to keep, you may remove or edit it.
3753 # config.status only pays attention to the cache file if you give it
3754 # the --recheck option to rerun configure.
3756 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3757 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3758 # following values.
3760 _ACEOF
3762 # The following way of writing the cache mishandles newlines in values,
3763 # but we know of no workaround that is simple, portable, and efficient.
3764 # So, don't put newlines in cache variables' values.
3765 # Ultrix sh set writes to stderr and can't be redirected directly,
3766 # and sets the high bit in the cache file unless we assign to the vars.
3768 (set) 2>&1 |
3769 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3770 *ac_space=\ *)
3771 # `set' does not quote correctly, so add quotes (double-quote
3772 # substitution turns \\\\ into \\, and sed turns \\ into \).
3773 sed -n \
3774 "s/'/'\\\\''/g;
3775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3778 # `set' quotes correctly as required by POSIX, so do not add quotes.
3779 sed -n \
3780 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3782 esac;
3784 sed '
3785 t clear
3786 : clear
3787 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3788 t end
3789 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3790 : end' >>confcache
3791 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3792 if test -w $cache_file; then
3793 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3794 cat confcache >$cache_file
3795 else
3796 echo "not updating unwritable cache $cache_file"
3799 rm -f confcache
3801 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3802 # Let make expand exec_prefix.
3803 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3805 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3806 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3807 # trailing colons and then remove the whole line if VPATH becomes empty
3808 # (actually we leave an empty line to preserve line numbers).
3809 if test "x$srcdir" = x.; then
3810 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3811 s/:*\$(srcdir):*/:/;
3812 s/:*\${srcdir}:*/:/;
3813 s/:*@srcdir@:*/:/;
3814 s/^\([^=]*=[ ]*\):*/\1/;
3815 s/:*$//;
3816 s/^[^=]*=[ ]*$//;
3820 # Transform confdefs.h into DEFS.
3821 # Protect against shell expansion while executing Makefile rules.
3822 # Protect against Makefile macro expansion.
3824 # If the first sed substitution is executed (which looks for macros that
3825 # take arguments), then we branch to the quote section. Otherwise,
3826 # look for a macro that doesn't take arguments.
3827 cat >confdef2opt.sed <<\_ACEOF
3828 t clear
3829 : clear
3830 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3831 t quote
3832 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3833 t quote
3835 : quote
3836 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3837 s,\[,\\&,g
3838 s,\],\\&,g
3839 s,\$,$$,g
3841 _ACEOF
3842 # We use echo to avoid assuming a particular line-breaking character.
3843 # The extra dot is to prevent the shell from consuming trailing
3844 # line-breaks from the sub-command output. A line-break within
3845 # single-quotes doesn't work because, if this script is created in a
3846 # platform that uses two characters for line-breaks (e.g., DOS), tr
3847 # would break.
3848 ac_LF_and_DOT=`echo; echo .`
3849 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3850 rm -f confdef2opt.sed
3853 ac_libobjs=
3854 ac_ltlibobjs=
3855 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3856 # 1. Remove the extension, and $U if already installed.
3857 ac_i=`echo "$ac_i" |
3858 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3859 # 2. Add them.
3860 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3861 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3862 done
3863 LIBOBJS=$ac_libobjs
3865 LTLIBOBJS=$ac_ltlibobjs
3869 : ${CONFIG_STATUS=./config.status}
3870 ac_clean_files_save=$ac_clean_files
3871 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3872 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3873 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3874 cat >$CONFIG_STATUS <<_ACEOF
3875 #! $SHELL
3876 # Generated by $as_me.
3877 # Run this file to recreate the current configuration.
3878 # Compiler output produced by configure, useful for debugging
3879 # configure, is in config.log if it exists.
3881 debug=false
3882 ac_cs_recheck=false
3883 ac_cs_silent=false
3884 SHELL=\${CONFIG_SHELL-$SHELL}
3885 _ACEOF
3887 cat >>$CONFIG_STATUS <<\_ACEOF
3888 ## --------------------- ##
3889 ## M4sh Initialization. ##
3890 ## --------------------- ##
3892 # Be Bourne compatible
3893 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3894 emulate sh
3895 NULLCMD=:
3896 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3897 # is contrary to our usage. Disable this feature.
3898 alias -g '${1+"$@"}'='"$@"'
3899 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3900 set -o posix
3902 DUALCASE=1; export DUALCASE # for MKS sh
3904 # Support unset when possible.
3905 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3906 as_unset=unset
3907 else
3908 as_unset=false
3912 # Work around bugs in pre-3.0 UWIN ksh.
3913 $as_unset ENV MAIL MAILPATH
3914 PS1='$ '
3915 PS2='> '
3916 PS4='+ '
3918 # NLS nuisances.
3919 for as_var in \
3920 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3921 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3922 LC_TELEPHONE LC_TIME
3924 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3925 eval $as_var=C; export $as_var
3926 else
3927 $as_unset $as_var
3929 done
3931 # Required to use basename.
3932 if expr a : '\(a\)' >/dev/null 2>&1; then
3933 as_expr=expr
3934 else
3935 as_expr=false
3938 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3939 as_basename=basename
3940 else
3941 as_basename=false
3945 # Name of the executable.
3946 as_me=`$as_basename "$0" ||
3947 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3948 X"$0" : 'X\(//\)$' \| \
3949 X"$0" : 'X\(/\)$' \| \
3950 . : '\(.\)' 2>/dev/null ||
3951 echo X/"$0" |
3952 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3953 /^X\/\(\/\/\)$/{ s//\1/; q; }
3954 /^X\/\(\/\).*/{ s//\1/; q; }
3955 s/.*/./; q'`
3958 # PATH needs CR, and LINENO needs CR and PATH.
3959 # Avoid depending upon Character Ranges.
3960 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3961 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3962 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3963 as_cr_digits='0123456789'
3964 as_cr_alnum=$as_cr_Letters$as_cr_digits
3966 # The user is always right.
3967 if test "${PATH_SEPARATOR+set}" != set; then
3968 echo "#! /bin/sh" >conf$$.sh
3969 echo "exit 0" >>conf$$.sh
3970 chmod +x conf$$.sh
3971 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3972 PATH_SEPARATOR=';'
3973 else
3974 PATH_SEPARATOR=:
3976 rm -f conf$$.sh
3980 as_lineno_1=$LINENO
3981 as_lineno_2=$LINENO
3982 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3983 test "x$as_lineno_1" != "x$as_lineno_2" &&
3984 test "x$as_lineno_3" = "x$as_lineno_2" || {
3985 # Find who we are. Look in the path if we contain no path at all
3986 # relative or not.
3987 case $0 in
3988 *[\\/]* ) as_myself=$0 ;;
3989 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH
3992 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.
3994 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3995 done
3998 esac
3999 # We did not find ourselves, most probably we were run as `sh COMMAND'
4000 # in which case we are not to be found in the path.
4001 if test "x$as_myself" = x; then
4002 as_myself=$0
4004 if test ! -f "$as_myself"; then
4005 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4006 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4007 { (exit 1); exit 1; }; }
4009 case $CONFIG_SHELL in
4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4014 IFS=$as_save_IFS
4015 test -z "$as_dir" && as_dir=.
4016 for as_base in sh bash ksh sh5; do
4017 case $as_dir in
4019 if ("$as_dir/$as_base" -c '
4020 as_lineno_1=$LINENO
4021 as_lineno_2=$LINENO
4022 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4023 test "x$as_lineno_1" != "x$as_lineno_2" &&
4024 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4025 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4026 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4027 CONFIG_SHELL=$as_dir/$as_base
4028 export CONFIG_SHELL
4029 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4030 fi;;
4031 esac
4032 done
4033 done
4035 esac
4037 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4038 # uniformly replaced by the line number. The first 'sed' inserts a
4039 # line-number line before each line; the second 'sed' does the real
4040 # work. The second script uses 'N' to pair each line-number line
4041 # with the numbered line, and appends trailing '-' during
4042 # substitution so that $LINENO is not a special case at line end.
4043 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4044 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4045 sed '=' <$as_myself |
4046 sed '
4048 s,$,-,
4049 : loop
4050 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4051 t loop
4052 s,-$,,
4053 s,^['$as_cr_digits']*\n,,
4054 ' >$as_me.lineno &&
4055 chmod +x $as_me.lineno ||
4056 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4057 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4058 { (exit 1); exit 1; }; }
4060 # Don't try to exec as it changes $[0], causing all sort of problems
4061 # (the dirname of $[0] is not the place where we might find the
4062 # original and so on. Autoconf is especially sensible to this).
4063 . ./$as_me.lineno
4064 # Exit status is that of the last command.
4065 exit
4069 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4070 *c*,-n*) ECHO_N= ECHO_C='
4071 ' ECHO_T=' ' ;;
4072 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4073 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4074 esac
4076 if expr a : '\(a\)' >/dev/null 2>&1; then
4077 as_expr=expr
4078 else
4079 as_expr=false
4082 rm -f conf$$ conf$$.exe conf$$.file
4083 echo >conf$$.file
4084 if ln -s conf$$.file conf$$ 2>/dev/null; then
4085 # We could just check for DJGPP; but this test a) works b) is more generic
4086 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4087 if test -f conf$$.exe; then
4088 # Don't use ln at all; we don't have any links
4089 as_ln_s='cp -p'
4090 else
4091 as_ln_s='ln -s'
4093 elif ln conf$$.file conf$$ 2>/dev/null; then
4094 as_ln_s=ln
4095 else
4096 as_ln_s='cp -p'
4098 rm -f conf$$ conf$$.exe conf$$.file
4100 if mkdir -p . 2>/dev/null; then
4101 as_mkdir_p=:
4102 else
4103 test -d ./-p && rmdir ./-p
4104 as_mkdir_p=false
4107 as_executable_p="test -f"
4109 # Sed expression to map a string onto a valid CPP name.
4110 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4112 # Sed expression to map a string onto a valid variable name.
4113 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4116 # IFS
4117 # We need space, tab and new line, in precisely that order.
4118 as_nl='
4120 IFS=" $as_nl"
4122 # CDPATH.
4123 $as_unset CDPATH
4125 exec 6>&1
4127 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4128 # report actual input values of CONFIG_FILES etc. instead of their
4129 # values after options handling. Logging --version etc. is OK.
4130 exec 5>>config.log
4132 echo
4133 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4134 ## Running $as_me. ##
4135 _ASBOX
4136 } >&5
4137 cat >&5 <<_CSEOF
4139 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
4140 generated by GNU Autoconf 2.59. Invocation command line was
4142 CONFIG_FILES = $CONFIG_FILES
4143 CONFIG_HEADERS = $CONFIG_HEADERS
4144 CONFIG_LINKS = $CONFIG_LINKS
4145 CONFIG_COMMANDS = $CONFIG_COMMANDS
4146 $ $0 $@
4148 _CSEOF
4149 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4150 echo >&5
4151 _ACEOF
4153 # Files that config.status was made for.
4154 if test -n "$ac_config_files"; then
4155 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4158 if test -n "$ac_config_headers"; then
4159 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4162 if test -n "$ac_config_links"; then
4163 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4166 if test -n "$ac_config_commands"; then
4167 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4170 cat >>$CONFIG_STATUS <<\_ACEOF
4172 ac_cs_usage="\
4173 \`$as_me' instantiates files from templates according to the
4174 current configuration.
4176 Usage: $0 [OPTIONS] [FILE]...
4178 -h, --help print this help, then exit
4179 -V, --version print version number, then exit
4180 -q, --quiet do not print progress messages
4181 -d, --debug don't remove temporary files
4182 --recheck update $as_me by reconfiguring in the same conditions
4183 --file=FILE[:TEMPLATE]
4184 instantiate the configuration file FILE
4186 Configuration files:
4187 $config_files
4189 Report bugs to <bug-autoconf@gnu.org>."
4190 _ACEOF
4192 cat >>$CONFIG_STATUS <<_ACEOF
4193 ac_cs_version="\\
4194 FULL-PACKAGE-NAME config.status VERSION
4195 configured by $0, generated by GNU Autoconf 2.59,
4196 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4198 Copyright (C) 2003 Free Software Foundation, Inc.
4199 This config.status script is free software; the Free Software Foundation
4200 gives unlimited permission to copy, distribute and modify it."
4201 srcdir=$srcdir
4202 _ACEOF
4204 cat >>$CONFIG_STATUS <<\_ACEOF
4205 # If no file are specified by the user, then we need to provide default
4206 # value. By we need to know if files were specified by the user.
4207 ac_need_defaults=:
4208 while test $# != 0
4210 case $1 in
4211 --*=*)
4212 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4213 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4214 ac_shift=:
4217 ac_option=$1
4218 ac_optarg=$2
4219 ac_shift=shift
4221 *) # This is not an option, so the user has probably given explicit
4222 # arguments.
4223 ac_option=$1
4224 ac_need_defaults=false;;
4225 esac
4227 case $ac_option in
4228 # Handling of the options.
4229 _ACEOF
4230 cat >>$CONFIG_STATUS <<\_ACEOF
4231 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4232 ac_cs_recheck=: ;;
4233 --version | --vers* | -V )
4234 echo "$ac_cs_version"; exit 0 ;;
4235 --he | --h)
4236 # Conflict between --help and --header
4237 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4238 Try \`$0 --help' for more information." >&5
4239 echo "$as_me: error: ambiguous option: $1
4240 Try \`$0 --help' for more information." >&2;}
4241 { (exit 1); exit 1; }; };;
4242 --help | --hel | -h )
4243 echo "$ac_cs_usage"; exit 0 ;;
4244 --debug | --d* | -d )
4245 debug=: ;;
4246 --file | --fil | --fi | --f )
4247 $ac_shift
4248 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4249 ac_need_defaults=false;;
4250 --header | --heade | --head | --hea )
4251 $ac_shift
4252 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4253 ac_need_defaults=false;;
4254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4255 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4256 ac_cs_silent=: ;;
4258 # This is an error.
4259 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4260 Try \`$0 --help' for more information." >&5
4261 echo "$as_me: error: unrecognized option: $1
4262 Try \`$0 --help' for more information." >&2;}
4263 { (exit 1); exit 1; }; } ;;
4265 *) ac_config_targets="$ac_config_targets $1" ;;
4267 esac
4268 shift
4269 done
4271 ac_configure_extra_args=
4273 if $ac_cs_silent; then
4274 exec 6>/dev/null
4275 ac_configure_extra_args="$ac_configure_extra_args --silent"
4278 _ACEOF
4279 cat >>$CONFIG_STATUS <<_ACEOF
4280 if \$ac_cs_recheck; then
4281 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4282 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4285 _ACEOF
4291 cat >>$CONFIG_STATUS <<\_ACEOF
4292 for ac_config_target in $ac_config_targets
4294 case "$ac_config_target" in
4295 # Handling of arguments.
4296 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4297 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4298 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4299 { (exit 1); exit 1; }; };;
4300 esac
4301 done
4303 # If the user did not use the arguments to specify the items to instantiate,
4304 # then the envvar interface is used. Set only those that are not.
4305 # We use the long form for the default assignment because of an extremely
4306 # bizarre bug on SunOS 4.1.3.
4307 if $ac_need_defaults; then
4308 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4311 # Have a temporary directory for convenience. Make it in the build tree
4312 # simply because there is no reason to put it here, and in addition,
4313 # creating and moving files from /tmp can sometimes cause problems.
4314 # Create a temporary directory, and hook for its removal unless debugging.
4315 $debug ||
4317 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4318 trap '{ (exit 1); exit 1; }' 1 2 13 15
4321 # Create a (secure) tmp directory for tmp files.
4324 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4325 test -n "$tmp" && test -d "$tmp"
4326 } ||
4328 tmp=./confstat$$-$RANDOM
4329 (umask 077 && mkdir $tmp)
4330 } ||
4332 echo "$me: cannot create a temporary directory in ." >&2
4333 { (exit 1); exit 1; }
4336 _ACEOF
4338 cat >>$CONFIG_STATUS <<_ACEOF
4341 # CONFIG_FILES section.
4344 # No need to generate the scripts if there are no CONFIG_FILES.
4345 # This happens for instance when ./config.status config.h
4346 if test -n "\$CONFIG_FILES"; then
4347 # Protect against being on the right side of a sed subst in config.status.
4348 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4349 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4350 s,@SHELL@,$SHELL,;t t
4351 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4352 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4353 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4354 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4355 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4356 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4357 s,@exec_prefix@,$exec_prefix,;t t
4358 s,@prefix@,$prefix,;t t
4359 s,@program_transform_name@,$program_transform_name,;t t
4360 s,@bindir@,$bindir,;t t
4361 s,@sbindir@,$sbindir,;t t
4362 s,@libexecdir@,$libexecdir,;t t
4363 s,@datadir@,$datadir,;t t
4364 s,@sysconfdir@,$sysconfdir,;t t
4365 s,@sharedstatedir@,$sharedstatedir,;t t
4366 s,@localstatedir@,$localstatedir,;t t
4367 s,@libdir@,$libdir,;t t
4368 s,@includedir@,$includedir,;t t
4369 s,@oldincludedir@,$oldincludedir,;t t
4370 s,@infodir@,$infodir,;t t
4371 s,@mandir@,$mandir,;t t
4372 s,@build_alias@,$build_alias,;t t
4373 s,@host_alias@,$host_alias,;t t
4374 s,@target_alias@,$target_alias,;t t
4375 s,@DEFS@,$DEFS,;t t
4376 s,@ECHO_C@,$ECHO_C,;t t
4377 s,@ECHO_N@,$ECHO_N,;t t
4378 s,@ECHO_T@,$ECHO_T,;t t
4379 s,@LIBS@,$LIBS,;t t
4380 s,@CC@,$CC,;t t
4381 s,@CFLAGS@,$CFLAGS,;t t
4382 s,@LDFLAGS@,$LDFLAGS,;t t
4383 s,@CPPFLAGS@,$CPPFLAGS,;t t
4384 s,@ac_ct_CC@,$ac_ct_CC,;t t
4385 s,@EXEEXT@,$EXEEXT,;t t
4386 s,@OBJEXT@,$OBJEXT,;t t
4387 s,@CPP@,$CPP,;t t
4388 s,@EGREP@,$EGREP,;t t
4389 s,@LIBOBJS@,$LIBOBJS,;t t
4390 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4391 CEOF
4393 _ACEOF
4395 cat >>$CONFIG_STATUS <<\_ACEOF
4396 # Split the substitutions into bite-sized pieces for seds with
4397 # small command number limits, like on Digital OSF/1 and HP-UX.
4398 ac_max_sed_lines=48
4399 ac_sed_frag=1 # Number of current file.
4400 ac_beg=1 # First line for current file.
4401 ac_end=$ac_max_sed_lines # Line after last line for current file.
4402 ac_more_lines=:
4403 ac_sed_cmds=
4404 while $ac_more_lines; do
4405 if test $ac_beg -gt 1; then
4406 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4407 else
4408 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4410 if test ! -s $tmp/subs.frag; then
4411 ac_more_lines=false
4412 else
4413 # The purpose of the label and of the branching condition is to
4414 # speed up the sed processing (if there are no `@' at all, there
4415 # is no need to browse any of the substitutions).
4416 # These are the two extra sed commands mentioned above.
4417 (echo ':t
4418 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4419 if test -z "$ac_sed_cmds"; then
4420 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4421 else
4422 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4424 ac_sed_frag=`expr $ac_sed_frag + 1`
4425 ac_beg=$ac_end
4426 ac_end=`expr $ac_end + $ac_max_sed_lines`
4428 done
4429 if test -z "$ac_sed_cmds"; then
4430 ac_sed_cmds=cat
4432 fi # test -n "$CONFIG_FILES"
4434 _ACEOF
4435 cat >>$CONFIG_STATUS <<\_ACEOF
4436 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4437 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4438 case $ac_file in
4439 - | *:- | *:-:* ) # input from stdin
4440 cat >$tmp/stdin
4441 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4442 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4443 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4444 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4445 * ) ac_file_in=$ac_file.in ;;
4446 esac
4448 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4449 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4451 X"$ac_file" : 'X\(//\)[^/]' \| \
4452 X"$ac_file" : 'X\(//\)$' \| \
4453 X"$ac_file" : 'X\(/\)' \| \
4454 . : '\(.\)' 2>/dev/null ||
4455 echo X"$ac_file" |
4456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4458 /^X\(\/\/\)$/{ s//\1/; q; }
4459 /^X\(\/\).*/{ s//\1/; q; }
4460 s/.*/./; q'`
4461 { if $as_mkdir_p; then
4462 mkdir -p "$ac_dir"
4463 else
4464 as_dir="$ac_dir"
4465 as_dirs=
4466 while test ! -d "$as_dir"; do
4467 as_dirs="$as_dir $as_dirs"
4468 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4469 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4470 X"$as_dir" : 'X\(//\)[^/]' \| \
4471 X"$as_dir" : 'X\(//\)$' \| \
4472 X"$as_dir" : 'X\(/\)' \| \
4473 . : '\(.\)' 2>/dev/null ||
4474 echo X"$as_dir" |
4475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4476 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4477 /^X\(\/\/\)$/{ s//\1/; q; }
4478 /^X\(\/\).*/{ s//\1/; q; }
4479 s/.*/./; q'`
4480 done
4481 test ! -n "$as_dirs" || mkdir $as_dirs
4482 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4483 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4484 { (exit 1); exit 1; }; }; }
4486 ac_builddir=.
4488 if test "$ac_dir" != .; then
4489 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4490 # A "../" for each directory in $ac_dir_suffix.
4491 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4492 else
4493 ac_dir_suffix= ac_top_builddir=
4496 case $srcdir in
4497 .) # No --srcdir option. We are building in place.
4498 ac_srcdir=.
4499 if test -z "$ac_top_builddir"; then
4500 ac_top_srcdir=.
4501 else
4502 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4503 fi ;;
4504 [\\/]* | ?:[\\/]* ) # Absolute path.
4505 ac_srcdir=$srcdir$ac_dir_suffix;
4506 ac_top_srcdir=$srcdir ;;
4507 *) # Relative path.
4508 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4509 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4510 esac
4512 # Do not use `cd foo && pwd` to compute absolute paths, because
4513 # the directories may not exist.
4514 case `pwd` in
4515 .) ac_abs_builddir="$ac_dir";;
4517 case "$ac_dir" in
4518 .) ac_abs_builddir=`pwd`;;
4519 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4520 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4521 esac;;
4522 esac
4523 case $ac_abs_builddir in
4524 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4526 case ${ac_top_builddir}. in
4527 .) ac_abs_top_builddir=$ac_abs_builddir;;
4528 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4529 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4530 esac;;
4531 esac
4532 case $ac_abs_builddir in
4533 .) ac_abs_srcdir=$ac_srcdir;;
4535 case $ac_srcdir in
4536 .) ac_abs_srcdir=$ac_abs_builddir;;
4537 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4538 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4539 esac;;
4540 esac
4541 case $ac_abs_builddir in
4542 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4544 case $ac_top_srcdir in
4545 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4546 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4547 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4548 esac;;
4549 esac
4553 if test x"$ac_file" != x-; then
4554 { echo "$as_me:$LINENO: creating $ac_file" >&5
4555 echo "$as_me: creating $ac_file" >&6;}
4556 rm -f "$ac_file"
4558 # Let's still pretend it is `configure' which instantiates (i.e., don't
4559 # use $as_me), people would be surprised to read:
4560 # /* config.h. Generated by config.status. */
4561 if test x"$ac_file" = x-; then
4562 configure_input=
4563 else
4564 configure_input="$ac_file. "
4566 configure_input=$configure_input"Generated from `echo $ac_file_in |
4567 sed 's,.*/,,'` by configure."
4569 # First look for the input files in the build tree, otherwise in the
4570 # src tree.
4571 ac_file_inputs=`IFS=:
4572 for f in $ac_file_in; do
4573 case $f in
4574 -) echo $tmp/stdin ;;
4575 [\\/$]*)
4576 # Absolute (can't be DOS-style, as IFS=:)
4577 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4578 echo "$as_me: error: cannot find input file: $f" >&2;}
4579 { (exit 1); exit 1; }; }
4580 echo "$f";;
4581 *) # Relative
4582 if test -f "$f"; then
4583 # Build tree
4584 echo "$f"
4585 elif test -f "$srcdir/$f"; then
4586 # Source tree
4587 echo "$srcdir/$f"
4588 else
4589 # /dev/null tree
4590 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4591 echo "$as_me: error: cannot find input file: $f" >&2;}
4592 { (exit 1); exit 1; }; }
4593 fi;;
4594 esac
4595 done` || { (exit 1); exit 1; }
4596 _ACEOF
4597 cat >>$CONFIG_STATUS <<_ACEOF
4598 sed "$ac_vpsub
4599 $extrasub
4600 _ACEOF
4601 cat >>$CONFIG_STATUS <<\_ACEOF
4603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4604 s,@configure_input@,$configure_input,;t t
4605 s,@srcdir@,$ac_srcdir,;t t
4606 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4607 s,@top_srcdir@,$ac_top_srcdir,;t t
4608 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4609 s,@builddir@,$ac_builddir,;t t
4610 s,@abs_builddir@,$ac_abs_builddir,;t t
4611 s,@top_builddir@,$ac_top_builddir,;t t
4612 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4613 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4614 rm -f $tmp/stdin
4615 if test x"$ac_file" != x-; then
4616 mv $tmp/out $ac_file
4617 else
4618 cat $tmp/out
4619 rm -f $tmp/out
4622 done
4623 _ACEOF
4625 cat >>$CONFIG_STATUS <<\_ACEOF
4627 { (exit 0); exit 0; }
4628 _ACEOF
4629 chmod +x $CONFIG_STATUS
4630 ac_clean_files=$ac_clean_files_save
4633 # configure is writing to config.log, and then calls config.status.
4634 # config.status does its own redirection, appending to config.log.
4635 # Unfortunately, on DOS this fails, as config.log is still kept open
4636 # by configure, so config.status won't be able to write to it; its
4637 # output is simply discarded. So we exec the FD to /dev/null,
4638 # effectively closing config.log, so it can be properly (re)opened and
4639 # appended to by config.status. When coming back to configure, we
4640 # need to make the FD available again.
4641 if test "$no_create" != yes; then
4642 ac_cs_success=:
4643 ac_config_status_args=
4644 test "$silent" = yes &&
4645 ac_config_status_args="$ac_config_status_args --quiet"
4646 exec 5>/dev/null
4647 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4648 exec 5>>config.log
4649 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4650 # would make configure fail if this is the last instruction.
4651 $ac_cs_success || { (exit 1); exit 1; }