2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for talloc 1.1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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 more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME='talloc'
574 PACKAGE_TARNAME='talloc'
575 PACKAGE_VERSION='1.1.0'
576 PACKAGE_STRING='talloc 1.1.0'
579 ac_unique_file="talloc.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
672 ac_precious_vars='build_alias
683 # Initialize some variables set by options.
685 ac_init_version=false
686 # The variables have the same names as the options, with
687 # dashes changed to underlines.
695 program_transform_name=s,x,x,
703 # Installation directory options.
704 # These are left unexpanded so users can "make install exec_prefix=/foo"
705 # and all the variables that are supposed to be based on exec_prefix
706 # by default will actually change.
707 # Use braces instead of parens because sh, perl, etc. also accept them.
708 # (The list follows the same order as the GNU Coding Standards.)
709 bindir='${exec_prefix}/bin'
710 sbindir='${exec_prefix}/sbin'
711 libexecdir='${exec_prefix}/libexec'
712 datarootdir='${prefix}/share'
713 datadir='${datarootdir}'
714 sysconfdir='${prefix}/etc'
715 sharedstatedir='${prefix}/com'
716 localstatedir='${prefix}/var'
717 includedir='${prefix}/include'
718 oldincludedir='/usr/include'
719 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
720 infodir='${datarootdir}/info'
725 libdir='${exec_prefix}/lib'
726 localedir='${datarootdir}/locale'
727 mandir='${datarootdir}/man'
733 # If the previous option needs an argument, assign it.
734 if test -n "$ac_prev"; then
735 eval $ac_prev=\$ac_option
741 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
745 # Accept the important Cygnus configure options, so we can diagnose typos.
747 case $ac_dashdash$ac_option in
751 -bindir | --bindir | --bindi | --bind | --bin | --bi)
753 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
756 -build | --build | --buil | --bui | --bu)
757 ac_prev=build_alias ;;
758 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
759 build_alias=$ac_optarg ;;
761 -cache-file | --cache-file | --cache-fil | --cache-fi \
762 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
763 ac_prev=cache_file ;;
764 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
765 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
766 cache_file=$ac_optarg ;;
769 cache_file=config.cache ;;
771 -datadir | --datadir | --datadi | --datad)
773 -datadir=* | --datadir=* | --datadi=* | --datad=*)
774 datadir=$ac_optarg ;;
776 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
777 | --dataroo | --dataro | --datar)
778 ac_prev=datarootdir ;;
779 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
780 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
781 datarootdir=$ac_optarg ;;
783 -disable-* | --disable-*)
784 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
787 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
788 { (exit 1); exit 1; }; }
789 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
790 eval enable_$ac_feature=no ;;
792 -docdir | --docdir | --docdi | --doc | --do)
794 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
797 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
799 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
802 -enable-* | --enable-*)
803 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
806 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
807 { (exit 1); exit 1; }; }
808 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
809 eval enable_$ac_feature=\$ac_optarg ;;
811 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
812 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
813 | --exec | --exe | --ex)
814 ac_prev=exec_prefix ;;
815 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
816 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
817 | --exec=* | --exe=* | --ex=*)
818 exec_prefix=$ac_optarg ;;
820 -gas | --gas | --ga | --g)
821 # Obsolete; use --with-gas.
824 -help | --help | --hel | --he | -h)
826 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
827 ac_init_help=recursive ;;
828 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
829 ac_init_help=short ;;
831 -host | --host | --hos | --ho)
832 ac_prev=host_alias ;;
833 -host=* | --host=* | --hos=* | --ho=*)
834 host_alias=$ac_optarg ;;
836 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
838 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
840 htmldir=$ac_optarg ;;
842 -includedir | --includedir | --includedi | --included | --include \
843 | --includ | --inclu | --incl | --inc)
844 ac_prev=includedir ;;
845 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
846 | --includ=* | --inclu=* | --incl=* | --inc=*)
847 includedir=$ac_optarg ;;
849 -infodir | --infodir | --infodi | --infod | --info | --inf)
851 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
852 infodir=$ac_optarg ;;
854 -libdir | --libdir | --libdi | --libd)
856 -libdir=* | --libdir=* | --libdi=* | --libd=*)
859 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
860 | --libexe | --libex | --libe)
861 ac_prev=libexecdir ;;
862 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
863 | --libexe=* | --libex=* | --libe=*)
864 libexecdir=$ac_optarg ;;
866 -localedir | --localedir | --localedi | --localed | --locale)
868 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
869 localedir=$ac_optarg ;;
871 -localstatedir | --localstatedir | --localstatedi | --localstated \
872 | --localstate | --localstat | --localsta | --localst | --locals)
873 ac_prev=localstatedir ;;
874 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
875 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
876 localstatedir=$ac_optarg ;;
878 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
880 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
884 # Obsolete; use --without-fp.
887 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
888 | --no-cr | --no-c | -n)
891 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
892 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
895 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
896 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
897 | --oldin | --oldi | --old | --ol | --o)
898 ac_prev=oldincludedir ;;
899 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
900 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
901 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
902 oldincludedir=$ac_optarg ;;
904 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
906 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
909 -program-prefix | --program-prefix | --program-prefi | --program-pref \
910 | --program-pre | --program-pr | --program-p)
911 ac_prev=program_prefix ;;
912 -program-prefix=* | --program-prefix=* | --program-prefi=* \
913 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
914 program_prefix=$ac_optarg ;;
916 -program-suffix | --program-suffix | --program-suffi | --program-suff \
917 | --program-suf | --program-su | --program-s)
918 ac_prev=program_suffix ;;
919 -program-suffix=* | --program-suffix=* | --program-suffi=* \
920 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
921 program_suffix=$ac_optarg ;;
923 -program-transform-name | --program-transform-name \
924 | --program-transform-nam | --program-transform-na \
925 | --program-transform-n | --program-transform- \
926 | --program-transform | --program-transfor \
927 | --program-transfo | --program-transf \
928 | --program-trans | --program-tran \
929 | --progr-tra | --program-tr | --program-t)
930 ac_prev=program_transform_name ;;
931 -program-transform-name=* | --program-transform-name=* \
932 | --program-transform-nam=* | --program-transform-na=* \
933 | --program-transform-n=* | --program-transform-=* \
934 | --program-transform=* | --program-transfor=* \
935 | --program-transfo=* | --program-transf=* \
936 | --program-trans=* | --program-tran=* \
937 | --progr-tra=* | --program-tr=* | --program-t=*)
938 program_transform_name=$ac_optarg ;;
940 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
942 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
945 -psdir | --psdir | --psdi | --psd | --ps)
947 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
951 | -silent | --silent | --silen | --sile | --sil)
954 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
956 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
958 sbindir=$ac_optarg ;;
960 -sharedstatedir | --sharedstatedir | --sharedstatedi \
961 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
962 | --sharedst | --shareds | --shared | --share | --shar \
964 ac_prev=sharedstatedir ;;
965 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
966 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
967 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
969 sharedstatedir=$ac_optarg ;;
971 -site | --site | --sit)
973 -site=* | --site=* | --sit=*)
976 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
978 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
981 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
982 | --syscon | --sysco | --sysc | --sys | --sy)
983 ac_prev=sysconfdir ;;
984 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
985 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
986 sysconfdir=$ac_optarg ;;
988 -target | --target | --targe | --targ | --tar | --ta | --t)
989 ac_prev=target_alias ;;
990 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
991 target_alias=$ac_optarg ;;
993 -v | -verbose | --verbose | --verbos | --verbo | --verb)
996 -version | --version | --versio | --versi | --vers | -V)
1000 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1003 { echo "$as_me: error: invalid package name: $ac_package" >&2
1004 { (exit 1); exit 1; }; }
1005 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1006 eval with_$ac_package=\$ac_optarg ;;
1008 -without-* | --without-*)
1009 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1012 { echo "$as_me: error: invalid package name: $ac_package" >&2
1013 { (exit 1); exit 1; }; }
1014 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1015 eval with_$ac_package=no ;;
1018 # Obsolete; use --with-x.
1021 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1022 | --x-incl | --x-inc | --x-in | --x-i)
1023 ac_prev=x_includes ;;
1024 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1025 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1026 x_includes=$ac_optarg ;;
1028 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1029 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1030 ac_prev=x_libraries ;;
1031 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1032 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1033 x_libraries=$ac_optarg ;;
1035 -*) { echo "$as_me: error: unrecognized option: $ac_option
1036 Try \`$0 --help' for more information." >&2
1037 { (exit 1); exit 1; }; }
1041 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1044 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1045 { (exit 1); exit 1; }; }
1046 eval $ac_envvar=\$ac_optarg
1047 export $ac_envvar ;;
1050 # FIXME: should be removed in autoconf 3.0.
1051 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1052 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1054 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1060 if test -n "$ac_prev"; then
1061 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1062 { echo "$as_me: error: missing argument to $ac_option" >&2
1063 { (exit 1); exit 1; }; }
1066 # Be sure to have absolute directory names.
1067 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1068 datadir sysconfdir sharedstatedir localstatedir includedir \
1069 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1070 libdir localedir mandir
1072 eval ac_val=\$$ac_var
1074 [\\/$]* | ?:[\\/]* ) continue;;
1075 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1077 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1078 { (exit 1); exit 1; }; }
1081 # There might be people who depend on the old broken behavior: `$host'
1082 # used to hold the argument of --host etc.
1083 # FIXME: To remove some day.
1086 target=$target_alias
1088 # FIXME: To remove some day.
1089 if test "x$host_alias" != x; then
1090 if test "x$build_alias" = x; then
1091 cross_compiling=maybe
1092 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1093 If a cross compiler is detected then cross compile mode will be used." >&2
1094 elif test "x$build_alias" != "x$host_alias"; then
1100 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1102 test "$silent" = yes && exec 6>/dev/null
1105 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1106 ac_ls_di=`ls -di .` &&
1107 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1108 { echo "$as_me: error: Working directory cannot be determined" >&2
1109 { (exit 1); exit 1; }; }
1110 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1111 { echo "$as_me: error: pwd does not report name of working directory" >&2
1112 { (exit 1); exit 1; }; }
1115 # Find the source files, if location was not specified.
1116 if test -z "$srcdir"; then
1117 ac_srcdir_defaulted=yes
1118 # Try the directory containing this script, then the parent directory.
1119 ac_confdir=`$as_dirname -- "$0" ||
1120 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1121 X"$0" : 'X\(//\)[^/]' \| \
1122 X"$0" : 'X\(//\)$' \| \
1123 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1143 if test ! -r "$srcdir/$ac_unique_file"; then
1147 ac_srcdir_defaulted=no
1149 if test ! -r "$srcdir/$ac_unique_file"; then
1150 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1151 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1152 { (exit 1); exit 1; }; }
1154 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1156 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1157 { (exit 1); exit 1; }; }
1159 # When building in place, set srcdir=.
1160 if test "$ac_abs_confdir" = "$ac_pwd"; then
1163 # Remove unnecessary trailing slashes from srcdir.
1164 # Double slashes in file names in object file debugging info
1165 # mess up M-x gdb in Emacs.
1167 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1169 for ac_var in $ac_precious_vars; do
1170 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1171 eval ac_env_${ac_var}_value=\$${ac_var}
1172 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1173 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1177 # Report the --help message.
1179 if test "$ac_init_help" = "long"; then
1180 # Omit some internal or obsolete options to make the list less imposing.
1181 # This message is too long to be a string in the A/UX 3.1 sh.
1183 \`configure' configures talloc 1.1.0 to adapt to many kinds of systems.
1185 Usage: $0 [OPTION]... [VAR=VALUE]...
1187 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1188 VAR=VALUE. See below for descriptions of some of the useful variables.
1190 Defaults for the options are specified in brackets.
1193 -h, --help display this help and exit
1194 --help=short display options specific to this package
1195 --help=recursive display the short help of all the included packages
1196 -V, --version display version information and exit
1197 -q, --quiet, --silent do not print \`checking...' messages
1198 --cache-file=FILE cache test results in FILE [disabled]
1199 -C, --config-cache alias for \`--cache-file=config.cache'
1200 -n, --no-create do not create output files
1201 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1203 Installation directories:
1204 --prefix=PREFIX install architecture-independent files in PREFIX
1205 [$ac_default_prefix]
1206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1209 By default, \`make install' will install all the files in
1210 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1211 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1212 for instance \`--prefix=\$HOME'.
1214 For better control, use the options below.
1216 Fine tuning of the installation directories:
1217 --bindir=DIR user executables [EPREFIX/bin]
1218 --sbindir=DIR system admin executables [EPREFIX/sbin]
1219 --libexecdir=DIR program executables [EPREFIX/libexec]
1220 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1221 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1222 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1223 --libdir=DIR object code libraries [EPREFIX/lib]
1224 --includedir=DIR C header files [PREFIX/include]
1225 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1226 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1227 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1228 --infodir=DIR info documentation [DATAROOTDIR/info]
1229 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1230 --mandir=DIR man documentation [DATAROOTDIR/man]
1231 --docdir=DIR documentation root [DATAROOTDIR/doc/talloc]
1232 --htmldir=DIR html documentation [DOCDIR]
1233 --dvidir=DIR dvi documentation [DOCDIR]
1234 --pdfdir=DIR pdf documentation [DOCDIR]
1235 --psdir=DIR ps documentation [DOCDIR]
1242 if test -n "$ac_init_help"; then
1243 case $ac_init_help in
1244 short | recursive ) echo "Configuration of talloc 1.1.0:";;
1248 Some influential environment variables:
1249 CC C compiler command
1250 CFLAGS C compiler flags
1251 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1252 nonstandard directory <lib dir>
1253 LIBS libraries to pass to the linker, e.g. -l<library>
1254 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1255 you have headers in a nonstandard directory <include dir>
1258 Use these variables to override the choices made by `configure' or to help
1259 it to find libraries and programs with nonstandard names/locations.
1265 if test "$ac_init_help" = "recursive"; then
1266 # If there are subdirs, report their specific --help.
1267 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1268 test -d "$ac_dir" || continue
1272 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1274 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1275 # A ".." for each directory in $ac_dir_suffix.
1276 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1277 case $ac_top_builddir_sub in
1278 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1279 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1282 ac_abs_top_builddir=$ac_pwd
1283 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1284 # for backward compatibility:
1285 ac_top_builddir=$ac_top_build_prefix
1288 .) # We are building in place.
1290 ac_top_srcdir=$ac_top_builddir_sub
1291 ac_abs_top_srcdir=$ac_pwd ;;
1292 [\\/]* | ?:[\\/]* ) # Absolute name.
1293 ac_srcdir=$srcdir$ac_dir_suffix;
1294 ac_top_srcdir=$srcdir
1295 ac_abs_top_srcdir=$srcdir ;;
1297 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1298 ac_top_srcdir=$ac_top_build_prefix$srcdir
1299 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1301 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1303 cd "$ac_dir" || { ac_status=$?; continue; }
1304 # Check for guested configure.
1305 if test -f "$ac_srcdir/configure.gnu"; then
1307 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1308 elif test -f "$ac_srcdir/configure"; then
1310 $SHELL "$ac_srcdir/configure" --help=recursive
1312 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1314 cd "$ac_pwd" || { ac_status=$?; break; }
1318 test -n "$ac_init_help" && exit $ac_status
1319 if $ac_init_version; then
1321 talloc configure 1.1.0
1322 generated by GNU Autoconf 2.61
1324 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1325 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1326 This configure script is free software; the Free Software Foundation
1327 gives unlimited permission to copy, distribute and modify it.
1331 cat >config.log <<_ACEOF
1332 This file contains any messages produced by compilers while
1333 running configure, to aid debugging if configure makes a mistake.
1335 It was created by talloc $as_me 1.1.0, which was
1336 generated by GNU Autoconf 2.61. Invocation command line was
1348 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1349 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1350 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1351 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1352 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1354 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1355 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1357 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1358 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1359 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1360 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1361 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1362 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1363 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1371 test -z "$as_dir" && as_dir=.
1372 echo "PATH: $as_dir"
1388 # Keep a trace of the command line.
1389 # Strip out --no-create and --no-recursion so they do not pile up.
1390 # Strip out --silent because we don't want to record it for future runs.
1391 # Also quote any args containing shell meta-characters.
1392 # Make two passes to allow for proper duplicate-argument suppression.
1396 ac_must_keep_next=false
1402 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1404 | -silent | --silent | --silen | --sile | --sil)
1407 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1410 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1412 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1413 if test $ac_must_keep_next = true; then
1414 ac_must_keep_next=false # Got value, back to normal.
1417 *=* | --config-cache | -C | -disable-* | --disable-* \
1418 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1419 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1420 | -with-* | --with-* | -without-* | --without-* | --x)
1421 case "$ac_configure_args0 " in
1422 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1425 -* ) ac_must_keep_next=true ;;
1428 ac_configure_args="$ac_configure_args '$ac_arg'"
1433 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1434 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1436 # When interrupted or exit'd, cleanup temporary files, and complete
1437 # config.log. We remove comments because anyway the quotes in there
1438 # would cause problems or look ugly.
1439 # WARNING: Use '\'' to represent an apostrophe within the trap.
1440 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1441 trap 'exit_status=$?
1442 # Save into config.log some information that might help in debugging.
1447 ## ---------------- ##
1448 ## Cache variables. ##
1449 ## ---------------- ##
1452 # The following way of writing the cache mishandles newlines in values,
1454 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1455 eval ac_val=\$$ac_var
1459 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1460 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1463 _ | IFS | as_nl) ;; #(
1464 *) $as_unset $ac_var ;;
1469 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1470 *${as_nl}ac_space=\ *)
1472 "s/'\''/'\''\\\\'\'''\''/g;
1473 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1476 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1484 ## ----------------- ##
1485 ## Output variables. ##
1486 ## ----------------- ##
1489 for ac_var in $ac_subst_vars
1491 eval ac_val=\$$ac_var
1493 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1495 echo "$ac_var='\''$ac_val'\''"
1499 if test -n "$ac_subst_files"; then
1501 ## ------------------- ##
1502 ## File substitutions. ##
1503 ## ------------------- ##
1506 for ac_var in $ac_subst_files
1508 eval ac_val=\$$ac_var
1510 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1512 echo "$ac_var='\''$ac_val'\''"
1517 if test -s confdefs.h; then
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1531 rm -f core *.core core.conftest.* &&
1532 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -f -r conftest* confdefs.h
1543 # Predefined preprocessor variables.
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_NAME "$PACKAGE_NAME"
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_STRING "$PACKAGE_STRING"
1565 cat >>confdefs.h <<_ACEOF
1566 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1570 # Let the site file select an alternate cache file if it wants to.
1571 # Prefer explicitly selected file to automatically selected ones.
1572 if test -n "$CONFIG_SITE"; then
1573 set x "$CONFIG_SITE"
1574 elif test "x$prefix" != xNONE; then
1575 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1577 set x "$ac_default_prefix/share/config.site" \
1578 "$ac_default_prefix/etc/config.site"
1583 if test -r "$ac_site_file"; then
1584 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1585 echo "$as_me: loading site script $ac_site_file" >&6;}
1586 sed 's/^/| /' "$ac_site_file" >&5
1591 if test -r "$cache_file"; then
1592 # Some versions of bash will fail to source /dev/null (special
1593 # files actually), so we avoid doing that.
1594 if test -f "$cache_file"; then
1595 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1596 echo "$as_me: loading cache $cache_file" >&6;}
1598 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1599 *) . "./$cache_file";;
1603 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1604 echo "$as_me: creating cache $cache_file" >&6;}
1608 # Check that the precious variables saved in the cache have kept the same
1610 ac_cache_corrupted=false
1611 for ac_var in $ac_precious_vars; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1615 eval ac_new_val=\$ac_env_${ac_var}_value
1616 case $ac_old_set,$ac_new_set in
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1640 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *) ac_arg=$ac_var=$ac_new_val ;;
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1682 ac_cpp='$CPP $CPPFLAGS'
1683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1690 ac_config_headers="$ac_config_headers config.h"
1694 tallocpaths="$srcdir $srcdir/lib/talloc $srcdir/talloc $srcdir/../talloc"
1695 for d in $tallocpaths; do
1696 if test -f "$d/talloc.c"; then
1702 if test x"$tallocdir" = "x"; then
1703 { { echo "$as_me:$LINENO: error: cannot find talloc source in $tallocpaths" >&5
1704 echo "$as_me: error: cannot find talloc source in $tallocpaths" >&2;}
1705 { (exit 1); exit 1; }; }
1707 TALLOC_OBJ="talloc.o"
1710 TALLOC_CFLAGS="-I$tallocdir"
1717 ac_cpp='$CPP $CPPFLAGS'
1718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1721 if test -n "$ac_tool_prefix"; then
1722 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1723 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1726 if test "${ac_cv_prog_CC+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$CC"; then
1730 ac_cv_prog_CC="$CC" # Let the user override the test.
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1739 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 if test -n "$CC"; then
1751 { echo "$as_me:$LINENO: result: $CC" >&5
1752 echo "${ECHO_T}$CC" >&6; }
1754 { echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6; }
1760 if test -z "$ac_cv_prog_CC"; then
1762 # Extract the first word of "gcc", so it can be a program name with args.
1763 set dummy gcc; ac_word=$2
1764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1766 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$ac_ct_CC"; then
1770 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1779 ac_cv_prog_ac_ct_CC="gcc"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1790 if test -n "$ac_ct_CC"; then
1791 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1792 echo "${ECHO_T}$ac_ct_CC" >&6; }
1794 { echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6; }
1798 if test "x$ac_ct_CC" = x; then
1801 case $cross_compiling:$ac_tool_warned in
1803 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1804 whose name does not start with the host triplet. If you think this
1805 configuration is useful to you, please write to autoconf@gnu.org." >&5
1806 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1807 whose name does not start with the host triplet. If you think this
1808 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1809 ac_tool_warned=yes ;;
1817 if test -z "$CC"; then
1818 if test -n "$ac_tool_prefix"; then
1819 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1820 set dummy ${ac_tool_prefix}cc; ac_word=$2
1821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1823 if test "${ac_cv_prog_CC+set}" = set; then
1824 echo $ECHO_N "(cached) $ECHO_C" >&6
1826 if test -n "$CC"; then
1827 ac_cv_prog_CC="$CC" # Let the user override the test.
1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1833 test -z "$as_dir" && as_dir=.
1834 for ac_exec_ext in '' $ac_executable_extensions; do
1835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1836 ac_cv_prog_CC="${ac_tool_prefix}cc"
1837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 if test -n "$CC"; then
1848 { echo "$as_me:$LINENO: result: $CC" >&5
1849 echo "${ECHO_T}$CC" >&6; }
1851 { echo "$as_me:$LINENO: result: no" >&5
1852 echo "${ECHO_T}no" >&6; }
1858 if test -z "$CC"; then
1859 # Extract the first word of "cc", so it can be a program name with args.
1860 set dummy cc; ac_word=$2
1861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1863 if test "${ac_cv_prog_CC+set}" = set; then
1864 echo $ECHO_N "(cached) $ECHO_C" >&6
1866 if test -n "$CC"; then
1867 ac_cv_prog_CC="$CC" # Let the user override the test.
1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1874 test -z "$as_dir" && as_dir=.
1875 for ac_exec_ext in '' $ac_executable_extensions; do
1876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1877 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1878 ac_prog_rejected=yes
1882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 if test $ac_prog_rejected = yes; then
1890 # We found a bogon in the path, so make sure we never use it.
1891 set dummy $ac_cv_prog_CC
1893 if test $# != 0; then
1894 # We chose a different compiler from the bogus one.
1895 # However, it has the same basename, so the bogon will be chosen
1896 # first if we set CC to just the basename; use the full file name.
1898 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1904 if test -n "$CC"; then
1905 { echo "$as_me:$LINENO: result: $CC" >&5
1906 echo "${ECHO_T}$CC" >&6; }
1908 { echo "$as_me:$LINENO: result: no" >&5
1909 echo "${ECHO_T}no" >&6; }
1914 if test -z "$CC"; then
1915 if test -n "$ac_tool_prefix"; then
1916 for ac_prog in cl.exe
1918 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1919 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1922 if test "${ac_cv_prog_CC+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 if test -n "$CC"; then
1926 ac_cv_prog_CC="$CC" # Let the user override the test.
1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 test -z "$as_dir" && as_dir=.
1933 for ac_exec_ext in '' $ac_executable_extensions; do
1934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1935 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 if test -n "$CC"; then
1947 { echo "$as_me:$LINENO: result: $CC" >&5
1948 echo "${ECHO_T}$CC" >&6; }
1950 { echo "$as_me:$LINENO: result: no" >&5
1951 echo "${ECHO_T}no" >&6; }
1955 test -n "$CC" && break
1958 if test -z "$CC"; then
1960 for ac_prog in cl.exe
1962 # Extract the first word of "$ac_prog", so it can be a program name with args.
1963 set dummy $ac_prog; ac_word=$2
1964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 if test -n "$ac_ct_CC"; then
1970 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir=.
1977 for ac_exec_ext in '' $ac_executable_extensions; do
1978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1979 ac_cv_prog_ac_ct_CC="$ac_prog"
1980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1990 if test -n "$ac_ct_CC"; then
1991 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1992 echo "${ECHO_T}$ac_ct_CC" >&6; }
1994 { echo "$as_me:$LINENO: result: no" >&5
1995 echo "${ECHO_T}no" >&6; }
1999 test -n "$ac_ct_CC" && break
2002 if test "x$ac_ct_CC" = x; then
2005 case $cross_compiling:$ac_tool_warned in
2007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2008 whose name does not start with the host triplet. If you think this
2009 configuration is useful to you, please write to autoconf@gnu.org." >&5
2010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2011 whose name does not start with the host triplet. If you think this
2012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2013 ac_tool_warned=yes ;;
2022 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2023 See \`config.log' for more details." >&5
2024 echo "$as_me: error: no acceptable C compiler found in \$PATH
2025 See \`config.log' for more details." >&2;}
2026 { (exit 1); exit 1; }; }
2028 # Provide some information about the compiler.
2029 echo "$as_me:$LINENO: checking for C compiler version" >&5
2030 ac_compiler=`set X $ac_compile; echo $2`
2031 { (ac_try="$ac_compiler --version >&5"
2033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034 *) ac_try_echo=$ac_try;;
2036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2037 (eval "$ac_compiler --version >&5") 2>&5
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }
2041 { (ac_try="$ac_compiler -v >&5"
2043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2044 *) ac_try_echo=$ac_try;;
2046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2047 (eval "$ac_compiler -v >&5") 2>&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); }
2051 { (ac_try="$ac_compiler -V >&5"
2053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2054 *) ac_try_echo=$ac_try;;
2056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2057 (eval "$ac_compiler -V >&5") 2>&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }
2062 cat >conftest.$ac_ext <<_ACEOF
2065 cat confdefs.h >>conftest.$ac_ext
2066 cat >>conftest.$ac_ext <<_ACEOF
2067 /* end confdefs.h. */
2077 ac_clean_files_save=$ac_clean_files
2078 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2079 # Try to create an executable without -o first, disregard a.out.
2080 # It will help us diagnose broken compilers, and finding out an intuition
2082 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2083 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2084 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2086 # List of possible output files, starting from the most likely.
2087 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2088 # only as a last resort. b.out is created by i960 compilers.
2089 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2091 # The IRIX 6 linker writes into existing files which may not be
2092 # executable, retaining their permissions. Remove them first so a
2093 # subsequent execution test works.
2095 for ac_file in $ac_files
2098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2099 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2104 if { (ac_try="$ac_link_default"
2106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2107 *) ac_try_echo=$ac_try;;
2109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2110 (eval "$ac_link_default") 2>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; then
2114 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2115 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2116 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2117 # so that the user can short-circuit this test for compilers unknown to
2119 for ac_file in $ac_files ''
2121 test -f "$ac_file" || continue
2123 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2126 # We found the default executable, but exeext='' is most
2130 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2132 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2134 # We set ac_cv_exeext here because the later test for it is not
2135 # safe: cross compilers may not add the suffix if given an `-o'
2136 # argument, so we may need to know it at that point already.
2137 # Even if this section looks crufty: it has the advantage of
2144 test "$ac_cv_exeext" = no && ac_cv_exeext=
2150 { echo "$as_me:$LINENO: result: $ac_file" >&5
2151 echo "${ECHO_T}$ac_file" >&6; }
2152 if test -z "$ac_file"; then
2153 echo "$as_me: failed program was:" >&5
2154 sed 's/^/| /' conftest.$ac_ext >&5
2156 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2157 See \`config.log' for more details." >&5
2158 echo "$as_me: error: C compiler cannot create executables
2159 See \`config.log' for more details." >&2;}
2160 { (exit 77); exit 77; }; }
2163 ac_exeext=$ac_cv_exeext
2165 # Check that the compiler produces executables we can run. If not, either
2166 # the compiler is broken, or we cross compile.
2167 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2168 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2169 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2170 # If not cross compiling, check that we can run a simple program.
2171 if test "$cross_compiling" != yes; then
2172 if { ac_try='./$ac_file'
2173 { (case "(($ac_try" in
2174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2175 *) ac_try_echo=$ac_try;;
2177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2178 (eval "$ac_try") 2>&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; }; then
2184 if test "$cross_compiling" = maybe; then
2187 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2188 If you meant to cross compile, use \`--host'.
2189 See \`config.log' for more details." >&5
2190 echo "$as_me: error: cannot run C compiled programs.
2191 If you meant to cross compile, use \`--host'.
2192 See \`config.log' for more details." >&2;}
2193 { (exit 1); exit 1; }; }
2197 { echo "$as_me:$LINENO: result: yes" >&5
2198 echo "${ECHO_T}yes" >&6; }
2200 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2201 ac_clean_files=$ac_clean_files_save
2202 # Check that the compiler produces executables we can run. If not, either
2203 # the compiler is broken, or we cross compile.
2204 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2205 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2206 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2207 echo "${ECHO_T}$cross_compiling" >&6; }
2209 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2210 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2211 if { (ac_try="$ac_link"
2213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2214 *) ac_try_echo=$ac_try;;
2216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2217 (eval "$ac_link") 2>&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; then
2221 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2222 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2223 # work properly (i.e., refer to `conftest.exe'), while it won't with
2225 for ac_file in conftest.exe conftest conftest.*; do
2226 test -f "$ac_file" || continue
2228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2229 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2235 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2236 See \`config.log' for more details." >&5
2237 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2238 See \`config.log' for more details." >&2;}
2239 { (exit 1); exit 1; }; }
2242 rm -f conftest$ac_cv_exeext
2243 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2244 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2246 rm -f conftest.$ac_ext
2247 EXEEXT=$ac_cv_exeext
2249 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2250 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2251 if test "${ac_cv_objext+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 cat >conftest.$ac_ext <<_ACEOF
2257 cat confdefs.h >>conftest.$ac_ext
2258 cat >>conftest.$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2269 rm -f conftest.o conftest.obj
2270 if { (ac_try="$ac_compile"
2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2276 (eval "$ac_compile") 2>&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; then
2280 for ac_file in conftest.o conftest.obj conftest.*; do
2281 test -f "$ac_file" || continue;
2283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2284 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2292 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2293 See \`config.log' for more details." >&5
2294 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2295 See \`config.log' for more details." >&2;}
2296 { (exit 1); exit 1; }; }
2299 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2301 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2302 echo "${ECHO_T}$ac_cv_objext" >&6; }
2303 OBJEXT=$ac_cv_objext
2305 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2306 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2307 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 cat >conftest.$ac_ext <<_ACEOF
2313 cat confdefs.h >>conftest.$ac_ext
2314 cat >>conftest.$ac_ext <<_ACEOF
2315 /* end confdefs.h. */
2328 rm -f conftest.$ac_objext
2329 if { (ac_try="$ac_compile"
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2335 (eval "$ac_compile") 2>conftest.er1
2337 grep -v '^ *+' conftest.er1 >conftest.err
2339 cat conftest.err >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); } && {
2342 test -z "$ac_c_werror_flag" ||
2343 test ! -s conftest.err
2344 } && test -s conftest.$ac_objext; then
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.$ac_ext >&5
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2357 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2358 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2359 GCC=`test $ac_compiler_gnu = yes && echo yes`
2360 ac_test_CFLAGS=${CFLAGS+set}
2361 ac_save_CFLAGS=$CFLAGS
2362 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2363 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2364 if test "${ac_cv_prog_cc_g+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 ac_save_c_werror_flag=$ac_c_werror_flag
2368 ac_c_werror_flag=yes
2371 cat >conftest.$ac_ext <<_ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 rm -f conftest.$ac_objext
2387 if { (ac_try="$ac_compile"
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2393 (eval "$ac_compile") 2>conftest.er1
2395 grep -v '^ *+' conftest.er1 >conftest.err
2397 cat conftest.err >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); } && {
2400 test -z "$ac_c_werror_flag" ||
2401 test ! -s conftest.err
2402 } && test -s conftest.$ac_objext; then
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2409 cat >conftest.$ac_ext <<_ACEOF
2412 cat confdefs.h >>conftest.$ac_ext
2413 cat >>conftest.$ac_ext <<_ACEOF
2414 /* end confdefs.h. */
2424 rm -f conftest.$ac_objext
2425 if { (ac_try="$ac_compile"
2427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2428 *) ac_try_echo=$ac_try;;
2430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2431 (eval "$ac_compile") 2>conftest.er1
2433 grep -v '^ *+' conftest.er1 >conftest.err
2435 cat conftest.err >&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); } && {
2438 test -z "$ac_c_werror_flag" ||
2439 test ! -s conftest.err
2440 } && test -s conftest.$ac_objext; then
2443 echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.$ac_ext >&5
2446 ac_c_werror_flag=$ac_save_c_werror_flag
2448 cat >conftest.$ac_ext <<_ACEOF
2451 cat confdefs.h >>conftest.$ac_ext
2452 cat >>conftest.$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2463 rm -f conftest.$ac_objext
2464 if { (ac_try="$ac_compile"
2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2470 (eval "$ac_compile") 2>conftest.er1
2472 grep -v '^ *+' conftest.er1 >conftest.err
2474 cat conftest.err >&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); } && {
2477 test -z "$ac_c_werror_flag" ||
2478 test ! -s conftest.err
2479 } && test -s conftest.$ac_objext; then
2482 echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 ac_c_werror_flag=$ac_save_c_werror_flag
2497 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2498 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2499 if test "$ac_test_CFLAGS" = set; then
2500 CFLAGS=$ac_save_CFLAGS
2501 elif test $ac_cv_prog_cc_g = yes; then
2502 if test "$GCC" = yes; then
2508 if test "$GCC" = yes; then
2514 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2515 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2516 if test "${ac_cv_prog_cc_c89+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 ac_cv_prog_cc_c89=no
2521 cat >conftest.$ac_ext <<_ACEOF
2524 cat confdefs.h >>conftest.$ac_ext
2525 cat >>conftest.$ac_ext <<_ACEOF
2526 /* end confdefs.h. */
2529 #include <sys/types.h>
2530 #include <sys/stat.h>
2531 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2532 struct buf { int x; };
2533 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2534 static char *e (p, i)
2540 static char *f (char * (*g) (char **, int), char **p, ...)
2545 s = g (p, va_arg (v,int));
2550 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2551 function prototypes and stuff, but not '\xHH' hex character constants.
2552 These don't provoke an error unfortunately, instead are silently treated
2553 as 'x'. The following induces an error, until -std is added to get
2554 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2555 array size at least. It's necessary to write '\x00'==0 to get something
2556 that's true only with -std. */
2557 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2559 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2560 inside strings and character constants. */
2562 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2564 int test (int i, double x);
2565 struct s1 {int (*f) (int a);};
2566 struct s2 {int (*f) (double a);};
2567 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2573 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2578 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2579 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2581 CC="$ac_save_CC $ac_arg"
2582 rm -f conftest.$ac_objext
2583 if { (ac_try="$ac_compile"
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589 (eval "$ac_compile") 2>conftest.er1
2591 grep -v '^ *+' conftest.er1 >conftest.err
2593 cat conftest.err >&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); } && {
2596 test -z "$ac_c_werror_flag" ||
2597 test ! -s conftest.err
2598 } && test -s conftest.$ac_objext; then
2599 ac_cv_prog_cc_c89=$ac_arg
2601 echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2607 rm -f core conftest.err conftest.$ac_objext
2608 test "x$ac_cv_prog_cc_c89" != "xno" && break
2610 rm -f conftest.$ac_ext
2615 case "x$ac_cv_prog_cc_c89" in
2617 { echo "$as_me:$LINENO: result: none needed" >&5
2618 echo "${ECHO_T}none needed" >&6; } ;;
2620 { echo "$as_me:$LINENO: result: unsupported" >&5
2621 echo "${ECHO_T}unsupported" >&6; } ;;
2623 CC="$CC $ac_cv_prog_cc_c89"
2624 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2625 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2630 ac_cpp='$CPP $CPPFLAGS'
2631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2637 ac_cpp='$CPP $CPPFLAGS'
2638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2641 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2642 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2643 # On Suns, sometimes $CPP names a directory.
2644 if test -n "$CPP" && test -d "$CPP"; then
2647 if test -z "$CPP"; then
2648 if test "${ac_cv_prog_CPP+set}" = set; then
2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2651 # Double quotes because CPP needs to be expanded
2652 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2655 for ac_c_preproc_warn_flag in '' yes
2657 # Use a header file that comes with gcc, so configuring glibc
2658 # with a fresh cross-compiler works.
2659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2660 # <limits.h> exists even on freestanding compilers.
2661 # On the NeXT, cc -E runs the code through the compiler's parser,
2662 # not just through cpp. "Syntax error" is here to catch this case.
2663 cat >conftest.$ac_ext <<_ACEOF
2666 cat confdefs.h >>conftest.$ac_ext
2667 cat >>conftest.$ac_ext <<_ACEOF
2668 /* end confdefs.h. */
2670 # include <limits.h>
2672 # include <assert.h>
2676 if { (ac_try="$ac_cpp conftest.$ac_ext"
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2684 grep -v '^ *+' conftest.er1 >conftest.err
2686 cat conftest.err >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } >/dev/null && {
2689 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2690 test ! -s conftest.err
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.$ac_ext >&5
2697 # Broken: fails on valid input.
2701 rm -f conftest.err conftest.$ac_ext
2703 # OK, works on sane cases. Now check whether nonexistent headers
2704 # can be detected and how.
2705 cat >conftest.$ac_ext <<_ACEOF
2708 cat confdefs.h >>conftest.$ac_ext
2709 cat >>conftest.$ac_ext <<_ACEOF
2710 /* end confdefs.h. */
2711 #include <ac_nonexistent.h>
2713 if { (ac_try="$ac_cpp conftest.$ac_ext"
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2721 grep -v '^ *+' conftest.er1 >conftest.err
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } >/dev/null && {
2726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2727 test ! -s conftest.err
2729 # Broken: success on invalid input.
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2735 # Passes both tests.
2740 rm -f conftest.err conftest.$ac_ext
2743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2744 rm -f conftest.err conftest.$ac_ext
2745 if $ac_preproc_ok; then
2757 { echo "$as_me:$LINENO: result: $CPP" >&5
2758 echo "${ECHO_T}$CPP" >&6; }
2760 for ac_c_preproc_warn_flag in '' yes
2762 # Use a header file that comes with gcc, so configuring glibc
2763 # with a fresh cross-compiler works.
2764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2765 # <limits.h> exists even on freestanding compilers.
2766 # On the NeXT, cc -E runs the code through the compiler's parser,
2767 # not just through cpp. "Syntax error" is here to catch this case.
2768 cat >conftest.$ac_ext <<_ACEOF
2771 cat confdefs.h >>conftest.$ac_ext
2772 cat >>conftest.$ac_ext <<_ACEOF
2773 /* end confdefs.h. */
2775 # include <limits.h>
2777 # include <assert.h>
2781 if { (ac_try="$ac_cpp conftest.$ac_ext"
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2789 grep -v '^ *+' conftest.er1 >conftest.err
2791 cat conftest.err >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } >/dev/null && {
2794 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2795 test ! -s conftest.err
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.$ac_ext >&5
2802 # Broken: fails on valid input.
2806 rm -f conftest.err conftest.$ac_ext
2808 # OK, works on sane cases. Now check whether nonexistent headers
2809 # can be detected and how.
2810 cat >conftest.$ac_ext <<_ACEOF
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2816 #include <ac_nonexistent.h>
2818 if { (ac_try="$ac_cpp conftest.$ac_ext"
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2826 grep -v '^ *+' conftest.er1 >conftest.err
2828 cat conftest.err >&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } >/dev/null && {
2831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2832 test ! -s conftest.err
2834 # Broken: success on invalid input.
2837 echo "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.$ac_ext >&5
2840 # Passes both tests.
2845 rm -f conftest.err conftest.$ac_ext
2848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2849 rm -f conftest.err conftest.$ac_ext
2850 if $ac_preproc_ok; then
2853 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2854 See \`config.log' for more details." >&5
2855 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2856 See \`config.log' for more details." >&2;}
2857 { (exit 1); exit 1; }; }
2861 ac_cpp='$CPP $CPPFLAGS'
2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2867 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2868 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2869 if test "${ac_cv_path_GREP+set}" = set; then
2870 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 # Extract the first word of "grep ggrep" to use in msg output
2873 if test -z "$GREP"; then
2874 set dummy grep ggrep; ac_prog_name=$2
2875 if test "${ac_cv_path_GREP+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 ac_path_GREP_found=false
2879 # Loop through the user's path and test for each of PROGNAME-LIST
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2884 test -z "$as_dir" && as_dir=.
2885 for ac_prog in grep ggrep; do
2886 for ac_exec_ext in '' $ac_executable_extensions; do
2887 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2888 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2889 # Check for GNU ac_path_GREP and select it if it is found.
2890 # Check for GNU $ac_path_GREP
2891 case `"$ac_path_GREP" --version 2>&1` in
2893 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2896 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2899 cat "conftest.in" "conftest.in" >"conftest.tmp"
2900 mv "conftest.tmp" "conftest.in"
2901 cp "conftest.in" "conftest.nl"
2902 echo 'GREP' >> "conftest.nl"
2903 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2904 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2905 ac_count=`expr $ac_count + 1`
2906 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2907 # Best one so far, save it but keep looking for a better one
2908 ac_cv_path_GREP="$ac_path_GREP"
2909 ac_path_GREP_max=$ac_count
2911 # 10*(2^10) chars as input seems more than enough
2912 test $ac_count -gt 10 && break
2914 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2918 $ac_path_GREP_found && break 3
2928 GREP="$ac_cv_path_GREP"
2929 if test -z "$GREP"; then
2930 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2931 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2932 { (exit 1); exit 1; }; }
2936 ac_cv_path_GREP=$GREP
2941 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2942 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2943 GREP="$ac_cv_path_GREP"
2946 { echo "$as_me:$LINENO: checking for egrep" >&5
2947 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2948 if test "${ac_cv_path_EGREP+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2952 then ac_cv_path_EGREP="$GREP -E"
2954 # Extract the first word of "egrep" to use in msg output
2955 if test -z "$EGREP"; then
2956 set dummy egrep; ac_prog_name=$2
2957 if test "${ac_cv_path_EGREP+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 ac_path_EGREP_found=false
2961 # Loop through the user's path and test for each of PROGNAME-LIST
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2966 test -z "$as_dir" && as_dir=.
2967 for ac_prog in egrep; do
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2970 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2971 # Check for GNU ac_path_EGREP and select it if it is found.
2972 # Check for GNU $ac_path_EGREP
2973 case `"$ac_path_EGREP" --version 2>&1` in
2975 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2978 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2981 cat "conftest.in" "conftest.in" >"conftest.tmp"
2982 mv "conftest.tmp" "conftest.in"
2983 cp "conftest.in" "conftest.nl"
2984 echo 'EGREP' >> "conftest.nl"
2985 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2986 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2987 ac_count=`expr $ac_count + 1`
2988 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2989 # Best one so far, save it but keep looking for a better one
2990 ac_cv_path_EGREP="$ac_path_EGREP"
2991 ac_path_EGREP_max=$ac_count
2993 # 10*(2^10) chars as input seems more than enough
2994 test $ac_count -gt 10 && break
2996 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3000 $ac_path_EGREP_found && break 3
3010 EGREP="$ac_cv_path_EGREP"
3011 if test -z "$EGREP"; then
3012 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3013 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3014 { (exit 1); exit 1; }; }
3018 ac_cv_path_EGREP=$EGREP
3024 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3025 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3026 EGREP="$ac_cv_path_EGREP"
3029 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3030 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3031 if test "${ac_cv_header_stdc+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 cat >conftest.$ac_ext <<_ACEOF
3037 cat confdefs.h >>conftest.$ac_ext
3038 cat >>conftest.$ac_ext <<_ACEOF
3039 /* end confdefs.h. */
3053 rm -f conftest.$ac_objext
3054 if { (ac_try="$ac_compile"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060 (eval "$ac_compile") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } && {
3067 test -z "$ac_c_werror_flag" ||
3068 test ! -s conftest.err
3069 } && test -s conftest.$ac_objext; then
3070 ac_cv_header_stdc=yes
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3075 ac_cv_header_stdc=no
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 if test $ac_cv_header_stdc = yes; then
3081 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3082 cat >conftest.$ac_ext <<_ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3092 $EGREP "memchr" >/dev/null 2>&1; then
3095 ac_cv_header_stdc=no
3101 if test $ac_cv_header_stdc = yes; then
3102 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3103 cat >conftest.$ac_ext <<_ACEOF
3106 cat confdefs.h >>conftest.$ac_ext
3107 cat >>conftest.$ac_ext <<_ACEOF
3108 /* end confdefs.h. */
3112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3113 $EGREP "free" >/dev/null 2>&1; then
3116 ac_cv_header_stdc=no
3122 if test $ac_cv_header_stdc = yes; then
3123 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3124 if test "$cross_compiling" = yes; then
3127 cat >conftest.$ac_ext <<_ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3135 #if ((' ' & 0x0FF) == 0x020)
3136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3139 # define ISLOWER(c) \
3140 (('a' <= (c) && (c) <= 'i') \
3141 || ('j' <= (c) && (c) <= 'r') \
3142 || ('s' <= (c) && (c) <= 'z'))
3143 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3146 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3151 for (i = 0; i < 256; i++)
3152 if (XOR (islower (i), ISLOWER (i))
3153 || toupper (i) != TOUPPER (i))
3158 rm -f conftest$ac_exeext
3159 if { (ac_try="$ac_link"
3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3162 *) ac_try_echo=$ac_try;;
3164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3165 (eval "$ac_link") 2>&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3169 { (case "(($ac_try" in
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3174 (eval "$ac_try") 2>&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; }; then
3180 echo "$as_me: program exited with status $ac_status" >&5
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3185 ac_cv_header_stdc=no
3187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3193 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3194 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3195 if test $ac_cv_header_stdc = yes; then
3197 cat >>confdefs.h <<\_ACEOF
3198 #define STDC_HEADERS 1
3203 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3213 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3214 inttypes.h stdint.h unistd.h
3216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 cat >conftest.$ac_ext <<_ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3228 $ac_includes_default
3230 #include <$ac_header>
3232 rm -f conftest.$ac_objext
3233 if { (ac_try="$ac_compile"
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3239 (eval "$ac_compile") 2>conftest.er1
3241 grep -v '^ *+' conftest.er1 >conftest.err
3243 cat conftest.err >&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); } && {
3246 test -z "$ac_c_werror_flag" ||
3247 test ! -s conftest.err
3248 } && test -s conftest.$ac_objext; then
3249 eval "$as_ac_Header=yes"
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 eval "$as_ac_Header=no"
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3259 ac_res=`eval echo '${'$as_ac_Header'}'`
3260 { echo "$as_me:$LINENO: result: $ac_res" >&5
3261 echo "${ECHO_T}$ac_res" >&6; }
3262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3263 cat >>confdefs.h <<_ACEOF
3264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3272 { echo "$as_me:$LINENO: checking for size_t" >&5
3273 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
3274 if test "${ac_cv_type_size_t+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 cat >conftest.$ac_ext <<_ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3283 $ac_includes_default
3284 typedef size_t ac__type_new_;
3288 if ((ac__type_new_ *) 0)
3290 if (sizeof (ac__type_new_))
3296 rm -f conftest.$ac_objext
3297 if { (ac_try="$ac_compile"
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3303 (eval "$ac_compile") 2>conftest.er1
3305 grep -v '^ *+' conftest.er1 >conftest.err
3307 cat conftest.err >&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); } && {
3310 test -z "$ac_c_werror_flag" ||
3311 test ! -s conftest.err
3312 } && test -s conftest.$ac_objext; then
3313 ac_cv_type_size_t=yes
3315 echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.$ac_ext >&5
3318 ac_cv_type_size_t=no
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3323 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3324 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
3326 # The cast to long int works around a bug in the HP C Compiler
3327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3329 # This bug is HP SR number 8606223364.
3330 { echo "$as_me:$LINENO: checking size of size_t" >&5
3331 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
3332 if test "${ac_cv_sizeof_size_t+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 if test "$cross_compiling" = yes; then
3336 # Depending upon the size, compute the lo and hi bounds.
3337 cat >conftest.$ac_ext <<_ACEOF
3340 cat confdefs.h >>conftest.$ac_ext
3341 cat >>conftest.$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3343 $ac_includes_default
3344 typedef size_t ac__type_sizeof_;
3348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
3355 rm -f conftest.$ac_objext
3356 if { (ac_try="$ac_compile"
3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3362 (eval "$ac_compile") 2>conftest.er1
3364 grep -v '^ *+' conftest.er1 >conftest.err
3366 cat conftest.err >&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); } && {
3369 test -z "$ac_c_werror_flag" ||
3370 test ! -s conftest.err
3371 } && test -s conftest.$ac_objext; then
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3380 $ac_includes_default
3381 typedef size_t ac__type_sizeof_;
3385 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3392 rm -f conftest.$ac_objext
3393 if { (ac_try="$ac_compile"
3395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3399 (eval "$ac_compile") 2>conftest.er1
3401 grep -v '^ *+' conftest.er1 >conftest.err
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } && {
3406 test -z "$ac_c_werror_flag" ||
3407 test ! -s conftest.err
3408 } && test -s conftest.$ac_objext; then
3409 ac_hi=$ac_mid; break
3411 echo "$as_me: failed program was:" >&5
3412 sed 's/^/| /' conftest.$ac_ext >&5
3414 ac_lo=`expr $ac_mid + 1`
3415 if test $ac_lo -le $ac_mid; then
3419 ac_mid=`expr 2 '*' $ac_mid + 1`
3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3428 cat >conftest.$ac_ext <<_ACEOF
3431 cat confdefs.h >>conftest.$ac_ext
3432 cat >>conftest.$ac_ext <<_ACEOF
3433 /* end confdefs.h. */
3434 $ac_includes_default
3435 typedef size_t ac__type_sizeof_;
3439 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
3446 rm -f conftest.$ac_objext
3447 if { (ac_try="$ac_compile"
3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3453 (eval "$ac_compile") 2>conftest.er1
3455 grep -v '^ *+' conftest.er1 >conftest.err
3457 cat conftest.err >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } && {
3460 test -z "$ac_c_werror_flag" ||
3461 test ! -s conftest.err
3462 } && test -s conftest.$ac_objext; then
3465 cat >conftest.$ac_ext <<_ACEOF
3468 cat confdefs.h >>conftest.$ac_ext
3469 cat >>conftest.$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3471 $ac_includes_default
3472 typedef size_t ac__type_sizeof_;
3476 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
3483 rm -f conftest.$ac_objext
3484 if { (ac_try="$ac_compile"
3486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3490 (eval "$ac_compile") 2>conftest.er1
3492 grep -v '^ *+' conftest.er1 >conftest.err
3494 cat conftest.err >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } && {
3497 test -z "$ac_c_werror_flag" ||
3498 test ! -s conftest.err
3499 } && test -s conftest.$ac_objext; then
3500 ac_lo=$ac_mid; break
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3505 ac_hi=`expr '(' $ac_mid ')' - 1`
3506 if test $ac_mid -le $ac_hi; then
3510 ac_mid=`expr 2 '*' $ac_mid`
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 # Binary search between lo and hi bounds.
3527 while test "x$ac_lo" != "x$ac_hi"; do
3528 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3529 cat >conftest.$ac_ext <<_ACEOF
3532 cat confdefs.h >>conftest.$ac_ext
3533 cat >>conftest.$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3535 $ac_includes_default
3536 typedef size_t ac__type_sizeof_;
3540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3547 rm -f conftest.$ac_objext
3548 if { (ac_try="$ac_compile"
3550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551 *) ac_try_echo=$ac_try;;
3553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554 (eval "$ac_compile") 2>conftest.er1
3556 grep -v '^ *+' conftest.er1 >conftest.err
3558 cat conftest.err >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } && {
3561 test -z "$ac_c_werror_flag" ||
3562 test ! -s conftest.err
3563 } && test -s conftest.$ac_objext; then
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 ac_lo=`expr '(' $ac_mid ')' + 1`
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 ?*) ac_cv_sizeof_size_t=$ac_lo;;
3576 '') if test "$ac_cv_type_size_t" = yes; then
3577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
3578 See \`config.log' for more details." >&5
3579 echo "$as_me: error: cannot compute sizeof (size_t)
3580 See \`config.log' for more details." >&2;}
3581 { (exit 77); exit 77; }; }
3583 ac_cv_sizeof_size_t=0
3587 cat >conftest.$ac_ext <<_ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3593 $ac_includes_default
3594 typedef size_t ac__type_sizeof_;
3595 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
3596 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
3603 FILE *f = fopen ("conftest.val", "w");
3606 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
3608 long int i = longval ();
3609 if (i != ((long int) (sizeof (ac__type_sizeof_))))
3611 fprintf (f, "%ld\n", i);
3615 unsigned long int i = ulongval ();
3616 if (i != ((long int) (sizeof (ac__type_sizeof_))))
3618 fprintf (f, "%lu\n", i);
3620 return ferror (f) || fclose (f) != 0;
3626 rm -f conftest$ac_exeext
3627 if { (ac_try="$ac_link"
3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630 *) ac_try_echo=$ac_try;;
3632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3633 (eval "$ac_link") 2>&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3637 { (case "(($ac_try" in
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3642 (eval "$ac_try") 2>&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; }; then
3646 ac_cv_sizeof_size_t=`cat conftest.val`
3648 echo "$as_me: program exited with status $ac_status" >&5
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3653 if test "$ac_cv_type_size_t" = yes; then
3654 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
3655 See \`config.log' for more details." >&5
3656 echo "$as_me: error: cannot compute sizeof (size_t)
3657 See \`config.log' for more details." >&2;}
3658 { (exit 77); exit 77; }; }
3660 ac_cv_sizeof_size_t=0
3663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3667 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
3668 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
3672 cat >>confdefs.h <<_ACEOF
3673 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
3677 { echo "$as_me:$LINENO: checking for void *" >&5
3678 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
3679 if test "${ac_cv_type_void_p+set}" = set; then
3680 echo $ECHO_N "(cached) $ECHO_C" >&6
3682 cat >conftest.$ac_ext <<_ACEOF
3685 cat confdefs.h >>conftest.$ac_ext
3686 cat >>conftest.$ac_ext <<_ACEOF
3687 /* end confdefs.h. */
3688 $ac_includes_default
3689 typedef void * ac__type_new_;
3693 if ((ac__type_new_ *) 0)
3695 if (sizeof (ac__type_new_))
3701 rm -f conftest.$ac_objext
3702 if { (ac_try="$ac_compile"
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3708 (eval "$ac_compile") 2>conftest.er1
3710 grep -v '^ *+' conftest.er1 >conftest.err
3712 cat conftest.err >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } && {
3715 test -z "$ac_c_werror_flag" ||
3716 test ! -s conftest.err
3717 } && test -s conftest.$ac_objext; then
3718 ac_cv_type_void_p=yes
3720 echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3723 ac_cv_type_void_p=no
3726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
3729 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
3731 # The cast to long int works around a bug in the HP C Compiler
3732 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3733 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3734 # This bug is HP SR number 8606223364.
3735 { echo "$as_me:$LINENO: checking size of void *" >&5
3736 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
3737 if test "${ac_cv_sizeof_void_p+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 if test "$cross_compiling" = yes; then
3741 # Depending upon the size, compute the lo and hi bounds.
3742 cat >conftest.$ac_ext <<_ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h. */
3748 $ac_includes_default
3749 typedef void * ac__type_sizeof_;
3753 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
3760 rm -f conftest.$ac_objext
3761 if { (ac_try="$ac_compile"
3763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3764 *) ac_try_echo=$ac_try;;
3766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3767 (eval "$ac_compile") 2>conftest.er1
3769 grep -v '^ *+' conftest.er1 >conftest.err
3771 cat conftest.err >&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); } && {
3774 test -z "$ac_c_werror_flag" ||
3775 test ! -s conftest.err
3776 } && test -s conftest.$ac_objext; then
3779 cat >conftest.$ac_ext <<_ACEOF
3782 cat confdefs.h >>conftest.$ac_ext
3783 cat >>conftest.$ac_ext <<_ACEOF
3784 /* end confdefs.h. */
3785 $ac_includes_default
3786 typedef void * ac__type_sizeof_;
3790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3797 rm -f conftest.$ac_objext
3798 if { (ac_try="$ac_compile"
3800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801 *) ac_try_echo=$ac_try;;
3803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3804 (eval "$ac_compile") 2>conftest.er1
3806 grep -v '^ *+' conftest.er1 >conftest.err
3808 cat conftest.err >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } && {
3811 test -z "$ac_c_werror_flag" ||
3812 test ! -s conftest.err
3813 } && test -s conftest.$ac_objext; then
3814 ac_hi=$ac_mid; break
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3819 ac_lo=`expr $ac_mid + 1`
3820 if test $ac_lo -le $ac_mid; then
3824 ac_mid=`expr 2 '*' $ac_mid + 1`
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3833 cat >conftest.$ac_ext <<_ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3839 $ac_includes_default
3840 typedef void * ac__type_sizeof_;
3844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
3851 rm -f conftest.$ac_objext
3852 if { (ac_try="$ac_compile"
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858 (eval "$ac_compile") 2>conftest.er1
3860 grep -v '^ *+' conftest.er1 >conftest.err
3862 cat conftest.err >&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } && {
3865 test -z "$ac_c_werror_flag" ||
3866 test ! -s conftest.err
3867 } && test -s conftest.$ac_objext; then
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 $ac_includes_default
3877 typedef void * ac__type_sizeof_;
3881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
3888 rm -f conftest.$ac_objext
3889 if { (ac_try="$ac_compile"
3891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892 *) ac_try_echo=$ac_try;;
3894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3895 (eval "$ac_compile") 2>conftest.er1
3897 grep -v '^ *+' conftest.er1 >conftest.err
3899 cat conftest.err >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); } && {
3902 test -z "$ac_c_werror_flag" ||
3903 test ! -s conftest.err
3904 } && test -s conftest.$ac_objext; then
3905 ac_lo=$ac_mid; break
3907 echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3910 ac_hi=`expr '(' $ac_mid ')' - 1`
3911 if test $ac_mid -le $ac_hi; then
3915 ac_mid=`expr 2 '*' $ac_mid`
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3921 echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.$ac_ext >&5
3927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 # Binary search between lo and hi bounds.
3932 while test "x$ac_lo" != "x$ac_hi"; do
3933 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3934 cat >conftest.$ac_ext <<_ACEOF
3937 cat confdefs.h >>conftest.$ac_ext
3938 cat >>conftest.$ac_ext <<_ACEOF
3939 /* end confdefs.h. */
3940 $ac_includes_default
3941 typedef void * ac__type_sizeof_;
3945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3952 rm -f conftest.$ac_objext
3953 if { (ac_try="$ac_compile"
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3959 (eval "$ac_compile") 2>conftest.er1
3961 grep -v '^ *+' conftest.er1 >conftest.err
3963 cat conftest.err >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } && {
3966 test -z "$ac_c_werror_flag" ||
3967 test ! -s conftest.err
3968 } && test -s conftest.$ac_objext; then
3971 echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.$ac_ext >&5
3974 ac_lo=`expr '(' $ac_mid ')' + 1`
3977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3980 ?*) ac_cv_sizeof_void_p=$ac_lo;;
3981 '') if test "$ac_cv_type_void_p" = yes; then
3982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
3983 See \`config.log' for more details." >&5
3984 echo "$as_me: error: cannot compute sizeof (void *)
3985 See \`config.log' for more details." >&2;}
3986 { (exit 77); exit 77; }; }
3988 ac_cv_sizeof_void_p=0
3992 cat >conftest.$ac_ext <<_ACEOF
3995 cat confdefs.h >>conftest.$ac_ext
3996 cat >>conftest.$ac_ext <<_ACEOF
3997 /* end confdefs.h. */
3998 $ac_includes_default
3999 typedef void * ac__type_sizeof_;
4000 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4001 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4008 FILE *f = fopen ("conftest.val", "w");
4011 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4013 long int i = longval ();
4014 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4016 fprintf (f, "%ld\n", i);
4020 unsigned long int i = ulongval ();
4021 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4023 fprintf (f, "%lu\n", i);
4025 return ferror (f) || fclose (f) != 0;
4031 rm -f conftest$ac_exeext
4032 if { (ac_try="$ac_link"
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038 (eval "$ac_link") 2>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4042 { (case "(($ac_try" in
4043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4047 (eval "$ac_try") 2>&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; }; then
4051 ac_cv_sizeof_void_p=`cat conftest.val`
4053 echo "$as_me: program exited with status $ac_status" >&5
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4058 if test "$ac_cv_type_void_p" = yes; then
4059 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
4060 See \`config.log' for more details." >&5
4061 echo "$as_me: error: cannot compute sizeof (void *)
4062 See \`config.log' for more details." >&2;}
4063 { (exit 77); exit 77; }; }
4065 ac_cv_sizeof_void_p=0
4068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4072 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
4073 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
4077 cat >>confdefs.h <<_ACEOF
4078 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4083 if test $ac_cv_sizeof_size_t -lt $ac_cv_sizeof_void_p; then
4084 { echo "$as_me:$LINENO: WARNING: size_t cannot represent the amount of used memory of a process" >&5
4085 echo "$as_me: WARNING: size_t cannot represent the amount of used memory of a process" >&2;}
4086 { echo "$as_me:$LINENO: WARNING: please report this to <samba-technical@samba.org>" >&5
4087 echo "$as_me: WARNING: please report this to <samba-technical@samba.org>" >&2;}
4088 { echo "$as_me:$LINENO: WARNING: sizeof(size_t) = $ac_cv_sizeof_size_t" >&5
4089 echo "$as_me: WARNING: sizeof(size_t) = $ac_cv_sizeof_size_t" >&2;}
4090 { echo "$as_me:$LINENO: WARNING: sizeof(void *) = $ac_cv_sizeof_void_p" >&5
4091 echo "$as_me: WARNING: sizeof(void *) = $ac_cv_sizeof_void_p" >&2;}
4092 { { echo "$as_me:$LINENO: error: sizeof(size_t) < sizeof(void *)" >&5
4093 echo "$as_me: error: sizeof(size_t) < sizeof(void *)" >&2;}
4094 { (exit 1); exit 1; }; }
4098 # Extract the first word of "xsltproc", so it can be a program name with args.
4099 set dummy xsltproc; ac_word=$2
4100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4102 if test "${ac_cv_path_XSLTPROC+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4114 test -z "$as_dir" && as_dir=.
4115 for ac_exec_ext in '' $ac_executable_extensions; do
4116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4117 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
4118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 XSLTPROC=$ac_cv_path_XSLTPROC
4129 if test -n "$XSLTPROC"; then
4130 { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
4131 echo "${ECHO_T}$XSLTPROC" >&6; }
4133 { echo "$as_me:$LINENO: result: no" >&5
4134 echo "${ECHO_T}no" >&6; }
4139 if test -n "$XSLTPROC"; then
4144 ac_config_files="$ac_config_files Makefile talloc.pc"
4146 cat >confcache <<\_ACEOF
4147 # This file is a shell script that caches the results of configure
4148 # tests run on this system so they can be shared between configure
4149 # scripts and configure runs, see configure's option --config-cache.
4150 # It is not useful on other systems. If it contains results you don't
4151 # want to keep, you may remove or edit it.
4153 # config.status only pays attention to the cache file if you give it
4154 # the --recheck option to rerun configure.
4156 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4157 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4162 # The following way of writing the cache mishandles newlines in values,
4163 # but we know of no workaround that is simple, portable, and efficient.
4164 # So, we kill variables containing newlines.
4165 # Ultrix sh set writes to stderr and can't be redirected directly,
4166 # and sets the high bit in the cache file unless we assign to the vars.
4168 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4169 eval ac_val=\$$ac_var
4173 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4174 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4177 _ | IFS | as_nl) ;; #(
4178 *) $as_unset $ac_var ;;
4184 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4185 *${as_nl}ac_space=\ *)
4186 # `set' does not quote correctly, so add quotes (double-quote
4187 # substitution turns \\\\ into \\, and sed turns \\ into \).
4190 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4193 # `set' quotes correctly as required by POSIX, so do not add quotes.
4194 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4203 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4205 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4207 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4208 if test -w "$cache_file"; then
4209 test "x$cache_file" != "x/dev/null" &&
4210 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4211 echo "$as_me: updating cache $cache_file" >&6;}
4212 cat confcache >$cache_file
4214 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4215 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4220 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4221 # Let make expand exec_prefix.
4222 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4224 DEFS=-DHAVE_CONFIG_H
4228 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4229 # 1. Remove the extension, and $U if already installed.
4230 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4231 ac_i=`echo "$ac_i" | sed "$ac_script"`
4232 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4233 # will be set to the directory where LIBOBJS objects are built.
4234 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4235 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4239 LTLIBOBJS=$ac_ltlibobjs
4243 : ${CONFIG_STATUS=./config.status}
4244 ac_clean_files_save=$ac_clean_files
4245 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4246 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4247 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4248 cat >$CONFIG_STATUS <<_ACEOF
4250 # Generated by $as_me.
4251 # Run this file to recreate the current configuration.
4252 # Compiler output produced by configure, useful for debugging
4253 # configure, is in config.log if it exists.
4258 SHELL=\${CONFIG_SHELL-$SHELL}
4261 cat >>$CONFIG_STATUS <<\_ACEOF
4262 ## --------------------- ##
4263 ## M4sh Initialization. ##
4264 ## --------------------- ##
4266 # Be more Bourne compatible
4267 DUALCASE=1; export DUALCASE # for MKS sh
4268 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4271 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4272 # is contrary to our usage. Disable this feature.
4273 alias -g '${1+"$@"}'='"$@"'
4274 setopt NO_GLOB_SUBST
4276 case `(set -o) 2>/dev/null` in
4277 *posix*) set -o posix ;;
4286 # Avoid depending upon Character Ranges.
4287 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4288 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4289 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4290 as_cr_digits='0123456789'
4291 as_cr_alnum=$as_cr_Letters$as_cr_digits
4293 # The user is always right.
4294 if test "${PATH_SEPARATOR+set}" != set; then
4295 echo "#! /bin/sh" >conf$$.sh
4296 echo "exit 0" >>conf$$.sh
4298 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4306 # Support unset when possible.
4307 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4315 # We need space, tab and new line, in precisely that order. Quoting is
4316 # there to prevent editors from complaining about space-tab.
4317 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4318 # splitting by setting IFS to empty value.)
4323 # Find who we are. Look in the path if we contain no directory separator.
4325 *[\\/]* ) as_myself=$0 ;;
4326 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir=.
4331 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4337 # We did not find ourselves, most probably we were run as `sh COMMAND'
4338 # in which case we are not to be found in the path.
4339 if test "x$as_myself" = x; then
4342 if test ! -f "$as_myself"; then
4343 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4344 { (exit 1); exit 1; }
4347 # Work around bugs in pre-3.0 UWIN ksh.
4348 for as_var in ENV MAIL MAILPATH
4349 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4357 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4358 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4359 LC_TELEPHONE LC_TIME
4361 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4362 eval $as_var=C; export $as_var
4364 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4368 # Required to use basename.
4369 if expr a : '\(a\)' >/dev/null 2>&1 &&
4370 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4376 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4377 as_basename=basename
4383 # Name of the executable.
4384 as_me=`$as_basename -- "$0" ||
4385 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4386 X"$0" : 'X\(//\)$' \| \
4387 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4389 sed '/^.*\/\([^/][^/]*\)\/*$/{
4410 test "x$as_lineno_1" != "x$as_lineno_2" &&
4411 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4413 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4414 # uniformly replaced by the line number. The first 'sed' inserts a
4415 # line-number line after each line using $LINENO; the second 'sed'
4416 # does the real work. The second script uses 'N' to pair each
4417 # line-number line with the line containing $LINENO, and appends
4418 # trailing '-' during substitution so that $LINENO is not a special
4420 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4421 # scripts with optimization help from Paolo Bonzini. Blame Lee
4422 # E. McMahon (1931-1989) for sed's syntax. :-)
4434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4438 chmod +x "$as_me.lineno" ||
4439 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4440 { (exit 1); exit 1; }; }
4442 # Don't try to exec as it changes $[0], causing all sort of problems
4443 # (the dirname of $[0] is not the place where we might find the
4444 # original and so on. Autoconf is especially sensitive to this).
4446 # Exit status is that of the last command.
4451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4457 ECHO_C= ECHO_N= ECHO_T=
4460 case `echo 'x\c'` in
4461 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4468 if expr a : '\(a\)' >/dev/null 2>&1 &&
4469 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4475 rm -f conf$$ conf$$.exe conf$$.file
4476 if test -d conf$$.dir; then
4477 rm -f conf$$.dir/conf$$.file
4483 if ln -s conf$$.file conf$$ 2>/dev/null; then
4485 # ... but there are two gotchas:
4486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4488 # In both cases, we have to default to `cp -p'.
4489 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4491 elif ln conf$$.file conf$$ 2>/dev/null; then
4496 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4497 rmdir conf$$.dir 2>/dev/null
4499 if mkdir -p . 2>/dev/null; then
4502 test -d ./-p && rmdir ./-p
4506 if test -x / >/dev/null 2>&1; then
4509 if ls -dL / >/dev/null 2>&1; then
4516 if test -d "$1"; then
4522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4523 ???[sx]*):;;*)false;;esac;fi
4527 as_executable_p=$as_test_x
4529 # Sed expression to map a string onto a valid CPP name.
4530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4532 # Sed expression to map a string onto a valid variable name.
4533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4538 # Save the log message, to keep $[0] and so on meaningful, and to
4539 # report actual input values of CONFIG_FILES etc. instead of their
4540 # values after options handling.
4542 This file was extended by talloc $as_me 1.1.0, which was
4543 generated by GNU Autoconf 2.61. Invocation command line was
4545 CONFIG_FILES = $CONFIG_FILES
4546 CONFIG_HEADERS = $CONFIG_HEADERS
4547 CONFIG_LINKS = $CONFIG_LINKS
4548 CONFIG_COMMANDS = $CONFIG_COMMANDS
4551 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4556 cat >>$CONFIG_STATUS <<_ACEOF
4557 # Files that config.status was made for.
4558 config_files="$ac_config_files"
4559 config_headers="$ac_config_headers"
4563 cat >>$CONFIG_STATUS <<\_ACEOF
4565 \`$as_me' instantiates files from templates according to the
4566 current configuration.
4568 Usage: $0 [OPTIONS] [FILE]...
4570 -h, --help print this help, then exit
4571 -V, --version print version number and configuration settings, then exit
4572 -q, --quiet do not print progress messages
4573 -d, --debug don't remove temporary files
4574 --recheck update $as_me by reconfiguring in the same conditions
4575 --file=FILE[:TEMPLATE]
4576 instantiate the configuration file FILE
4577 --header=FILE[:TEMPLATE]
4578 instantiate the configuration header FILE
4580 Configuration files:
4583 Configuration headers:
4586 Report bugs to <bug-autoconf@gnu.org>."
4589 cat >>$CONFIG_STATUS <<_ACEOF
4591 talloc config.status 1.1.0
4592 configured by $0, generated by GNU Autoconf 2.61,
4593 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4595 Copyright (C) 2006 Free Software Foundation, Inc.
4596 This config.status script is free software; the Free Software Foundation
4597 gives unlimited permission to copy, distribute and modify it."
4603 cat >>$CONFIG_STATUS <<\_ACEOF
4604 # If no file are specified by the user, then we need to provide default
4605 # value. By we need to know if files were specified by the user.
4611 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4612 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4623 # Handling of the options.
4624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4627 echo "$ac_cs_version"; exit ;;
4628 --debug | --debu | --deb | --de | --d | -d )
4630 --file | --fil | --fi | --f )
4632 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4633 ac_need_defaults=false;;
4634 --header | --heade | --head | --hea )
4636 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4637 ac_need_defaults=false;;
4639 # Conflict between --help and --header
4640 { echo "$as_me: error: ambiguous option: $1
4641 Try \`$0 --help' for more information." >&2
4642 { (exit 1); exit 1; }; };;
4643 --help | --hel | -h )
4644 echo "$ac_cs_usage"; exit ;;
4645 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4646 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4650 -*) { echo "$as_me: error: unrecognized option: $1
4651 Try \`$0 --help' for more information." >&2
4652 { (exit 1); exit 1; }; } ;;
4654 *) ac_config_targets="$ac_config_targets $1"
4655 ac_need_defaults=false ;;
4661 ac_configure_extra_args=
4663 if $ac_cs_silent; then
4665 ac_configure_extra_args="$ac_configure_extra_args --silent"
4669 cat >>$CONFIG_STATUS <<_ACEOF
4670 if \$ac_cs_recheck; then
4671 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4674 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4678 cat >>$CONFIG_STATUS <<\_ACEOF
4682 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4683 ## Running $as_me. ##
4689 cat >>$CONFIG_STATUS <<_ACEOF
4692 cat >>$CONFIG_STATUS <<\_ACEOF
4694 # Handling of arguments.
4695 for ac_config_target in $ac_config_targets
4697 case $ac_config_target in
4698 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4699 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4700 "talloc.pc") CONFIG_FILES="$CONFIG_FILES talloc.pc" ;;
4702 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4703 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4704 { (exit 1); exit 1; }; };;
4709 # If the user did not use the arguments to specify the items to instantiate,
4710 # then the envvar interface is used. Set only those that are not.
4711 # We use the long form for the default assignment because of an extremely
4712 # bizarre bug on SunOS 4.1.3.
4713 if $ac_need_defaults; then
4714 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4715 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4718 # Have a temporary directory for convenience. Make it in the build tree
4719 # simply because there is no reason against having it here, and in addition,
4720 # creating and moving files from /tmp can sometimes cause problems.
4721 # Hook for its removal unless debugging.
4722 # Note that there is a small window in which the directory will not be cleaned:
4723 # after its creation but before its name has been assigned to `$tmp'.
4727 trap 'exit_status=$?
4728 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4730 trap '{ (exit 1); exit 1; }' 1 2 13 15
4732 # Create a (secure) tmp directory for tmp files.
4735 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4736 test -n "$tmp" && test -d "$tmp"
4739 tmp=./conf$$-$RANDOM
4740 (umask 077 && mkdir "$tmp")
4743 echo "$me: cannot create a temporary directory in ." >&2
4744 { (exit 1); exit 1; }
4748 # Set up the sed scripts for CONFIG_FILES section.
4751 # No need to generate the scripts if there are no CONFIG_FILES.
4752 # This happens for instance when ./config.status config.h
4753 if test -n "$CONFIG_FILES"; then
4760 for ac_last_try in false false false false false :; do
4761 cat >conf$$subs.sed <<_ACEOF
4762 SHELL!$SHELL$ac_delim
4763 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4764 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4765 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4766 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4767 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4768 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4769 exec_prefix!$exec_prefix$ac_delim
4770 prefix!$prefix$ac_delim
4771 program_transform_name!$program_transform_name$ac_delim
4772 bindir!$bindir$ac_delim
4773 sbindir!$sbindir$ac_delim
4774 libexecdir!$libexecdir$ac_delim
4775 datarootdir!$datarootdir$ac_delim
4776 datadir!$datadir$ac_delim
4777 sysconfdir!$sysconfdir$ac_delim
4778 sharedstatedir!$sharedstatedir$ac_delim
4779 localstatedir!$localstatedir$ac_delim
4780 includedir!$includedir$ac_delim
4781 oldincludedir!$oldincludedir$ac_delim
4782 docdir!$docdir$ac_delim
4783 infodir!$infodir$ac_delim
4784 htmldir!$htmldir$ac_delim
4785 dvidir!$dvidir$ac_delim
4786 pdfdir!$pdfdir$ac_delim
4787 psdir!$psdir$ac_delim
4788 libdir!$libdir$ac_delim
4789 localedir!$localedir$ac_delim
4790 mandir!$mandir$ac_delim
4792 ECHO_C!$ECHO_C$ac_delim
4793 ECHO_N!$ECHO_N$ac_delim
4794 ECHO_T!$ECHO_T$ac_delim
4796 build_alias!$build_alias$ac_delim
4797 host_alias!$host_alias$ac_delim
4798 target_alias!$target_alias$ac_delim
4799 tallocdir!$tallocdir$ac_delim
4800 TALLOC_OBJ!$TALLOC_OBJ$ac_delim
4801 TALLOC_CFLAGS!$TALLOC_CFLAGS$ac_delim
4802 TALLOC_LIBS!$TALLOC_LIBS$ac_delim
4804 CFLAGS!$CFLAGS$ac_delim
4805 LDFLAGS!$LDFLAGS$ac_delim
4806 CPPFLAGS!$CPPFLAGS$ac_delim
4807 ac_ct_CC!$ac_ct_CC$ac_delim
4808 EXEEXT!$EXEEXT$ac_delim
4809 OBJEXT!$OBJEXT$ac_delim
4812 EGREP!$EGREP$ac_delim
4813 XSLTPROC!$XSLTPROC$ac_delim
4814 DOC_TARGET!$DOC_TARGET$ac_delim
4815 LIBOBJS!$LIBOBJS$ac_delim
4816 LTLIBOBJS!$LTLIBOBJS$ac_delim
4819 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
4821 elif $ac_last_try; then
4822 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4823 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4824 { (exit 1); exit 1; }; }
4826 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4830 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4831 if test -n "$ac_eof"; then
4832 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4833 ac_eof=`expr $ac_eof + 1`
4836 cat >>$CONFIG_STATUS <<_ACEOF
4837 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4838 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4841 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4842 s/^/s,@/; s/!/@,|#_!!_#|/
4845 s/'"$ac_delim"'$/,g/; t
4847 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4848 ' >>$CONFIG_STATUS <conf$$subs.sed
4849 rm -f conf$$subs.sed
4850 cat >>$CONFIG_STATUS <<_ACEOF
4857 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4858 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4859 # trailing colons and then remove the whole line if VPATH becomes empty
4860 # (actually we leave an empty line to preserve line numbers).
4861 if test "x$srcdir" = x.; then
4862 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4866 s/^\([^=]*=[ ]*\):*/\1/
4872 cat >>$CONFIG_STATUS <<\_ACEOF
4873 fi # test -n "$CONFIG_FILES"
4876 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
4879 :[FHLC]) ac_mode=$ac_tag; continue;;
4881 case $ac_mode$ac_tag in
4883 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4884 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4885 { (exit 1); exit 1; }; };;
4886 :[FH]-) ac_tag=-:-;;
4887 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4904 -) ac_f="$tmp/stdin";;
4905 *) # Look for the file first in the build tree, then in the source tree
4906 # (if the path is not absolute). The absolute path cannot be DOS-style,
4907 # because $ac_f cannot contain `:'.
4911 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4913 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4914 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4915 { (exit 1); exit 1; }; };;
4917 ac_file_inputs="$ac_file_inputs $ac_f"
4920 # Let's still pretend it is `configure' which instantiates (i.e., don't
4921 # use $as_me), people would be surprised to read:
4922 # /* config.h. Generated by config.status. */
4923 configure_input="Generated from "`IFS=:
4924 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4925 if test x"$ac_file" != x-; then
4926 configure_input="$ac_file. $configure_input"
4927 { echo "$as_me:$LINENO: creating $ac_file" >&5
4928 echo "$as_me: creating $ac_file" >&6;}
4932 *:-:* | *:-) cat >"$tmp/stdin";;
4937 ac_dir=`$as_dirname -- "$ac_file" ||
4938 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4939 X"$ac_file" : 'X\(//\)[^/]' \| \
4940 X"$ac_file" : 'X\(//\)$' \| \
4941 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4962 -*) as_dir=./$as_dir;;
4964 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4968 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4969 *) as_qdir=$as_dir;;
4971 as_dirs="'$as_qdir' $as_dirs"
4972 as_dir=`$as_dirname -- "$as_dir" ||
4973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4974 X"$as_dir" : 'X\(//\)[^/]' \| \
4975 X"$as_dir" : 'X\(//\)$' \| \
4976 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4995 test -d "$as_dir" && break
4997 test -z "$as_dirs" || eval "mkdir $as_dirs"
4998 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4999 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5000 { (exit 1); exit 1; }; }; }
5004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5006 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5007 # A ".." for each directory in $ac_dir_suffix.
5008 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5009 case $ac_top_builddir_sub in
5010 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5011 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5014 ac_abs_top_builddir=$ac_pwd
5015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5016 # for backward compatibility:
5017 ac_top_builddir=$ac_top_build_prefix
5020 .) # We are building in place.
5022 ac_top_srcdir=$ac_top_builddir_sub
5023 ac_abs_top_srcdir=$ac_pwd ;;
5024 [\\/]* | ?:[\\/]* ) # Absolute name.
5025 ac_srcdir=$srcdir$ac_dir_suffix;
5026 ac_top_srcdir=$srcdir
5027 ac_abs_top_srcdir=$srcdir ;;
5029 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5030 ac_top_srcdir=$ac_top_build_prefix$srcdir
5031 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5044 cat >>$CONFIG_STATUS <<\_ACEOF
5045 # If the template does not know about datarootdir, expand it.
5046 # FIXME: This hack should be removed a few years after 2.60.
5047 ac_datarootdir_hack=; ac_datarootdir_seen=
5049 case `sed -n '/datarootdir/ {
5058 ' $ac_file_inputs` in
5059 *datarootdir*) ac_datarootdir_seen=yes;;
5060 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5061 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5062 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5064 cat >>$CONFIG_STATUS <<_ACEOF
5065 ac_datarootdir_hack='
5066 s&@datadir@&$datadir&g
5067 s&@docdir@&$docdir&g
5068 s&@infodir@&$infodir&g
5069 s&@localedir@&$localedir&g
5070 s&@mandir@&$mandir&g
5071 s&\\\${datarootdir}&$datarootdir&g' ;;
5075 # Neutralize VPATH when `$srcdir' = `.'.
5076 # Shell code in configure.ac might set extrasub.
5077 # FIXME: do we really want to maintain this feature?
5078 cat >>$CONFIG_STATUS <<_ACEOF
5082 cat >>$CONFIG_STATUS <<\_ACEOF
5084 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5085 s&@configure_input@&$configure_input&;t t
5086 s&@top_builddir@&$ac_top_builddir_sub&;t t
5087 s&@srcdir@&$ac_srcdir&;t t
5088 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5089 s&@top_srcdir@&$ac_top_srcdir&;t t
5090 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5091 s&@builddir@&$ac_builddir&;t t
5092 s&@abs_builddir@&$ac_abs_builddir&;t t
5093 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5094 $ac_datarootdir_hack
5095 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5097 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5098 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5099 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5100 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5101 which seems to be undefined. Please make sure it is defined." >&5
5102 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5103 which seems to be undefined. Please make sure it is defined." >&2;}
5107 -) cat "$tmp/out"; rm -f "$tmp/out";;
5108 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5117 # Transform confdefs.h into a sed script `conftest.defines', that
5118 # substitutes the proper values into config.h.in to produce config.h.
5119 rm -f conftest.defines conftest.tail
5120 # First, append a space to every undef/define line, to ease matching.
5121 echo 's/$/ /' >conftest.defines
5122 # Then, protect against being on the right side of a sed subst, or in
5123 # an unquoted here document, in config.status. If some macros were
5124 # called several times there might be several #defines for the same
5125 # symbol, which is useless. But do not sort them, since the last
5126 # AC_DEFINE must be honored.
5127 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5128 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5129 # NAME is the cpp macro being defined, VALUE is the value it is being given.
5130 # PARAMS is the parameter list in the macro definition--in most cases, it's
5131 # just an empty string.
5132 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5133 ac_dB='\\)[ (].*,\\1define\\2'
5141 s/^[ ]*#[ ]*define[ ][ ]*//
5146 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5147 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5148 ' >>conftest.defines
5150 # Remove the space that was appended to ease matching.
5151 # Then replace #undef with comments. This is necessary, for
5152 # example, in the case of _POSIX_SOURCE, which is predefined and required
5153 # on some systems where configure will not decide to define it.
5154 # (The regexp can be short, since the line contains either #define or #undef.)
5156 s,^[ #]*u.*,/* & */,' >>conftest.defines
5158 # Break up conftest.defines:
5161 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5162 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5163 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5165 ac_in='$ac_file_inputs'
5166 ac_out='"$tmp/out1"'
5167 ac_nxt='"$tmp/out2"'
5171 # Write a here document:
5172 cat >>$CONFIG_STATUS <<_ACEOF
5173 # First, check the format of the line:
5174 cat >"\$tmp/defines.sed" <<\\CEOF
5175 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5176 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5180 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5182 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5183 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5184 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5185 grep . conftest.tail >/dev/null || break
5186 rm -f conftest.defines
5187 mv conftest.tail conftest.defines
5189 rm -f conftest.defines conftest.tail
5191 echo "ac_result=$ac_in" >>$CONFIG_STATUS
5192 cat >>$CONFIG_STATUS <<\_ACEOF
5193 if test x"$ac_file" != x-; then
5194 echo "/* $configure_input */" >"$tmp/config.h"
5195 cat "$ac_result" >>"$tmp/config.h"
5196 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5197 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5198 echo "$as_me: $ac_file is unchanged" >&6;}
5201 mv "$tmp/config.h" $ac_file
5204 echo "/* $configure_input */"
5216 { (exit 0); exit 0; }
5218 chmod +x $CONFIG_STATUS
5219 ac_clean_files=$ac_clean_files_save
5222 # configure is writing to config.log, and then calls config.status.
5223 # config.status does its own redirection, appending to config.log.
5224 # Unfortunately, on DOS this fails, as config.log is still kept open
5225 # by configure, so config.status won't be able to write to it; its
5226 # output is simply discarded. So we exec the FD to /dev/null,
5227 # effectively closing config.log, so it can be properly (re)opened and
5228 # appended to by config.status. When coming back to configure, we
5229 # need to make the FD available again.
5230 if test "$no_create" != yes; then
5232 ac_config_status_args=
5233 test "$silent" = yes &&
5234 ac_config_status_args="$ac_config_status_args --quiet"
5236 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5238 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5239 # would make configure fail if this is the last instruction.
5240 $ac_cs_success || { (exit 1); exit 1; }