2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for hesiod 3.0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='hesiod'
269 PACKAGE_TARNAME='hesiod'
270 PACKAGE_VERSION='3.0.2'
271 PACKAGE_STRING='hesiod 3.0.2'
274 ac_unique_file="hesiod.c"
275 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 lbindir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CC_set=${CC+set}
718 ac_cv_env_CC_set=${CC+set}
719 ac_cv_env_CC_value=$CC
720 ac_env_CFLAGS_set=${CFLAGS+set}
721 ac_env_CFLAGS_value=$CFLAGS
722 ac_cv_env_CFLAGS_set=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value=$CFLAGS
724 ac_env_LDFLAGS_set=${LDFLAGS+set}
725 ac_env_LDFLAGS_value=$LDFLAGS
726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value=$LDFLAGS
728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732 ac_env_CPP_set=${CPP+set}
733 ac_env_CPP_value=$CPP
734 ac_cv_env_CPP_set=${CPP+set}
735 ac_cv_env_CPP_value=$CPP
738 # Report the --help message.
740 if test "$ac_init_help" = "long"; then
741 # Omit some internal or obsolete options to make the list less imposing.
742 # This message is too long to be a string in the A/UX 3.1 sh.
744 \`configure' configures hesiod 3.0.2 to adapt to many kinds of systems.
746 Usage: $0 [OPTION]... [VAR=VALUE]...
748 To assign environment variables (e.g., CC, CFLAGS...), specify them as
749 VAR=VALUE. See below for descriptions of some of the useful variables.
751 Defaults for the options are specified in brackets.
754 -h, --help display this help and exit
755 --help=short display options specific to this package
756 --help=recursive display the short help of all the included packages
757 -V, --version display version information and exit
758 -q, --quiet, --silent do not print \`checking...' messages
759 --cache-file=FILE cache test results in FILE [disabled]
760 -C, --config-cache alias for \`--cache-file=config.cache'
761 -n, --no-create do not create output files
762 --srcdir=DIR find the sources in DIR [configure dir or \`..']
767 Installation directories:
768 --prefix=PREFIX install architecture-independent files in PREFIX
770 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
773 By default, \`make install' will install all the files in
774 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
775 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
776 for instance \`--prefix=\$HOME'.
778 For better control, use the options below.
780 Fine tuning of the installation directories:
781 --bindir=DIR user executables [EPREFIX/bin]
782 --sbindir=DIR system admin executables [EPREFIX/sbin]
783 --libexecdir=DIR program executables [EPREFIX/libexec]
784 --datadir=DIR read-only architecture-independent data [PREFIX/share]
785 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
786 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
787 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
788 --libdir=DIR object code libraries [EPREFIX/lib]
789 --includedir=DIR C header files [PREFIX/include]
790 --oldincludedir=DIR C header files for non-gcc [/usr/include]
791 --infodir=DIR info documentation [PREFIX/info]
792 --mandir=DIR man documentation [PREFIX/man]
799 if test -n "$ac_init_help"; then
800 case $ac_init_help in
801 short | recursive ) echo "Configuration of hesiod 3.0.2:";;
805 Some influential environment variables:
806 CC C compiler command
807 CFLAGS C compiler flags
808 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
809 nonstandard directory <lib dir>
810 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
811 headers in a nonstandard directory <include dir>
814 Use these variables to override the choices made by `configure' or to help
815 it to find libraries and programs with nonstandard names/locations.
820 if test "$ac_init_help" = "recursive"; then
821 # If there are subdirs, report their specific --help.
823 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
824 test -d $ac_dir || continue
827 if test "$ac_dir" != .; then
828 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
829 # A "../" for each directory in $ac_dir_suffix.
830 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
832 ac_dir_suffix= ac_top_builddir=
836 .) # No --srcdir option. We are building in place.
838 if test -z "$ac_top_builddir"; then
841 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
843 [\\/]* | ?:[\\/]* ) # Absolute path.
844 ac_srcdir=$srcdir$ac_dir_suffix;
845 ac_top_srcdir=$srcdir ;;
847 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
848 ac_top_srcdir=$ac_top_builddir$srcdir ;;
851 # Do not use `cd foo && pwd` to compute absolute paths, because
852 # the directories may not exist.
854 .) ac_abs_builddir="$ac_dir";;
857 .) ac_abs_builddir=`pwd`;;
858 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
859 *) ac_abs_builddir=`pwd`/"$ac_dir";;
862 case $ac_abs_builddir in
863 .) ac_abs_top_builddir=${ac_top_builddir}.;;
865 case ${ac_top_builddir}. in
866 .) ac_abs_top_builddir=$ac_abs_builddir;;
867 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
868 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
871 case $ac_abs_builddir in
872 .) ac_abs_srcdir=$ac_srcdir;;
875 .) ac_abs_srcdir=$ac_abs_builddir;;
876 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
877 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
880 case $ac_abs_builddir in
881 .) ac_abs_top_srcdir=$ac_top_srcdir;;
883 case $ac_top_srcdir in
884 .) ac_abs_top_srcdir=$ac_abs_builddir;;
885 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
886 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
891 # Check for guested configure; otherwise get Cygnus style configure.
892 if test -f $ac_srcdir/configure.gnu; then
894 $SHELL $ac_srcdir/configure.gnu --help=recursive
895 elif test -f $ac_srcdir/configure; then
897 $SHELL $ac_srcdir/configure --help=recursive
898 elif test -f $ac_srcdir/configure.ac ||
899 test -f $ac_srcdir/configure.in; then
903 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
909 test -n "$ac_init_help" && exit 0
910 if $ac_init_version; then
912 hesiod configure 3.0.2
913 generated by GNU Autoconf 2.59
915 Copyright (C) 2003 Free Software Foundation, Inc.
916 This configure script is free software; the Free Software Foundation
917 gives unlimited permission to copy, distribute and modify it.
923 This file contains any messages produced by compilers while
924 running configure, to aid debugging if configure makes a mistake.
926 It was created by hesiod $as_me 3.0.2, which was
927 generated by GNU Autoconf 2.59. Invocation command line was
938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
939 uname -m = `(uname -m) 2>/dev/null || echo unknown`
940 uname -r = `(uname -r) 2>/dev/null || echo unknown`
941 uname -s = `(uname -s) 2>/dev/null || echo unknown`
942 uname -v = `(uname -v) 2>/dev/null || echo unknown`
944 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
945 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
947 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
948 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
950 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
951 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
952 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
953 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
961 test -z "$as_dir" && as_dir=.
977 # Keep a trace of the command line.
978 # Strip out --no-create and --no-recursion so they do not pile up.
979 # Strip out --silent because we don't want to record it for future runs.
980 # Also quote any args containing shell meta-characters.
981 # Make two passes to allow for proper duplicate-argument suppression.
986 ac_must_keep_next=false
992 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994 | -silent | --silent | --silen | --sile | --sil)
996 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
997 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1000 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1002 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1003 if test $ac_must_keep_next = true; then
1004 ac_must_keep_next=false # Got value, back to normal.
1007 *=* | --config-cache | -C | -disable-* | --disable-* \
1008 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1009 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1010 | -with-* | --with-* | -without-* | --without-* | --x)
1011 case "$ac_configure_args0 " in
1012 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1015 -* ) ac_must_keep_next=true ;;
1018 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1019 # Get rid of the leading space.
1025 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1026 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1028 # When interrupted or exit'd, cleanup temporary files, and complete
1029 # config.log. We remove comments because anyway the quotes in there
1030 # would cause problems or look ugly.
1031 # WARNING: Be sure not to use single quotes in there, as some shells,
1032 # such as our DU 5.0 friend, will then `close' the trap.
1033 trap 'exit_status=$?
1034 # Save into config.log some information that might help in debugging.
1039 ## ---------------- ##
1040 ## Cache variables. ##
1041 ## ---------------- ##
1044 # The following way of writing the cache mishandles newlines in values,
1047 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1050 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1055 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1062 ## ----------------- ##
1063 ## Output variables. ##
1064 ## ----------------- ##
1067 for ac_var in $ac_subst_vars
1069 eval ac_val=$`echo $ac_var`
1070 echo "$ac_var='"'"'$ac_val'"'"'"
1074 if test -n "$ac_subst_files"; then
1081 for ac_var in $ac_subst_files
1083 eval ac_val=$`echo $ac_var`
1084 echo "$ac_var='"'"'$ac_val'"'"'"
1089 if test -s confdefs.h; then
1096 sed "/^$/d" confdefs.h | sort
1099 test "$ac_signal" != 0 &&
1100 echo "$as_me: caught signal $ac_signal"
1101 echo "$as_me: exit $exit_status"
1103 rm -f core *.core &&
1104 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1107 for ac_signal in 1 2 13 15; do
1108 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1112 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1113 rm -rf conftest* confdefs.h
1114 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1117 # Predefined preprocessor variables.
1119 cat >>confdefs.h <<_ACEOF
1120 #define PACKAGE_NAME "$PACKAGE_NAME"
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_STRING "$PACKAGE_STRING"
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1144 # Let the site file select an alternate cache file if it wants to.
1145 # Prefer explicitly selected file to automatically selected ones.
1146 if test -z "$CONFIG_SITE"; then
1147 if test "x$prefix" != xNONE; then
1148 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1150 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1153 for ac_site_file in $CONFIG_SITE; do
1154 if test -r "$ac_site_file"; then
1155 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1156 echo "$as_me: loading site script $ac_site_file" >&6;}
1157 sed 's/^/| /' "$ac_site_file" >&5
1162 if test -r "$cache_file"; then
1163 # Some versions of bash will fail to source /dev/null (special
1164 # files actually), so we avoid doing that.
1165 if test -f "$cache_file"; then
1166 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1167 echo "$as_me: loading cache $cache_file" >&6;}
1169 [\\/]* | ?:[\\/]* ) . $cache_file;;
1170 *) . ./$cache_file;;
1174 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1175 echo "$as_me: creating cache $cache_file" >&6;}
1179 # Check that the precious variables saved in the cache have kept the same
1181 ac_cache_corrupted=false
1182 for ac_var in `(set) 2>&1 |
1183 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1184 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1185 eval ac_new_set=\$ac_env_${ac_var}_set
1186 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1187 eval ac_new_val="\$ac_env_${ac_var}_value"
1188 case $ac_old_set,$ac_new_set in
1190 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1191 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1192 ac_cache_corrupted=: ;;
1194 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1195 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1196 ac_cache_corrupted=: ;;
1199 if test "x$ac_old_val" != "x$ac_new_val"; then
1200 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1201 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1202 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1203 echo "$as_me: former value: $ac_old_val" >&2;}
1204 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1205 echo "$as_me: current value: $ac_new_val" >&2;}
1206 ac_cache_corrupted=:
1209 # Pass precious variables to config.status.
1210 if test "$ac_new_set" = set; then
1212 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1213 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1214 *) ac_arg=$ac_var=$ac_new_val ;;
1216 case " $ac_configure_args " in
1217 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1218 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1222 if $ac_cache_corrupted; then
1223 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1224 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1225 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1226 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1227 { (exit 1); exit 1; }; }
1231 ac_cpp='$CPP $CPPFLAGS'
1232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1265 test -z "$lbindir" && lbindir='${bindir}'
1269 ac_cpp='$CPP $CPPFLAGS'
1270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1273 if test -n "$ac_tool_prefix"; then
1274 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1275 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1276 echo "$as_me:$LINENO: checking for $ac_word" >&5
1277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1278 if test "${ac_cv_prog_CC+set}" = set; then
1279 echo $ECHO_N "(cached) $ECHO_C" >&6
1281 if test -n "$CC"; then
1282 ac_cv_prog_CC="$CC" # Let the user override the test.
1284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1288 test -z "$as_dir" && as_dir=.
1289 for ac_exec_ext in '' $ac_executable_extensions; do
1290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1291 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1301 if test -n "$CC"; then
1302 echo "$as_me:$LINENO: result: $CC" >&5
1303 echo "${ECHO_T}$CC" >&6
1305 echo "$as_me:$LINENO: result: no" >&5
1306 echo "${ECHO_T}no" >&6
1310 if test -z "$ac_cv_prog_CC"; then
1312 # Extract the first word of "gcc", so it can be a program name with args.
1313 set dummy gcc; ac_word=$2
1314 echo "$as_me:$LINENO: checking for $ac_word" >&5
1315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1316 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1317 echo $ECHO_N "(cached) $ECHO_C" >&6
1319 if test -n "$ac_ct_CC"; then
1320 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1326 test -z "$as_dir" && as_dir=.
1327 for ac_exec_ext in '' $ac_executable_extensions; do
1328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1329 ac_cv_prog_ac_ct_CC="gcc"
1330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1339 if test -n "$ac_ct_CC"; then
1340 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1341 echo "${ECHO_T}$ac_ct_CC" >&6
1343 echo "$as_me:$LINENO: result: no" >&5
1344 echo "${ECHO_T}no" >&6
1352 if test -z "$CC"; then
1353 if test -n "$ac_tool_prefix"; then
1354 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1355 set dummy ${ac_tool_prefix}cc; ac_word=$2
1356 echo "$as_me:$LINENO: checking for $ac_word" >&5
1357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1358 if test "${ac_cv_prog_CC+set}" = set; then
1359 echo $ECHO_N "(cached) $ECHO_C" >&6
1361 if test -n "$CC"; then
1362 ac_cv_prog_CC="$CC" # Let the user override the test.
1364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1368 test -z "$as_dir" && as_dir=.
1369 for ac_exec_ext in '' $ac_executable_extensions; do
1370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1371 ac_cv_prog_CC="${ac_tool_prefix}cc"
1372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1381 if test -n "$CC"; then
1382 echo "$as_me:$LINENO: result: $CC" >&5
1383 echo "${ECHO_T}$CC" >&6
1385 echo "$as_me:$LINENO: result: no" >&5
1386 echo "${ECHO_T}no" >&6
1390 if test -z "$ac_cv_prog_CC"; then
1392 # Extract the first word of "cc", so it can be a program name with args.
1393 set dummy cc; ac_word=$2
1394 echo "$as_me:$LINENO: checking for $ac_word" >&5
1395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1396 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1399 if test -n "$ac_ct_CC"; then
1400 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1406 test -z "$as_dir" && as_dir=.
1407 for ac_exec_ext in '' $ac_executable_extensions; do
1408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1409 ac_cv_prog_ac_ct_CC="cc"
1410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1419 if test -n "$ac_ct_CC"; then
1420 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1421 echo "${ECHO_T}$ac_ct_CC" >&6
1423 echo "$as_me:$LINENO: result: no" >&5
1424 echo "${ECHO_T}no" >&6
1433 if test -z "$CC"; then
1434 # Extract the first word of "cc", so it can be a program name with args.
1435 set dummy cc; ac_word=$2
1436 echo "$as_me:$LINENO: checking for $ac_word" >&5
1437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1438 if test "${ac_cv_prog_CC+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 if test -n "$CC"; then
1442 ac_cv_prog_CC="$CC" # Let the user override the test.
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1449 test -z "$as_dir" && as_dir=.
1450 for ac_exec_ext in '' $ac_executable_extensions; do
1451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1452 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1453 ac_prog_rejected=yes
1457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1463 if test $ac_prog_rejected = yes; then
1464 # We found a bogon in the path, so make sure we never use it.
1465 set dummy $ac_cv_prog_CC
1467 if test $# != 0; then
1468 # We chose a different compiler from the bogus one.
1469 # However, it has the same basename, so the bogon will be chosen
1470 # first if we set CC to just the basename; use the full file name.
1472 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1478 if test -n "$CC"; then
1479 echo "$as_me:$LINENO: result: $CC" >&5
1480 echo "${ECHO_T}$CC" >&6
1482 echo "$as_me:$LINENO: result: no" >&5
1483 echo "${ECHO_T}no" >&6
1487 if test -z "$CC"; then
1488 if test -n "$ac_tool_prefix"; then
1491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1492 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1493 echo "$as_me:$LINENO: checking for $ac_word" >&5
1494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1495 if test "${ac_cv_prog_CC+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1498 if test -n "$CC"; then
1499 ac_cv_prog_CC="$CC" # Let the user override the test.
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir=.
1506 for ac_exec_ext in '' $ac_executable_extensions; do
1507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1508 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1518 if test -n "$CC"; then
1519 echo "$as_me:$LINENO: result: $CC" >&5
1520 echo "${ECHO_T}$CC" >&6
1522 echo "$as_me:$LINENO: result: no" >&5
1523 echo "${ECHO_T}no" >&6
1526 test -n "$CC" && break
1529 if test -z "$CC"; then
1533 # Extract the first word of "$ac_prog", so it can be a program name with args.
1534 set dummy $ac_prog; ac_word=$2
1535 echo "$as_me:$LINENO: checking for $ac_word" >&5
1536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1537 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1540 if test -n "$ac_ct_CC"; then
1541 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir=.
1548 for ac_exec_ext in '' $ac_executable_extensions; do
1549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1550 ac_cv_prog_ac_ct_CC="$ac_prog"
1551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1560 if test -n "$ac_ct_CC"; then
1561 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1562 echo "${ECHO_T}$ac_ct_CC" >&6
1564 echo "$as_me:$LINENO: result: no" >&5
1565 echo "${ECHO_T}no" >&6
1568 test -n "$ac_ct_CC" && break
1577 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1578 See \`config.log' for more details." >&5
1579 echo "$as_me: error: no acceptable C compiler found in \$PATH
1580 See \`config.log' for more details." >&2;}
1581 { (exit 1); exit 1; }; }
1583 # Provide some information about the compiler.
1584 echo "$as_me:$LINENO:" \
1585 "checking for C compiler version" >&5
1586 ac_compiler=`set X $ac_compile; echo $2`
1587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1588 (eval $ac_compiler --version </dev/null >&5) 2>&5
1590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1591 (exit $ac_status); }
1592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1593 (eval $ac_compiler -v </dev/null >&5) 2>&5
1595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1596 (exit $ac_status); }
1597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1598 (eval $ac_compiler -V </dev/null >&5) 2>&5
1600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1601 (exit $ac_status); }
1603 cat >conftest.$ac_ext <<_ACEOF
1606 cat confdefs.h >>conftest.$ac_ext
1607 cat >>conftest.$ac_ext <<_ACEOF
1608 /* end confdefs.h. */
1618 ac_clean_files_save=$ac_clean_files
1619 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1620 # Try to create an executable without -o first, disregard a.out.
1621 # It will help us diagnose broken compilers, and finding out an intuition
1623 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1624 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1625 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1626 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1627 (eval $ac_link_default) 2>&5
1629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1630 (exit $ac_status); }; then
1631 # Find the output, starting from the most likely. This scheme is
1632 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1635 # Be careful to initialize this variable, since it used to be cached.
1636 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1638 # b.out is created by i960 compilers.
1639 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1641 test -f "$ac_file" || continue
1643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1646 # This is the source file.
1649 # We found the default executable, but exeext='' is most
1653 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1654 # FIXME: I believe we export ac_cv_exeext for Libtool,
1655 # but it would be cool to find out if it's true. Does anybody
1656 # maintain Libtool? --akim.
1664 echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.$ac_ext >&5
1667 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1668 See \`config.log' for more details." >&5
1669 echo "$as_me: error: C compiler cannot create executables
1670 See \`config.log' for more details." >&2;}
1671 { (exit 77); exit 77; }; }
1674 ac_exeext=$ac_cv_exeext
1675 echo "$as_me:$LINENO: result: $ac_file" >&5
1676 echo "${ECHO_T}$ac_file" >&6
1678 # Check the compiler produces executables we can run. If not, either
1679 # the compiler is broken, or we cross compile.
1680 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1681 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1682 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1683 # If not cross compiling, check that we can run a simple program.
1684 if test "$cross_compiling" != yes; then
1685 if { ac_try='./$ac_file'
1686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1690 (exit $ac_status); }; }; then
1693 if test "$cross_compiling" = maybe; then
1696 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1697 If you meant to cross compile, use \`--host'.
1698 See \`config.log' for more details." >&5
1699 echo "$as_me: error: cannot run C compiled programs.
1700 If you meant to cross compile, use \`--host'.
1701 See \`config.log' for more details." >&2;}
1702 { (exit 1); exit 1; }; }
1706 echo "$as_me:$LINENO: result: yes" >&5
1707 echo "${ECHO_T}yes" >&6
1709 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1710 ac_clean_files=$ac_clean_files_save
1711 # Check the compiler produces executables we can run. If not, either
1712 # the compiler is broken, or we cross compile.
1713 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1714 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1715 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1716 echo "${ECHO_T}$cross_compiling" >&6
1718 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1719 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1721 (eval $ac_link) 2>&5
1723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1724 (exit $ac_status); }; then
1725 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1727 # work properly (i.e., refer to `conftest.exe'), while it won't with
1729 for ac_file in conftest.exe conftest conftest.*; do
1730 test -f "$ac_file" || continue
1732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1733 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1740 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1741 See \`config.log' for more details." >&5
1742 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1743 See \`config.log' for more details." >&2;}
1744 { (exit 1); exit 1; }; }
1747 rm -f conftest$ac_cv_exeext
1748 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1749 echo "${ECHO_T}$ac_cv_exeext" >&6
1751 rm -f conftest.$ac_ext
1752 EXEEXT=$ac_cv_exeext
1754 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1755 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1756 if test "${ac_cv_objext+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 cat >conftest.$ac_ext <<_ACEOF
1762 cat confdefs.h >>conftest.$ac_ext
1763 cat >>conftest.$ac_ext <<_ACEOF
1764 /* end confdefs.h. */
1774 rm -f conftest.o conftest.obj
1775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1776 (eval $ac_compile) 2>&5
1778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1779 (exit $ac_status); }; then
1780 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1783 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1788 echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1791 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1792 See \`config.log' for more details." >&5
1793 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1794 See \`config.log' for more details." >&2;}
1795 { (exit 1); exit 1; }; }
1798 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1800 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1801 echo "${ECHO_T}$ac_cv_objext" >&6
1802 OBJEXT=$ac_cv_objext
1804 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1805 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 cat >conftest.$ac_ext <<_ACEOF
1812 cat confdefs.h >>conftest.$ac_ext
1813 cat >>conftest.$ac_ext <<_ACEOF
1814 /* end confdefs.h. */
1827 rm -f conftest.$ac_objext
1828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1829 (eval $ac_compile) 2>conftest.er1
1831 grep -v '^ *+' conftest.er1 >conftest.err
1833 cat conftest.err >&5
1834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1835 (exit $ac_status); } &&
1836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1841 (exit $ac_status); }; } &&
1842 { ac_try='test -s conftest.$ac_objext'
1843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); }; }; then
1850 echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1856 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1859 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1860 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1861 GCC=`test $ac_compiler_gnu = yes && echo yes`
1862 ac_test_CFLAGS=${CFLAGS+set}
1863 ac_save_CFLAGS=$CFLAGS
1865 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1866 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1867 if test "${ac_cv_prog_cc_g+set}" = set; then
1868 echo $ECHO_N "(cached) $ECHO_C" >&6
1870 cat >conftest.$ac_ext <<_ACEOF
1873 cat confdefs.h >>conftest.$ac_ext
1874 cat >>conftest.$ac_ext <<_ACEOF
1875 /* end confdefs.h. */
1885 rm -f conftest.$ac_objext
1886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1887 (eval $ac_compile) 2>conftest.er1
1889 grep -v '^ *+' conftest.er1 >conftest.err
1891 cat conftest.err >&5
1892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1893 (exit $ac_status); } &&
1894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899 (exit $ac_status); }; } &&
1900 { ac_try='test -s conftest.$ac_objext'
1901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1905 (exit $ac_status); }; }; then
1908 echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1915 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1916 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1917 if test "$ac_test_CFLAGS" = set; then
1918 CFLAGS=$ac_save_CFLAGS
1919 elif test $ac_cv_prog_cc_g = yes; then
1920 if test "$GCC" = yes; then
1926 if test "$GCC" = yes; then
1932 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1933 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1934 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 ac_cv_prog_cc_stdc=no
1939 cat >conftest.$ac_ext <<_ACEOF
1942 cat confdefs.h >>conftest.$ac_ext
1943 cat >>conftest.$ac_ext <<_ACEOF
1944 /* end confdefs.h. */
1947 #include <sys/types.h>
1948 #include <sys/stat.h>
1949 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1950 struct buf { int x; };
1951 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1952 static char *e (p, i)
1958 static char *f (char * (*g) (char **, int), char **p, ...)
1963 s = g (p, va_arg (v,int));
1968 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1969 function prototypes and stuff, but not '\xHH' hex character constants.
1970 These don't provoke an error unfortunately, instead are silently treated
1971 as 'x'. The following induces an error, until -std1 is added to get
1972 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1973 array size at least. It's necessary to write '\x00'==0 to get something
1974 that's true only with -std1. */
1975 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1977 int test (int i, double x);
1978 struct s1 {int (*f) (int a);};
1979 struct s2 {int (*f) (double a);};
1980 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1986 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1991 # Don't try gcc -ansi; that turns off useful extensions and
1992 # breaks some systems' header files.
1993 # AIX -qlanglvl=ansi
1994 # Ultrix and OSF/1 -std1
1995 # HP-UX 10.20 and later -Ae
1996 # HP-UX older versions -Aa -D_HPUX_SOURCE
1997 # SVR4 -Xc -D__EXTENSIONS__
1998 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2000 CC="$ac_save_CC $ac_arg"
2001 rm -f conftest.$ac_objext
2002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2003 (eval $ac_compile) 2>conftest.er1
2005 grep -v '^ *+' conftest.er1 >conftest.err
2007 cat conftest.err >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); } &&
2010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 (exit $ac_status); }; } &&
2016 { ac_try='test -s conftest.$ac_objext'
2017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; }; then
2022 ac_cv_prog_cc_stdc=$ac_arg
2025 echo "$as_me: failed program was:" >&5
2026 sed 's/^/| /' conftest.$ac_ext >&5
2029 rm -f conftest.err conftest.$ac_objext
2031 rm -f conftest.$ac_ext conftest.$ac_objext
2036 case "x$ac_cv_prog_cc_stdc" in
2038 echo "$as_me:$LINENO: result: none needed" >&5
2039 echo "${ECHO_T}none needed" >&6 ;;
2041 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2042 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2043 CC="$CC $ac_cv_prog_cc_stdc" ;;
2046 # Some people use a C++ compiler to compile C. Since we use `exit',
2047 # in C++ we need to declare it. In case someone uses the same compiler
2048 # for both compiling C and C++ we need to have the C++ compiler decide
2049 # the declaration of exit, since it's the most demanding environment.
2050 cat >conftest.$ac_ext <<_ACEOF
2055 rm -f conftest.$ac_objext
2056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2057 (eval $ac_compile) 2>conftest.er1
2059 grep -v '^ *+' conftest.er1 >conftest.err
2061 cat conftest.err >&5
2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063 (exit $ac_status); } &&
2064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069 (exit $ac_status); }; } &&
2070 { ac_try='test -s conftest.$ac_objext'
2071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 (exit $ac_status); }; }; then
2076 for ac_declaration in \
2078 'extern "C" void std::exit (int) throw (); using std::exit;' \
2079 'extern "C" void std::exit (int); using std::exit;' \
2080 'extern "C" void exit (int) throw ();' \
2081 'extern "C" void exit (int);' \
2084 cat >conftest.$ac_ext <<_ACEOF
2087 cat confdefs.h >>conftest.$ac_ext
2088 cat >>conftest.$ac_ext <<_ACEOF
2089 /* end confdefs.h. */
2100 rm -f conftest.$ac_objext
2101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2102 (eval $ac_compile) 2>conftest.er1
2104 grep -v '^ *+' conftest.er1 >conftest.err
2106 cat conftest.err >&5
2107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 (exit $ac_status); } &&
2109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); }; } &&
2115 { ac_try='test -s conftest.$ac_objext'
2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; }; then
2123 echo "$as_me: failed program was:" >&5
2124 sed 's/^/| /' conftest.$ac_ext >&5
2128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2129 cat >conftest.$ac_ext <<_ACEOF
2132 cat confdefs.h >>conftest.$ac_ext
2133 cat >>conftest.$ac_ext <<_ACEOF
2134 /* end confdefs.h. */
2144 rm -f conftest.$ac_objext
2145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146 (eval $ac_compile) 2>conftest.er1
2148 grep -v '^ *+' conftest.er1 >conftest.err
2150 cat conftest.err >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); } &&
2153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; } &&
2159 { ac_try='test -s conftest.$ac_objext'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; }; then
2167 echo "$as_me: failed program was:" >&5
2168 sed 's/^/| /' conftest.$ac_ext >&5
2171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2174 if test -n "$ac_declaration"; then
2175 echo '#ifdef __cplusplus' >>confdefs.h
2176 echo $ac_declaration >>confdefs.h
2177 echo '#endif' >>confdefs.h
2181 echo "$as_me: failed program was:" >&5
2182 sed 's/^/| /' conftest.$ac_ext >&5
2185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2187 ac_cpp='$CPP $CPPFLAGS'
2188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2193 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2194 if test -f $ac_dir/install-sh; then
2196 ac_install_sh="$ac_aux_dir/install-sh -c"
2198 elif test -f $ac_dir/install.sh; then
2200 ac_install_sh="$ac_aux_dir/install.sh -c"
2202 elif test -f $ac_dir/shtool; then
2204 ac_install_sh="$ac_aux_dir/shtool install -c"
2208 if test -z "$ac_aux_dir"; then
2209 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2210 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2211 { (exit 1); exit 1; }; }
2213 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2214 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2215 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2217 # Find a good install program. We prefer a C program (faster),
2218 # so one script is as good as another. But avoid the broken or
2219 # incompatible versions:
2220 # SysV /etc/install, /usr/sbin/install
2221 # SunOS /usr/etc/install
2222 # IRIX /sbin/install
2224 # AmigaOS /C/install, which installs bootblocks on floppy discs
2225 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2226 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2227 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2228 # OS/2's system install, which has a completely different semantic
2229 # ./install, which can be erroneously created by make from ./install.sh.
2230 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2231 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2232 if test -z "$INSTALL"; then
2233 if test "${ac_cv_path_install+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 # Account for people who put trailing slashes in PATH elements.
2243 ./ | .// | /cC/* | \
2244 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2245 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2248 # OSF1 and SCO ODT 3.0 have their own names for install.
2249 # Don't use installbsd from OSF since it installs stuff as root
2251 for ac_prog in ginstall scoinst install; do
2252 for ac_exec_ext in '' $ac_executable_extensions; do
2253 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2254 if test $ac_prog = install &&
2255 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2256 # AIX install. It has an incompatible calling convention.
2258 elif test $ac_prog = install &&
2259 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2260 # program-specific install script used by HP pwplus--don't use.
2263 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2275 if test "${ac_cv_path_install+set}" = set; then
2276 INSTALL=$ac_cv_path_install
2278 # As a last resort, use the slow shell script. We don't cache a
2279 # path for INSTALL within a source directory, because that will
2280 # break other packages using the cache if that directory is
2281 # removed, or if the path is relative.
2282 INSTALL=$ac_install_sh
2285 echo "$as_me:$LINENO: result: $INSTALL" >&5
2286 echo "${ECHO_T}$INSTALL" >&6
2288 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2289 # It thinks the first close brace ends the variable substitution.
2290 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2292 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2294 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2296 if test -n "$ac_tool_prefix"; then
2297 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2298 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_RANLIB+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 if test -n "$RANLIB"; then
2305 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 RANLIB=$ac_cv_prog_RANLIB
2324 if test -n "$RANLIB"; then
2325 echo "$as_me:$LINENO: result: $RANLIB" >&5
2326 echo "${ECHO_T}$RANLIB" >&6
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2333 if test -z "$ac_cv_prog_RANLIB"; then
2334 ac_ct_RANLIB=$RANLIB
2335 # Extract the first word of "ranlib", so it can be a program name with args.
2336 set dummy ranlib; ac_word=$2
2337 echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2339 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$ac_ct_RANLIB"; then
2343 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2352 ac_cv_prog_ac_ct_RANLIB="ranlib"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2362 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2363 if test -n "$ac_ct_RANLIB"; then
2364 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2365 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2371 RANLIB=$ac_ct_RANLIB
2373 RANLIB="$ac_cv_prog_RANLIB"
2379 ac_cpp='$CPP $CPPFLAGS'
2380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2383 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2384 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2385 # On Suns, sometimes $CPP names a directory.
2386 if test -n "$CPP" && test -d "$CPP"; then
2389 if test -z "$CPP"; then
2390 if test "${ac_cv_prog_CPP+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 # Double quotes because CPP needs to be expanded
2394 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2397 for ac_c_preproc_warn_flag in '' yes
2399 # Use a header file that comes with gcc, so configuring glibc
2400 # with a fresh cross-compiler works.
2401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2402 # <limits.h> exists even on freestanding compilers.
2403 # On the NeXT, cc -E runs the code through the compiler's parser,
2404 # not just through cpp. "Syntax error" is here to catch this case.
2405 cat >conftest.$ac_ext <<_ACEOF
2408 cat confdefs.h >>conftest.$ac_ext
2409 cat >>conftest.$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2412 # include <limits.h>
2414 # include <assert.h>
2418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2421 grep -v '^ *+' conftest.er1 >conftest.err
2423 cat conftest.err >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); } >/dev/null; then
2426 if test -s conftest.err; then
2427 ac_cpp_err=$ac_c_preproc_warn_flag
2428 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2435 if test -z "$ac_cpp_err"; then
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2441 # Broken: fails on valid input.
2444 rm -f conftest.err conftest.$ac_ext
2446 # OK, works on sane cases. Now check whether non-existent headers
2447 # can be detected and how.
2448 cat >conftest.$ac_ext <<_ACEOF
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2454 #include <ac_nonexistent.h>
2456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2457 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2459 grep -v '^ *+' conftest.er1 >conftest.err
2461 cat conftest.err >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); } >/dev/null; then
2464 if test -s conftest.err; then
2465 ac_cpp_err=$ac_c_preproc_warn_flag
2466 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2473 if test -z "$ac_cpp_err"; then
2474 # Broken: success on invalid input.
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 # Passes both tests.
2484 rm -f conftest.err conftest.$ac_ext
2487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2488 rm -f conftest.err conftest.$ac_ext
2489 if $ac_preproc_ok; then
2501 echo "$as_me:$LINENO: result: $CPP" >&5
2502 echo "${ECHO_T}$CPP" >&6
2504 for ac_c_preproc_warn_flag in '' yes
2506 # Use a header file that comes with gcc, so configuring glibc
2507 # with a fresh cross-compiler works.
2508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2509 # <limits.h> exists even on freestanding compilers.
2510 # On the NeXT, cc -E runs the code through the compiler's parser,
2511 # not just through cpp. "Syntax error" is here to catch this case.
2512 cat >conftest.$ac_ext <<_ACEOF
2515 cat confdefs.h >>conftest.$ac_ext
2516 cat >>conftest.$ac_ext <<_ACEOF
2517 /* end confdefs.h. */
2519 # include <limits.h>
2521 # include <assert.h>
2525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2528 grep -v '^ *+' conftest.er1 >conftest.err
2530 cat conftest.err >&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); } >/dev/null; then
2533 if test -s conftest.err; then
2534 ac_cpp_err=$ac_c_preproc_warn_flag
2535 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2542 if test -z "$ac_cpp_err"; then
2545 echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2548 # Broken: fails on valid input.
2551 rm -f conftest.err conftest.$ac_ext
2553 # OK, works on sane cases. Now check whether non-existent headers
2554 # can be detected and how.
2555 cat >conftest.$ac_ext <<_ACEOF
2558 cat confdefs.h >>conftest.$ac_ext
2559 cat >>conftest.$ac_ext <<_ACEOF
2560 /* end confdefs.h. */
2561 #include <ac_nonexistent.h>
2563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2566 grep -v '^ *+' conftest.er1 >conftest.err
2568 cat conftest.err >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } >/dev/null; then
2571 if test -s conftest.err; then
2572 ac_cpp_err=$ac_c_preproc_warn_flag
2573 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2580 if test -z "$ac_cpp_err"; then
2581 # Broken: success on invalid input.
2584 echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.$ac_ext >&5
2587 # Passes both tests.
2591 rm -f conftest.err conftest.$ac_ext
2594 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2595 rm -f conftest.err conftest.$ac_ext
2596 if $ac_preproc_ok; then
2599 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2600 See \`config.log' for more details." >&5
2601 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2602 See \`config.log' for more details." >&2;}
2603 { (exit 1); exit 1; }; }
2607 ac_cpp='$CPP $CPPFLAGS'
2608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2613 echo "$as_me:$LINENO: checking for egrep" >&5
2614 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2615 if test "${ac_cv_prog_egrep+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2619 then ac_cv_prog_egrep='grep -E'
2620 else ac_cv_prog_egrep='egrep'
2623 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2624 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2625 EGREP=$ac_cv_prog_egrep
2628 cat >conftest.$ac_ext <<_ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2638 $EGREP "pw_quota" >/dev/null 2>&1; then
2639 cat >>confdefs.h <<\_ACEOF
2640 #define HAVE_PW_QUOTA 1
2646 cat >conftest.$ac_ext <<_ACEOF
2649 cat confdefs.h >>conftest.$ac_ext
2650 cat >>conftest.$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2656 $EGREP "pw_comment" >/dev/null 2>&1; then
2657 cat >>confdefs.h <<\_ACEOF
2658 #define HAVE_PW_COMMENT 1
2664 cat >conftest.$ac_ext <<_ACEOF
2667 cat confdefs.h >>conftest.$ac_ext
2668 cat >>conftest.$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2674 $EGREP "pw_class" >/dev/null 2>&1; then
2675 cat >>confdefs.h <<\_ACEOF
2676 #define HAVE_PW_CLASS 1
2682 cat >conftest.$ac_ext <<_ACEOF
2685 cat confdefs.h >>conftest.$ac_ext
2686 cat >>conftest.$ac_ext <<_ACEOF
2687 /* end confdefs.h. */
2691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2692 $EGREP "pw_change" >/dev/null 2>&1; then
2693 cat >>confdefs.h <<\_ACEOF
2694 #define HAVE_PW_CHANGE 1
2700 cat >conftest.$ac_ext <<_ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2710 $EGREP "pw_expire" >/dev/null 2>&1; then
2711 cat >>confdefs.h <<\_ACEOF
2712 #define HAVE_PW_EXPIRE 1
2719 echo "$as_me:$LINENO: checking for res_ninit" >&5
2720 echo $ECHO_N "checking for res_ninit... $ECHO_C" >&6
2721 if test "${ac_cv_func_res_ninit+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 cat >conftest.$ac_ext <<_ACEOF
2727 cat confdefs.h >>conftest.$ac_ext
2728 cat >>conftest.$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2730 /* Define res_ninit to an innocuous variant, in case <limits.h> declares res_ninit.
2731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2732 #define res_ninit innocuous_res_ninit
2734 /* System header to define __stub macros and hopefully few prototypes,
2735 which can conflict with char res_ninit (); below.
2736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2737 <limits.h> exists even on freestanding compilers. */
2740 # include <limits.h>
2742 # include <assert.h>
2747 /* Override any gcc2 internal prototype to avoid an error. */
2752 /* We use char because int might match the return type of a gcc2
2753 builtin and then its argument prototype would still apply. */
2755 /* The GNU C library defines this for functions which it implements
2756 to always fail with ENOSYS. Some functions are actually named
2757 something starting with __ and the normal name is an alias. */
2758 #if defined (__stub_res_ninit) || defined (__stub___res_ninit)
2761 char (*f) () = res_ninit;
2770 return f != res_ninit;
2775 rm -f conftest.$ac_objext conftest$ac_exeext
2776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2777 (eval $ac_link) 2>conftest.er1
2779 grep -v '^ *+' conftest.er1 >conftest.err
2781 cat conftest.err >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; } &&
2790 { ac_try='test -s conftest$ac_exeext'
2791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }; }; then
2796 ac_cv_func_res_ninit=yes
2798 echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.$ac_ext >&5
2801 ac_cv_func_res_ninit=no
2803 rm -f conftest.err conftest.$ac_objext \
2804 conftest$ac_exeext conftest.$ac_ext
2806 echo "$as_me:$LINENO: result: $ac_cv_func_res_ninit" >&5
2807 echo "${ECHO_T}$ac_cv_func_res_ninit" >&6
2808 if test $ac_cv_func_res_ninit = yes; then
2811 echo "$as_me:$LINENO: checking for standalone resolver library existence" >&5
2812 echo $ECHO_N "checking for standalone resolver library existence... $ECHO_C" >&6
2814 LIBS="$LIBS -lresolv"
2815 cat >conftest.$ac_ext <<_ACEOF
2818 cat confdefs.h >>conftest.$ac_ext
2819 cat >>conftest.$ac_ext <<_ACEOF
2820 /* end confdefs.h. */
2825 res_ninit((void *)0);
2830 rm -f conftest.$ac_objext conftest$ac_exeext
2831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2832 (eval $ac_link) 2>conftest.er1
2834 grep -v '^ *+' conftest.er1 >conftest.err
2836 cat conftest.err >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); } &&
2839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; } &&
2845 { ac_try='test -s conftest$ac_exeext'
2846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; }; then
2851 echo "$as_me:$LINENO: result: found" >&5
2852 echo "${ECHO_T}found" >&6
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2858 { { echo "$as_me:$LINENO: error: not found
2859 See \`config.log' for more details." >&5
2860 echo "$as_me: error: not found
2861 See \`config.log' for more details." >&2;}
2862 { (exit 1); exit 1; }; }
2864 rm -f conftest.err conftest.$ac_objext \
2865 conftest$ac_exeext conftest.$ac_ext
2870 for ac_func in strerror_r
2872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2873 echo "$as_me:$LINENO: checking for $ac_func" >&5
2874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2875 if eval "test \"\${$as_ac_var+set}\" = set"; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 cat >conftest.$ac_ext <<_ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2886 #define $ac_func innocuous_$ac_func
2888 /* System header to define __stub macros and hopefully few prototypes,
2889 which can conflict with char $ac_func (); below.
2890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2891 <limits.h> exists even on freestanding compilers. */
2894 # include <limits.h>
2896 # include <assert.h>
2901 /* Override any gcc2 internal prototype to avoid an error. */
2906 /* We use char because int might match the return type of a gcc2
2907 builtin and then its argument prototype would still apply. */
2909 /* The GNU C library defines this for functions which it implements
2910 to always fail with ENOSYS. Some functions are actually named
2911 something starting with __ and the normal name is an alias. */
2912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2915 char (*f) () = $ac_func;
2924 return f != $ac_func;
2929 rm -f conftest.$ac_objext conftest$ac_exeext
2930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2931 (eval $ac_link) 2>conftest.er1
2933 grep -v '^ *+' conftest.er1 >conftest.err
2935 cat conftest.err >&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); } &&
2938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; } &&
2944 { ac_try='test -s conftest$ac_exeext'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then
2950 eval "$as_ac_var=yes"
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2955 eval "$as_ac_var=no"
2957 rm -f conftest.err conftest.$ac_objext \
2958 conftest$ac_exeext conftest.$ac_ext
2960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2962 if test `eval echo '${'$as_ac_var'}'` = yes; then
2963 cat >>confdefs.h <<_ACEOF
2964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2971 ac_config_headers="$ac_config_headers config.h"
2973 ac_config_files="$ac_config_files Makefile"
2975 cat >confcache <<\_ACEOF
2976 # This file is a shell script that caches the results of configure
2977 # tests run on this system so they can be shared between configure
2978 # scripts and configure runs, see configure's option --config-cache.
2979 # It is not useful on other systems. If it contains results you don't
2980 # want to keep, you may remove or edit it.
2982 # config.status only pays attention to the cache file if you give it
2983 # the --recheck option to rerun configure.
2985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2991 # The following way of writing the cache mishandles newlines in values,
2992 # but we know of no workaround that is simple, portable, and efficient.
2993 # So, don't put newlines in cache variables' values.
2994 # Ultrix sh set writes to stderr and can't be redirected directly,
2995 # and sets the high bit in the cache file unless we assign to the vars.
2998 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3000 # `set' does not quote correctly, so add quotes (double-quote
3001 # substitution turns \\\\ into \\, and sed turns \\ into \).
3004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3007 # `set' quotes correctly as required by POSIX, so do not add quotes.
3009 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3018 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3020 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3021 if test -w $cache_file; then
3022 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3023 cat confcache >$cache_file
3025 echo "not updating unwritable cache $cache_file"
3030 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3031 # Let make expand exec_prefix.
3032 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3034 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3035 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3036 # trailing colons and then remove the whole line if VPATH becomes empty
3037 # (actually we leave an empty line to preserve line numbers).
3038 if test "x$srcdir" = x.; then
3039 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3040 s/:*\$(srcdir):*/:/;
3041 s/:*\${srcdir}:*/:/;
3043 s/^\([^=]*=[ ]*\):*/\1/;
3049 DEFS=-DHAVE_CONFIG_H
3053 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3054 # 1. Remove the extension, and $U if already installed.
3055 ac_i=`echo "$ac_i" |
3056 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3058 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3059 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3063 LTLIBOBJS=$ac_ltlibobjs
3067 : ${CONFIG_STATUS=./config.status}
3068 ac_clean_files_save=$ac_clean_files
3069 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3070 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3071 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3072 cat >$CONFIG_STATUS <<_ACEOF
3074 # Generated by $as_me.
3075 # Run this file to recreate the current configuration.
3076 # Compiler output produced by configure, useful for debugging
3077 # configure, is in config.log if it exists.
3082 SHELL=\${CONFIG_SHELL-$SHELL}
3085 cat >>$CONFIG_STATUS <<\_ACEOF
3086 ## --------------------- ##
3087 ## M4sh Initialization. ##
3088 ## --------------------- ##
3090 # Be Bourne compatible
3091 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3094 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3095 # is contrary to our usage. Disable this feature.
3096 alias -g '${1+"$@"}'='"$@"'
3097 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3100 DUALCASE=1; export DUALCASE # for MKS sh
3102 # Support unset when possible.
3103 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3110 # Work around bugs in pre-3.0 UWIN ksh.
3111 $as_unset ENV MAIL MAILPATH
3118 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3119 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3120 LC_TELEPHONE LC_TIME
3122 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3123 eval $as_var=C; export $as_var
3129 # Required to use basename.
3130 if expr a : '\(a\)' >/dev/null 2>&1; then
3136 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3137 as_basename=basename
3143 # Name of the executable.
3144 as_me=`$as_basename "$0" ||
3145 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3146 X"$0" : 'X\(//\)$' \| \
3147 X"$0" : 'X\(/\)$' \| \
3148 . : '\(.\)' 2>/dev/null ||
3150 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3151 /^X\/\(\/\/\)$/{ s//\1/; q; }
3152 /^X\/\(\/\).*/{ s//\1/; q; }
3156 # PATH needs CR, and LINENO needs CR and PATH.
3157 # Avoid depending upon Character Ranges.
3158 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3159 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3160 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3161 as_cr_digits='0123456789'
3162 as_cr_alnum=$as_cr_Letters$as_cr_digits
3164 # The user is always right.
3165 if test "${PATH_SEPARATOR+set}" != set; then
3166 echo "#! /bin/sh" >conf$$.sh
3167 echo "exit 0" >>conf$$.sh
3169 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3180 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3181 test "x$as_lineno_1" != "x$as_lineno_2" &&
3182 test "x$as_lineno_3" = "x$as_lineno_2" || {
3183 # Find who we are. Look in the path if we contain no path at all
3186 *[\\/]* ) as_myself=$0 ;;
3187 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir=.
3192 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3197 # We did not find ourselves, most probably we were run as `sh COMMAND'
3198 # in which case we are not to be found in the path.
3199 if test "x$as_myself" = x; then
3202 if test ! -f "$as_myself"; then
3203 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3204 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3205 { (exit 1); exit 1; }; }
3207 case $CONFIG_SHELL in
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3213 test -z "$as_dir" && as_dir=.
3214 for as_base in sh bash ksh sh5; do
3217 if ("$as_dir/$as_base" -c '
3220 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3221 test "x$as_lineno_1" != "x$as_lineno_2" &&
3222 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3223 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3224 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3225 CONFIG_SHELL=$as_dir/$as_base
3227 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3235 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3236 # uniformly replaced by the line number. The first 'sed' inserts a
3237 # line-number line before each line; the second 'sed' does the real
3238 # work. The second script uses 'N' to pair each line-number line
3239 # with the numbered line, and appends trailing '-' during
3240 # substitution so that $LINENO is not a special case at line end.
3241 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3242 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3243 sed '=' <$as_myself |
3248 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3251 s,^['$as_cr_digits']*\n,,
3253 chmod +x $as_me.lineno ||
3254 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3255 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3256 { (exit 1); exit 1; }; }
3258 # Don't try to exec as it changes $[0], causing all sort of problems
3259 # (the dirname of $[0] is not the place where we might find the
3260 # original and so on. Autoconf is especially sensible to this).
3262 # Exit status is that of the last command.
3267 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3268 *c*,-n*) ECHO_N= ECHO_C='
3270 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3271 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3274 if expr a : '\(a\)' >/dev/null 2>&1; then
3280 rm -f conf$$ conf$$.exe conf$$.file
3282 if ln -s conf$$.file conf$$ 2>/dev/null; then
3283 # We could just check for DJGPP; but this test a) works b) is more generic
3284 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3285 if test -f conf$$.exe; then
3286 # Don't use ln at all; we don't have any links
3291 elif ln conf$$.file conf$$ 2>/dev/null; then
3296 rm -f conf$$ conf$$.exe conf$$.file
3298 if mkdir -p . 2>/dev/null; then
3301 test -d ./-p && rmdir ./-p
3305 as_executable_p="test -f"
3307 # Sed expression to map a string onto a valid CPP name.
3308 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3310 # Sed expression to map a string onto a valid variable name.
3311 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3315 # We need space, tab and new line, in precisely that order.
3325 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3326 # report actual input values of CONFIG_FILES etc. instead of their
3327 # values after options handling. Logging --version etc. is OK.
3331 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3332 ## Running $as_me. ##
3337 This file was extended by hesiod $as_me 3.0.2, which was
3338 generated by GNU Autoconf 2.59. Invocation command line was
3340 CONFIG_FILES = $CONFIG_FILES
3341 CONFIG_HEADERS = $CONFIG_HEADERS
3342 CONFIG_LINKS = $CONFIG_LINKS
3343 CONFIG_COMMANDS = $CONFIG_COMMANDS
3347 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3351 # Files that config.status was made for.
3352 if test -n "$ac_config_files"; then
3353 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3356 if test -n "$ac_config_headers"; then
3357 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3360 if test -n "$ac_config_links"; then
3361 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3364 if test -n "$ac_config_commands"; then
3365 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3368 cat >>$CONFIG_STATUS <<\_ACEOF
3371 \`$as_me' instantiates files from templates according to the
3372 current configuration.
3374 Usage: $0 [OPTIONS] [FILE]...
3376 -h, --help print this help, then exit
3377 -V, --version print version number, then exit
3378 -q, --quiet do not print progress messages
3379 -d, --debug don't remove temporary files
3380 --recheck update $as_me by reconfiguring in the same conditions
3381 --file=FILE[:TEMPLATE]
3382 instantiate the configuration file FILE
3383 --header=FILE[:TEMPLATE]
3384 instantiate the configuration header FILE
3386 Configuration files:
3389 Configuration headers:
3392 Report bugs to <bug-autoconf@gnu.org>."
3395 cat >>$CONFIG_STATUS <<_ACEOF
3397 hesiod config.status 3.0.2
3398 configured by $0, generated by GNU Autoconf 2.59,
3399 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3401 Copyright (C) 2003 Free Software Foundation, Inc.
3402 This config.status script is free software; the Free Software Foundation
3403 gives unlimited permission to copy, distribute and modify it."
3408 cat >>$CONFIG_STATUS <<\_ACEOF
3409 # If no file are specified by the user, then we need to provide default
3410 # value. By we need to know if files were specified by the user.
3416 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3417 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3425 *) # This is not an option, so the user has probably given explicit
3428 ac_need_defaults=false;;
3432 # Handling of the options.
3434 cat >>$CONFIG_STATUS <<\_ACEOF
3435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3437 --version | --vers* | -V )
3438 echo "$ac_cs_version"; exit 0 ;;
3440 # Conflict between --help and --header
3441 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3442 Try \`$0 --help' for more information." >&5
3443 echo "$as_me: error: ambiguous option: $1
3444 Try \`$0 --help' for more information." >&2;}
3445 { (exit 1); exit 1; }; };;
3446 --help | --hel | -h )
3447 echo "$ac_cs_usage"; exit 0 ;;
3448 --debug | --d* | -d )
3450 --file | --fil | --fi | --f )
3452 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3453 ac_need_defaults=false;;
3454 --header | --heade | --head | --hea )
3456 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3457 ac_need_defaults=false;;
3458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3459 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3463 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3464 Try \`$0 --help' for more information." >&5
3465 echo "$as_me: error: unrecognized option: $1
3466 Try \`$0 --help' for more information." >&2;}
3467 { (exit 1); exit 1; }; } ;;
3469 *) ac_config_targets="$ac_config_targets $1" ;;
3475 ac_configure_extra_args=
3477 if $ac_cs_silent; then
3479 ac_configure_extra_args="$ac_configure_extra_args --silent"
3483 cat >>$CONFIG_STATUS <<_ACEOF
3484 if \$ac_cs_recheck; then
3485 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3486 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3495 cat >>$CONFIG_STATUS <<\_ACEOF
3496 for ac_config_target in $ac_config_targets
3498 case "$ac_config_target" in
3499 # Handling of arguments.
3500 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3501 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3502 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3503 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3504 { (exit 1); exit 1; }; };;
3508 # If the user did not use the arguments to specify the items to instantiate,
3509 # then the envvar interface is used. Set only those that are not.
3510 # We use the long form for the default assignment because of an extremely
3511 # bizarre bug on SunOS 4.1.3.
3512 if $ac_need_defaults; then
3513 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3514 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3517 # Have a temporary directory for convenience. Make it in the build tree
3518 # simply because there is no reason to put it here, and in addition,
3519 # creating and moving files from /tmp can sometimes cause problems.
3520 # Create a temporary directory, and hook for its removal unless debugging.
3523 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3524 trap '{ (exit 1); exit 1; }' 1 2 13 15
3527 # Create a (secure) tmp directory for tmp files.
3530 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3531 test -n "$tmp" && test -d "$tmp"
3534 tmp=./confstat$$-$RANDOM
3535 (umask 077 && mkdir $tmp)
3538 echo "$me: cannot create a temporary directory in ." >&2
3539 { (exit 1); exit 1; }
3544 cat >>$CONFIG_STATUS <<_ACEOF
3547 # CONFIG_FILES section.
3550 # No need to generate the scripts if there are no CONFIG_FILES.
3551 # This happens for instance when ./config.status config.h
3552 if test -n "\$CONFIG_FILES"; then
3553 # Protect against being on the right side of a sed subst in config.status.
3554 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3555 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3556 s,@SHELL@,$SHELL,;t t
3557 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3558 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3559 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3560 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3561 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3562 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3563 s,@exec_prefix@,$exec_prefix,;t t
3564 s,@prefix@,$prefix,;t t
3565 s,@program_transform_name@,$program_transform_name,;t t
3566 s,@bindir@,$bindir,;t t
3567 s,@sbindir@,$sbindir,;t t
3568 s,@libexecdir@,$libexecdir,;t t
3569 s,@datadir@,$datadir,;t t
3570 s,@sysconfdir@,$sysconfdir,;t t
3571 s,@sharedstatedir@,$sharedstatedir,;t t
3572 s,@localstatedir@,$localstatedir,;t t
3573 s,@libdir@,$libdir,;t t
3574 s,@includedir@,$includedir,;t t
3575 s,@oldincludedir@,$oldincludedir,;t t
3576 s,@infodir@,$infodir,;t t
3577 s,@mandir@,$mandir,;t t
3578 s,@build_alias@,$build_alias,;t t
3579 s,@host_alias@,$host_alias,;t t
3580 s,@target_alias@,$target_alias,;t t
3582 s,@ECHO_C@,$ECHO_C,;t t
3583 s,@ECHO_N@,$ECHO_N,;t t
3584 s,@ECHO_T@,$ECHO_T,;t t
3586 s,@lbindir@,$lbindir,;t t
3588 s,@CFLAGS@,$CFLAGS,;t t
3589 s,@LDFLAGS@,$LDFLAGS,;t t
3590 s,@CPPFLAGS@,$CPPFLAGS,;t t
3591 s,@ac_ct_CC@,$ac_ct_CC,;t t
3592 s,@EXEEXT@,$EXEEXT,;t t
3593 s,@OBJEXT@,$OBJEXT,;t t
3594 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3595 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3596 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3597 s,@RANLIB@,$RANLIB,;t t
3598 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3600 s,@EGREP@,$EGREP,;t t
3601 s,@LIBOBJS@,$LIBOBJS,;t t
3602 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3607 cat >>$CONFIG_STATUS <<\_ACEOF
3608 # Split the substitutions into bite-sized pieces for seds with
3609 # small command number limits, like on Digital OSF/1 and HP-UX.
3611 ac_sed_frag=1 # Number of current file.
3612 ac_beg=1 # First line for current file.
3613 ac_end=$ac_max_sed_lines # Line after last line for current file.
3616 while $ac_more_lines; do
3617 if test $ac_beg -gt 1; then
3618 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3620 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3622 if test ! -s $tmp/subs.frag; then
3625 # The purpose of the label and of the branching condition is to
3626 # speed up the sed processing (if there are no `@' at all, there
3627 # is no need to browse any of the substitutions).
3628 # These are the two extra sed commands mentioned above.
3630 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3631 if test -z "$ac_sed_cmds"; then
3632 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3634 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3636 ac_sed_frag=`expr $ac_sed_frag + 1`
3638 ac_end=`expr $ac_end + $ac_max_sed_lines`
3641 if test -z "$ac_sed_cmds"; then
3644 fi # test -n "$CONFIG_FILES"
3647 cat >>$CONFIG_STATUS <<\_ACEOF
3648 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3649 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3651 - | *:- | *:-:* ) # input from stdin
3653 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3654 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3655 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3656 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3657 * ) ac_file_in=$ac_file.in ;;
3660 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3661 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3663 X"$ac_file" : 'X\(//\)[^/]' \| \
3664 X"$ac_file" : 'X\(//\)$' \| \
3665 X"$ac_file" : 'X\(/\)' \| \
3666 . : '\(.\)' 2>/dev/null ||
3668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3670 /^X\(\/\/\)$/{ s//\1/; q; }
3671 /^X\(\/\).*/{ s//\1/; q; }
3673 { if $as_mkdir_p; then
3678 while test ! -d "$as_dir"; do
3679 as_dirs="$as_dir $as_dirs"
3680 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3682 X"$as_dir" : 'X\(//\)[^/]' \| \
3683 X"$as_dir" : 'X\(//\)$' \| \
3684 X"$as_dir" : 'X\(/\)' \| \
3685 . : '\(.\)' 2>/dev/null ||
3687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3689 /^X\(\/\/\)$/{ s//\1/; q; }
3690 /^X\(\/\).*/{ s//\1/; q; }
3693 test ! -n "$as_dirs" || mkdir $as_dirs
3694 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3695 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3696 { (exit 1); exit 1; }; }; }
3700 if test "$ac_dir" != .; then
3701 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3702 # A "../" for each directory in $ac_dir_suffix.
3703 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3705 ac_dir_suffix= ac_top_builddir=
3709 .) # No --srcdir option. We are building in place.
3711 if test -z "$ac_top_builddir"; then
3714 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3716 [\\/]* | ?:[\\/]* ) # Absolute path.
3717 ac_srcdir=$srcdir$ac_dir_suffix;
3718 ac_top_srcdir=$srcdir ;;
3720 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3721 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3724 # Do not use `cd foo && pwd` to compute absolute paths, because
3725 # the directories may not exist.
3727 .) ac_abs_builddir="$ac_dir";;
3730 .) ac_abs_builddir=`pwd`;;
3731 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3732 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3735 case $ac_abs_builddir in
3736 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3738 case ${ac_top_builddir}. in
3739 .) ac_abs_top_builddir=$ac_abs_builddir;;
3740 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3741 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3744 case $ac_abs_builddir in
3745 .) ac_abs_srcdir=$ac_srcdir;;
3748 .) ac_abs_srcdir=$ac_abs_builddir;;
3749 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3750 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3753 case $ac_abs_builddir in
3754 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3756 case $ac_top_srcdir in
3757 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3758 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3759 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3765 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3766 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3769 # Let's still pretend it is `configure' which instantiates (i.e., don't
3770 # use $as_me), people would be surprised to read:
3771 # /* config.h. Generated by config.status. */
3772 if test x"$ac_file" = x-; then
3775 configure_input="$ac_file. "
3777 configure_input=$configure_input"Generated from `echo $ac_file_in |
3778 sed 's,.*/,,'` by configure."
3780 # First look for the input files in the build tree, otherwise in the
3782 ac_file_inputs=`IFS=:
3783 for f in $ac_file_in; do
3785 -) echo $tmp/stdin ;;
3787 # Absolute (can't be DOS-style, as IFS=:)
3788 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3789 echo "$as_me: error: cannot find input file: $f" >&2;}
3790 { (exit 1); exit 1; }; }
3793 if test -f "$f"; then
3796 elif test -f "$srcdir/$f"; then
3801 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3802 echo "$as_me: error: cannot find input file: $f" >&2;}
3803 { (exit 1); exit 1; }; }
3806 done` || { (exit 1); exit 1; }
3808 if test x"$ac_file" != x-; then
3809 { echo "$as_me:$LINENO: creating $ac_file" >&5
3810 echo "$as_me: creating $ac_file" >&6;}
3814 cat >>$CONFIG_STATUS <<_ACEOF
3818 cat >>$CONFIG_STATUS <<\_ACEOF
3820 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3821 s,@configure_input@,$configure_input,;t t
3822 s,@srcdir@,$ac_srcdir,;t t
3823 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3824 s,@top_srcdir@,$ac_top_srcdir,;t t
3825 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3826 s,@builddir@,$ac_builddir,;t t
3827 s,@abs_builddir@,$ac_abs_builddir,;t t
3828 s,@top_builddir@,$ac_top_builddir,;t t
3829 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3830 s,@INSTALL@,$ac_INSTALL,;t t
3831 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3833 if test x"$ac_file" != x-; then
3834 mv $tmp/out $ac_file
3842 cat >>$CONFIG_STATUS <<\_ACEOF
3845 # CONFIG_HEADER section.
3848 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3849 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3851 # ac_d sets the value in "#define NAME VALUE" lines.
3852 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3853 ac_dB='[ ].*$,\1#\2'
3856 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3857 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3858 ac_uB='$,\1#\2define\3'
3862 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3863 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3865 - | *:- | *:-:* ) # input from stdin
3867 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3868 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3869 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3870 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3871 * ) ac_file_in=$ac_file.in ;;
3874 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3875 echo "$as_me: creating $ac_file" >&6;}
3877 # First look for the input files in the build tree, otherwise in the
3879 ac_file_inputs=`IFS=:
3880 for f in $ac_file_in; do
3882 -) echo $tmp/stdin ;;
3884 # Absolute (can't be DOS-style, as IFS=:)
3885 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3886 echo "$as_me: error: cannot find input file: $f" >&2;}
3887 { (exit 1); exit 1; }; }
3888 # Do quote $f, to prevent DOS paths from being IFS'd.
3891 if test -f "$f"; then
3894 elif test -f "$srcdir/$f"; then
3899 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3900 echo "$as_me: error: cannot find input file: $f" >&2;}
3901 { (exit 1); exit 1; }; }
3904 done` || { (exit 1); exit 1; }
3905 # Remove the trailing spaces.
3906 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3910 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3911 # `conftest.undefs', that substitutes the proper values into
3912 # config.h.in to produce config.h. The first handles `#define'
3913 # templates, and the second `#undef' templates.
3914 # And first: Protect against being on the right side of a sed subst in
3915 # config.status. Protect against being in an unquoted here document
3917 rm -f conftest.defines conftest.undefs
3918 # Using a here document instead of a string reduces the quoting nightmare.
3919 # Putting comments in sed scripts is not portable.
3921 # `end' is used to avoid that the second main sed command (meant for
3922 # 0-ary CPP macros) applies to n-ary macro definitions.
3923 # See the Autoconf documentation for `clear'.
3924 cat >confdef2sed.sed <<\_ACEOF
3929 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3931 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3934 # If some macros were called several times there might be several times
3935 # the same #defines, which is useless. Nevertheless, we may not want to
3936 # sort them, since we want the *last* AC-DEFINE to be honored.
3937 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3938 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3939 rm -f confdef2sed.sed
3941 # This sed command replaces #undef with comments. This is necessary, for
3942 # example, in the case of _POSIX_SOURCE, which is predefined and required
3943 # on some systems where configure will not decide to define it.
3944 cat >>conftest.undefs <<\_ACEOF
3945 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3948 # Break up conftest.defines because some shells have a limit on the size
3949 # of here documents, and old seds have small limits too (100 cmds).
3950 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3951 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3952 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3953 echo ' :' >>$CONFIG_STATUS
3955 while grep . conftest.defines >/dev/null
3957 # Write a limited-size here document to $tmp/defines.sed.
3958 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3959 # Speed up: don't consider the non `#define' lines.
3960 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3961 # Work around the forget-to-reset-the-flag bug.
3962 echo 't clr' >>$CONFIG_STATUS
3963 echo ': clr' >>$CONFIG_STATUS
3964 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3966 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3970 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3971 rm -f conftest.defines
3972 mv conftest.tail conftest.defines
3974 rm -f conftest.defines
3975 echo ' fi # grep' >>$CONFIG_STATUS
3976 echo >>$CONFIG_STATUS
3978 # Break up conftest.undefs because some shells have a limit on the size
3979 # of here documents, and old seds have small limits too (100 cmds).
3980 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3982 while grep . conftest.undefs >/dev/null
3984 # Write a limited-size here document to $tmp/undefs.sed.
3985 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3986 # Speed up: don't consider the non `#undef'
3987 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3988 # Work around the forget-to-reset-the-flag bug.
3989 echo 't clr' >>$CONFIG_STATUS
3990 echo ': clr' >>$CONFIG_STATUS
3991 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3993 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3997 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3998 rm -f conftest.undefs
3999 mv conftest.tail conftest.undefs
4001 rm -f conftest.undefs
4003 cat >>$CONFIG_STATUS <<\_ACEOF
4004 # Let's still pretend it is `configure' which instantiates (i.e., don't
4005 # use $as_me), people would be surprised to read:
4006 # /* config.h. Generated by config.status. */
4007 if test x"$ac_file" = x-; then
4008 echo "/* Generated by configure. */" >$tmp/config.h
4010 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4012 cat $tmp/in >>$tmp/config.h
4014 if test x"$ac_file" != x-; then
4015 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4016 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4017 echo "$as_me: $ac_file is unchanged" >&6;}
4019 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4021 X"$ac_file" : 'X\(//\)[^/]' \| \
4022 X"$ac_file" : 'X\(//\)$' \| \
4023 X"$ac_file" : 'X\(/\)' \| \
4024 . : '\(.\)' 2>/dev/null ||
4026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4028 /^X\(\/\/\)$/{ s//\1/; q; }
4029 /^X\(\/\).*/{ s//\1/; q; }
4031 { if $as_mkdir_p; then
4036 while test ! -d "$as_dir"; do
4037 as_dirs="$as_dir $as_dirs"
4038 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4040 X"$as_dir" : 'X\(//\)[^/]' \| \
4041 X"$as_dir" : 'X\(//\)$' \| \
4042 X"$as_dir" : 'X\(/\)' \| \
4043 . : '\(.\)' 2>/dev/null ||
4045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4046 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4047 /^X\(\/\/\)$/{ s//\1/; q; }
4048 /^X\(\/\).*/{ s//\1/; q; }
4051 test ! -n "$as_dirs" || mkdir $as_dirs
4052 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4053 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4054 { (exit 1); exit 1; }; }; }
4057 mv $tmp/config.h $ac_file
4066 cat >>$CONFIG_STATUS <<\_ACEOF
4068 { (exit 0); exit 0; }
4070 chmod +x $CONFIG_STATUS
4071 ac_clean_files=$ac_clean_files_save
4074 # configure is writing to config.log, and then calls config.status.
4075 # config.status does its own redirection, appending to config.log.
4076 # Unfortunately, on DOS this fails, as config.log is still kept open
4077 # by configure, so config.status won't be able to write to it; its
4078 # output is simply discarded. So we exec the FD to /dev/null,
4079 # effectively closing config.log, so it can be properly (re)opened and
4080 # appended to by config.status. When coming back to configure, we
4081 # need to make the FD available again.
4082 if test "$no_create" != yes; then
4084 ac_config_status_args=
4085 test "$silent" = yes &&
4086 ac_config_status_args="$ac_config_status_args --quiet"
4088 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4090 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4091 # would make configure fail if this is the last instruction.
4092 $ac_cs_success || { (exit 1); exit 1; }