2 # From configure.in Revision: 1.6 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59.
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 DUALCASE=1; export DUALCASE # for MKS sh
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 if expr a : '\(a\)' >/dev/null 2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.file conf$$ 2>/dev/null; then
217 rm -f conf$$ conf$$.exe conf$$.file
219 if mkdir -p . 2>/dev/null; then
222 test -d ./-p && rmdir ./-p
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
275 ac_unique_file="rlm_unix.c"
276 # Factoring default headers for most tests.
277 ac_includes_default="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP unix_ldflags unix_cflags targetname LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
837 if test -n "$ac_init_help"; then
841 Some influential environment variables:
842 CC C compiler command
843 CFLAGS C compiler flags
844 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
845 nonstandard directory <lib dir>
846 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
847 headers in a nonstandard directory <include dir>
850 Use these variables to override the choices made by `configure' or to help
851 it to find libraries and programs with nonstandard names/locations.
856 if test "$ac_init_help" = "recursive"; then
857 # If there are subdirs, report their specific --help.
859 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
860 test -d $ac_dir || continue
863 if test "$ac_dir" != .; then
864 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
865 # A "../" for each directory in $ac_dir_suffix.
866 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
868 ac_dir_suffix= ac_top_builddir=
872 .) # No --srcdir option. We are building in place.
874 if test -z "$ac_top_builddir"; then
877 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
879 [\\/]* | ?:[\\/]* ) # Absolute path.
880 ac_srcdir=$srcdir$ac_dir_suffix;
881 ac_top_srcdir=$srcdir ;;
883 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
884 ac_top_srcdir=$ac_top_builddir$srcdir ;;
887 # Do not use `cd foo && pwd` to compute absolute paths, because
888 # the directories may not exist.
890 .) ac_abs_builddir="$ac_dir";;
893 .) ac_abs_builddir=`pwd`;;
894 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
895 *) ac_abs_builddir=`pwd`/"$ac_dir";;
898 case $ac_abs_builddir in
899 .) ac_abs_top_builddir=${ac_top_builddir}.;;
901 case ${ac_top_builddir}. in
902 .) ac_abs_top_builddir=$ac_abs_builddir;;
903 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
904 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
907 case $ac_abs_builddir in
908 .) ac_abs_srcdir=$ac_srcdir;;
911 .) ac_abs_srcdir=$ac_abs_builddir;;
912 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
913 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
916 case $ac_abs_builddir in
917 .) ac_abs_top_srcdir=$ac_top_srcdir;;
919 case $ac_top_srcdir in
920 .) ac_abs_top_srcdir=$ac_abs_builddir;;
921 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
922 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
927 # Check for guested configure; otherwise get Cygnus style configure.
928 if test -f $ac_srcdir/configure.gnu; then
930 $SHELL $ac_srcdir/configure.gnu --help=recursive
931 elif test -f $ac_srcdir/configure; then
933 $SHELL $ac_srcdir/configure --help=recursive
934 elif test -f $ac_srcdir/configure.ac ||
935 test -f $ac_srcdir/configure.in; then
939 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
945 test -n "$ac_init_help" && exit 0
946 if $ac_init_version; then
949 Copyright (C) 2003 Free Software Foundation, Inc.
950 This configure script is free software; the Free Software Foundation
951 gives unlimited permission to copy, distribute and modify it.
957 This file contains any messages produced by compilers while
958 running configure, to aid debugging if configure makes a mistake.
960 It was created by $as_me, which was
961 generated by GNU Autoconf 2.59. Invocation command line was
972 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
973 uname -m = `(uname -m) 2>/dev/null || echo unknown`
974 uname -r = `(uname -r) 2>/dev/null || echo unknown`
975 uname -s = `(uname -s) 2>/dev/null || echo unknown`
976 uname -v = `(uname -v) 2>/dev/null || echo unknown`
978 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
979 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
981 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
982 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
983 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
984 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
985 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
986 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
987 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
995 test -z "$as_dir" && as_dir=.
1011 # Keep a trace of the command line.
1012 # Strip out --no-create and --no-recursion so they do not pile up.
1013 # Strip out --silent because we don't want to record it for future runs.
1014 # Also quote any args containing shell meta-characters.
1015 # Make two passes to allow for proper duplicate-argument suppression.
1020 ac_must_keep_next=false
1026 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028 | -silent | --silent | --silen | --sile | --sil)
1030 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1031 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1034 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1036 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1037 if test $ac_must_keep_next = true; then
1038 ac_must_keep_next=false # Got value, back to normal.
1041 *=* | --config-cache | -C | -disable-* | --disable-* \
1042 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1043 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1044 | -with-* | --with-* | -without-* | --without-* | --x)
1045 case "$ac_configure_args0 " in
1046 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1049 -* ) ac_must_keep_next=true ;;
1052 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1053 # Get rid of the leading space.
1059 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1060 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1062 # When interrupted or exit'd, cleanup temporary files, and complete
1063 # config.log. We remove comments because anyway the quotes in there
1064 # would cause problems or look ugly.
1065 # WARNING: Be sure not to use single quotes in there, as some shells,
1066 # such as our DU 5.0 friend, will then `close' the trap.
1067 trap 'exit_status=$?
1068 # Save into config.log some information that might help in debugging.
1073 ## ---------------- ##
1074 ## Cache variables. ##
1075 ## ---------------- ##
1078 # The following way of writing the cache mishandles newlines in values,
1081 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1084 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1089 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1096 ## ----------------- ##
1097 ## Output variables. ##
1098 ## ----------------- ##
1101 for ac_var in $ac_subst_vars
1103 eval ac_val=$`echo $ac_var`
1104 echo "$ac_var='"'"'$ac_val'"'"'"
1108 if test -n "$ac_subst_files"; then
1115 for ac_var in $ac_subst_files
1117 eval ac_val=$`echo $ac_var`
1118 echo "$ac_var='"'"'$ac_val'"'"'"
1123 if test -s confdefs.h; then
1130 sed "/^$/d" confdefs.h | sort
1133 test "$ac_signal" != 0 &&
1134 echo "$as_me: caught signal $ac_signal"
1135 echo "$as_me: exit $exit_status"
1137 rm -f core *.core &&
1138 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1141 for ac_signal in 1 2 13 15; do
1142 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1146 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1147 rm -rf conftest* confdefs.h
1148 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1151 # Predefined preprocessor variables.
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_NAME "$PACKAGE_NAME"
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_STRING "$PACKAGE_STRING"
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1178 # Let the site file select an alternate cache file if it wants to.
1179 # Prefer explicitly selected file to automatically selected ones.
1180 if test -z "$CONFIG_SITE"; then
1181 if test "x$prefix" != xNONE; then
1182 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1184 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1187 for ac_site_file in $CONFIG_SITE; do
1188 if test -r "$ac_site_file"; then
1189 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1190 echo "$as_me: loading site script $ac_site_file" >&6;}
1191 sed 's/^/| /' "$ac_site_file" >&5
1196 if test -r "$cache_file"; then
1197 # Some versions of bash will fail to source /dev/null (special
1198 # files actually), so we avoid doing that.
1199 if test -f "$cache_file"; then
1200 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1201 echo "$as_me: loading cache $cache_file" >&6;}
1203 [\\/]* | ?:[\\/]* ) . $cache_file;;
1204 *) . ./$cache_file;;
1208 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1209 echo "$as_me: creating cache $cache_file" >&6;}
1213 # Check that the precious variables saved in the cache have kept the same
1215 ac_cache_corrupted=false
1216 for ac_var in `(set) 2>&1 |
1217 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1218 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1219 eval ac_new_set=\$ac_env_${ac_var}_set
1220 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1221 eval ac_new_val="\$ac_env_${ac_var}_value"
1222 case $ac_old_set,$ac_new_set in
1224 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1225 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1226 ac_cache_corrupted=: ;;
1228 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1229 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1230 ac_cache_corrupted=: ;;
1233 if test "x$ac_old_val" != "x$ac_new_val"; then
1234 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1235 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1236 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1237 echo "$as_me: former value: $ac_old_val" >&2;}
1238 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1239 echo "$as_me: current value: $ac_new_val" >&2;}
1240 ac_cache_corrupted=:
1243 # Pass precious variables to config.status.
1244 if test "$ac_new_set" = set; then
1246 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1247 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1248 *) ac_arg=$ac_var=$ac_new_val ;;
1250 case " $ac_configure_args " in
1251 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1252 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1256 if $ac_cache_corrupted; then
1257 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1258 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1259 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1260 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1261 { (exit 1); exit 1; }; }
1265 ac_cpp='$CPP $CPPFLAGS'
1266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1291 if test x$with_rlm_unix != xno; then
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1298 if test -n "$ac_tool_prefix"; then
1299 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1300 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1301 echo "$as_me:$LINENO: checking for $ac_word" >&5
1302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1303 if test "${ac_cv_prog_CC+set}" = set; then
1304 echo $ECHO_N "(cached) $ECHO_C" >&6
1306 if test -n "$CC"; then
1307 ac_cv_prog_CC="$CC" # Let the user override the test.
1309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1313 test -z "$as_dir" && as_dir=.
1314 for ac_exec_ext in '' $ac_executable_extensions; do
1315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1316 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1326 if test -n "$CC"; then
1327 echo "$as_me:$LINENO: result: $CC" >&5
1328 echo "${ECHO_T}$CC" >&6
1330 echo "$as_me:$LINENO: result: no" >&5
1331 echo "${ECHO_T}no" >&6
1335 if test -z "$ac_cv_prog_CC"; then
1337 # Extract the first word of "gcc", so it can be a program name with args.
1338 set dummy gcc; ac_word=$2
1339 echo "$as_me:$LINENO: checking for $ac_word" >&5
1340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1341 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1342 echo $ECHO_N "(cached) $ECHO_C" >&6
1344 if test -n "$ac_ct_CC"; then
1345 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1351 test -z "$as_dir" && as_dir=.
1352 for ac_exec_ext in '' $ac_executable_extensions; do
1353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1354 ac_cv_prog_ac_ct_CC="gcc"
1355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1363 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1364 if test -n "$ac_ct_CC"; then
1365 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1366 echo "${ECHO_T}$ac_ct_CC" >&6
1368 echo "$as_me:$LINENO: result: no" >&5
1369 echo "${ECHO_T}no" >&6
1377 if test -z "$CC"; then
1378 if test -n "$ac_tool_prefix"; then
1379 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1380 set dummy ${ac_tool_prefix}cc; ac_word=$2
1381 echo "$as_me:$LINENO: checking for $ac_word" >&5
1382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1383 if test "${ac_cv_prog_CC+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 if test -n "$CC"; then
1387 ac_cv_prog_CC="$CC" # Let the user override the test.
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393 test -z "$as_dir" && as_dir=.
1394 for ac_exec_ext in '' $ac_executable_extensions; do
1395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1396 ac_cv_prog_CC="${ac_tool_prefix}cc"
1397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1406 if test -n "$CC"; then
1407 echo "$as_me:$LINENO: result: $CC" >&5
1408 echo "${ECHO_T}$CC" >&6
1410 echo "$as_me:$LINENO: result: no" >&5
1411 echo "${ECHO_T}no" >&6
1415 if test -z "$ac_cv_prog_CC"; then
1417 # Extract the first word of "cc", so it can be a program name with args.
1418 set dummy cc; ac_word=$2
1419 echo "$as_me:$LINENO: checking for $ac_word" >&5
1420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1421 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1424 if test -n "$ac_ct_CC"; then
1425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1431 test -z "$as_dir" && as_dir=.
1432 for ac_exec_ext in '' $ac_executable_extensions; do
1433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1434 ac_cv_prog_ac_ct_CC="cc"
1435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1443 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1444 if test -n "$ac_ct_CC"; then
1445 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1446 echo "${ECHO_T}$ac_ct_CC" >&6
1448 echo "$as_me:$LINENO: result: no" >&5
1449 echo "${ECHO_T}no" >&6
1458 if test -z "$CC"; then
1459 # Extract the first word of "cc", so it can be a program name with args.
1460 set dummy cc; ac_word=$2
1461 echo "$as_me:$LINENO: checking for $ac_word" >&5
1462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1463 if test "${ac_cv_prog_CC+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 if test -n "$CC"; then
1467 ac_cv_prog_CC="$CC" # Let the user override the test.
1470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1474 test -z "$as_dir" && as_dir=.
1475 for ac_exec_ext in '' $ac_executable_extensions; do
1476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1477 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1478 ac_prog_rejected=yes
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1488 if test $ac_prog_rejected = yes; then
1489 # We found a bogon in the path, so make sure we never use it.
1490 set dummy $ac_cv_prog_CC
1492 if test $# != 0; then
1493 # We chose a different compiler from the bogus one.
1494 # However, it has the same basename, so the bogon will be chosen
1495 # first if we set CC to just the basename; use the full file name.
1497 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1503 if test -n "$CC"; then
1504 echo "$as_me:$LINENO: result: $CC" >&5
1505 echo "${ECHO_T}$CC" >&6
1507 echo "$as_me:$LINENO: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1512 if test -z "$CC"; then
1513 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1551 test -n "$CC" && break
1554 if test -z "$CC"; then
1558 # Extract the first word of "$ac_prog", so it can be a program name with args.
1559 set dummy $ac_prog; ac_word=$2
1560 echo "$as_me:$LINENO: checking for $ac_word" >&5
1561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 if test -n "$ac_ct_CC"; then
1566 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1572 test -z "$as_dir" && as_dir=.
1573 for ac_exec_ext in '' $ac_executable_extensions; do
1574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1575 ac_cv_prog_ac_ct_CC="$ac_prog"
1576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1585 if test -n "$ac_ct_CC"; then
1586 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1587 echo "${ECHO_T}$ac_ct_CC" >&6
1589 echo "$as_me:$LINENO: result: no" >&5
1590 echo "${ECHO_T}no" >&6
1593 test -n "$ac_ct_CC" && break
1602 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1603 See \`config.log' for more details." >&5
1604 echo "$as_me: error: no acceptable C compiler found in \$PATH
1605 See \`config.log' for more details." >&2;}
1606 { (exit 1); exit 1; }; }
1608 # Provide some information about the compiler.
1609 echo "$as_me:$LINENO:" \
1610 "checking for C compiler version" >&5
1611 ac_compiler=`set X $ac_compile; echo $2`
1612 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1613 (eval $ac_compiler --version </dev/null >&5) 2>&5
1615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1616 (exit $ac_status); }
1617 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1618 (eval $ac_compiler -v </dev/null >&5) 2>&5
1620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1621 (exit $ac_status); }
1622 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1623 (eval $ac_compiler -V </dev/null >&5) 2>&5
1625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1626 (exit $ac_status); }
1628 cat >conftest.$ac_ext <<_ACEOF
1631 cat confdefs.h >>conftest.$ac_ext
1632 cat >>conftest.$ac_ext <<_ACEOF
1633 /* end confdefs.h. */
1643 ac_clean_files_save=$ac_clean_files
1644 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1645 # Try to create an executable without -o first, disregard a.out.
1646 # It will help us diagnose broken compilers, and finding out an intuition
1648 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1649 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1650 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1651 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1652 (eval $ac_link_default) 2>&5
1654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1655 (exit $ac_status); }; then
1656 # Find the output, starting from the most likely. This scheme is
1657 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1660 # Be careful to initialize this variable, since it used to be cached.
1661 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1663 # b.out is created by i960 compilers.
1664 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1666 test -f "$ac_file" || continue
1668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1671 # This is the source file.
1674 # We found the default executable, but exeext='' is most
1678 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1679 # FIXME: I believe we export ac_cv_exeext for Libtool,
1680 # but it would be cool to find out if it's true. Does anybody
1681 # maintain Libtool? --akim.
1689 echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1692 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1693 See \`config.log' for more details." >&5
1694 echo "$as_me: error: C compiler cannot create executables
1695 See \`config.log' for more details." >&2;}
1696 { (exit 77); exit 77; }; }
1699 ac_exeext=$ac_cv_exeext
1700 echo "$as_me:$LINENO: result: $ac_file" >&5
1701 echo "${ECHO_T}$ac_file" >&6
1703 # Check the compiler produces executables we can run. If not, either
1704 # the compiler is broken, or we cross compile.
1705 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1706 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1707 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1708 # If not cross compiling, check that we can run a simple program.
1709 if test "$cross_compiling" != yes; then
1710 if { ac_try='./$ac_file'
1711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1715 (exit $ac_status); }; }; then
1718 if test "$cross_compiling" = maybe; then
1721 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1722 If you meant to cross compile, use \`--host'.
1723 See \`config.log' for more details." >&5
1724 echo "$as_me: error: cannot run C compiled programs.
1725 If you meant to cross compile, use \`--host'.
1726 See \`config.log' for more details." >&2;}
1727 { (exit 1); exit 1; }; }
1731 echo "$as_me:$LINENO: result: yes" >&5
1732 echo "${ECHO_T}yes" >&6
1734 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1735 ac_clean_files=$ac_clean_files_save
1736 # Check the compiler produces executables we can run. If not, either
1737 # the compiler is broken, or we cross compile.
1738 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1739 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1740 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1741 echo "${ECHO_T}$cross_compiling" >&6
1743 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1744 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1746 (eval $ac_link) 2>&5
1748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1749 (exit $ac_status); }; then
1750 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1751 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1752 # work properly (i.e., refer to `conftest.exe'), while it won't with
1754 for ac_file in conftest.exe conftest conftest.*; do
1755 test -f "$ac_file" || continue
1757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1758 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1765 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1766 See \`config.log' for more details." >&5
1767 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1768 See \`config.log' for more details." >&2;}
1769 { (exit 1); exit 1; }; }
1772 rm -f conftest$ac_cv_exeext
1773 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1774 echo "${ECHO_T}$ac_cv_exeext" >&6
1776 rm -f conftest.$ac_ext
1777 EXEEXT=$ac_cv_exeext
1779 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1780 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1781 if test "${ac_cv_objext+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 cat >conftest.$ac_ext <<_ACEOF
1787 cat confdefs.h >>conftest.$ac_ext
1788 cat >>conftest.$ac_ext <<_ACEOF
1789 /* end confdefs.h. */
1799 rm -f conftest.o conftest.obj
1800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1801 (eval $ac_compile) 2>&5
1803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804 (exit $ac_status); }; then
1805 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1808 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1813 echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1816 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1817 See \`config.log' for more details." >&5
1818 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1819 See \`config.log' for more details." >&2;}
1820 { (exit 1); exit 1; }; }
1823 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1825 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1826 echo "${ECHO_T}$ac_cv_objext" >&6
1827 OBJEXT=$ac_cv_objext
1829 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1830 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1831 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1832 echo $ECHO_N "(cached) $ECHO_C" >&6
1834 cat >conftest.$ac_ext <<_ACEOF
1837 cat confdefs.h >>conftest.$ac_ext
1838 cat >>conftest.$ac_ext <<_ACEOF
1839 /* end confdefs.h. */
1852 rm -f conftest.$ac_objext
1853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1854 (eval $ac_compile) 2>conftest.er1
1856 grep -v '^ *+' conftest.er1 >conftest.err
1858 cat conftest.err >&5
1859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1860 (exit $ac_status); } &&
1861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); }; } &&
1867 { ac_try='test -s conftest.$ac_objext'
1868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; }; then
1875 echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1884 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1885 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1886 GCC=`test $ac_compiler_gnu = yes && echo yes`
1887 ac_test_CFLAGS=${CFLAGS+set}
1888 ac_save_CFLAGS=$CFLAGS
1890 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1891 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1892 if test "${ac_cv_prog_cc_g+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 cat >conftest.$ac_ext <<_ACEOF
1898 cat confdefs.h >>conftest.$ac_ext
1899 cat >>conftest.$ac_ext <<_ACEOF
1900 /* end confdefs.h. */
1910 rm -f conftest.$ac_objext
1911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1912 (eval $ac_compile) 2>conftest.er1
1914 grep -v '^ *+' conftest.er1 >conftest.err
1916 cat conftest.err >&5
1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1918 (exit $ac_status); } &&
1919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1924 (exit $ac_status); }; } &&
1925 { ac_try='test -s conftest.$ac_objext'
1926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930 (exit $ac_status); }; }; then
1933 echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1940 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1941 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1942 if test "$ac_test_CFLAGS" = set; then
1943 CFLAGS=$ac_save_CFLAGS
1944 elif test $ac_cv_prog_cc_g = yes; then
1945 if test "$GCC" = yes; then
1951 if test "$GCC" = yes; then
1957 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1958 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1959 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1960 echo $ECHO_N "(cached) $ECHO_C" >&6
1962 ac_cv_prog_cc_stdc=no
1964 cat >conftest.$ac_ext <<_ACEOF
1967 cat confdefs.h >>conftest.$ac_ext
1968 cat >>conftest.$ac_ext <<_ACEOF
1969 /* end confdefs.h. */
1972 #include <sys/types.h>
1973 #include <sys/stat.h>
1974 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1975 struct buf { int x; };
1976 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1977 static char *e (p, i)
1983 static char *f (char * (*g) (char **, int), char **p, ...)
1988 s = g (p, va_arg (v,int));
1993 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1994 function prototypes and stuff, but not '\xHH' hex character constants.
1995 These don't provoke an error unfortunately, instead are silently treated
1996 as 'x'. The following induces an error, until -std1 is added to get
1997 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1998 array size at least. It's necessary to write '\x00'==0 to get something
1999 that's true only with -std1. */
2000 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2002 int test (int i, double x);
2003 struct s1 {int (*f) (int a);};
2004 struct s2 {int (*f) (double a);};
2005 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2011 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2016 # Don't try gcc -ansi; that turns off useful extensions and
2017 # breaks some systems' header files.
2018 # AIX -qlanglvl=ansi
2019 # Ultrix and OSF/1 -std1
2020 # HP-UX 10.20 and later -Ae
2021 # HP-UX older versions -Aa -D_HPUX_SOURCE
2022 # SVR4 -Xc -D__EXTENSIONS__
2023 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2025 CC="$ac_save_CC $ac_arg"
2026 rm -f conftest.$ac_objext
2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2028 (eval $ac_compile) 2>conftest.er1
2030 grep -v '^ *+' conftest.er1 >conftest.err
2032 cat conftest.err >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); } &&
2035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }; } &&
2041 { ac_try='test -s conftest.$ac_objext'
2042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); }; }; then
2047 ac_cv_prog_cc_stdc=$ac_arg
2050 echo "$as_me: failed program was:" >&5
2051 sed 's/^/| /' conftest.$ac_ext >&5
2054 rm -f conftest.err conftest.$ac_objext
2056 rm -f conftest.$ac_ext conftest.$ac_objext
2061 case "x$ac_cv_prog_cc_stdc" in
2063 echo "$as_me:$LINENO: result: none needed" >&5
2064 echo "${ECHO_T}none needed" >&6 ;;
2066 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2067 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2068 CC="$CC $ac_cv_prog_cc_stdc" ;;
2071 # Some people use a C++ compiler to compile C. Since we use `exit',
2072 # in C++ we need to declare it. In case someone uses the same compiler
2073 # for both compiling C and C++ we need to have the C++ compiler decide
2074 # the declaration of exit, since it's the most demanding environment.
2075 cat >conftest.$ac_ext <<_ACEOF
2080 rm -f conftest.$ac_objext
2081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2082 (eval $ac_compile) 2>conftest.er1
2084 grep -v '^ *+' conftest.er1 >conftest.err
2086 cat conftest.err >&5
2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); } &&
2089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }; } &&
2095 { ac_try='test -s conftest.$ac_objext'
2096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); }; }; then
2101 for ac_declaration in \
2103 'extern "C" void std::exit (int) throw (); using std::exit;' \
2104 'extern "C" void std::exit (int); using std::exit;' \
2105 'extern "C" void exit (int) throw ();' \
2106 'extern "C" void exit (int);' \
2109 cat >conftest.$ac_ext <<_ACEOF
2112 cat confdefs.h >>conftest.$ac_ext
2113 cat >>conftest.$ac_ext <<_ACEOF
2114 /* end confdefs.h. */
2125 rm -f conftest.$ac_objext
2126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2127 (eval $ac_compile) 2>conftest.er1
2129 grep -v '^ *+' conftest.er1 >conftest.err
2131 cat conftest.err >&5
2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133 (exit $ac_status); } &&
2134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }; } &&
2140 { ac_try='test -s conftest.$ac_objext'
2141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); }; }; then
2148 echo "$as_me: failed program was:" >&5
2149 sed 's/^/| /' conftest.$ac_ext >&5
2153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2154 cat >conftest.$ac_ext <<_ACEOF
2157 cat confdefs.h >>conftest.$ac_ext
2158 cat >>conftest.$ac_ext <<_ACEOF
2159 /* end confdefs.h. */
2169 rm -f conftest.$ac_objext
2170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2171 (eval $ac_compile) 2>conftest.er1
2173 grep -v '^ *+' conftest.er1 >conftest.err
2175 cat conftest.err >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); } &&
2178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; } &&
2184 { ac_try='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2192 echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.$ac_ext >&5
2196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2199 if test -n "$ac_declaration"; then
2200 echo '#ifdef __cplusplus' >>confdefs.h
2201 echo $ac_declaration >>confdefs.h
2202 echo '#endif' >>confdefs.h
2206 echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.$ac_ext >&5
2210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2212 ac_cpp='$CPP $CPPFLAGS'
2213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2218 ac_cpp='$CPP $CPPFLAGS'
2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2222 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2223 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2224 # On Suns, sometimes $CPP names a directory.
2225 if test -n "$CPP" && test -d "$CPP"; then
2228 if test -z "$CPP"; then
2229 if test "${ac_cv_prog_CPP+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 # Double quotes because CPP needs to be expanded
2233 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2236 for ac_c_preproc_warn_flag in '' yes
2238 # Use a header file that comes with gcc, so configuring glibc
2239 # with a fresh cross-compiler works.
2240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2241 # <limits.h> exists even on freestanding compilers.
2242 # On the NeXT, cc -E runs the code through the compiler's parser,
2243 # not just through cpp. "Syntax error" is here to catch this case.
2244 cat >conftest.$ac_ext <<_ACEOF
2247 cat confdefs.h >>conftest.$ac_ext
2248 cat >>conftest.$ac_ext <<_ACEOF
2249 /* end confdefs.h. */
2251 # include <limits.h>
2253 # include <assert.h>
2257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2260 grep -v '^ *+' conftest.er1 >conftest.err
2262 cat conftest.err >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); } >/dev/null; then
2265 if test -s conftest.err; then
2266 ac_cpp_err=$ac_c_preproc_warn_flag
2267 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2274 if test -z "$ac_cpp_err"; then
2277 echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.$ac_ext >&5
2280 # Broken: fails on valid input.
2283 rm -f conftest.err conftest.$ac_ext
2285 # OK, works on sane cases. Now check whether non-existent headers
2286 # can be detected and how.
2287 cat >conftest.$ac_ext <<_ACEOF
2290 cat confdefs.h >>conftest.$ac_ext
2291 cat >>conftest.$ac_ext <<_ACEOF
2292 /* end confdefs.h. */
2293 #include <ac_nonexistent.h>
2295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2298 grep -v '^ *+' conftest.er1 >conftest.err
2300 cat conftest.err >&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); } >/dev/null; then
2303 if test -s conftest.err; then
2304 ac_cpp_err=$ac_c_preproc_warn_flag
2305 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2312 if test -z "$ac_cpp_err"; then
2313 # Broken: success on invalid input.
2316 echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2319 # Passes both tests.
2323 rm -f conftest.err conftest.$ac_ext
2326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2327 rm -f conftest.err conftest.$ac_ext
2328 if $ac_preproc_ok; then
2340 echo "$as_me:$LINENO: result: $CPP" >&5
2341 echo "${ECHO_T}$CPP" >&6
2343 for ac_c_preproc_warn_flag in '' yes
2345 # Use a header file that comes with gcc, so configuring glibc
2346 # with a fresh cross-compiler works.
2347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2348 # <limits.h> exists even on freestanding compilers.
2349 # On the NeXT, cc -E runs the code through the compiler's parser,
2350 # not just through cpp. "Syntax error" is here to catch this case.
2351 cat >conftest.$ac_ext <<_ACEOF
2354 cat confdefs.h >>conftest.$ac_ext
2355 cat >>conftest.$ac_ext <<_ACEOF
2356 /* end confdefs.h. */
2358 # include <limits.h>
2360 # include <assert.h>
2364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2367 grep -v '^ *+' conftest.er1 >conftest.err
2369 cat conftest.err >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); } >/dev/null; then
2372 if test -s conftest.err; then
2373 ac_cpp_err=$ac_c_preproc_warn_flag
2374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2381 if test -z "$ac_cpp_err"; then
2384 echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2387 # Broken: fails on valid input.
2390 rm -f conftest.err conftest.$ac_ext
2392 # OK, works on sane cases. Now check whether non-existent headers
2393 # can be detected and how.
2394 cat >conftest.$ac_ext <<_ACEOF
2397 cat confdefs.h >>conftest.$ac_ext
2398 cat >>conftest.$ac_ext <<_ACEOF
2399 /* end confdefs.h. */
2400 #include <ac_nonexistent.h>
2402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2405 grep -v '^ *+' conftest.er1 >conftest.err
2407 cat conftest.err >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); } >/dev/null; then
2410 if test -s conftest.err; then
2411 ac_cpp_err=$ac_c_preproc_warn_flag
2412 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2419 if test -z "$ac_cpp_err"; then
2420 # Broken: success on invalid input.
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2426 # Passes both tests.
2430 rm -f conftest.err conftest.$ac_ext
2433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2434 rm -f conftest.err conftest.$ac_ext
2435 if $ac_preproc_ok; then
2438 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2439 See \`config.log' for more details." >&5
2440 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2441 See \`config.log' for more details." >&2;}
2442 { (exit 1); exit 1; }; }
2446 ac_cpp='$CPP $CPPFLAGS'
2447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452 echo "$as_me:$LINENO: checking for system password file" >&5
2453 echo $ECHO_N "checking for system password file... $ECHO_C" >&6
2454 if test -f /etc/passwd; then
2455 echo "$as_me:$LINENO: result: /etc/passwd" >&5
2456 echo "${ECHO_T}/etc/passwd" >&6
2458 echo "$as_me:$LINENO: result: no /etc/passwd file." >&5
2459 echo "${ECHO_T}no /etc/passwd file." >&6
2460 fail=$fail" /etc/passwd" ,
2463 echo "$as_me:$LINENO: checking for system shadow password file" >&5
2464 echo $ECHO_N "checking for system shadow password file... $ECHO_C" >&6
2465 if test -f /etc/shadow; then
2466 echo "$as_me:$LINENO: result: /etc/shadow" >&5
2467 echo "${ECHO_T}/etc/shadow" >&6
2469 echo "$as_me:$LINENO: result: no /etc/shadow file." >&5
2470 echo "${ECHO_T}no /etc/shadow file." >&6
2475 echo "$as_me:$LINENO: checking for egrep" >&5
2476 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2477 if test "${ac_cv_prog_egrep+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2481 then ac_cv_prog_egrep='grep -E'
2482 else ac_cv_prog_egrep='egrep'
2485 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2486 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2487 EGREP=$ac_cv_prog_egrep
2490 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2491 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2492 if test "${ac_cv_header_stdc+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 cat >conftest.$ac_ext <<_ACEOF
2498 cat confdefs.h >>conftest.$ac_ext
2499 cat >>conftest.$ac_ext <<_ACEOF
2500 /* end confdefs.h. */
2514 rm -f conftest.$ac_objext
2515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2516 (eval $ac_compile) 2>conftest.er1
2518 grep -v '^ *+' conftest.er1 >conftest.err
2520 cat conftest.err >&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); } &&
2523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; } &&
2529 { ac_try='test -s conftest.$ac_objext'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; }; then
2535 ac_cv_header_stdc=yes
2537 echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.$ac_ext >&5
2540 ac_cv_header_stdc=no
2542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2544 if test $ac_cv_header_stdc = yes; then
2545 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2546 cat >conftest.$ac_ext <<_ACEOF
2549 cat confdefs.h >>conftest.$ac_ext
2550 cat >>conftest.$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2556 $EGREP "memchr" >/dev/null 2>&1; then
2559 ac_cv_header_stdc=no
2565 if test $ac_cv_header_stdc = yes; then
2566 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2567 cat >conftest.$ac_ext <<_ACEOF
2570 cat confdefs.h >>conftest.$ac_ext
2571 cat >>conftest.$ac_ext <<_ACEOF
2572 /* end confdefs.h. */
2576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2577 $EGREP "free" >/dev/null 2>&1; then
2580 ac_cv_header_stdc=no
2586 if test $ac_cv_header_stdc = yes; then
2587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2588 if test "$cross_compiling" = yes; then
2591 cat >conftest.$ac_ext <<_ACEOF
2594 cat confdefs.h >>conftest.$ac_ext
2595 cat >>conftest.$ac_ext <<_ACEOF
2596 /* end confdefs.h. */
2598 #if ((' ' & 0x0FF) == 0x020)
2599 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2600 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2602 # define ISLOWER(c) \
2603 (('a' <= (c) && (c) <= 'i') \
2604 || ('j' <= (c) && (c) <= 'r') \
2605 || ('s' <= (c) && (c) <= 'z'))
2606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2614 for (i = 0; i < 256; i++)
2615 if (XOR (islower (i), ISLOWER (i))
2616 || toupper (i) != TOUPPER (i))
2621 rm -f conftest$ac_exeext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2623 (eval $ac_link) 2>&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2634 echo "$as_me: program exited with status $ac_status" >&5
2635 echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.$ac_ext >&5
2639 ac_cv_header_stdc=no
2641 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2645 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2646 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2647 if test $ac_cv_header_stdc = yes; then
2649 cat >>confdefs.h <<\_ACEOF
2650 #define STDC_HEADERS 1
2655 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2665 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2666 inttypes.h stdint.h unistd.h
2668 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2669 echo "$as_me:$LINENO: checking for $ac_header" >&5
2670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 cat >conftest.$ac_ext <<_ACEOF
2677 cat confdefs.h >>conftest.$ac_ext
2678 cat >>conftest.$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2680 $ac_includes_default
2682 #include <$ac_header>
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2688 grep -v '^ *+' conftest.er1 >conftest.err
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; } &&
2699 { ac_try='test -s conftest.$ac_objext'
2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }; }; then
2705 eval "$as_ac_Header=yes"
2707 echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2710 eval "$as_ac_Header=no"
2712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2717 cat >>confdefs.h <<_ACEOF
2718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2727 for ac_header in shadow.h
2729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2731 echo "$as_me:$LINENO: checking for $ac_header" >&5
2732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2734 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2739 # Is the header compilable?
2740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2742 cat >conftest.$ac_ext <<_ACEOF
2745 cat confdefs.h >>conftest.$ac_ext
2746 cat >>conftest.$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2748 $ac_includes_default
2749 #include <$ac_header>
2751 rm -f conftest.$ac_objext
2752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2753 (eval $ac_compile) 2>conftest.er1
2755 grep -v '^ *+' conftest.er1 >conftest.err
2757 cat conftest.err >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } &&
2760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; } &&
2766 { ac_try='test -s conftest.$ac_objext'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2772 ac_header_compiler=yes
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2777 ac_header_compiler=no
2779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2781 echo "${ECHO_T}$ac_header_compiler" >&6
2783 # Is the header present?
2784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2786 cat >conftest.$ac_ext <<_ACEOF
2789 cat confdefs.h >>conftest.$ac_ext
2790 cat >>conftest.$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2792 #include <$ac_header>
2794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2797 grep -v '^ *+' conftest.er1 >conftest.err
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } >/dev/null; then
2802 if test -s conftest.err; then
2803 ac_cpp_err=$ac_c_preproc_warn_flag
2804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2811 if test -z "$ac_cpp_err"; then
2812 ac_header_preproc=yes
2814 echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_header_preproc=no
2819 rm -f conftest.err conftest.$ac_ext
2820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2821 echo "${ECHO_T}$ac_header_preproc" >&6
2823 # So? What about this header?
2824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2830 ac_header_preproc=yes
2833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2847 ## ------------------------------------------ ##
2848 ## Report this to the AC_PACKAGE_NAME lists. ##
2849 ## ------------------------------------------ ##
2852 sed "s/^/$as_me: WARNING: /" >&2
2855 echo "$as_me:$LINENO: checking for $ac_header" >&5
2856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2860 eval "$as_ac_Header=\$ac_header_preproc"
2862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2867 cat >>confdefs.h <<_ACEOF
2868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2877 for ac_func in getspnam getusershell
2879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2880 echo "$as_me:$LINENO: checking for $ac_func" >&5
2881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2882 if eval "test \"\${$as_ac_var+set}\" = set"; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 cat >conftest.$ac_ext <<_ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2893 #define $ac_func innocuous_$ac_func
2895 /* System header to define __stub macros and hopefully few prototypes,
2896 which can conflict with char $ac_func (); below.
2897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2898 <limits.h> exists even on freestanding compilers. */
2901 # include <limits.h>
2903 # include <assert.h>
2908 /* Override any gcc2 internal prototype to avoid an error. */
2913 /* We use char because int might match the return type of a gcc2
2914 builtin and then its argument prototype would still apply. */
2916 /* The GNU C library defines this for functions which it implements
2917 to always fail with ENOSYS. Some functions are actually named
2918 something starting with __ and the normal name is an alias. */
2919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2922 char (*f) () = $ac_func;
2931 return f != $ac_func;
2936 rm -f conftest.$ac_objext conftest$ac_exeext
2937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2938 (eval $ac_link) 2>conftest.er1
2940 grep -v '^ *+' conftest.er1 >conftest.err
2942 cat conftest.err >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } &&
2945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }; } &&
2951 { ac_try='test -s conftest$ac_exeext'
2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; }; then
2957 eval "$as_ac_var=yes"
2959 echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 eval "$as_ac_var=no"
2964 rm -f conftest.err conftest.$ac_objext \
2965 conftest$ac_exeext conftest.$ac_ext
2967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2969 if test `eval echo '${'$as_ac_var'}'` = yes; then
2970 cat >>confdefs.h <<_ACEOF
2971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2978 echo "$as_me:$LINENO: checking for getspnam in -lshadow" >&5
2979 echo $ECHO_N "checking for getspnam in -lshadow... $ECHO_C" >&6
2980 if test "${ac_cv_lib_shadow_getspnam+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 ac_check_lib_save_LIBS=$LIBS
2984 LIBS="-lshadow $LIBS"
2985 cat >conftest.$ac_ext <<_ACEOF
2988 cat confdefs.h >>conftest.$ac_ext
2989 cat >>conftest.$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
2992 /* Override any gcc2 internal prototype to avoid an error. */
2996 /* We use char because int might match the return type of a gcc2
2997 builtin and then its argument prototype would still apply. */
3007 rm -f conftest.$ac_objext conftest$ac_exeext
3008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3009 (eval $ac_link) 2>conftest.er1
3011 grep -v '^ *+' conftest.er1 >conftest.err
3013 cat conftest.err >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); } &&
3016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; } &&
3022 { ac_try='test -s conftest$ac_exeext'
3023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; }; then
3028 ac_cv_lib_shadow_getspnam=yes
3030 echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3033 ac_cv_lib_shadow_getspnam=no
3035 rm -f conftest.err conftest.$ac_objext \
3036 conftest$ac_exeext conftest.$ac_ext
3037 LIBS=$ac_check_lib_save_LIBS
3039 echo "$as_me:$LINENO: result: $ac_cv_lib_shadow_getspnam" >&5
3040 echo "${ECHO_T}$ac_cv_lib_shadow_getspnam" >&6
3041 if test $ac_cv_lib_shadow_getspnam = yes; then
3043 unix_ldflags="${unix_ldflags} -lshadow"
3044 cat >>confdefs.h <<\_ACEOF
3045 #define HAVE_GETSPNAM 1
3056 echo \*\*\* module rlm_unix is disabled.
3059 if test x"$fail" != x""; then
3060 if test x"${enable_strict_dependencies}" = x"yes"; then
3061 { { echo "$as_me:$LINENO: error: set --without-rlm_unix to disable it explicitly." >&5
3062 echo "$as_me: error: set --without-rlm_unix to disable it explicitly." >&2;}
3063 { (exit 1); exit 1; }; }
3065 { echo "$as_me:$LINENO: WARNING: silently not building rlm_unix." >&5
3066 echo "$as_me: WARNING: silently not building rlm_unix." >&2;}
3067 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_unix requires: $fail." >&5
3068 echo "$as_me: WARNING: FAILURE: rlm_unix requires: $fail." >&2;};
3076 ac_config_headers="$ac_config_headers config.h"
3078 ac_config_files="$ac_config_files Makefile"
3079 cat >confcache <<\_ACEOF
3080 # This file is a shell script that caches the results of configure
3081 # tests run on this system so they can be shared between configure
3082 # scripts and configure runs, see configure's option --config-cache.
3083 # It is not useful on other systems. If it contains results you don't
3084 # want to keep, you may remove or edit it.
3086 # config.status only pays attention to the cache file if you give it
3087 # the --recheck option to rerun configure.
3089 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3090 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3095 # The following way of writing the cache mishandles newlines in values,
3096 # but we know of no workaround that is simple, portable, and efficient.
3097 # So, don't put newlines in cache variables' values.
3098 # Ultrix sh set writes to stderr and can't be redirected directly,
3099 # and sets the high bit in the cache file unless we assign to the vars.
3102 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3104 # `set' does not quote correctly, so add quotes (double-quote
3105 # substitution turns \\\\ into \\, and sed turns \\ into \).
3108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3111 # `set' quotes correctly as required by POSIX, so do not add quotes.
3113 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3120 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3122 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3124 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3125 if test -w $cache_file; then
3126 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3127 cat confcache >$cache_file
3129 echo "not updating unwritable cache $cache_file"
3134 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3135 # Let make expand exec_prefix.
3136 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3138 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3139 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3140 # trailing colons and then remove the whole line if VPATH becomes empty
3141 # (actually we leave an empty line to preserve line numbers).
3142 if test "x$srcdir" = x.; then
3143 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3144 s/:*\$(srcdir):*/:/;
3145 s/:*\${srcdir}:*/:/;
3147 s/^\([^=]*=[ ]*\):*/\1/;
3153 DEFS=-DHAVE_CONFIG_H
3157 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3158 # 1. Remove the extension, and $U if already installed.
3159 ac_i=`echo "$ac_i" |
3160 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3162 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3163 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3167 LTLIBOBJS=$ac_ltlibobjs
3171 : ${CONFIG_STATUS=./config.status}
3172 ac_clean_files_save=$ac_clean_files
3173 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3174 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3175 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3176 cat >$CONFIG_STATUS <<_ACEOF
3178 # Generated by $as_me.
3179 # Run this file to recreate the current configuration.
3180 # Compiler output produced by configure, useful for debugging
3181 # configure, is in config.log if it exists.
3186 SHELL=\${CONFIG_SHELL-$SHELL}
3189 cat >>$CONFIG_STATUS <<\_ACEOF
3190 ## --------------------- ##
3191 ## M4sh Initialization. ##
3192 ## --------------------- ##
3194 # Be Bourne compatible
3195 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3198 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3199 # is contrary to our usage. Disable this feature.
3200 alias -g '${1+"$@"}'='"$@"'
3201 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3204 DUALCASE=1; export DUALCASE # for MKS sh
3206 # Support unset when possible.
3207 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3214 # Work around bugs in pre-3.0 UWIN ksh.
3215 $as_unset ENV MAIL MAILPATH
3222 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3223 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3224 LC_TELEPHONE LC_TIME
3226 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3227 eval $as_var=C; export $as_var
3233 # Required to use basename.
3234 if expr a : '\(a\)' >/dev/null 2>&1; then
3240 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3241 as_basename=basename
3247 # Name of the executable.
3248 as_me=`$as_basename "$0" ||
3249 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3250 X"$0" : 'X\(//\)$' \| \
3251 X"$0" : 'X\(/\)$' \| \
3252 . : '\(.\)' 2>/dev/null ||
3254 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3255 /^X\/\(\/\/\)$/{ s//\1/; q; }
3256 /^X\/\(\/\).*/{ s//\1/; q; }
3260 # PATH needs CR, and LINENO needs CR and PATH.
3261 # Avoid depending upon Character Ranges.
3262 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3263 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3264 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3265 as_cr_digits='0123456789'
3266 as_cr_alnum=$as_cr_Letters$as_cr_digits
3268 # The user is always right.
3269 if test "${PATH_SEPARATOR+set}" != set; then
3270 echo "#! /bin/sh" >conf$$.sh
3271 echo "exit 0" >>conf$$.sh
3273 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3284 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3285 test "x$as_lineno_1" != "x$as_lineno_2" &&
3286 test "x$as_lineno_3" = "x$as_lineno_2" || {
3287 # Find who we are. Look in the path if we contain no path at all
3290 *[\\/]* ) as_myself=$0 ;;
3291 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir=.
3296 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3301 # We did not find ourselves, most probably we were run as `sh COMMAND'
3302 # in which case we are not to be found in the path.
3303 if test "x$as_myself" = x; then
3306 if test ! -f "$as_myself"; then
3307 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3308 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3309 { (exit 1); exit 1; }; }
3311 case $CONFIG_SHELL in
3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3317 test -z "$as_dir" && as_dir=.
3318 for as_base in sh bash ksh sh5; do
3321 if ("$as_dir/$as_base" -c '
3324 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3325 test "x$as_lineno_1" != "x$as_lineno_2" &&
3326 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3327 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3328 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3329 CONFIG_SHELL=$as_dir/$as_base
3331 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3339 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3340 # uniformly replaced by the line number. The first 'sed' inserts a
3341 # line-number line before each line; the second 'sed' does the real
3342 # work. The second script uses 'N' to pair each line-number line
3343 # with the numbered line, and appends trailing '-' during
3344 # substitution so that $LINENO is not a special case at line end.
3345 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3346 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3347 sed '=' <$as_myself |
3352 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3355 s,^['$as_cr_digits']*\n,,
3357 chmod +x $as_me.lineno ||
3358 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3359 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3360 { (exit 1); exit 1; }; }
3362 # Don't try to exec as it changes $[0], causing all sort of problems
3363 # (the dirname of $[0] is not the place where we might find the
3364 # original and so on. Autoconf is especially sensible to this).
3366 # Exit status is that of the last command.
3371 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3372 *c*,-n*) ECHO_N= ECHO_C='
3374 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3375 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3378 if expr a : '\(a\)' >/dev/null 2>&1; then
3384 rm -f conf$$ conf$$.exe conf$$.file
3386 if ln -s conf$$.file conf$$ 2>/dev/null; then
3387 # We could just check for DJGPP; but this test a) works b) is more generic
3388 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3389 if test -f conf$$.exe; then
3390 # Don't use ln at all; we don't have any links
3395 elif ln conf$$.file conf$$ 2>/dev/null; then
3400 rm -f conf$$ conf$$.exe conf$$.file
3402 if mkdir -p . 2>/dev/null; then
3405 test -d ./-p && rmdir ./-p
3409 as_executable_p="test -f"
3411 # Sed expression to map a string onto a valid CPP name.
3412 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3414 # Sed expression to map a string onto a valid variable name.
3415 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3419 # We need space, tab and new line, in precisely that order.
3429 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3430 # report actual input values of CONFIG_FILES etc. instead of their
3431 # values after options handling. Logging --version etc. is OK.
3435 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3436 ## Running $as_me. ##
3441 This file was extended by $as_me, which was
3442 generated by GNU Autoconf 2.59. Invocation command line was
3444 CONFIG_FILES = $CONFIG_FILES
3445 CONFIG_HEADERS = $CONFIG_HEADERS
3446 CONFIG_LINKS = $CONFIG_LINKS
3447 CONFIG_COMMANDS = $CONFIG_COMMANDS
3451 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3455 # Files that config.status was made for.
3456 if test -n "$ac_config_files"; then
3457 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3460 if test -n "$ac_config_headers"; then
3461 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3464 if test -n "$ac_config_links"; then
3465 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3468 if test -n "$ac_config_commands"; then
3469 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3472 cat >>$CONFIG_STATUS <<\_ACEOF
3475 \`$as_me' instantiates files from templates according to the
3476 current configuration.
3478 Usage: $0 [OPTIONS] [FILE]...
3480 -h, --help print this help, then exit
3481 -V, --version print version number, then exit
3482 -q, --quiet do not print progress messages
3483 -d, --debug don't remove temporary files
3484 --recheck update $as_me by reconfiguring in the same conditions
3485 --file=FILE[:TEMPLATE]
3486 instantiate the configuration file FILE
3487 --header=FILE[:TEMPLATE]
3488 instantiate the configuration header FILE
3490 Configuration files:
3493 Configuration headers:
3496 Report bugs to <bug-autoconf@gnu.org>."
3499 cat >>$CONFIG_STATUS <<_ACEOF
3502 configured by $0, generated by GNU Autoconf 2.59,
3503 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3505 Copyright (C) 2003 Free Software Foundation, Inc.
3506 This config.status script is free software; the Free Software Foundation
3507 gives unlimited permission to copy, distribute and modify it."
3511 cat >>$CONFIG_STATUS <<\_ACEOF
3512 # If no file are specified by the user, then we need to provide default
3513 # value. By we need to know if files were specified by the user.
3519 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3520 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3528 *) # This is not an option, so the user has probably given explicit
3531 ac_need_defaults=false;;
3535 # Handling of the options.
3537 cat >>$CONFIG_STATUS <<\_ACEOF
3538 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3540 --version | --vers* | -V )
3541 echo "$ac_cs_version"; exit 0 ;;
3543 # Conflict between --help and --header
3544 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3545 Try \`$0 --help' for more information." >&5
3546 echo "$as_me: error: ambiguous option: $1
3547 Try \`$0 --help' for more information." >&2;}
3548 { (exit 1); exit 1; }; };;
3549 --help | --hel | -h )
3550 echo "$ac_cs_usage"; exit 0 ;;
3551 --debug | --d* | -d )
3553 --file | --fil | --fi | --f )
3555 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3556 ac_need_defaults=false;;
3557 --header | --heade | --head | --hea )
3559 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3560 ac_need_defaults=false;;
3561 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3562 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3566 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3567 Try \`$0 --help' for more information." >&5
3568 echo "$as_me: error: unrecognized option: $1
3569 Try \`$0 --help' for more information." >&2;}
3570 { (exit 1); exit 1; }; } ;;
3572 *) ac_config_targets="$ac_config_targets $1" ;;
3578 ac_configure_extra_args=
3580 if $ac_cs_silent; then
3582 ac_configure_extra_args="$ac_configure_extra_args --silent"
3586 cat >>$CONFIG_STATUS <<_ACEOF
3587 if \$ac_cs_recheck; then
3588 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3589 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3598 cat >>$CONFIG_STATUS <<\_ACEOF
3599 for ac_config_target in $ac_config_targets
3601 case "$ac_config_target" in
3602 # Handling of arguments.
3603 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3604 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3605 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3606 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3607 { (exit 1); exit 1; }; };;
3611 # If the user did not use the arguments to specify the items to instantiate,
3612 # then the envvar interface is used. Set only those that are not.
3613 # We use the long form for the default assignment because of an extremely
3614 # bizarre bug on SunOS 4.1.3.
3615 if $ac_need_defaults; then
3616 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3617 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3620 # Have a temporary directory for convenience. Make it in the build tree
3621 # simply because there is no reason to put it here, and in addition,
3622 # creating and moving files from /tmp can sometimes cause problems.
3623 # Create a temporary directory, and hook for its removal unless debugging.
3626 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3627 trap '{ (exit 1); exit 1; }' 1 2 13 15
3630 # Create a (secure) tmp directory for tmp files.
3633 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3634 test -n "$tmp" && test -d "$tmp"
3637 tmp=./confstat$$-$RANDOM
3638 (umask 077 && mkdir $tmp)
3641 echo "$me: cannot create a temporary directory in ." >&2
3642 { (exit 1); exit 1; }
3647 cat >>$CONFIG_STATUS <<_ACEOF
3650 # CONFIG_FILES section.
3653 # No need to generate the scripts if there are no CONFIG_FILES.
3654 # This happens for instance when ./config.status config.h
3655 if test -n "\$CONFIG_FILES"; then
3656 # Protect against being on the right side of a sed subst in config.status.
3657 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3658 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3659 s,@SHELL@,$SHELL,;t t
3660 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3661 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3662 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3663 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3664 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3665 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3666 s,@exec_prefix@,$exec_prefix,;t t
3667 s,@prefix@,$prefix,;t t
3668 s,@program_transform_name@,$program_transform_name,;t t
3669 s,@bindir@,$bindir,;t t
3670 s,@sbindir@,$sbindir,;t t
3671 s,@libexecdir@,$libexecdir,;t t
3672 s,@datadir@,$datadir,;t t
3673 s,@sysconfdir@,$sysconfdir,;t t
3674 s,@sharedstatedir@,$sharedstatedir,;t t
3675 s,@localstatedir@,$localstatedir,;t t
3676 s,@libdir@,$libdir,;t t
3677 s,@includedir@,$includedir,;t t
3678 s,@oldincludedir@,$oldincludedir,;t t
3679 s,@infodir@,$infodir,;t t
3680 s,@mandir@,$mandir,;t t
3681 s,@build_alias@,$build_alias,;t t
3682 s,@host_alias@,$host_alias,;t t
3683 s,@target_alias@,$target_alias,;t t
3685 s,@ECHO_C@,$ECHO_C,;t t
3686 s,@ECHO_N@,$ECHO_N,;t t
3687 s,@ECHO_T@,$ECHO_T,;t t
3690 s,@CFLAGS@,$CFLAGS,;t t
3691 s,@LDFLAGS@,$LDFLAGS,;t t
3692 s,@CPPFLAGS@,$CPPFLAGS,;t t
3693 s,@ac_ct_CC@,$ac_ct_CC,;t t
3694 s,@EXEEXT@,$EXEEXT,;t t
3695 s,@OBJEXT@,$OBJEXT,;t t
3697 s,@EGREP@,$EGREP,;t t
3698 s,@unix_ldflags@,$unix_ldflags,;t t
3699 s,@unix_cflags@,$unix_cflags,;t t
3700 s,@targetname@,$targetname,;t t
3701 s,@LIBOBJS@,$LIBOBJS,;t t
3702 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3707 cat >>$CONFIG_STATUS <<\_ACEOF
3708 # Split the substitutions into bite-sized pieces for seds with
3709 # small command number limits, like on Digital OSF/1 and HP-UX.
3711 ac_sed_frag=1 # Number of current file.
3712 ac_beg=1 # First line for current file.
3713 ac_end=$ac_max_sed_lines # Line after last line for current file.
3716 while $ac_more_lines; do
3717 if test $ac_beg -gt 1; then
3718 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3720 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3722 if test ! -s $tmp/subs.frag; then
3725 # The purpose of the label and of the branching condition is to
3726 # speed up the sed processing (if there are no `@' at all, there
3727 # is no need to browse any of the substitutions).
3728 # These are the two extra sed commands mentioned above.
3730 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3731 if test -z "$ac_sed_cmds"; then
3732 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3734 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3736 ac_sed_frag=`expr $ac_sed_frag + 1`
3738 ac_end=`expr $ac_end + $ac_max_sed_lines`
3741 if test -z "$ac_sed_cmds"; then
3744 fi # test -n "$CONFIG_FILES"
3747 cat >>$CONFIG_STATUS <<\_ACEOF
3748 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3749 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3751 - | *:- | *:-:* ) # input from stdin
3753 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3754 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3755 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3756 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3757 * ) ac_file_in=$ac_file.in ;;
3760 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3761 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3762 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3763 X"$ac_file" : 'X\(//\)[^/]' \| \
3764 X"$ac_file" : 'X\(//\)$' \| \
3765 X"$ac_file" : 'X\(/\)' \| \
3766 . : '\(.\)' 2>/dev/null ||
3768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3769 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3770 /^X\(\/\/\)$/{ s//\1/; q; }
3771 /^X\(\/\).*/{ s//\1/; q; }
3773 { if $as_mkdir_p; then
3778 while test ! -d "$as_dir"; do
3779 as_dirs="$as_dir $as_dirs"
3780 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3781 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3782 X"$as_dir" : 'X\(//\)[^/]' \| \
3783 X"$as_dir" : 'X\(//\)$' \| \
3784 X"$as_dir" : 'X\(/\)' \| \
3785 . : '\(.\)' 2>/dev/null ||
3787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3788 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3789 /^X\(\/\/\)$/{ s//\1/; q; }
3790 /^X\(\/\).*/{ s//\1/; q; }
3793 test ! -n "$as_dirs" || mkdir $as_dirs
3794 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3795 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3796 { (exit 1); exit 1; }; }; }
3800 if test "$ac_dir" != .; then
3801 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3802 # A "../" for each directory in $ac_dir_suffix.
3803 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3805 ac_dir_suffix= ac_top_builddir=
3809 .) # No --srcdir option. We are building in place.
3811 if test -z "$ac_top_builddir"; then
3814 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3816 [\\/]* | ?:[\\/]* ) # Absolute path.
3817 ac_srcdir=$srcdir$ac_dir_suffix;
3818 ac_top_srcdir=$srcdir ;;
3820 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3821 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3824 # Do not use `cd foo && pwd` to compute absolute paths, because
3825 # the directories may not exist.
3827 .) ac_abs_builddir="$ac_dir";;
3830 .) ac_abs_builddir=`pwd`;;
3831 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3832 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3835 case $ac_abs_builddir in
3836 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3838 case ${ac_top_builddir}. in
3839 .) ac_abs_top_builddir=$ac_abs_builddir;;
3840 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3841 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3844 case $ac_abs_builddir in
3845 .) ac_abs_srcdir=$ac_srcdir;;
3848 .) ac_abs_srcdir=$ac_abs_builddir;;
3849 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3850 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3853 case $ac_abs_builddir in
3854 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3856 case $ac_top_srcdir in
3857 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3858 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3859 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3865 # Let's still pretend it is `configure' which instantiates (i.e., don't
3866 # use $as_me), people would be surprised to read:
3867 # /* config.h. Generated by config.status. */
3868 if test x"$ac_file" = x-; then
3871 configure_input="$ac_file. "
3873 configure_input=$configure_input"Generated from `echo $ac_file_in |
3874 sed 's,.*/,,'` by configure."
3876 # First look for the input files in the build tree, otherwise in the
3878 ac_file_inputs=`IFS=:
3879 for f in $ac_file_in; do
3881 -) echo $tmp/stdin ;;
3883 # Absolute (can't be DOS-style, as IFS=:)
3884 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3885 echo "$as_me: error: cannot find input file: $f" >&2;}
3886 { (exit 1); exit 1; }; }
3889 if test -f "$f"; then
3892 elif test -f "$srcdir/$f"; then
3897 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3898 echo "$as_me: error: cannot find input file: $f" >&2;}
3899 { (exit 1); exit 1; }; }
3902 done` || { (exit 1); exit 1; }
3904 if test x"$ac_file" != x-; then
3905 { echo "$as_me:$LINENO: creating $ac_file" >&5
3906 echo "$as_me: creating $ac_file" >&6;}
3910 cat >>$CONFIG_STATUS <<_ACEOF
3914 cat >>$CONFIG_STATUS <<\_ACEOF
3916 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3917 s,@configure_input@,$configure_input,;t t
3918 s,@srcdir@,$ac_srcdir,;t t
3919 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3920 s,@top_srcdir@,$ac_top_srcdir,;t t
3921 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3922 s,@builddir@,$ac_builddir,;t t
3923 s,@abs_builddir@,$ac_abs_builddir,;t t
3924 s,@top_builddir@,$ac_top_builddir,;t t
3925 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3926 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3928 if test x"$ac_file" != x-; then
3929 mv $tmp/out $ac_file
3937 cat >>$CONFIG_STATUS <<\_ACEOF
3940 # CONFIG_HEADER section.
3943 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3944 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3946 # ac_d sets the value in "#define NAME VALUE" lines.
3947 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3948 ac_dB='[ ].*$,\1#\2'
3951 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3952 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3953 ac_uB='$,\1#\2define\3'
3957 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3958 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3960 - | *:- | *:-:* ) # input from stdin
3962 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3963 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3964 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3965 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3966 * ) ac_file_in=$ac_file.in ;;
3969 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3970 echo "$as_me: creating $ac_file" >&6;}
3972 # First look for the input files in the build tree, otherwise in the
3974 ac_file_inputs=`IFS=:
3975 for f in $ac_file_in; do
3977 -) echo $tmp/stdin ;;
3979 # Absolute (can't be DOS-style, as IFS=:)
3980 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3981 echo "$as_me: error: cannot find input file: $f" >&2;}
3982 { (exit 1); exit 1; }; }
3983 # Do quote $f, to prevent DOS paths from being IFS'd.
3986 if test -f "$f"; then
3989 elif test -f "$srcdir/$f"; then
3994 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3995 echo "$as_me: error: cannot find input file: $f" >&2;}
3996 { (exit 1); exit 1; }; }
3999 done` || { (exit 1); exit 1; }
4000 # Remove the trailing spaces.
4001 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4005 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4006 # `conftest.undefs', that substitutes the proper values into
4007 # config.h.in to produce config.h. The first handles `#define'
4008 # templates, and the second `#undef' templates.
4009 # And first: Protect against being on the right side of a sed subst in
4010 # config.status. Protect against being in an unquoted here document
4012 rm -f conftest.defines conftest.undefs
4013 # Using a here document instead of a string reduces the quoting nightmare.
4014 # Putting comments in sed scripts is not portable.
4016 # `end' is used to avoid that the second main sed command (meant for
4017 # 0-ary CPP macros) applies to n-ary macro definitions.
4018 # See the Autoconf documentation for `clear'.
4019 cat >confdef2sed.sed <<\_ACEOF
4024 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4026 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4029 # If some macros were called several times there might be several times
4030 # the same #defines, which is useless. Nevertheless, we may not want to
4031 # sort them, since we want the *last* AC-DEFINE to be honored.
4032 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4033 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4034 rm -f confdef2sed.sed
4036 # This sed command replaces #undef with comments. This is necessary, for
4037 # example, in the case of _POSIX_SOURCE, which is predefined and required
4038 # on some systems where configure will not decide to define it.
4039 cat >>conftest.undefs <<\_ACEOF
4040 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4043 # Break up conftest.defines because some shells have a limit on the size
4044 # of here documents, and old seds have small limits too (100 cmds).
4045 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4046 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4047 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4048 echo ' :' >>$CONFIG_STATUS
4050 while grep . conftest.defines >/dev/null
4052 # Write a limited-size here document to $tmp/defines.sed.
4053 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4054 # Speed up: don't consider the non `#define' lines.
4055 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4056 # Work around the forget-to-reset-the-flag bug.
4057 echo 't clr' >>$CONFIG_STATUS
4058 echo ': clr' >>$CONFIG_STATUS
4059 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4061 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4065 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4066 rm -f conftest.defines
4067 mv conftest.tail conftest.defines
4069 rm -f conftest.defines
4070 echo ' fi # grep' >>$CONFIG_STATUS
4071 echo >>$CONFIG_STATUS
4073 # Break up conftest.undefs because some shells have a limit on the size
4074 # of here documents, and old seds have small limits too (100 cmds).
4075 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4077 while grep . conftest.undefs >/dev/null
4079 # Write a limited-size here document to $tmp/undefs.sed.
4080 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4081 # Speed up: don't consider the non `#undef'
4082 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4083 # Work around the forget-to-reset-the-flag bug.
4084 echo 't clr' >>$CONFIG_STATUS
4085 echo ': clr' >>$CONFIG_STATUS
4086 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4088 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4092 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4093 rm -f conftest.undefs
4094 mv conftest.tail conftest.undefs
4096 rm -f conftest.undefs
4098 cat >>$CONFIG_STATUS <<\_ACEOF
4099 # Let's still pretend it is `configure' which instantiates (i.e., don't
4100 # use $as_me), people would be surprised to read:
4101 # /* config.h. Generated by config.status. */
4102 if test x"$ac_file" = x-; then
4103 echo "/* Generated by configure. */" >$tmp/config.h
4105 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4107 cat $tmp/in >>$tmp/config.h
4109 if test x"$ac_file" != x-; then
4110 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4111 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4112 echo "$as_me: $ac_file is unchanged" >&6;}
4114 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4115 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4116 X"$ac_file" : 'X\(//\)[^/]' \| \
4117 X"$ac_file" : 'X\(//\)$' \| \
4118 X"$ac_file" : 'X\(/\)' \| \
4119 . : '\(.\)' 2>/dev/null ||
4121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4122 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4123 /^X\(\/\/\)$/{ s//\1/; q; }
4124 /^X\(\/\).*/{ s//\1/; q; }
4126 { if $as_mkdir_p; then
4131 while test ! -d "$as_dir"; do
4132 as_dirs="$as_dir $as_dirs"
4133 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4134 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4135 X"$as_dir" : 'X\(//\)[^/]' \| \
4136 X"$as_dir" : 'X\(//\)$' \| \
4137 X"$as_dir" : 'X\(/\)' \| \
4138 . : '\(.\)' 2>/dev/null ||
4140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4142 /^X\(\/\/\)$/{ s//\1/; q; }
4143 /^X\(\/\).*/{ s//\1/; q; }
4146 test ! -n "$as_dirs" || mkdir $as_dirs
4147 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4148 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4149 { (exit 1); exit 1; }; }; }
4152 mv $tmp/config.h $ac_file
4161 cat >>$CONFIG_STATUS <<\_ACEOF
4163 { (exit 0); exit 0; }
4165 chmod +x $CONFIG_STATUS
4166 ac_clean_files=$ac_clean_files_save
4169 # configure is writing to config.log, and then calls config.status.
4170 # config.status does its own redirection, appending to config.log.
4171 # Unfortunately, on DOS this fails, as config.log is still kept open
4172 # by configure, so config.status won't be able to write to it; its
4173 # output is simply discarded. So we exec the FD to /dev/null,
4174 # effectively closing config.log, so it can be properly (re)opened and
4175 # appended to by config.status. When coming back to configure, we
4176 # need to make the FD available again.
4177 if test "$no_create" != yes; then
4179 ac_config_status_args=
4180 test "$silent" = yes &&
4181 ac_config_status_args="$ac_config_status_args --quiet"
4183 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4185 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4186 # would make configure fail if this is the last instruction.
4187 $ac_cs_success || { (exit 1); exit 1; }