2 # From configure.in 0.1.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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 *posix*) set -o posix;; esac
25 BIN_SH=xpg4; export BIN_SH # for Tru64
26 DUALCASE=1; export DUALCASE # for MKS sh
30 # Avoid depending upon Character Ranges.
31 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34 as_cr_digits='0123456789'
35 as_cr_alnum=$as_cr_Letters$as_cr_digits
37 # The user is always right.
38 if test "${PATH_SEPARATOR+set}" != set; then
39 echo "#! /bin/sh" >conf$$.sh
40 echo "exit 0" >>conf$$.sh
42 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50 # Support unset when possible.
51 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
59 # We need space, tab and new line, in precisely that order. Quoting is
60 # there to prevent editors from complaining about space-tab.
61 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
62 # splitting by setting IFS to empty value.)
67 # Find who we are. Look in the path if we contain no directory separator.
69 *[\\/]* ) as_myself=$0 ;;
70 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 test -z "$as_dir" && as_dir=.
75 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 # We did not find ourselves, most probably we were run as `sh COMMAND'
82 # in which case we are not to be found in the path.
83 if test "x$as_myself" = x; then
86 if test ! -f "$as_myself"; then
87 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 # Work around bugs in pre-3.0 UWIN ksh.
92 for as_var in ENV MAIL MAILPATH
93 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
106 eval $as_var=C; export $as_var
108 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112 # Required to use basename.
113 if expr a : '\(a\)' >/dev/null 2>&1 &&
114 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 # Name of the executable.
128 as_me=`$as_basename -- "$0" ||
129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
130 X"$0" : 'X\(//\)$' \| \
131 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 sed '/^.*\/\([^/][^/]*\)\/*$/{
151 if test "x$CONFIG_SHELL" = x; then
152 if (eval ":") 2>/dev/null; then
158 if test $as_have_required = yes && (eval ":
168 as_func_ret_success () {
171 as_func_ret_failure () {
176 if as_func_success; then
180 echo as_func_success failed.
183 if as_func_failure; then
185 echo as_func_failure succeeded.
188 if as_func_ret_success; then
192 echo as_func_ret_success failed.
195 if as_func_ret_failure; then
197 echo as_func_ret_failure succeeded.
200 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 echo positional parameters were not saved.
207 test \$exitcode = 0) || { (exit 1); exit 1; }
212 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
213 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
214 ") 2> /dev/null; then
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 for as_shell in $as_candidate_shells $SHELL; do
234 # Try only shells that exist, to save several forks.
235 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
236 { ("$as_shell") 2> /dev/null <<\_ASEOF
237 # Be Bourne compatible
238 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
242 # is contrary to our usage. Disable this feature.
243 alias -g '${1+"$@"}'='"$@"'
246 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
248 BIN_SH=xpg4; export BIN_SH # for Tru64
249 DUALCASE=1; export DUALCASE # for MKS sh
254 CONFIG_SHELL=$as_shell
256 if { "$as_shell" 2> /dev/null <<\_ASEOF
257 # Be Bourne compatible
258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
266 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268 BIN_SH=xpg4; export BIN_SH # for Tru64
269 DUALCASE=1; export DUALCASE # for MKS sh
281 as_func_ret_success () {
284 as_func_ret_failure () {
289 if as_func_success; then
293 echo as_func_success failed.
296 if as_func_failure; then
298 echo as_func_failure succeeded.
301 if as_func_ret_success; then
305 echo as_func_ret_success failed.
308 if as_func_ret_failure; then
310 echo as_func_ret_failure succeeded.
313 if ( set x; as_func_ret_success y && test x = "$1" ); then
317 echo positional parameters were not saved.
320 test $exitcode = 0) || { (exit 1); exit 1; }
325 test "x$as_lineno_1" != "x$as_lineno_2" &&
326 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
337 if test "x$CONFIG_SHELL" != x; then
338 for as_var in BASH_ENV ENV
339 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
342 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
346 if test $as_have_required = no; then
347 echo This script requires a shell more modern than all the
348 echo shells that I found on your system. Please install a
349 echo modern shell, or manually run the script under such a
350 echo shell if you do have one.
351 { (exit 1); exit 1; }
361 (eval "as_func_return () {
370 as_func_ret_success () {
373 as_func_ret_failure () {
378 if as_func_success; then
382 echo as_func_success failed.
385 if as_func_failure; then
387 echo as_func_failure succeeded.
390 if as_func_ret_success; then
394 echo as_func_ret_success failed.
397 if as_func_ret_failure; then
399 echo as_func_ret_failure succeeded.
402 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
406 echo positional parameters were not saved.
409 test \$exitcode = 0") || {
410 echo No shell found that supports shell functions.
411 echo Please tell autoconf@gnu.org about your system,
412 echo including any error possibly output before this
420 test "x$as_lineno_1" != "x$as_lineno_2" &&
421 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
423 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
424 # uniformly replaced by the line number. The first 'sed' inserts a
425 # line-number line after each line using $LINENO; the second 'sed'
426 # does the real work. The second script uses 'N' to pair each
427 # line-number line with the line containing $LINENO, and appends
428 # trailing '-' during substitution so that $LINENO is not a special
430 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
431 # scripts with optimization help from Paolo Bonzini. Blame Lee
432 # E. McMahon (1931-1989) for sed's syntax. :-)
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 chmod +x "$as_me.lineno" ||
449 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
450 { (exit 1); exit 1; }; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
461 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 ECHO_C= ECHO_N= ECHO_T=
471 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 if expr a : '\(a\)' >/dev/null 2>&1 &&
479 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
506 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
507 rmdir conf$$.dir 2>/dev/null
509 if mkdir -p . 2>/dev/null; then
512 test -d ./-p && rmdir ./-p
516 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
517 # systems may use methods other than mode bits to determine executability.
518 cat >conf$$.file <<_ASEOF
523 if test -x conf$$.file >/dev/null 2>&1; then
524 as_executable_p="test -x"
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 exec 7<&0 </dev/null 6>&1
541 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix=/usr/local
550 ac_config_libobj_dir=.
556 SHELL=${CONFIG_SHELL-/bin/sh}
558 # Identity of this package.
565 ac_unique_file="rlm_acctlog.c"
566 # Factoring default headers for most tests.
567 ac_includes_default="\
570 # include <sys/types.h>
573 # include <sys/stat.h>
584 # if !STDC_HEADERS && HAVE_MEMORY_H
590 # include <strings.h>
593 # include <inttypes.h>
611 program_transform_name
655 ac_precious_vars='build_alias
665 # Initialize some variables set by options.
667 ac_init_version=false
668 # The variables have the same names as the options, with
669 # dashes changed to underlines.
677 program_transform_name=s,x,x,
685 # Installation directory options.
686 # These are left unexpanded so users can "make install exec_prefix=/foo"
687 # and all the variables that are supposed to be based on exec_prefix
688 # by default will actually change.
689 # Use braces instead of parens because sh, perl, etc. also accept them.
690 # (The list follows the same order as the GNU Coding Standards.)
691 bindir='${exec_prefix}/bin'
692 sbindir='${exec_prefix}/sbin'
693 libexecdir='${exec_prefix}/libexec'
694 datarootdir='${prefix}/share'
695 datadir='${datarootdir}'
696 sysconfdir='${prefix}/etc'
697 sharedstatedir='${prefix}/com'
698 localstatedir='${prefix}/var'
699 includedir='${prefix}/include'
700 oldincludedir='/usr/include'
701 docdir='${datarootdir}/doc/${PACKAGE}'
702 infodir='${datarootdir}/info'
707 libdir='${exec_prefix}/lib'
708 localedir='${datarootdir}/locale'
709 mandir='${datarootdir}/man'
715 # If the previous option needs an argument, assign it.
716 if test -n "$ac_prev"; then
717 eval $ac_prev=\$ac_option
723 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
727 # Accept the important Cygnus configure options, so we can diagnose typos.
729 case $ac_dashdash$ac_option in
733 -bindir | --bindir | --bindi | --bind | --bin | --bi)
735 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
738 -build | --build | --buil | --bui | --bu)
739 ac_prev=build_alias ;;
740 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
741 build_alias=$ac_optarg ;;
743 -cache-file | --cache-file | --cache-fil | --cache-fi \
744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
745 ac_prev=cache_file ;;
746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
748 cache_file=$ac_optarg ;;
751 cache_file=config.cache ;;
753 -datadir | --datadir | --datadi | --datad)
755 -datadir=* | --datadir=* | --datadi=* | --datad=*)
756 datadir=$ac_optarg ;;
758 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
759 | --dataroo | --dataro | --datar)
760 ac_prev=datarootdir ;;
761 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
762 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
763 datarootdir=$ac_optarg ;;
765 -disable-* | --disable-*)
766 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
769 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
770 { (exit 1); exit 1; }; }
771 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
772 eval enable_$ac_feature=no ;;
774 -docdir | --docdir | --docdi | --doc | --do)
776 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
779 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
781 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
784 -enable-* | --enable-*)
785 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
788 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
789 { (exit 1); exit 1; }; }
790 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
791 eval enable_$ac_feature=\$ac_optarg ;;
793 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
794 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
795 | --exec | --exe | --ex)
796 ac_prev=exec_prefix ;;
797 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
798 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
799 | --exec=* | --exe=* | --ex=*)
800 exec_prefix=$ac_optarg ;;
802 -gas | --gas | --ga | --g)
803 # Obsolete; use --with-gas.
806 -help | --help | --hel | --he | -h)
808 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
809 ac_init_help=recursive ;;
810 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
811 ac_init_help=short ;;
813 -host | --host | --hos | --ho)
814 ac_prev=host_alias ;;
815 -host=* | --host=* | --hos=* | --ho=*)
816 host_alias=$ac_optarg ;;
818 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
820 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
822 htmldir=$ac_optarg ;;
824 -includedir | --includedir | --includedi | --included | --include \
825 | --includ | --inclu | --incl | --inc)
826 ac_prev=includedir ;;
827 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
828 | --includ=* | --inclu=* | --incl=* | --inc=*)
829 includedir=$ac_optarg ;;
831 -infodir | --infodir | --infodi | --infod | --info | --inf)
833 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
834 infodir=$ac_optarg ;;
836 -libdir | --libdir | --libdi | --libd)
838 -libdir=* | --libdir=* | --libdi=* | --libd=*)
841 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
842 | --libexe | --libex | --libe)
843 ac_prev=libexecdir ;;
844 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
845 | --libexe=* | --libex=* | --libe=*)
846 libexecdir=$ac_optarg ;;
848 -localedir | --localedir | --localedi | --localed | --locale)
850 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
851 localedir=$ac_optarg ;;
853 -localstatedir | --localstatedir | --localstatedi | --localstated \
854 | --localstate | --localstat | --localsta | --localst | --locals)
855 ac_prev=localstatedir ;;
856 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
857 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
858 localstatedir=$ac_optarg ;;
860 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
862 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
866 # Obsolete; use --without-fp.
869 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
870 | --no-cr | --no-c | -n)
873 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
874 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
877 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
878 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
879 | --oldin | --oldi | --old | --ol | --o)
880 ac_prev=oldincludedir ;;
881 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
882 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
883 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
884 oldincludedir=$ac_optarg ;;
886 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
888 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
891 -program-prefix | --program-prefix | --program-prefi | --program-pref \
892 | --program-pre | --program-pr | --program-p)
893 ac_prev=program_prefix ;;
894 -program-prefix=* | --program-prefix=* | --program-prefi=* \
895 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
896 program_prefix=$ac_optarg ;;
898 -program-suffix | --program-suffix | --program-suffi | --program-suff \
899 | --program-suf | --program-su | --program-s)
900 ac_prev=program_suffix ;;
901 -program-suffix=* | --program-suffix=* | --program-suffi=* \
902 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
903 program_suffix=$ac_optarg ;;
905 -program-transform-name | --program-transform-name \
906 | --program-transform-nam | --program-transform-na \
907 | --program-transform-n | --program-transform- \
908 | --program-transform | --program-transfor \
909 | --program-transfo | --program-transf \
910 | --program-trans | --program-tran \
911 | --progr-tra | --program-tr | --program-t)
912 ac_prev=program_transform_name ;;
913 -program-transform-name=* | --program-transform-name=* \
914 | --program-transform-nam=* | --program-transform-na=* \
915 | --program-transform-n=* | --program-transform-=* \
916 | --program-transform=* | --program-transfor=* \
917 | --program-transfo=* | --program-transf=* \
918 | --program-trans=* | --program-tran=* \
919 | --progr-tra=* | --program-tr=* | --program-t=*)
920 program_transform_name=$ac_optarg ;;
922 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
924 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
927 -psdir | --psdir | --psdi | --psd | --ps)
929 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
933 | -silent | --silent | --silen | --sile | --sil)
936 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
938 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
940 sbindir=$ac_optarg ;;
942 -sharedstatedir | --sharedstatedir | --sharedstatedi \
943 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
944 | --sharedst | --shareds | --shared | --share | --shar \
946 ac_prev=sharedstatedir ;;
947 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
948 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
949 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
951 sharedstatedir=$ac_optarg ;;
953 -site | --site | --sit)
955 -site=* | --site=* | --sit=*)
958 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
960 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
963 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
964 | --syscon | --sysco | --sysc | --sys | --sy)
965 ac_prev=sysconfdir ;;
966 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
967 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
968 sysconfdir=$ac_optarg ;;
970 -target | --target | --targe | --targ | --tar | --ta | --t)
971 ac_prev=target_alias ;;
972 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
973 target_alias=$ac_optarg ;;
975 -v | -verbose | --verbose | --verbos | --verbo | --verb)
978 -version | --version | --versio | --versi | --vers | -V)
982 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
985 { echo "$as_me: error: invalid package name: $ac_package" >&2
986 { (exit 1); exit 1; }; }
987 ac_package=`echo $ac_package| sed 's/-/_/g'`
988 eval with_$ac_package=\$ac_optarg ;;
990 -without-* | --without-*)
991 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
994 { echo "$as_me: error: invalid package name: $ac_package" >&2
995 { (exit 1); exit 1; }; }
996 ac_package=`echo $ac_package | sed 's/-/_/g'`
997 eval with_$ac_package=no ;;
1000 # Obsolete; use --with-x.
1003 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1004 | --x-incl | --x-inc | --x-in | --x-i)
1005 ac_prev=x_includes ;;
1006 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1007 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1008 x_includes=$ac_optarg ;;
1010 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1011 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1012 ac_prev=x_libraries ;;
1013 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1014 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1015 x_libraries=$ac_optarg ;;
1017 -*) { echo "$as_me: error: unrecognized option: $ac_option
1018 Try \`$0 --help' for more information." >&2
1019 { (exit 1); exit 1; }; }
1023 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1026 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1027 { (exit 1); exit 1; }; }
1028 eval $ac_envvar=\$ac_optarg
1029 export $ac_envvar ;;
1032 # FIXME: should be removed in autoconf 3.0.
1033 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1034 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1035 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1036 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1042 if test -n "$ac_prev"; then
1043 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1044 { echo "$as_me: error: missing argument to $ac_option" >&2
1045 { (exit 1); exit 1; }; }
1048 # Be sure to have absolute directory names.
1049 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1050 datadir sysconfdir sharedstatedir localstatedir includedir \
1051 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1052 libdir localedir mandir
1054 eval ac_val=\$$ac_var
1056 [\\/$]* | ?:[\\/]* ) continue;;
1057 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1059 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1060 { (exit 1); exit 1; }; }
1063 # There might be people who depend on the old broken behavior: `$host'
1064 # used to hold the argument of --host etc.
1065 # FIXME: To remove some day.
1068 target=$target_alias
1070 # FIXME: To remove some day.
1071 if test "x$host_alias" != x; then
1072 if test "x$build_alias" = x; then
1073 cross_compiling=maybe
1074 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1075 If a cross compiler is detected then cross compile mode will be used." >&2
1076 elif test "x$build_alias" != "x$host_alias"; then
1082 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1084 test "$silent" = yes && exec 6>/dev/null
1087 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1088 ac_ls_di=`ls -di .` &&
1089 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1090 { echo "$as_me: error: Working directory cannot be determined" >&2
1091 { (exit 1); exit 1; }; }
1092 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1093 { echo "$as_me: error: pwd does not report name of working directory" >&2
1094 { (exit 1); exit 1; }; }
1097 # Find the source files, if location was not specified.
1098 if test -z "$srcdir"; then
1099 ac_srcdir_defaulted=yes
1100 # Try the directory containing this script, then the parent directory.
1101 ac_confdir=`$as_dirname -- "$0" ||
1102 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1103 X"$0" : 'X\(//\)[^/]' \| \
1104 X"$0" : 'X\(//\)$' \| \
1105 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1125 if test ! -r "$srcdir/$ac_unique_file"; then
1129 ac_srcdir_defaulted=no
1131 if test ! -r "$srcdir/$ac_unique_file"; then
1132 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1133 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1134 { (exit 1); exit 1; }; }
1136 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1138 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1139 { (exit 1); exit 1; }; }
1141 # When building in place, set srcdir=.
1142 if test "$ac_abs_confdir" = "$ac_pwd"; then
1145 # Remove unnecessary trailing slashes from srcdir.
1146 # Double slashes in file names in object file debugging info
1147 # mess up M-x gdb in Emacs.
1149 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1151 for ac_var in $ac_precious_vars; do
1152 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1153 eval ac_env_${ac_var}_value=\$${ac_var}
1154 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1155 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1159 # Report the --help message.
1161 if test "$ac_init_help" = "long"; then
1162 # Omit some internal or obsolete options to make the list less imposing.
1163 # This message is too long to be a string in the A/UX 3.1 sh.
1165 \`configure' configures this package to adapt to many kinds of systems.
1167 Usage: $0 [OPTION]... [VAR=VALUE]...
1169 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1170 VAR=VALUE. See below for descriptions of some of the useful variables.
1172 Defaults for the options are specified in brackets.
1175 -h, --help display this help and exit
1176 --help=short display options specific to this package
1177 --help=recursive display the short help of all the included packages
1178 -V, --version display version information and exit
1179 -q, --quiet, --silent do not print \`checking...' messages
1180 --cache-file=FILE cache test results in FILE [disabled]
1181 -C, --config-cache alias for \`--cache-file=config.cache'
1182 -n, --no-create do not create output files
1183 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1185 Installation directories:
1186 --prefix=PREFIX install architecture-independent files in PREFIX
1187 [$ac_default_prefix]
1188 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1191 By default, \`make install' will install all the files in
1192 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1193 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1194 for instance \`--prefix=\$HOME'.
1196 For better control, use the options below.
1198 Fine tuning of the installation directories:
1199 --bindir=DIR user executables [EPREFIX/bin]
1200 --sbindir=DIR system admin executables [EPREFIX/sbin]
1201 --libexecdir=DIR program executables [EPREFIX/libexec]
1202 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1203 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1204 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1205 --libdir=DIR object code libraries [EPREFIX/lib]
1206 --includedir=DIR C header files [PREFIX/include]
1207 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1208 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1209 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1210 --infodir=DIR info documentation [DATAROOTDIR/info]
1211 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1212 --mandir=DIR man documentation [DATAROOTDIR/man]
1213 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1214 --htmldir=DIR html documentation [DOCDIR]
1215 --dvidir=DIR dvi documentation [DOCDIR]
1216 --pdfdir=DIR pdf documentation [DOCDIR]
1217 --psdir=DIR ps documentation [DOCDIR]
1224 if test -n "$ac_init_help"; then
1228 Some influential environment variables:
1229 CC C compiler command
1230 CFLAGS C compiler flags
1231 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1232 nonstandard directory <lib dir>
1233 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1234 you have headers in a nonstandard directory <include dir>
1237 Use these variables to override the choices made by `configure' or to help
1238 it to find libraries and programs with nonstandard names/locations.
1244 if test "$ac_init_help" = "recursive"; then
1245 # If there are subdirs, report their specific --help.
1246 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1247 test -d "$ac_dir" || continue
1251 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1253 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1254 # A ".." for each directory in $ac_dir_suffix.
1255 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1256 case $ac_top_builddir_sub in
1257 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1258 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1261 ac_abs_top_builddir=$ac_pwd
1262 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1263 # for backward compatibility:
1264 ac_top_builddir=$ac_top_build_prefix
1267 .) # We are building in place.
1269 ac_top_srcdir=$ac_top_builddir_sub
1270 ac_abs_top_srcdir=$ac_pwd ;;
1271 [\\/]* | ?:[\\/]* ) # Absolute name.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir
1274 ac_abs_top_srcdir=$srcdir ;;
1276 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1277 ac_top_srcdir=$ac_top_build_prefix$srcdir
1278 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1280 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1282 cd "$ac_dir" || { ac_status=$?; continue; }
1283 # Check for guested configure.
1284 if test -f "$ac_srcdir/configure.gnu"; then
1286 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1287 elif test -f "$ac_srcdir/configure"; then
1289 $SHELL "$ac_srcdir/configure" --help=recursive
1291 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1293 cd "$ac_pwd" || { ac_status=$?; break; }
1297 test -n "$ac_init_help" && exit $ac_status
1298 if $ac_init_version; then
1301 generated by GNU Autoconf 2.60
1303 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1304 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1305 This configure script is free software; the Free Software Foundation
1306 gives unlimited permission to copy, distribute and modify it.
1310 cat >config.log <<_ACEOF
1311 This file contains any messages produced by compilers while
1312 running configure, to aid debugging if configure makes a mistake.
1314 It was created by $as_me, which was
1315 generated by GNU Autoconf 2.60. Invocation command line was
1327 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1328 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1329 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1330 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1331 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1333 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1334 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1336 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1337 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1338 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1339 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1340 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1341 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1342 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1350 test -z "$as_dir" && as_dir=.
1351 echo "PATH: $as_dir"
1367 # Keep a trace of the command line.
1368 # Strip out --no-create and --no-recursion so they do not pile up.
1369 # Strip out --silent because we don't want to record it for future runs.
1370 # Also quote any args containing shell meta-characters.
1371 # Make two passes to allow for proper duplicate-argument suppression.
1375 ac_must_keep_next=false
1381 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1383 | -silent | --silent | --silen | --sile | --sil)
1386 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1389 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1391 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1392 if test $ac_must_keep_next = true; then
1393 ac_must_keep_next=false # Got value, back to normal.
1396 *=* | --config-cache | -C | -disable-* | --disable-* \
1397 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1398 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1399 | -with-* | --with-* | -without-* | --without-* | --x)
1400 case "$ac_configure_args0 " in
1401 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1404 -* ) ac_must_keep_next=true ;;
1407 ac_configure_args="$ac_configure_args '$ac_arg'"
1412 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1413 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1415 # When interrupted or exit'd, cleanup temporary files, and complete
1416 # config.log. We remove comments because anyway the quotes in there
1417 # would cause problems or look ugly.
1418 # WARNING: Use '\'' to represent an apostrophe within the trap.
1419 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1420 trap 'exit_status=$?
1421 # Save into config.log some information that might help in debugging.
1426 ## ---------------- ##
1427 ## Cache variables. ##
1428 ## ---------------- ##
1431 # The following way of writing the cache mishandles newlines in values,
1433 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1434 eval ac_val=\$$ac_var
1438 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1439 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1442 _ | IFS | as_nl) ;; #(
1443 *) $as_unset $ac_var ;;
1448 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1449 *${as_nl}ac_space=\ *)
1451 "s/'\''/'\''\\\\'\'''\''/g;
1452 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1455 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1463 ## ----------------- ##
1464 ## Output variables. ##
1465 ## ----------------- ##
1468 for ac_var in $ac_subst_vars
1470 eval ac_val=\$$ac_var
1472 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1474 echo "$ac_var='\''$ac_val'\''"
1478 if test -n "$ac_subst_files"; then
1480 ## ------------------- ##
1481 ## File substitutions. ##
1482 ## ------------------- ##
1485 for ac_var in $ac_subst_files
1487 eval ac_val=\$$ac_var
1489 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1491 echo "$ac_var='\''$ac_val'\''"
1496 if test -s confdefs.h; then
1506 test "$ac_signal" != 0 &&
1507 echo "$as_me: caught signal $ac_signal"
1508 echo "$as_me: exit $exit_status"
1510 rm -f core *.core core.conftest.* &&
1511 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1514 for ac_signal in 1 2 13 15; do
1515 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1519 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1520 rm -f -r conftest* confdefs.h
1522 # Predefined preprocessor variables.
1524 cat >>confdefs.h <<_ACEOF
1525 #define PACKAGE_NAME "$PACKAGE_NAME"
1529 cat >>confdefs.h <<_ACEOF
1530 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1534 cat >>confdefs.h <<_ACEOF
1535 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1539 cat >>confdefs.h <<_ACEOF
1540 #define PACKAGE_STRING "$PACKAGE_STRING"
1544 cat >>confdefs.h <<_ACEOF
1545 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1549 # Let the site file select an alternate cache file if it wants to.
1550 # Prefer explicitly selected file to automatically selected ones.
1551 if test -n "$CONFIG_SITE"; then
1552 set x "$CONFIG_SITE"
1553 elif test "x$prefix" != xNONE; then
1554 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1556 set x "$ac_default_prefix/share/config.site" \
1557 "$ac_default_prefix/etc/config.site"
1562 if test -r "$ac_site_file"; then
1563 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1564 echo "$as_me: loading site script $ac_site_file" >&6;}
1565 sed 's/^/| /' "$ac_site_file" >&5
1570 if test -r "$cache_file"; then
1571 # Some versions of bash will fail to source /dev/null (special
1572 # files actually), so we avoid doing that.
1573 if test -f "$cache_file"; then
1574 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1575 echo "$as_me: loading cache $cache_file" >&6;}
1577 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1578 *) . "./$cache_file";;
1582 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1583 echo "$as_me: creating cache $cache_file" >&6;}
1587 # Check that the precious variables saved in the cache have kept the same
1589 ac_cache_corrupted=false
1590 for ac_var in $ac_precious_vars; do
1591 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1592 eval ac_new_set=\$ac_env_${ac_var}_set
1593 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1594 eval ac_new_val=\$ac_env_${ac_var}_value
1595 case $ac_old_set,$ac_new_set in
1597 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1598 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1599 ac_cache_corrupted=: ;;
1601 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1602 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1603 ac_cache_corrupted=: ;;
1606 if test "x$ac_old_val" != "x$ac_new_val"; then
1607 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1608 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1609 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1610 echo "$as_me: former value: $ac_old_val" >&2;}
1611 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1612 echo "$as_me: current value: $ac_new_val" >&2;}
1613 ac_cache_corrupted=:
1616 # Pass precious variables to config.status.
1617 if test "$ac_new_set" = set; then
1619 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1620 *) ac_arg=$ac_var=$ac_new_val ;;
1622 case " $ac_configure_args " in
1623 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1624 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1628 if $ac_cache_corrupted; then
1629 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1630 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1631 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1632 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1633 { (exit 1); exit 1; }; }
1653 ac_cpp='$CPP $CPPFLAGS'
1654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1662 if test x$with_rlm_acctlog != xno; then
1665 ac_cpp='$CPP $CPPFLAGS'
1666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1669 if test -n "$ac_tool_prefix"; then
1670 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1671 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1674 if test "${ac_cv_prog_CC+set}" = set; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1677 if test -n "$CC"; then
1678 ac_cv_prog_CC="$CC" # Let the user override the test.
1680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1684 test -z "$as_dir" && as_dir=.
1685 for ac_exec_ext in '' $ac_executable_extensions; do
1686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1687 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1698 if test -n "$CC"; then
1699 { echo "$as_me:$LINENO: result: $CC" >&5
1700 echo "${ECHO_T}$CC" >&6; }
1702 { echo "$as_me:$LINENO: result: no" >&5
1703 echo "${ECHO_T}no" >&6; }
1708 if test -z "$ac_cv_prog_CC"; then
1710 # Extract the first word of "gcc", so it can be a program name with args.
1711 set dummy gcc; ac_word=$2
1712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 if test -n "$ac_ct_CC"; then
1718 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir=.
1725 for ac_exec_ext in '' $ac_executable_extensions; do
1726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1727 ac_cv_prog_ac_ct_CC="gcc"
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1738 if test -n "$ac_ct_CC"; then
1739 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1740 echo "${ECHO_T}$ac_ct_CC" >&6; }
1742 { echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6; }
1746 if test "x$ac_ct_CC" = x; then
1749 case $cross_compiling:$ac_tool_warned in
1751 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1752 whose name does not start with the host triplet. If you think this
1753 configuration is useful to you, please write to autoconf@gnu.org." >&5
1754 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1755 whose name does not start with the host triplet. If you think this
1756 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1757 ac_tool_warned=yes ;;
1765 if test -z "$CC"; then
1766 if test -n "$ac_tool_prefix"; then
1767 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1768 set dummy ${ac_tool_prefix}cc; ac_word=$2
1769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1771 if test "${ac_cv_prog_CC+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 if test -n "$CC"; then
1775 ac_cv_prog_CC="$CC" # Let the user override the test.
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781 test -z "$as_dir" && as_dir=.
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1784 ac_cv_prog_CC="${ac_tool_prefix}cc"
1785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1795 if test -n "$CC"; then
1796 { echo "$as_me:$LINENO: result: $CC" >&5
1797 echo "${ECHO_T}$CC" >&6; }
1799 { echo "$as_me:$LINENO: result: no" >&5
1800 echo "${ECHO_T}no" >&6; }
1806 if test -z "$CC"; then
1807 # Extract the first word of "cc", so it can be a program name with args.
1808 set dummy cc; ac_word=$2
1809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$CC"; then
1815 ac_cv_prog_CC="$CC" # Let the user override the test.
1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1822 test -z "$as_dir" && as_dir=.
1823 for ac_exec_ext in '' $ac_executable_extensions; do
1824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1825 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1826 ac_prog_rejected=yes
1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1837 if test $ac_prog_rejected = yes; then
1838 # We found a bogon in the path, so make sure we never use it.
1839 set dummy $ac_cv_prog_CC
1841 if test $# != 0; then
1842 # We chose a different compiler from the bogus one.
1843 # However, it has the same basename, so the bogon will be chosen
1844 # first if we set CC to just the basename; use the full file name.
1846 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1852 if test -n "$CC"; then
1853 { echo "$as_me:$LINENO: result: $CC" >&5
1854 echo "${ECHO_T}$CC" >&6; }
1856 { echo "$as_me:$LINENO: result: no" >&5
1857 echo "${ECHO_T}no" >&6; }
1862 if test -z "$CC"; then
1863 if test -n "$ac_tool_prefix"; then
1864 for ac_prog in cl.exe
1866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1867 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1870 if test "${ac_cv_prog_CC+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 if test -n "$CC"; then
1874 ac_cv_prog_CC="$CC" # Let the user override the test.
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir=.
1881 for ac_exec_ext in '' $ac_executable_extensions; do
1882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1883 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1894 if test -n "$CC"; then
1895 { echo "$as_me:$LINENO: result: $CC" >&5
1896 echo "${ECHO_T}$CC" >&6; }
1898 { echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6; }
1903 test -n "$CC" && break
1906 if test -z "$CC"; then
1908 for ac_prog in cl.exe
1910 # Extract the first word of "$ac_prog", so it can be a program name with args.
1911 set dummy $ac_prog; ac_word=$2
1912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1914 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1915 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 if test -n "$ac_ct_CC"; then
1918 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924 test -z "$as_dir" && as_dir=.
1925 for ac_exec_ext in '' $ac_executable_extensions; do
1926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1927 ac_cv_prog_ac_ct_CC="$ac_prog"
1928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1937 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1938 if test -n "$ac_ct_CC"; then
1939 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1940 echo "${ECHO_T}$ac_ct_CC" >&6; }
1942 { echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6; }
1947 test -n "$ac_ct_CC" && break
1950 if test "x$ac_ct_CC" = x; then
1953 case $cross_compiling:$ac_tool_warned in
1955 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1956 whose name does not start with the host triplet. If you think this
1957 configuration is useful to you, please write to autoconf@gnu.org." >&5
1958 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1959 whose name does not start with the host triplet. If you think this
1960 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1961 ac_tool_warned=yes ;;
1970 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1971 See \`config.log' for more details." >&5
1972 echo "$as_me: error: no acceptable C compiler found in \$PATH
1973 See \`config.log' for more details." >&2;}
1974 { (exit 1); exit 1; }; }
1976 # Provide some information about the compiler.
1977 echo "$as_me:$LINENO: checking for C compiler version" >&5
1978 ac_compiler=`set X $ac_compile; echo $2`
1979 { (ac_try="$ac_compiler --version >&5"
1981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1982 *) ac_try_echo=$ac_try;;
1984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1985 (eval "$ac_compiler --version >&5") 2>&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }
1989 { (ac_try="$ac_compiler -v >&5"
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1995 (eval "$ac_compiler -v >&5") 2>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); }
1999 { (ac_try="$ac_compiler -V >&5"
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2005 (eval "$ac_compiler -V >&5") 2>&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }
2010 cat >conftest.$ac_ext <<_ACEOF
2013 cat confdefs.h >>conftest.$ac_ext
2014 cat >>conftest.$ac_ext <<_ACEOF
2015 /* end confdefs.h. */
2025 ac_clean_files_save=$ac_clean_files
2026 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2027 # Try to create an executable without -o first, disregard a.out.
2028 # It will help us diagnose broken compilers, and finding out an intuition
2030 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2031 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2032 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2034 # List of possible output files, starting from the most likely.
2035 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2036 # only as a last resort. b.out is created by i960 compilers.
2037 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2039 # The IRIX 6 linker writes into existing files which may not be
2040 # executable, retaining their permissions. Remove them first so a
2041 # subsequent execution test works.
2043 for ac_file in $ac_files
2046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2047 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2052 if { (ac_try="$ac_link_default"
2054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2055 *) ac_try_echo=$ac_try;;
2057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2058 (eval "$ac_link_default") 2>&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; then
2062 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2063 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2064 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2065 # so that the user can short-circuit this test for compilers unknown to
2067 for ac_file in $ac_files
2069 test -f "$ac_file" || continue
2071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2074 # We found the default executable, but exeext='' is most
2078 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2080 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2082 # We set ac_cv_exeext here because the later test for it is not
2083 # safe: cross compilers may not add the suffix if given an `-o'
2084 # argument, so we may need to know it at that point already.
2085 # Even if this section looks crufty: it has the advantage of
2092 test "$ac_cv_exeext" = no && ac_cv_exeext=
2095 echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2098 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2099 See \`config.log' for more details." >&5
2100 echo "$as_me: error: C compiler cannot create executables
2101 See \`config.log' for more details." >&2;}
2102 { (exit 77); exit 77; }; }
2105 ac_exeext=$ac_cv_exeext
2106 { echo "$as_me:$LINENO: result: $ac_file" >&5
2107 echo "${ECHO_T}$ac_file" >&6; }
2109 # Check that the compiler produces executables we can run. If not, either
2110 # the compiler is broken, or we cross compile.
2111 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2112 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2113 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2114 # If not cross compiling, check that we can run a simple program.
2115 if test "$cross_compiling" != yes; then
2116 if { ac_try='./$ac_file'
2117 { (case "(($ac_try" in
2118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119 *) ac_try_echo=$ac_try;;
2121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2122 (eval "$ac_try") 2>&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }; }; then
2128 if test "$cross_compiling" = maybe; then
2131 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2132 If you meant to cross compile, use \`--host'.
2133 See \`config.log' for more details." >&5
2134 echo "$as_me: error: cannot run C compiled programs.
2135 If you meant to cross compile, use \`--host'.
2136 See \`config.log' for more details." >&2;}
2137 { (exit 1); exit 1; }; }
2141 { echo "$as_me:$LINENO: result: yes" >&5
2142 echo "${ECHO_T}yes" >&6; }
2144 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2145 ac_clean_files=$ac_clean_files_save
2146 # Check that the compiler produces executables we can run. If not, either
2147 # the compiler is broken, or we cross compile.
2148 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2149 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2150 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2151 echo "${ECHO_T}$cross_compiling" >&6; }
2153 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2154 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2155 if { (ac_try="$ac_link"
2157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2158 *) ac_try_echo=$ac_try;;
2160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2161 (eval "$ac_link") 2>&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; then
2165 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2166 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2167 # work properly (i.e., refer to `conftest.exe'), while it won't with
2169 for ac_file in conftest.exe conftest conftest.*; do
2170 test -f "$ac_file" || continue
2172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2173 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2179 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2180 See \`config.log' for more details." >&5
2181 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2182 See \`config.log' for more details." >&2;}
2183 { (exit 1); exit 1; }; }
2186 rm -f conftest$ac_cv_exeext
2187 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2188 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2190 rm -f conftest.$ac_ext
2191 EXEEXT=$ac_cv_exeext
2193 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2194 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2195 if test "${ac_cv_objext+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 cat >conftest.$ac_ext <<_ACEOF
2201 cat confdefs.h >>conftest.$ac_ext
2202 cat >>conftest.$ac_ext <<_ACEOF
2203 /* end confdefs.h. */
2213 rm -f conftest.o conftest.obj
2214 if { (ac_try="$ac_compile"
2216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2217 *) ac_try_echo=$ac_try;;
2219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2220 (eval "$ac_compile") 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; then
2224 for ac_file in conftest.o conftest.obj conftest.*; do
2225 test -f "$ac_file" || continue;
2227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2228 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2233 echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.$ac_ext >&5
2236 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2237 See \`config.log' for more details." >&5
2238 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2239 See \`config.log' for more details." >&2;}
2240 { (exit 1); exit 1; }; }
2243 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2245 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2246 echo "${ECHO_T}$ac_cv_objext" >&6; }
2247 OBJEXT=$ac_cv_objext
2249 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2250 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2251 if test "${ac_cv_c_compiler_gnu+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. */
2272 rm -f conftest.$ac_objext
2273 if { (ac_try="$ac_compile"
2275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2276 *) ac_try_echo=$ac_try;;
2278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2279 (eval "$ac_compile") 2>conftest.er1
2281 grep -v '^ *+' conftest.er1 >conftest.err
2283 cat conftest.err >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); } &&
2286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2287 { (case "(($ac_try" in
2288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289 *) ac_try_echo=$ac_try;;
2291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2292 (eval "$ac_try") 2>&5
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); }; } &&
2296 { ac_try='test -s conftest.$ac_objext'
2297 { (case "(($ac_try" in
2298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2299 *) ac_try_echo=$ac_try;;
2301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2302 (eval "$ac_try") 2>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; }; then
2308 echo "$as_me: failed program was:" >&5
2309 sed 's/^/| /' conftest.$ac_ext >&5
2314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2315 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2318 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2319 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2320 GCC=`test $ac_compiler_gnu = yes && echo yes`
2321 ac_test_CFLAGS=${CFLAGS+set}
2322 ac_save_CFLAGS=$CFLAGS
2323 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2324 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2325 if test "${ac_cv_prog_cc_g+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 ac_save_c_werror_flag=$ac_c_werror_flag
2329 ac_c_werror_flag=yes
2332 cat >conftest.$ac_ext <<_ACEOF
2335 cat confdefs.h >>conftest.$ac_ext
2336 cat >>conftest.$ac_ext <<_ACEOF
2337 /* end confdefs.h. */
2347 rm -f conftest.$ac_objext
2348 if { (ac_try="$ac_compile"
2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2354 (eval "$ac_compile") 2>conftest.er1
2356 grep -v '^ *+' conftest.er1 >conftest.err
2358 cat conftest.err >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); } &&
2361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2362 { (case "(($ac_try" in
2363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364 *) ac_try_echo=$ac_try;;
2366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2367 (eval "$ac_try") 2>&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; } &&
2371 { ac_try='test -s conftest.$ac_objext'
2372 { (case "(($ac_try" in
2373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2377 (eval "$ac_try") 2>&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }; }; then
2383 echo "$as_me: failed program was:" >&5
2384 sed 's/^/| /' conftest.$ac_ext >&5
2387 cat >conftest.$ac_ext <<_ACEOF
2390 cat confdefs.h >>conftest.$ac_ext
2391 cat >>conftest.$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2402 rm -f conftest.$ac_objext
2403 if { (ac_try="$ac_compile"
2405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406 *) ac_try_echo=$ac_try;;
2408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2409 (eval "$ac_compile") 2>conftest.er1
2411 grep -v '^ *+' conftest.er1 >conftest.err
2413 cat conftest.err >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); } &&
2416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2417 { (case "(($ac_try" in
2418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2419 *) ac_try_echo=$ac_try;;
2421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2422 (eval "$ac_try") 2>&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; } &&
2426 { ac_try='test -s conftest.$ac_objext'
2427 { (case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_try") 2>&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; }; then
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2441 ac_c_werror_flag=$ac_save_c_werror_flag
2443 cat >conftest.$ac_ext <<_ACEOF
2446 cat confdefs.h >>conftest.$ac_ext
2447 cat >>conftest.$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2458 rm -f conftest.$ac_objext
2459 if { (ac_try="$ac_compile"
2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462 *) ac_try_echo=$ac_try;;
2464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2465 (eval "$ac_compile") 2>conftest.er1
2467 grep -v '^ *+' conftest.er1 >conftest.err
2469 cat conftest.err >&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } &&
2472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2473 { (case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2478 (eval "$ac_try") 2>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; } &&
2482 { ac_try='test -s conftest.$ac_objext'
2483 { (case "(($ac_try" in
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2488 (eval "$ac_try") 2>&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.$ac_ext >&5
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 ac_c_werror_flag=$ac_save_c_werror_flag
2509 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2510 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2511 if test "$ac_test_CFLAGS" = set; then
2512 CFLAGS=$ac_save_CFLAGS
2513 elif test $ac_cv_prog_cc_g = yes; then
2514 if test "$GCC" = yes; then
2520 if test "$GCC" = yes; then
2526 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2527 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2528 if test "${ac_cv_prog_cc_c89+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 ac_cv_prog_cc_c89=no
2533 cat >conftest.$ac_ext <<_ACEOF
2536 cat confdefs.h >>conftest.$ac_ext
2537 cat >>conftest.$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2541 #include <sys/types.h>
2542 #include <sys/stat.h>
2543 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2544 struct buf { int x; };
2545 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2546 static char *e (p, i)
2552 static char *f (char * (*g) (char **, int), char **p, ...)
2557 s = g (p, va_arg (v,int));
2562 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2563 function prototypes and stuff, but not '\xHH' hex character constants.
2564 These don't provoke an error unfortunately, instead are silently treated
2565 as 'x'. The following induces an error, until -std is added to get
2566 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2567 array size at least. It's necessary to write '\x00'==0 to get something
2568 that's true only with -std. */
2569 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2571 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2572 inside strings and character constants. */
2574 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2576 int test (int i, double x);
2577 struct s1 {int (*f) (int a);};
2578 struct s2 {int (*f) (double a);};
2579 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2585 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2590 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2591 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2593 CC="$ac_save_CC $ac_arg"
2594 rm -f conftest.$ac_objext
2595 if { (ac_try="$ac_compile"
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compile") 2>conftest.er1
2603 grep -v '^ *+' conftest.er1 >conftest.err
2605 cat conftest.err >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); } &&
2608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2609 { (case "(($ac_try" in
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_try") 2>&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; } &&
2618 { ac_try='test -s conftest.$ac_objext'
2619 { (case "(($ac_try" in
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624 (eval "$ac_try") 2>&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }; }; then
2628 ac_cv_prog_cc_c89=$ac_arg
2630 echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.$ac_ext >&5
2636 rm -f core conftest.err conftest.$ac_objext
2637 test "x$ac_cv_prog_cc_c89" != "xno" && break
2639 rm -f conftest.$ac_ext
2644 case "x$ac_cv_prog_cc_c89" in
2646 { echo "$as_me:$LINENO: result: none needed" >&5
2647 echo "${ECHO_T}none needed" >&6; } ;;
2649 { echo "$as_me:$LINENO: result: unsupported" >&5
2650 echo "${ECHO_T}unsupported" >&6; } ;;
2652 CC="$CC $ac_cv_prog_cc_c89"
2653 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2654 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2659 ac_cpp='$CPP $CPPFLAGS'
2660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2665 ac_cpp='$CPP $CPPFLAGS'
2666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2669 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2670 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2671 # On Suns, sometimes $CPP names a directory.
2672 if test -n "$CPP" && test -d "$CPP"; then
2675 if test -z "$CPP"; then
2676 if test "${ac_cv_prog_CPP+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 # Double quotes because CPP needs to be expanded
2680 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2683 for ac_c_preproc_warn_flag in '' yes
2685 # Use a header file that comes with gcc, so configuring glibc
2686 # with a fresh cross-compiler works.
2687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2688 # <limits.h> exists even on freestanding compilers.
2689 # On the NeXT, cc -E runs the code through the compiler's parser,
2690 # not just through cpp. "Syntax error" is here to catch this case.
2691 cat >conftest.$ac_ext <<_ACEOF
2694 cat confdefs.h >>conftest.$ac_ext
2695 cat >>conftest.$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2698 # include <limits.h>
2700 # include <assert.h>
2704 if { (ac_try="$ac_cpp conftest.$ac_ext"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2712 grep -v '^ *+' conftest.er1 >conftest.err
2714 cat conftest.err >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } >/dev/null; then
2717 if test -s conftest.err; then
2718 ac_cpp_err=$ac_c_preproc_warn_flag
2719 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2726 if test -z "$ac_cpp_err"; then
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 # Broken: fails on valid input.
2736 rm -f conftest.err conftest.$ac_ext
2738 # OK, works on sane cases. Now check whether nonexistent headers
2739 # can be detected and how.
2740 cat >conftest.$ac_ext <<_ACEOF
2743 cat confdefs.h >>conftest.$ac_ext
2744 cat >>conftest.$ac_ext <<_ACEOF
2745 /* end confdefs.h. */
2746 #include <ac_nonexistent.h>
2748 if { (ac_try="$ac_cpp conftest.$ac_ext"
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2756 grep -v '^ *+' conftest.er1 >conftest.err
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } >/dev/null; then
2761 if test -s conftest.err; then
2762 ac_cpp_err=$ac_c_preproc_warn_flag
2763 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2770 if test -z "$ac_cpp_err"; then
2771 # Broken: success on invalid input.
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2777 # Passes both tests.
2782 rm -f conftest.err conftest.$ac_ext
2785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2786 rm -f conftest.err conftest.$ac_ext
2787 if $ac_preproc_ok; then
2799 { echo "$as_me:$LINENO: result: $CPP" >&5
2800 echo "${ECHO_T}$CPP" >&6; }
2802 for ac_c_preproc_warn_flag in '' yes
2804 # Use a header file that comes with gcc, so configuring glibc
2805 # with a fresh cross-compiler works.
2806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2807 # <limits.h> exists even on freestanding compilers.
2808 # On the NeXT, cc -E runs the code through the compiler's parser,
2809 # not just through cpp. "Syntax error" is here to catch this case.
2810 cat >conftest.$ac_ext <<_ACEOF
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2817 # include <limits.h>
2819 # include <assert.h>
2823 if { (ac_try="$ac_cpp conftest.$ac_ext"
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2831 grep -v '^ *+' conftest.er1 >conftest.err
2833 cat conftest.err >&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } >/dev/null; then
2836 if test -s conftest.err; then
2837 ac_cpp_err=$ac_c_preproc_warn_flag
2838 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2845 if test -z "$ac_cpp_err"; then
2848 echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.$ac_ext >&5
2851 # Broken: fails on valid input.
2855 rm -f conftest.err conftest.$ac_ext
2857 # OK, works on sane cases. Now check whether nonexistent headers
2858 # can be detected and how.
2859 cat >conftest.$ac_ext <<_ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2865 #include <ac_nonexistent.h>
2867 if { (ac_try="$ac_cpp conftest.$ac_ext"
2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870 *) ac_try_echo=$ac_try;;
2872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2875 grep -v '^ *+' conftest.er1 >conftest.err
2877 cat conftest.err >&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); } >/dev/null; then
2880 if test -s conftest.err; then
2881 ac_cpp_err=$ac_c_preproc_warn_flag
2882 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2889 if test -z "$ac_cpp_err"; then
2890 # Broken: success on invalid input.
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2896 # Passes both tests.
2901 rm -f conftest.err conftest.$ac_ext
2904 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2905 rm -f conftest.err conftest.$ac_ext
2906 if $ac_preproc_ok; then
2909 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2910 See \`config.log' for more details." >&5
2911 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2912 See \`config.log' for more details." >&2;}
2913 { (exit 1); exit 1; }; }
2917 ac_cpp='$CPP $CPPFLAGS'
2918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2925 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2926 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2927 if test "${ac_cv_path_GREP+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 # Extract the first word of "grep ggrep" to use in msg output
2931 if test -z "$GREP"; then
2932 set dummy grep ggrep; ac_prog_name=$2
2933 if test "${ac_cv_path_GREP+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 ac_path_GREP_found=false
2937 # Loop through the user's path and test for each of PROGNAME-LIST
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2939 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2942 test -z "$as_dir" && as_dir=.
2943 for ac_prog in grep ggrep; do
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2946 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2947 # Check for GNU ac_path_GREP and select it if it is found.
2948 # Check for GNU $ac_path_GREP
2949 case `"$ac_path_GREP" --version 2>&1` in
2951 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2954 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2957 cat "conftest.in" "conftest.in" >"conftest.tmp"
2958 mv "conftest.tmp" "conftest.in"
2959 cp "conftest.in" "conftest.nl"
2960 echo 'GREP' >> "conftest.nl"
2961 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2962 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2963 ac_count=`expr $ac_count + 1`
2964 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2965 # Best one so far, save it but keep looking for a better one
2966 ac_cv_path_GREP="$ac_path_GREP"
2967 ac_path_GREP_max=$ac_count
2969 # 10*(2^10) chars as input seems more than enough
2970 test $ac_count -gt 10 && break
2972 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2976 $ac_path_GREP_found && break 3
2986 GREP="$ac_cv_path_GREP"
2987 if test -z "$GREP"; then
2988 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2989 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2990 { (exit 1); exit 1; }; }
2994 ac_cv_path_GREP=$GREP
2999 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3000 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3001 GREP="$ac_cv_path_GREP"
3004 { echo "$as_me:$LINENO: checking for egrep" >&5
3005 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3006 if test "${ac_cv_path_EGREP+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3010 then ac_cv_path_EGREP="$GREP -E"
3012 # Extract the first word of "egrep" to use in msg output
3013 if test -z "$EGREP"; then
3014 set dummy egrep; ac_prog_name=$2
3015 if test "${ac_cv_path_EGREP+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3018 ac_path_EGREP_found=false
3019 # Loop through the user's path and test for each of PROGNAME-LIST
3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3024 test -z "$as_dir" && as_dir=.
3025 for ac_prog in egrep; do
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3028 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3029 # Check for GNU ac_path_EGREP and select it if it is found.
3030 # Check for GNU $ac_path_EGREP
3031 case `"$ac_path_EGREP" --version 2>&1` in
3033 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3036 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3039 cat "conftest.in" "conftest.in" >"conftest.tmp"
3040 mv "conftest.tmp" "conftest.in"
3041 cp "conftest.in" "conftest.nl"
3042 echo 'EGREP' >> "conftest.nl"
3043 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3045 ac_count=`expr $ac_count + 1`
3046 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3047 # Best one so far, save it but keep looking for a better one
3048 ac_cv_path_EGREP="$ac_path_EGREP"
3049 ac_path_EGREP_max=$ac_count
3051 # 10*(2^10) chars as input seems more than enough
3052 test $ac_count -gt 10 && break
3054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3058 $ac_path_EGREP_found && break 3
3068 EGREP="$ac_cv_path_EGREP"
3069 if test -z "$EGREP"; then
3070 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3071 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3072 { (exit 1); exit 1; }; }
3076 ac_cv_path_EGREP=$EGREP
3082 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3083 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3084 EGREP="$ac_cv_path_EGREP"
3087 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3088 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3089 if test "${ac_cv_header_stdc+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 cat >conftest.$ac_ext <<_ACEOF
3095 cat confdefs.h >>conftest.$ac_ext
3096 cat >>conftest.$ac_ext <<_ACEOF
3097 /* end confdefs.h. */
3111 rm -f conftest.$ac_objext
3112 if { (ac_try="$ac_compile"
3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3118 (eval "$ac_compile") 2>conftest.er1
3120 grep -v '^ *+' conftest.er1 >conftest.err
3122 cat conftest.err >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } &&
3125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3126 { (case "(($ac_try" in
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3131 (eval "$ac_try") 2>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; } &&
3135 { ac_try='test -s conftest.$ac_objext'
3136 { (case "(($ac_try" in
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141 (eval "$ac_try") 2>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); }; }; then
3145 ac_cv_header_stdc=yes
3147 echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3150 ac_cv_header_stdc=no
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 if test $ac_cv_header_stdc = yes; then
3156 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3157 cat >conftest.$ac_ext <<_ACEOF
3160 cat confdefs.h >>conftest.$ac_ext
3161 cat >>conftest.$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3167 $EGREP "memchr" >/dev/null 2>&1; then
3170 ac_cv_header_stdc=no
3176 if test $ac_cv_header_stdc = yes; then
3177 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3178 cat >conftest.$ac_ext <<_ACEOF
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h. */
3187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3188 $EGREP "free" >/dev/null 2>&1; then
3191 ac_cv_header_stdc=no
3197 if test $ac_cv_header_stdc = yes; then
3198 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3199 if test "$cross_compiling" = yes; then
3202 cat >conftest.$ac_ext <<_ACEOF
3205 cat confdefs.h >>conftest.$ac_ext
3206 cat >>conftest.$ac_ext <<_ACEOF
3207 /* end confdefs.h. */
3210 #if ((' ' & 0x0FF) == 0x020)
3211 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3212 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3214 # define ISLOWER(c) \
3215 (('a' <= (c) && (c) <= 'i') \
3216 || ('j' <= (c) && (c) <= 'r') \
3217 || ('s' <= (c) && (c) <= 'z'))
3218 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3221 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3226 for (i = 0; i < 256; i++)
3227 if (XOR (islower (i), ISLOWER (i))
3228 || toupper (i) != TOUPPER (i))
3233 rm -f conftest$ac_exeext
3234 if { (ac_try="$ac_link"
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3240 (eval "$ac_link") 2>&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3244 { (case "(($ac_try" in
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3249 (eval "$ac_try") 2>&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }; }; then
3255 echo "$as_me: program exited with status $ac_status" >&5
3256 echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3260 ac_cv_header_stdc=no
3262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3268 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3269 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3270 if test $ac_cv_header_stdc = yes; then
3272 cat >>confdefs.h <<\_ACEOF
3273 #define STDC_HEADERS 1
3278 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3288 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3289 inttypes.h stdint.h unistd.h
3291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3297 cat >conftest.$ac_ext <<_ACEOF
3300 cat confdefs.h >>conftest.$ac_ext
3301 cat >>conftest.$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3303 $ac_includes_default
3305 #include <$ac_header>
3307 rm -f conftest.$ac_objext
3308 if { (ac_try="$ac_compile"
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_compile") 2>conftest.er1
3316 grep -v '^ *+' conftest.er1 >conftest.err
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3322 { (case "(($ac_try" in
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_try") 2>&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; } &&
3331 { ac_try='test -s conftest.$ac_objext'
3332 { (case "(($ac_try" in
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_try") 2>&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }; }; then
3341 eval "$as_ac_Header=yes"
3343 echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3346 eval "$as_ac_Header=no"
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 ac_res=`eval echo '${'$as_ac_Header'}'`
3352 { echo "$as_me:$LINENO: result: $ac_res" >&5
3353 echo "${ECHO_T}$ac_res" >&6; }
3354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3355 cat >>confdefs.h <<_ACEOF
3356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3364 if test "${ac_cv_header_stdio_h+set}" = set; then
3365 { echo "$as_me:$LINENO: checking for stdio.h" >&5
3366 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; }
3367 if test "${ac_cv_header_stdio_h+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
3371 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; }
3373 # Is the header compilable?
3374 { echo "$as_me:$LINENO: checking stdio.h usability" >&5
3375 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; }
3376 cat >conftest.$ac_ext <<_ACEOF
3379 cat confdefs.h >>conftest.$ac_ext
3380 cat >>conftest.$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3382 $ac_includes_default
3385 rm -f conftest.$ac_objext
3386 if { (ac_try="$ac_compile"
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_compile") 2>conftest.er1
3394 grep -v '^ *+' conftest.er1 >conftest.err
3396 cat conftest.err >&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } &&
3399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3400 { (case "(($ac_try" in
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405 (eval "$ac_try") 2>&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (case "(($ac_try" in
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3415 (eval "$ac_try") 2>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 ac_header_compiler=yes
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3424 ac_header_compiler=no
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3429 echo "${ECHO_T}$ac_header_compiler" >&6; }
3431 # Is the header present?
3432 { echo "$as_me:$LINENO: checking stdio.h presence" >&5
3433 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; }
3434 cat >conftest.$ac_ext <<_ACEOF
3437 cat confdefs.h >>conftest.$ac_ext
3438 cat >>conftest.$ac_ext <<_ACEOF
3439 /* end confdefs.h. */
3442 if { (ac_try="$ac_cpp conftest.$ac_ext"
3444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3450 grep -v '^ *+' conftest.er1 >conftest.err
3452 cat conftest.err >&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } >/dev/null; then
3455 if test -s conftest.err; then
3456 ac_cpp_err=$ac_c_preproc_warn_flag
3457 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3464 if test -z "$ac_cpp_err"; then
3465 ac_header_preproc=yes
3467 echo "$as_me: failed program was:" >&5
3468 sed 's/^/| /' conftest.$ac_ext >&5
3470 ac_header_preproc=no
3473 rm -f conftest.err conftest.$ac_ext
3474 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3475 echo "${ECHO_T}$ac_header_preproc" >&6; }
3477 # So? What about this header?
3478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3480 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5
3481 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3482 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5
3483 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;}
3484 ac_header_preproc=yes
3487 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5
3488 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;}
3489 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5
3490 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;}
3491 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5
3492 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;}
3493 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5
3494 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;}
3495 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5
3496 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;}
3497 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5
3498 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;}
3502 { echo "$as_me:$LINENO: checking for stdio.h" >&5
3503 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; }
3504 if test "${ac_cv_header_stdio_h+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 ac_cv_header_stdio_h=$ac_header_preproc
3509 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5
3510 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; }
3513 if test $ac_cv_header_stdio_h = yes; then
3514 slog_cflags="$acctlog_cflags -I/usr/include"
3516 fail=$fail" stdio.h"
3522 targetname=rlm_acctlog
3525 echo \*\*\* module rlm_acctlog is disabled.
3528 if test x"$fail" != x""; then
3529 if test x"${enable_strict_dependencies}" = x"yes"; then
3530 { { echo "$as_me:$LINENO: error: set --without-rlm_acctlog to disable it explicitly." >&5
3531 echo "$as_me: error: set --without-rlm_acctlog to disable it explicitly." >&2;}
3532 { (exit 1); exit 1; }; }
3534 { echo "$as_me:$LINENO: WARNING: silently not building rlm_acctlog." >&5
3535 echo "$as_me: WARNING: silently not building rlm_acctlog." >&2;}
3536 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_acctlog requires: $fail." >&5
3537 echo "$as_me: WARNING: FAILURE: rlm_acctlog requires: $fail." >&2;};
3548 ac_config_files="$ac_config_files Makefile"
3550 cat >confcache <<\_ACEOF
3551 # This file is a shell script that caches the results of configure
3552 # tests run on this system so they can be shared between configure
3553 # scripts and configure runs, see configure's option --config-cache.
3554 # It is not useful on other systems. If it contains results you don't
3555 # want to keep, you may remove or edit it.
3557 # config.status only pays attention to the cache file if you give it
3558 # the --recheck option to rerun configure.
3560 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3561 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3566 # The following way of writing the cache mishandles newlines in values,
3567 # but we know of no workaround that is simple, portable, and efficient.
3568 # So, we kill variables containing newlines.
3569 # Ultrix sh set writes to stderr and can't be redirected directly,
3570 # and sets the high bit in the cache file unless we assign to the vars.
3572 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3573 eval ac_val=\$$ac_var
3577 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3578 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3581 _ | IFS | as_nl) ;; #(
3582 *) $as_unset $ac_var ;;
3588 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3589 *${as_nl}ac_space=\ *)
3590 # `set' does not quote correctly, so add quotes (double-quote
3591 # substitution turns \\\\ into \\, and sed turns \\ into \).
3594 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3597 # `set' quotes correctly as required by POSIX, so do not add quotes.
3598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3607 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3609 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3611 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3612 if test -w "$cache_file"; then
3613 test "x$cache_file" != "x/dev/null" &&
3614 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3615 echo "$as_me: updating cache $cache_file" >&6;}
3616 cat confcache >$cache_file
3618 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3619 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3624 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3625 # Let make expand exec_prefix.
3626 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3628 # Transform confdefs.h into DEFS.
3629 # Protect against shell expansion while executing Makefile rules.
3630 # Protect against Makefile macro expansion.
3632 # If the first sed substitution is executed (which looks for macros that
3633 # take arguments), then branch to the quote section. Otherwise,
3634 # look for a macro that doesn't take arguments.
3638 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3640 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3644 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3657 DEFS=`sed -n "$ac_script" confdefs.h`
3662 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3663 # 1. Remove the extension, and $U if already installed.
3664 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3665 ac_i=`echo "$ac_i" | sed "$ac_script"`
3666 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3667 # will be set to the directory where LIBOBJS objects are built.
3668 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3669 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3673 LTLIBOBJS=$ac_ltlibobjs
3677 : ${CONFIG_STATUS=./config.status}
3678 ac_clean_files_save=$ac_clean_files
3679 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3680 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3681 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3682 cat >$CONFIG_STATUS <<_ACEOF
3684 # Generated by $as_me.
3685 # Run this file to recreate the current configuration.
3686 # Compiler output produced by configure, useful for debugging
3687 # configure, is in config.log if it exists.
3692 SHELL=\${CONFIG_SHELL-$SHELL}
3695 cat >>$CONFIG_STATUS <<\_ACEOF
3696 ## --------------------- ##
3697 ## M4sh Initialization. ##
3698 ## --------------------- ##
3700 # Be Bourne compatible
3701 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3704 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3705 # is contrary to our usage. Disable this feature.
3706 alias -g '${1+"$@"}'='"$@"'
3707 setopt NO_GLOB_SUBST
3709 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
3711 BIN_SH=xpg4; export BIN_SH # for Tru64
3712 DUALCASE=1; export DUALCASE # for MKS sh
3716 # Avoid depending upon Character Ranges.
3717 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3718 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3719 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3720 as_cr_digits='0123456789'
3721 as_cr_alnum=$as_cr_Letters$as_cr_digits
3723 # The user is always right.
3724 if test "${PATH_SEPARATOR+set}" != set; then
3725 echo "#! /bin/sh" >conf$$.sh
3726 echo "exit 0" >>conf$$.sh
3728 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3736 # Support unset when possible.
3737 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3745 # We need space, tab and new line, in precisely that order. Quoting is
3746 # there to prevent editors from complaining about space-tab.
3747 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3748 # splitting by setting IFS to empty value.)
3753 # Find who we are. Look in the path if we contain no directory separator.
3755 *[\\/]* ) as_myself=$0 ;;
3756 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir=.
3761 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3767 # We did not find ourselves, most probably we were run as `sh COMMAND'
3768 # in which case we are not to be found in the path.
3769 if test "x$as_myself" = x; then
3772 if test ! -f "$as_myself"; then
3773 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3774 { (exit 1); exit 1; }
3777 # Work around bugs in pre-3.0 UWIN ksh.
3778 for as_var in ENV MAIL MAILPATH
3779 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3789 LC_TELEPHONE LC_TIME
3791 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3792 eval $as_var=C; export $as_var
3794 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3798 # Required to use basename.
3799 if expr a : '\(a\)' >/dev/null 2>&1 &&
3800 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3806 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3807 as_basename=basename
3813 # Name of the executable.
3814 as_me=`$as_basename -- "$0" ||
3815 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3816 X"$0" : 'X\(//\)$' \| \
3817 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3819 sed '/^.*\/\([^/][^/]*\)\/*$/{
3840 test "x$as_lineno_1" != "x$as_lineno_2" &&
3841 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3843 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3844 # uniformly replaced by the line number. The first 'sed' inserts a
3845 # line-number line after each line using $LINENO; the second 'sed'
3846 # does the real work. The second script uses 'N' to pair each
3847 # line-number line with the line containing $LINENO, and appends
3848 # trailing '-' during substitution so that $LINENO is not a special
3850 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3851 # scripts with optimization help from Paolo Bonzini. Blame Lee
3852 # E. McMahon (1931-1989) for sed's syntax. :-)
3864 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3868 chmod +x "$as_me.lineno" ||
3869 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3870 { (exit 1); exit 1; }; }
3872 # Don't try to exec as it changes $[0], causing all sort of problems
3873 # (the dirname of $[0] is not the place where we might find the
3874 # original and so on. Autoconf is especially sensitive to this).
3876 # Exit status is that of the last command.
3881 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3887 ECHO_C= ECHO_N= ECHO_T=
3890 case `echo 'x\c'` in
3891 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3898 if expr a : '\(a\)' >/dev/null 2>&1 &&
3899 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3905 rm -f conf$$ conf$$.exe conf$$.file
3906 if test -d conf$$.dir; then
3907 rm -f conf$$.dir/conf$$.file
3913 if ln -s conf$$.file conf$$ 2>/dev/null; then
3915 # ... but there are two gotchas:
3916 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3917 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3918 # In both cases, we have to default to `cp -p'.
3919 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3921 elif ln conf$$.file conf$$ 2>/dev/null; then
3926 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3927 rmdir conf$$.dir 2>/dev/null
3929 if mkdir -p . 2>/dev/null; then
3932 test -d ./-p && rmdir ./-p
3936 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3937 # systems may use methods other than mode bits to determine executability.
3938 cat >conf$$.file <<_ASEOF
3942 chmod +x conf$$.file
3943 if test -x conf$$.file >/dev/null 2>&1; then
3944 as_executable_p="test -x"
3950 # Sed expression to map a string onto a valid CPP name.
3951 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3953 # Sed expression to map a string onto a valid variable name.
3954 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3959 # Save the log message, to keep $[0] and so on meaningful, and to
3960 # report actual input values of CONFIG_FILES etc. instead of their
3961 # values after options handling.
3963 This file was extended by $as_me, which was
3964 generated by GNU Autoconf 2.60. Invocation command line was
3966 CONFIG_FILES = $CONFIG_FILES
3967 CONFIG_HEADERS = $CONFIG_HEADERS
3968 CONFIG_LINKS = $CONFIG_LINKS
3969 CONFIG_COMMANDS = $CONFIG_COMMANDS
3972 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3977 cat >>$CONFIG_STATUS <<_ACEOF
3978 # Files that config.status was made for.
3979 config_files="$ac_config_files"
3983 cat >>$CONFIG_STATUS <<\_ACEOF
3985 \`$as_me' instantiates files from templates according to the
3986 current configuration.
3988 Usage: $0 [OPTIONS] [FILE]...
3990 -h, --help print this help, then exit
3991 -V, --version print version number, then exit
3992 -q, --quiet do not print progress messages
3993 -d, --debug don't remove temporary files
3994 --recheck update $as_me by reconfiguring in the same conditions
3995 --file=FILE[:TEMPLATE]
3996 instantiate the configuration file FILE
3998 Configuration files:
4001 Report bugs to <bug-autoconf@gnu.org>."
4004 cat >>$CONFIG_STATUS <<_ACEOF
4007 configured by $0, generated by GNU Autoconf 2.60,
4008 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4010 Copyright (C) 2006 Free Software Foundation, Inc.
4011 This config.status script is free software; the Free Software Foundation
4012 gives unlimited permission to copy, distribute and modify it."
4018 cat >>$CONFIG_STATUS <<\_ACEOF
4019 # If no file are specified by the user, then we need to provide default
4020 # value. By we need to know if files were specified by the user.
4026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4027 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4038 # Handling of the options.
4039 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4041 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4042 echo "$ac_cs_version"; exit ;;
4043 --debug | --debu | --deb | --de | --d | -d )
4045 --file | --fil | --fi | --f )
4047 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4048 ac_need_defaults=false;;
4049 --he | --h | --help | --hel | -h )
4050 echo "$ac_cs_usage"; exit ;;
4051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4052 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4056 -*) { echo "$as_me: error: unrecognized option: $1
4057 Try \`$0 --help' for more information." >&2
4058 { (exit 1); exit 1; }; } ;;
4060 *) ac_config_targets="$ac_config_targets $1"
4061 ac_need_defaults=false ;;
4067 ac_configure_extra_args=
4069 if $ac_cs_silent; then
4071 ac_configure_extra_args="$ac_configure_extra_args --silent"
4075 cat >>$CONFIG_STATUS <<_ACEOF
4076 if \$ac_cs_recheck; then
4077 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4080 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4084 cat >>$CONFIG_STATUS <<\_ACEOF
4088 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4089 ## Running $as_me. ##
4095 cat >>$CONFIG_STATUS <<_ACEOF
4098 cat >>$CONFIG_STATUS <<\_ACEOF
4100 # Handling of arguments.
4101 for ac_config_target in $ac_config_targets
4103 case $ac_config_target in
4104 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4106 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4107 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4108 { (exit 1); exit 1; }; };;
4113 # If the user did not use the arguments to specify the items to instantiate,
4114 # then the envvar interface is used. Set only those that are not.
4115 # We use the long form for the default assignment because of an extremely
4116 # bizarre bug on SunOS 4.1.3.
4117 if $ac_need_defaults; then
4118 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4121 # Have a temporary directory for convenience. Make it in the build tree
4122 # simply because there is no reason against having it here, and in addition,
4123 # creating and moving files from /tmp can sometimes cause problems.
4124 # Hook for its removal unless debugging.
4125 # Note that there is a small window in which the directory will not be cleaned:
4126 # after its creation but before its name has been assigned to `$tmp'.
4130 trap 'exit_status=$?
4131 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4133 trap '{ (exit 1); exit 1; }' 1 2 13 15
4135 # Create a (secure) tmp directory for tmp files.
4138 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4139 test -n "$tmp" && test -d "$tmp"
4142 tmp=./conf$$-$RANDOM
4143 (umask 077 && mkdir "$tmp")
4146 echo "$me: cannot create a temporary directory in ." >&2
4147 { (exit 1); exit 1; }
4151 # Set up the sed scripts for CONFIG_FILES section.
4154 # No need to generate the scripts if there are no CONFIG_FILES.
4155 # This happens for instance when ./config.status config.h
4156 if test -n "$CONFIG_FILES"; then
4163 for ac_last_try in false false false false false :; do
4164 cat >conf$$subs.sed <<_ACEOF
4165 SHELL!$SHELL$ac_delim
4166 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4167 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4168 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4169 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4170 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4171 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4172 exec_prefix!$exec_prefix$ac_delim
4173 prefix!$prefix$ac_delim
4174 program_transform_name!$program_transform_name$ac_delim
4175 bindir!$bindir$ac_delim
4176 sbindir!$sbindir$ac_delim
4177 libexecdir!$libexecdir$ac_delim
4178 datarootdir!$datarootdir$ac_delim
4179 datadir!$datadir$ac_delim
4180 sysconfdir!$sysconfdir$ac_delim
4181 sharedstatedir!$sharedstatedir$ac_delim
4182 localstatedir!$localstatedir$ac_delim
4183 includedir!$includedir$ac_delim
4184 oldincludedir!$oldincludedir$ac_delim
4185 docdir!$docdir$ac_delim
4186 infodir!$infodir$ac_delim
4187 htmldir!$htmldir$ac_delim
4188 dvidir!$dvidir$ac_delim
4189 pdfdir!$pdfdir$ac_delim
4190 psdir!$psdir$ac_delim
4191 libdir!$libdir$ac_delim
4192 localedir!$localedir$ac_delim
4193 mandir!$mandir$ac_delim
4195 ECHO_C!$ECHO_C$ac_delim
4196 ECHO_N!$ECHO_N$ac_delim
4197 ECHO_T!$ECHO_T$ac_delim
4199 build_alias!$build_alias$ac_delim
4200 host_alias!$host_alias$ac_delim
4201 target_alias!$target_alias$ac_delim
4203 CFLAGS!$CFLAGS$ac_delim
4204 LDFLAGS!$LDFLAGS$ac_delim
4205 CPPFLAGS!$CPPFLAGS$ac_delim
4206 ac_ct_CC!$ac_ct_CC$ac_delim
4207 EXEEXT!$EXEEXT$ac_delim
4208 OBJEXT!$OBJEXT$ac_delim
4211 EGREP!$EGREP$ac_delim
4212 acctlog_cflags!$acctlog_cflags$ac_delim
4213 acctlog_ldflags!$acctlog_ldflags$ac_delim
4214 targetname!$targetname$ac_delim
4215 LIBOBJS!$LIBOBJS$ac_delim
4216 LTLIBOBJS!$LTLIBOBJS$ac_delim
4219 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
4221 elif $ac_last_try; then
4222 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4223 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4224 { (exit 1); exit 1; }; }
4226 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4230 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4231 if test -n "$ac_eof"; then
4232 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4233 ac_eof=`expr $ac_eof + 1`
4236 cat >>$CONFIG_STATUS <<_ACEOF
4237 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4238 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4241 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4242 s/^/s,@/; s/!/@,|#_!!_#|/
4245 s/'"$ac_delim"'$/,g/; t
4247 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4248 ' >>$CONFIG_STATUS <conf$$subs.sed
4249 rm -f conf$$subs.sed
4250 cat >>$CONFIG_STATUS <<_ACEOF
4257 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4259 # trailing colons and then remove the whole line if VPATH becomes empty
4260 # (actually we leave an empty line to preserve line numbers).
4261 if test "x$srcdir" = x.; then
4262 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4266 s/^\([^=]*=[ ]*\):*/\1/
4272 cat >>$CONFIG_STATUS <<\_ACEOF
4273 fi # test -n "$CONFIG_FILES"
4276 for ac_tag in :F $CONFIG_FILES
4279 :[FHLC]) ac_mode=$ac_tag; continue;;
4281 case $ac_mode$ac_tag in
4283 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4284 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4285 { (exit 1); exit 1; }; };;
4286 :[FH]-) ac_tag=-:-;;
4287 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4304 -) ac_f="$tmp/stdin";;
4305 *) # Look for the file first in the build tree, then in the source tree
4306 # (if the path is not absolute). The absolute path cannot be DOS-style,
4307 # because $ac_f cannot contain `:'.
4311 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4313 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4314 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4315 { (exit 1); exit 1; }; };;
4317 ac_file_inputs="$ac_file_inputs $ac_f"
4320 # Let's still pretend it is `configure' which instantiates (i.e., don't
4321 # use $as_me), people would be surprised to read:
4322 # /* config.h. Generated by config.status. */
4323 configure_input="Generated from "`IFS=:
4324 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4325 if test x"$ac_file" != x-; then
4326 configure_input="$ac_file. $configure_input"
4327 { echo "$as_me:$LINENO: creating $ac_file" >&5
4328 echo "$as_me: creating $ac_file" >&6;}
4332 *:-:* | *:-) cat >"$tmp/stdin";;
4337 ac_dir=`$as_dirname -- "$ac_file" ||
4338 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4339 X"$ac_file" : 'X\(//\)[^/]' \| \
4340 X"$ac_file" : 'X\(//\)$' \| \
4341 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4362 -*) as_dir=./$as_dir;;
4364 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4368 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4369 *) as_qdir=$as_dir;;
4371 as_dirs="'$as_qdir' $as_dirs"
4372 as_dir=`$as_dirname -- "$as_dir" ||
4373 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4374 X"$as_dir" : 'X\(//\)[^/]' \| \
4375 X"$as_dir" : 'X\(//\)$' \| \
4376 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4395 test -d "$as_dir" && break
4397 test -z "$as_dirs" || eval "mkdir $as_dirs"
4398 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4399 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4400 { (exit 1); exit 1; }; }; }
4404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4406 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4407 # A ".." for each directory in $ac_dir_suffix.
4408 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4409 case $ac_top_builddir_sub in
4410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4414 ac_abs_top_builddir=$ac_pwd
4415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4416 # for backward compatibility:
4417 ac_top_builddir=$ac_top_build_prefix
4420 .) # We are building in place.
4422 ac_top_srcdir=$ac_top_builddir_sub
4423 ac_abs_top_srcdir=$ac_pwd ;;
4424 [\\/]* | ?:[\\/]* ) # Absolute name.
4425 ac_srcdir=$srcdir$ac_dir_suffix;
4426 ac_top_srcdir=$srcdir
4427 ac_abs_top_srcdir=$srcdir ;;
4429 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4430 ac_top_srcdir=$ac_top_build_prefix$srcdir
4431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4444 cat >>$CONFIG_STATUS <<\_ACEOF
4445 # If the template does not know about datarootdir, expand it.
4446 # FIXME: This hack should be removed a few years after 2.60.
4447 ac_datarootdir_hack=; ac_datarootdir_seen=
4449 case `sed -n '/datarootdir/ {
4458 ' $ac_file_inputs` in
4459 *datarootdir*) ac_datarootdir_seen=yes;;
4460 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4461 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4462 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4464 cat >>$CONFIG_STATUS <<_ACEOF
4465 ac_datarootdir_hack='
4466 s&@datadir@&$datadir&g
4467 s&@docdir@&$docdir&g
4468 s&@infodir@&$infodir&g
4469 s&@localedir@&$localedir&g
4470 s&@mandir@&$mandir&g
4471 s&\\\${datarootdir}&$datarootdir&g' ;;
4475 # Neutralize VPATH when `$srcdir' = `.'.
4476 # Shell code in configure.ac might set extrasub.
4477 # FIXME: do we really want to maintain this feature?
4478 cat >>$CONFIG_STATUS <<_ACEOF
4482 cat >>$CONFIG_STATUS <<\_ACEOF
4484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4485 s&@configure_input@&$configure_input&;t t
4486 s&@top_builddir@&$ac_top_builddir_sub&;t t
4487 s&@srcdir@&$ac_srcdir&;t t
4488 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4489 s&@top_srcdir@&$ac_top_srcdir&;t t
4490 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4491 s&@builddir@&$ac_builddir&;t t
4492 s&@abs_builddir@&$ac_abs_builddir&;t t
4493 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4494 $ac_datarootdir_hack
4495 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4497 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4498 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4499 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4500 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4501 which seems to be undefined. Please make sure it is defined." >&5
4502 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4503 which seems to be undefined. Please make sure it is defined." >&2;}
4507 -) cat "$tmp/out"; rm -f "$tmp/out";;
4508 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4519 { (exit 0); exit 0; }
4521 chmod +x $CONFIG_STATUS
4522 ac_clean_files=$ac_clean_files_save
4525 # configure is writing to config.log, and then calls config.status.
4526 # config.status does its own redirection, appending to config.log.
4527 # Unfortunately, on DOS this fails, as config.log is still kept open
4528 # by configure, so config.status won't be able to write to it; its
4529 # output is simply discarded. So we exec the FD to /dev/null,
4530 # effectively closing config.log, so it can be properly (re)opened and
4531 # appended to by config.status. When coming back to configure, we
4532 # need to make the FD available again.
4533 if test "$no_create" != yes; then
4535 ac_config_status_args=
4536 test "$silent" = yes &&
4537 ac_config_status_args="$ac_config_status_args --quiet"
4539 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4541 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4542 # would make configure fail if this is the last instruction.
4543 $ac_cs_success || { (exit 1); exit 1; }