2 # From configure.in Revision: 1.4 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
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 more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
41 # The user is always right.
42 if test "${PATH_SEPARATOR+set}" != set; then
43 echo "#! /bin/sh" >conf$$.sh
44 echo "exit 0" >>conf$$.sh
46 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
54 # Support unset when possible.
55 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
63 # We need space, tab and new line, in precisely that order. Quoting is
64 # there to prevent editors from complaining about space-tab.
65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66 # splitting by setting IFS to empty value.)
71 # Find who we are. Look in the path if we contain no directory separator.
73 *[\\/]* ) as_myself=$0 ;;
74 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78 test -z "$as_dir" && as_dir=.
79 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
85 # We did not find ourselves, most probably we were run as `sh COMMAND'
86 # in which case we are not to be found in the path.
87 if test "x$as_myself" = x; then
90 if test ! -f "$as_myself"; then
91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
95 # Work around bugs in pre-3.0 UWIN ksh.
96 for as_var in ENV MAIL MAILPATH
97 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110 eval $as_var=C; export $as_var
112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
116 # Required to use basename.
117 if expr a : '\(a\)' >/dev/null 2>&1 &&
118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
131 # Name of the executable.
132 as_me=`$as_basename -- "$0" ||
133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134 X"$0" : 'X\(//\)$' \| \
135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 sed '/^.*\/\([^/][^/]*\)\/*$/{
155 if test "x$CONFIG_SHELL" = x; then
156 if (eval ":") 2>/dev/null; then
162 if test $as_have_required = yes && (eval ":
172 as_func_ret_success () {
175 as_func_ret_failure () {
180 if as_func_success; then
184 echo as_func_success failed.
187 if as_func_failure; then
189 echo as_func_failure succeeded.
192 if as_func_ret_success; then
196 echo as_func_ret_success failed.
199 if as_func_ret_failure; then
201 echo as_func_ret_failure succeeded.
204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
208 echo positional parameters were not saved.
211 test \$exitcode = 0) || { (exit 1); exit 1; }
216 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218 ") 2> /dev/null; then
222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
223 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 test -z "$as_dir" && as_dir=.
229 for as_base in sh bash ksh sh5; do
230 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
237 for as_shell in $as_candidate_shells $SHELL; do
238 # Try only shells that exist, to save several forks.
239 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
240 { ("$as_shell") 2> /dev/null <<\_ASEOF
241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
249 case `(set -o) 2>/dev/null` in
250 *posix*) set -o posix ;;
259 CONFIG_SHELL=$as_shell
261 if { "$as_shell" 2> /dev/null <<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
287 as_func_ret_success () {
290 as_func_ret_failure () {
295 if as_func_success; then
299 echo as_func_success failed.
302 if as_func_failure; then
304 echo as_func_failure succeeded.
307 if as_func_ret_success; then
311 echo as_func_ret_success failed.
314 if as_func_ret_failure; then
316 echo as_func_ret_failure succeeded.
319 if ( set x; as_func_ret_success y && test x = "$1" ); then
323 echo positional parameters were not saved.
326 test $exitcode = 0) || { (exit 1); exit 1; }
331 test "x$as_lineno_1" != "x$as_lineno_2" &&
332 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
343 if test "x$CONFIG_SHELL" != x; then
344 for as_var in BASH_ENV ENV
345 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
352 if test $as_have_required = no; then
353 echo This script requires a shell more modern than all the
354 echo shells that I found on your system. Please install a
355 echo modern shell, or manually run the script under such a
356 echo shell if you do have one.
357 { (exit 1); exit 1; }
367 (eval "as_func_return () {
376 as_func_ret_success () {
379 as_func_ret_failure () {
384 if as_func_success; then
388 echo as_func_success failed.
391 if as_func_failure; then
393 echo as_func_failure succeeded.
396 if as_func_ret_success; then
400 echo as_func_ret_success failed.
403 if as_func_ret_failure; then
405 echo as_func_ret_failure succeeded.
408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
412 echo positional parameters were not saved.
415 test \$exitcode = 0") || {
416 echo No shell found that supports shell functions.
417 echo Please tell autoconf@gnu.org about your system,
418 echo including any error possibly output before this
426 test "x$as_lineno_1" != "x$as_lineno_2" &&
427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
430 # uniformly replaced by the line number. The first 'sed' inserts a
431 # line-number line after each line using $LINENO; the second 'sed'
432 # does the real work. The second script uses 'N' to pair each
433 # line-number line with the line containing $LINENO, and appends
434 # trailing '-' during substitution so that $LINENO is not a special
436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
437 # scripts with optimization help from Paolo Bonzini. Blame Lee
438 # E. McMahon (1931-1989) for sed's syntax. :-)
450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454 chmod +x "$as_me.lineno" ||
455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456 { (exit 1); exit 1; }; }
458 # Don't try to exec as it changes $[0], causing all sort of problems
459 # (the dirname of $[0] is not the place where we might find the
460 # original and so on. Autoconf is especially sensitive to this).
462 # Exit status is that of the last command.
467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
473 ECHO_C= ECHO_N= ECHO_T=
477 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
484 if expr a : '\(a\)' >/dev/null 2>&1 &&
485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
491 rm -f conf$$ conf$$.exe conf$$.file
492 if test -d conf$$.dir; then
493 rm -f conf$$.dir/conf$$.file
499 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 # ... but there are two gotchas:
502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504 # In both cases, we have to default to `cp -p'.
505 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 elif ln conf$$.file conf$$ 2>/dev/null; then
512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513 rmdir conf$$.dir 2>/dev/null
515 if mkdir -p . 2>/dev/null; then
518 test -d ./-p && rmdir ./-p
522 if test -x / >/dev/null 2>&1; then
525 if ls -dL / >/dev/null 2>&1; then
532 if test -d "$1"; then
538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539 ???[sx]*):;;*)false;;esac;fi
543 as_executable_p=$as_test_x
545 # Sed expression to map a string onto a valid CPP name.
546 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548 # Sed expression to map a string onto a valid variable name.
549 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 exec 7<&0 </dev/null 6>&1
556 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557 # so uname gets run too.
558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563 ac_default_prefix=/usr/local
565 ac_config_libobj_dir=.
571 SHELL=${CONFIG_SHELL-/bin/sh}
573 # Identity of this package.
580 ac_unique_file="rlm_sql.c"
590 program_transform_name
633 ac_precious_vars='build_alias
641 ac_subdirs_all='$mysubdirs'
643 # Initialize some variables set by options.
645 ac_init_version=false
646 # The variables have the same names as the options, with
647 # dashes changed to underlines.
655 program_transform_name=s,x,x,
663 # Installation directory options.
664 # These are left unexpanded so users can "make install exec_prefix=/foo"
665 # and all the variables that are supposed to be based on exec_prefix
666 # by default will actually change.
667 # Use braces instead of parens because sh, perl, etc. also accept them.
668 # (The list follows the same order as the GNU Coding Standards.)
669 bindir='${exec_prefix}/bin'
670 sbindir='${exec_prefix}/sbin'
671 libexecdir='${exec_prefix}/libexec'
672 datarootdir='${prefix}/share'
673 datadir='${datarootdir}'
674 sysconfdir='${prefix}/etc'
675 sharedstatedir='${prefix}/com'
676 localstatedir='${prefix}/var'
677 includedir='${prefix}/include'
678 oldincludedir='/usr/include'
679 docdir='${datarootdir}/doc/${PACKAGE}'
680 infodir='${datarootdir}/info'
685 libdir='${exec_prefix}/lib'
686 localedir='${datarootdir}/locale'
687 mandir='${datarootdir}/man'
693 # If the previous option needs an argument, assign it.
694 if test -n "$ac_prev"; then
695 eval $ac_prev=\$ac_option
701 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
705 # Accept the important Cygnus configure options, so we can diagnose typos.
707 case $ac_dashdash$ac_option in
711 -bindir | --bindir | --bindi | --bind | --bin | --bi)
713 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
716 -build | --build | --buil | --bui | --bu)
717 ac_prev=build_alias ;;
718 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
719 build_alias=$ac_optarg ;;
721 -cache-file | --cache-file | --cache-fil | --cache-fi \
722 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
723 ac_prev=cache_file ;;
724 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
725 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
726 cache_file=$ac_optarg ;;
729 cache_file=config.cache ;;
731 -datadir | --datadir | --datadi | --datad)
733 -datadir=* | --datadir=* | --datadi=* | --datad=*)
734 datadir=$ac_optarg ;;
736 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
737 | --dataroo | --dataro | --datar)
738 ac_prev=datarootdir ;;
739 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
740 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
741 datarootdir=$ac_optarg ;;
743 -disable-* | --disable-*)
744 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
747 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
748 { (exit 1); exit 1; }; }
749 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
750 eval enable_$ac_feature=no ;;
752 -docdir | --docdir | --docdi | --doc | --do)
754 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
757 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
759 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
762 -enable-* | --enable-*)
763 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
764 # Reject names that are not valid shell variable names.
765 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
766 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
767 { (exit 1); exit 1; }; }
768 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
769 eval enable_$ac_feature=\$ac_optarg ;;
771 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
772 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
773 | --exec | --exe | --ex)
774 ac_prev=exec_prefix ;;
775 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
776 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
777 | --exec=* | --exe=* | --ex=*)
778 exec_prefix=$ac_optarg ;;
780 -gas | --gas | --ga | --g)
781 # Obsolete; use --with-gas.
784 -help | --help | --hel | --he | -h)
786 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
787 ac_init_help=recursive ;;
788 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
789 ac_init_help=short ;;
791 -host | --host | --hos | --ho)
792 ac_prev=host_alias ;;
793 -host=* | --host=* | --hos=* | --ho=*)
794 host_alias=$ac_optarg ;;
796 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
798 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
800 htmldir=$ac_optarg ;;
802 -includedir | --includedir | --includedi | --included | --include \
803 | --includ | --inclu | --incl | --inc)
804 ac_prev=includedir ;;
805 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
806 | --includ=* | --inclu=* | --incl=* | --inc=*)
807 includedir=$ac_optarg ;;
809 -infodir | --infodir | --infodi | --infod | --info | --inf)
811 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
812 infodir=$ac_optarg ;;
814 -libdir | --libdir | --libdi | --libd)
816 -libdir=* | --libdir=* | --libdi=* | --libd=*)
819 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
820 | --libexe | --libex | --libe)
821 ac_prev=libexecdir ;;
822 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
823 | --libexe=* | --libex=* | --libe=*)
824 libexecdir=$ac_optarg ;;
826 -localedir | --localedir | --localedi | --localed | --locale)
828 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
829 localedir=$ac_optarg ;;
831 -localstatedir | --localstatedir | --localstatedi | --localstated \
832 | --localstate | --localstat | --localsta | --localst | --locals)
833 ac_prev=localstatedir ;;
834 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
835 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
836 localstatedir=$ac_optarg ;;
838 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
840 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
844 # Obsolete; use --without-fp.
847 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
848 | --no-cr | --no-c | -n)
851 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
852 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
855 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
856 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
857 | --oldin | --oldi | --old | --ol | --o)
858 ac_prev=oldincludedir ;;
859 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
860 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
861 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
862 oldincludedir=$ac_optarg ;;
864 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
866 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
869 -program-prefix | --program-prefix | --program-prefi | --program-pref \
870 | --program-pre | --program-pr | --program-p)
871 ac_prev=program_prefix ;;
872 -program-prefix=* | --program-prefix=* | --program-prefi=* \
873 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
874 program_prefix=$ac_optarg ;;
876 -program-suffix | --program-suffix | --program-suffi | --program-suff \
877 | --program-suf | --program-su | --program-s)
878 ac_prev=program_suffix ;;
879 -program-suffix=* | --program-suffix=* | --program-suffi=* \
880 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
881 program_suffix=$ac_optarg ;;
883 -program-transform-name | --program-transform-name \
884 | --program-transform-nam | --program-transform-na \
885 | --program-transform-n | --program-transform- \
886 | --program-transform | --program-transfor \
887 | --program-transfo | --program-transf \
888 | --program-trans | --program-tran \
889 | --progr-tra | --program-tr | --program-t)
890 ac_prev=program_transform_name ;;
891 -program-transform-name=* | --program-transform-name=* \
892 | --program-transform-nam=* | --program-transform-na=* \
893 | --program-transform-n=* | --program-transform-=* \
894 | --program-transform=* | --program-transfor=* \
895 | --program-transfo=* | --program-transf=* \
896 | --program-trans=* | --program-tran=* \
897 | --progr-tra=* | --program-tr=* | --program-t=*)
898 program_transform_name=$ac_optarg ;;
900 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
902 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
905 -psdir | --psdir | --psdi | --psd | --ps)
907 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
910 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
911 | -silent | --silent | --silen | --sile | --sil)
914 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
916 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
918 sbindir=$ac_optarg ;;
920 -sharedstatedir | --sharedstatedir | --sharedstatedi \
921 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
922 | --sharedst | --shareds | --shared | --share | --shar \
924 ac_prev=sharedstatedir ;;
925 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
926 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
927 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
929 sharedstatedir=$ac_optarg ;;
931 -site | --site | --sit)
933 -site=* | --site=* | --sit=*)
936 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
938 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
941 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
942 | --syscon | --sysco | --sysc | --sys | --sy)
943 ac_prev=sysconfdir ;;
944 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
945 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
946 sysconfdir=$ac_optarg ;;
948 -target | --target | --targe | --targ | --tar | --ta | --t)
949 ac_prev=target_alias ;;
950 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
951 target_alias=$ac_optarg ;;
953 -v | -verbose | --verbose | --verbos | --verbo | --verb)
956 -version | --version | --versio | --versi | --vers | -V)
960 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
963 { echo "$as_me: error: invalid package name: $ac_package" >&2
964 { (exit 1); exit 1; }; }
965 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
966 eval with_$ac_package=\$ac_optarg ;;
968 -without-* | --without-*)
969 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
972 { echo "$as_me: error: invalid package name: $ac_package" >&2
973 { (exit 1); exit 1; }; }
974 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
975 eval with_$ac_package=no ;;
978 # Obsolete; use --with-x.
981 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
982 | --x-incl | --x-inc | --x-in | --x-i)
983 ac_prev=x_includes ;;
984 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
985 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
986 x_includes=$ac_optarg ;;
988 -x-libraries | --x-libraries | --x-librarie | --x-librari \
989 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
990 ac_prev=x_libraries ;;
991 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
992 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
993 x_libraries=$ac_optarg ;;
995 -*) { echo "$as_me: error: unrecognized option: $ac_option
996 Try \`$0 --help' for more information." >&2
997 { (exit 1); exit 1; }; }
1001 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1004 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1005 { (exit 1); exit 1; }; }
1006 eval $ac_envvar=\$ac_optarg
1007 export $ac_envvar ;;
1010 # FIXME: should be removed in autoconf 3.0.
1011 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1012 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1014 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1020 if test -n "$ac_prev"; then
1021 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1022 { echo "$as_me: error: missing argument to $ac_option" >&2
1023 { (exit 1); exit 1; }; }
1026 # Be sure to have absolute directory names.
1027 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1028 datadir sysconfdir sharedstatedir localstatedir includedir \
1029 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1030 libdir localedir mandir
1032 eval ac_val=\$$ac_var
1034 [\\/$]* | ?:[\\/]* ) continue;;
1035 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1037 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1038 { (exit 1); exit 1; }; }
1041 # There might be people who depend on the old broken behavior: `$host'
1042 # used to hold the argument of --host etc.
1043 # FIXME: To remove some day.
1046 target=$target_alias
1048 # FIXME: To remove some day.
1049 if test "x$host_alias" != x; then
1050 if test "x$build_alias" = x; then
1051 cross_compiling=maybe
1052 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1053 If a cross compiler is detected then cross compile mode will be used." >&2
1054 elif test "x$build_alias" != "x$host_alias"; then
1060 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1062 test "$silent" = yes && exec 6>/dev/null
1065 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1066 ac_ls_di=`ls -di .` &&
1067 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1068 { echo "$as_me: error: Working directory cannot be determined" >&2
1069 { (exit 1); exit 1; }; }
1070 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1071 { echo "$as_me: error: pwd does not report name of working directory" >&2
1072 { (exit 1); exit 1; }; }
1075 # Find the source files, if location was not specified.
1076 if test -z "$srcdir"; then
1077 ac_srcdir_defaulted=yes
1078 # Try the directory containing this script, then the parent directory.
1079 ac_confdir=`$as_dirname -- "$0" ||
1080 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1081 X"$0" : 'X\(//\)[^/]' \| \
1082 X"$0" : 'X\(//\)$' \| \
1083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1103 if test ! -r "$srcdir/$ac_unique_file"; then
1107 ac_srcdir_defaulted=no
1109 if test ! -r "$srcdir/$ac_unique_file"; then
1110 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1111 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1112 { (exit 1); exit 1; }; }
1114 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1116 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1117 { (exit 1); exit 1; }; }
1119 # When building in place, set srcdir=.
1120 if test "$ac_abs_confdir" = "$ac_pwd"; then
1123 # Remove unnecessary trailing slashes from srcdir.
1124 # Double slashes in file names in object file debugging info
1125 # mess up M-x gdb in Emacs.
1127 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1129 for ac_var in $ac_precious_vars; do
1130 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1131 eval ac_env_${ac_var}_value=\$${ac_var}
1132 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1133 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1137 # Report the --help message.
1139 if test "$ac_init_help" = "long"; then
1140 # Omit some internal or obsolete options to make the list less imposing.
1141 # This message is too long to be a string in the A/UX 3.1 sh.
1143 \`configure' configures this package to adapt to many kinds of systems.
1145 Usage: $0 [OPTION]... [VAR=VALUE]...
1147 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1148 VAR=VALUE. See below for descriptions of some of the useful variables.
1150 Defaults for the options are specified in brackets.
1153 -h, --help display this help and exit
1154 --help=short display options specific to this package
1155 --help=recursive display the short help of all the included packages
1156 -V, --version display version information and exit
1157 -q, --quiet, --silent do not print \`checking...' messages
1158 --cache-file=FILE cache test results in FILE [disabled]
1159 -C, --config-cache alias for \`--cache-file=config.cache'
1160 -n, --no-create do not create output files
1161 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1163 Installation directories:
1164 --prefix=PREFIX install architecture-independent files in PREFIX
1165 [$ac_default_prefix]
1166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1169 By default, \`make install' will install all the files in
1170 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1171 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1172 for instance \`--prefix=\$HOME'.
1174 For better control, use the options below.
1176 Fine tuning of the installation directories:
1177 --bindir=DIR user executables [EPREFIX/bin]
1178 --sbindir=DIR system admin executables [EPREFIX/sbin]
1179 --libexecdir=DIR program executables [EPREFIX/libexec]
1180 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1181 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1182 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1183 --libdir=DIR object code libraries [EPREFIX/lib]
1184 --includedir=DIR C header files [PREFIX/include]
1185 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1186 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1187 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1188 --infodir=DIR info documentation [DATAROOTDIR/info]
1189 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1190 --mandir=DIR man documentation [DATAROOTDIR/man]
1191 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1192 --htmldir=DIR html documentation [DOCDIR]
1193 --dvidir=DIR dvi documentation [DOCDIR]
1194 --pdfdir=DIR pdf documentation [DOCDIR]
1195 --psdir=DIR ps documentation [DOCDIR]
1202 if test -n "$ac_init_help"; then
1207 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1208 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1209 --with-experimental-modules Use experimental and unstable modules. (default=no)
1211 Some influential environment variables:
1212 CC C compiler command
1213 CFLAGS C compiler flags
1214 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1215 nonstandard directory <lib dir>
1216 LIBS libraries to pass to the linker, e.g. -l<library>
1217 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1218 you have headers in a nonstandard directory <include dir>
1220 Use these variables to override the choices made by `configure' or to help
1221 it to find libraries and programs with nonstandard names/locations.
1227 if test "$ac_init_help" = "recursive"; then
1228 # If there are subdirs, report their specific --help.
1229 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1230 test -d "$ac_dir" || continue
1234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1236 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1237 # A ".." for each directory in $ac_dir_suffix.
1238 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1239 case $ac_top_builddir_sub in
1240 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1241 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1244 ac_abs_top_builddir=$ac_pwd
1245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1246 # for backward compatibility:
1247 ac_top_builddir=$ac_top_build_prefix
1250 .) # We are building in place.
1252 ac_top_srcdir=$ac_top_builddir_sub
1253 ac_abs_top_srcdir=$ac_pwd ;;
1254 [\\/]* | ?:[\\/]* ) # Absolute name.
1255 ac_srcdir=$srcdir$ac_dir_suffix;
1256 ac_top_srcdir=$srcdir
1257 ac_abs_top_srcdir=$srcdir ;;
1259 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1260 ac_top_srcdir=$ac_top_build_prefix$srcdir
1261 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1265 cd "$ac_dir" || { ac_status=$?; continue; }
1266 # Check for guested configure.
1267 if test -f "$ac_srcdir/configure.gnu"; then
1269 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1270 elif test -f "$ac_srcdir/configure"; then
1272 $SHELL "$ac_srcdir/configure" --help=recursive
1274 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1276 cd "$ac_pwd" || { ac_status=$?; break; }
1280 test -n "$ac_init_help" && exit $ac_status
1281 if $ac_init_version; then
1284 generated by GNU Autoconf 2.61
1286 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1287 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1288 This configure script is free software; the Free Software Foundation
1289 gives unlimited permission to copy, distribute and modify it.
1293 cat >config.log <<_ACEOF
1294 This file contains any messages produced by compilers while
1295 running configure, to aid debugging if configure makes a mistake.
1297 It was created by $as_me, which was
1298 generated by GNU Autoconf 2.61. Invocation command line was
1310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1317 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1319 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1320 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1322 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1323 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1324 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1325 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1333 test -z "$as_dir" && as_dir=.
1334 echo "PATH: $as_dir"
1350 # Keep a trace of the command line.
1351 # Strip out --no-create and --no-recursion so they do not pile up.
1352 # Strip out --silent because we don't want to record it for future runs.
1353 # Also quote any args containing shell meta-characters.
1354 # Make two passes to allow for proper duplicate-argument suppression.
1358 ac_must_keep_next=false
1364 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1366 | -silent | --silent | --silen | --sile | --sil)
1369 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1372 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1374 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1375 if test $ac_must_keep_next = true; then
1376 ac_must_keep_next=false # Got value, back to normal.
1379 *=* | --config-cache | -C | -disable-* | --disable-* \
1380 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1381 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1382 | -with-* | --with-* | -without-* | --without-* | --x)
1383 case "$ac_configure_args0 " in
1384 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1387 -* ) ac_must_keep_next=true ;;
1390 ac_configure_args="$ac_configure_args '$ac_arg'"
1395 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1396 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1398 # When interrupted or exit'd, cleanup temporary files, and complete
1399 # config.log. We remove comments because anyway the quotes in there
1400 # would cause problems or look ugly.
1401 # WARNING: Use '\'' to represent an apostrophe within the trap.
1402 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1403 trap 'exit_status=$?
1404 # Save into config.log some information that might help in debugging.
1409 ## ---------------- ##
1410 ## Cache variables. ##
1411 ## ---------------- ##
1414 # The following way of writing the cache mishandles newlines in values,
1416 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1417 eval ac_val=\$$ac_var
1421 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1422 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1425 _ | IFS | as_nl) ;; #(
1426 *) $as_unset $ac_var ;;
1431 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1432 *${as_nl}ac_space=\ *)
1434 "s/'\''/'\''\\\\'\'''\''/g;
1435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1438 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1446 ## ----------------- ##
1447 ## Output variables. ##
1448 ## ----------------- ##
1451 for ac_var in $ac_subst_vars
1453 eval ac_val=\$$ac_var
1455 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1457 echo "$ac_var='\''$ac_val'\''"
1461 if test -n "$ac_subst_files"; then
1463 ## ------------------- ##
1464 ## File substitutions. ##
1465 ## ------------------- ##
1468 for ac_var in $ac_subst_files
1470 eval ac_val=\$$ac_var
1472 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1474 echo "$ac_var='\''$ac_val'\''"
1479 if test -s confdefs.h; then
1489 test "$ac_signal" != 0 &&
1490 echo "$as_me: caught signal $ac_signal"
1491 echo "$as_me: exit $exit_status"
1493 rm -f core *.core core.conftest.* &&
1494 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1497 for ac_signal in 1 2 13 15; do
1498 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1502 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1503 rm -f -r conftest* confdefs.h
1505 # Predefined preprocessor variables.
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE_NAME "$PACKAGE_NAME"
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_STRING "$PACKAGE_STRING"
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1532 # Let the site file select an alternate cache file if it wants to.
1533 # Prefer explicitly selected file to automatically selected ones.
1534 if test -n "$CONFIG_SITE"; then
1535 set x "$CONFIG_SITE"
1536 elif test "x$prefix" != xNONE; then
1537 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1539 set x "$ac_default_prefix/share/config.site" \
1540 "$ac_default_prefix/etc/config.site"
1545 if test -r "$ac_site_file"; then
1546 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1547 echo "$as_me: loading site script $ac_site_file" >&6;}
1548 sed 's/^/| /' "$ac_site_file" >&5
1553 if test -r "$cache_file"; then
1554 # Some versions of bash will fail to source /dev/null (special
1555 # files actually), so we avoid doing that.
1556 if test -f "$cache_file"; then
1557 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1558 echo "$as_me: loading cache $cache_file" >&6;}
1560 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1561 *) . "./$cache_file";;
1565 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1566 echo "$as_me: creating cache $cache_file" >&6;}
1570 # Check that the precious variables saved in the cache have kept the same
1572 ac_cache_corrupted=false
1573 for ac_var in $ac_precious_vars; do
1574 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1575 eval ac_new_set=\$ac_env_${ac_var}_set
1576 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1577 eval ac_new_val=\$ac_env_${ac_var}_value
1578 case $ac_old_set,$ac_new_set in
1580 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1581 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1582 ac_cache_corrupted=: ;;
1584 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1585 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1586 ac_cache_corrupted=: ;;
1589 if test "x$ac_old_val" != "x$ac_new_val"; then
1590 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1591 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1592 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1593 echo "$as_me: former value: $ac_old_val" >&2;}
1594 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1595 echo "$as_me: current value: $ac_new_val" >&2;}
1596 ac_cache_corrupted=:
1599 # Pass precious variables to config.status.
1600 if test "$ac_new_set" = set; then
1602 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1603 *) ac_arg=$ac_var=$ac_new_val ;;
1605 case " $ac_configure_args " in
1606 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1607 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1611 if $ac_cache_corrupted; then
1612 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1613 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1614 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1615 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1616 { (exit 1); exit 1; }; }
1636 ac_cpp='$CPP $CPPFLAGS'
1637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1648 if test x$with_rlm_sql != xno; then
1651 ac_cpp='$CPP $CPPFLAGS'
1652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1655 if test -n "$ac_tool_prefix"; then
1656 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1660 if test "${ac_cv_prog_CC+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 if test -n "$CC"; then
1664 ac_cv_prog_CC="$CC" # Let the user override the test.
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir=.
1671 for ac_exec_ext in '' $ac_executable_extensions; do
1672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1673 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1684 if test -n "$CC"; then
1685 { echo "$as_me:$LINENO: result: $CC" >&5
1686 echo "${ECHO_T}$CC" >&6; }
1688 { echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6; }
1694 if test -z "$ac_cv_prog_CC"; then
1696 # Extract the first word of "gcc", so it can be a program name with args.
1697 set dummy gcc; ac_word=$2
1698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 if test -n "$ac_ct_CC"; then
1704 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir=.
1711 for ac_exec_ext in '' $ac_executable_extensions; do
1712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1713 ac_cv_prog_ac_ct_CC="gcc"
1714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6; }
1728 { echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6; }
1732 if test "x$ac_ct_CC" = x; then
1735 case $cross_compiling:$ac_tool_warned in
1737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1738 whose name does not start with the host triplet. If you think this
1739 configuration is useful to you, please write to autoconf@gnu.org." >&5
1740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1741 whose name does not start with the host triplet. If you think this
1742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1743 ac_tool_warned=yes ;;
1751 if test -z "$CC"; then
1752 if test -n "$ac_tool_prefix"; then
1753 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1754 set dummy ${ac_tool_prefix}cc; ac_word=$2
1755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1757 if test "${ac_cv_prog_CC+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 if test -n "$CC"; then
1761 ac_cv_prog_CC="$CC" # Let the user override the test.
1763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767 test -z "$as_dir" && as_dir=.
1768 for ac_exec_ext in '' $ac_executable_extensions; do
1769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1770 ac_cv_prog_CC="${ac_tool_prefix}cc"
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1781 if test -n "$CC"; then
1782 { echo "$as_me:$LINENO: result: $CC" >&5
1783 echo "${ECHO_T}$CC" >&6; }
1785 { echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6; }
1792 if test -z "$CC"; then
1793 # Extract the first word of "cc", so it can be a program name with args.
1794 set dummy cc; ac_word=$2
1795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1797 if test "${ac_cv_prog_CC+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1800 if test -n "$CC"; then
1801 ac_cv_prog_CC="$CC" # Let the user override the test.
1804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808 test -z "$as_dir" && as_dir=.
1809 for ac_exec_ext in '' $ac_executable_extensions; do
1810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1811 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1812 ac_prog_rejected=yes
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 if test $ac_prog_rejected = yes; then
1824 # We found a bogon in the path, so make sure we never use it.
1825 set dummy $ac_cv_prog_CC
1827 if test $# != 0; then
1828 # We chose a different compiler from the bogus one.
1829 # However, it has the same basename, so the bogon will be chosen
1830 # first if we set CC to just the basename; use the full file name.
1832 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1838 if test -n "$CC"; then
1839 { echo "$as_me:$LINENO: result: $CC" >&5
1840 echo "${ECHO_T}$CC" >&6; }
1842 { echo "$as_me:$LINENO: result: no" >&5
1843 echo "${ECHO_T}no" >&6; }
1848 if test -z "$CC"; then
1849 if test -n "$ac_tool_prefix"; then
1850 for ac_prog in cl.exe
1852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1856 if test "${ac_cv_prog_CC+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 if test -n "$CC"; then
1860 ac_cv_prog_CC="$CC" # Let the user override the test.
1862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir=.
1867 for ac_exec_ext in '' $ac_executable_extensions; do
1868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1869 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 if test -n "$CC"; then
1881 { echo "$as_me:$LINENO: result: $CC" >&5
1882 echo "${ECHO_T}$CC" >&6; }
1884 { echo "$as_me:$LINENO: result: no" >&5
1885 echo "${ECHO_T}no" >&6; }
1889 test -n "$CC" && break
1892 if test -z "$CC"; then
1894 for ac_prog in cl.exe
1896 # Extract the first word of "$ac_prog", so it can be a program name with args.
1897 set dummy $ac_prog; ac_word=$2
1898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$ac_ct_CC"; then
1904 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1913 ac_cv_prog_ac_ct_CC="$ac_prog"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1923 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1924 if test -n "$ac_ct_CC"; then
1925 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1926 echo "${ECHO_T}$ac_ct_CC" >&6; }
1928 { echo "$as_me:$LINENO: result: no" >&5
1929 echo "${ECHO_T}no" >&6; }
1933 test -n "$ac_ct_CC" && break
1936 if test "x$ac_ct_CC" = x; then
1939 case $cross_compiling:$ac_tool_warned in
1941 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1942 whose name does not start with the host triplet. If you think this
1943 configuration is useful to you, please write to autoconf@gnu.org." >&5
1944 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1945 whose name does not start with the host triplet. If you think this
1946 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1947 ac_tool_warned=yes ;;
1956 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1957 See \`config.log' for more details." >&5
1958 echo "$as_me: error: no acceptable C compiler found in \$PATH
1959 See \`config.log' for more details." >&2;}
1960 { (exit 1); exit 1; }; }
1962 # Provide some information about the compiler.
1963 echo "$as_me:$LINENO: checking for C compiler version" >&5
1964 ac_compiler=`set X $ac_compile; echo $2`
1965 { (ac_try="$ac_compiler --version >&5"
1967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968 *) ac_try_echo=$ac_try;;
1970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1971 (eval "$ac_compiler --version >&5") 2>&5
1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974 (exit $ac_status); }
1975 { (ac_try="$ac_compiler -v >&5"
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1981 (eval "$ac_compiler -v >&5") 2>&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); }
1985 { (ac_try="$ac_compiler -V >&5"
1987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1988 *) ac_try_echo=$ac_try;;
1990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1991 (eval "$ac_compiler -V >&5") 2>&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); }
1996 cat >conftest.$ac_ext <<_ACEOF
1999 cat confdefs.h >>conftest.$ac_ext
2000 cat >>conftest.$ac_ext <<_ACEOF
2001 /* end confdefs.h. */
2011 ac_clean_files_save=$ac_clean_files
2012 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2013 # Try to create an executable without -o first, disregard a.out.
2014 # It will help us diagnose broken compilers, and finding out an intuition
2016 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2017 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2018 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2020 # List of possible output files, starting from the most likely.
2021 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2022 # only as a last resort. b.out is created by i960 compilers.
2023 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2025 # The IRIX 6 linker writes into existing files which may not be
2026 # executable, retaining their permissions. Remove them first so a
2027 # subsequent execution test works.
2029 for ac_file in $ac_files
2032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2033 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2038 if { (ac_try="$ac_link_default"
2040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2041 *) ac_try_echo=$ac_try;;
2043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2044 (eval "$ac_link_default") 2>&5
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2047 (exit $ac_status); }; then
2048 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2049 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2050 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2051 # so that the user can short-circuit this test for compilers unknown to
2053 for ac_file in $ac_files ''
2055 test -f "$ac_file" || continue
2057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2060 # We found the default executable, but exeext='' is most
2064 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2066 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2068 # We set ac_cv_exeext here because the later test for it is not
2069 # safe: cross compilers may not add the suffix if given an `-o'
2070 # argument, so we may need to know it at that point already.
2071 # Even if this section looks crufty: it has the advantage of
2078 test "$ac_cv_exeext" = no && ac_cv_exeext=
2084 { echo "$as_me:$LINENO: result: $ac_file" >&5
2085 echo "${ECHO_T}$ac_file" >&6; }
2086 if test -z "$ac_file"; then
2087 echo "$as_me: failed program was:" >&5
2088 sed 's/^/| /' conftest.$ac_ext >&5
2090 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2091 See \`config.log' for more details." >&5
2092 echo "$as_me: error: C compiler cannot create executables
2093 See \`config.log' for more details." >&2;}
2094 { (exit 77); exit 77; }; }
2097 ac_exeext=$ac_cv_exeext
2099 # Check that the compiler produces executables we can run. If not, either
2100 # the compiler is broken, or we cross compile.
2101 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2102 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2103 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2104 # If not cross compiling, check that we can run a simple program.
2105 if test "$cross_compiling" != yes; then
2106 if { ac_try='./$ac_file'
2107 { (case "(($ac_try" in
2108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109 *) ac_try_echo=$ac_try;;
2111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2112 (eval "$ac_try") 2>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }; }; then
2118 if test "$cross_compiling" = maybe; then
2121 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2122 If you meant to cross compile, use \`--host'.
2123 See \`config.log' for more details." >&5
2124 echo "$as_me: error: cannot run C compiled programs.
2125 If you meant to cross compile, use \`--host'.
2126 See \`config.log' for more details." >&2;}
2127 { (exit 1); exit 1; }; }
2131 { echo "$as_me:$LINENO: result: yes" >&5
2132 echo "${ECHO_T}yes" >&6; }
2134 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2135 ac_clean_files=$ac_clean_files_save
2136 # Check that the compiler produces executables we can run. If not, either
2137 # the compiler is broken, or we cross compile.
2138 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2139 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2140 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2141 echo "${ECHO_T}$cross_compiling" >&6; }
2143 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2144 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2145 if { (ac_try="$ac_link"
2147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2148 *) ac_try_echo=$ac_try;;
2150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2151 (eval "$ac_link") 2>&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; then
2155 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2156 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2157 # work properly (i.e., refer to `conftest.exe'), while it won't with
2159 for ac_file in conftest.exe conftest conftest.*; do
2160 test -f "$ac_file" || continue
2162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2163 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2169 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2170 See \`config.log' for more details." >&5
2171 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2172 See \`config.log' for more details." >&2;}
2173 { (exit 1); exit 1; }; }
2176 rm -f conftest$ac_cv_exeext
2177 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2178 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2180 rm -f conftest.$ac_ext
2181 EXEEXT=$ac_cv_exeext
2183 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2184 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2185 if test "${ac_cv_objext+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 cat >conftest.$ac_ext <<_ACEOF
2191 cat confdefs.h >>conftest.$ac_ext
2192 cat >>conftest.$ac_ext <<_ACEOF
2193 /* end confdefs.h. */
2203 rm -f conftest.o conftest.obj
2204 if { (ac_try="$ac_compile"
2206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2207 *) ac_try_echo=$ac_try;;
2209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2210 (eval "$ac_compile") 2>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; then
2214 for ac_file in conftest.o conftest.obj conftest.*; do
2215 test -f "$ac_file" || continue;
2217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2218 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2223 echo "$as_me: failed program was:" >&5
2224 sed 's/^/| /' conftest.$ac_ext >&5
2226 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2227 See \`config.log' for more details." >&5
2228 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2229 See \`config.log' for more details." >&2;}
2230 { (exit 1); exit 1; }; }
2233 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2235 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2236 echo "${ECHO_T}$ac_cv_objext" >&6; }
2237 OBJEXT=$ac_cv_objext
2239 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2240 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2241 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 cat >conftest.$ac_ext <<_ACEOF
2247 cat confdefs.h >>conftest.$ac_ext
2248 cat >>conftest.$ac_ext <<_ACEOF
2249 /* end confdefs.h. */
2262 rm -f conftest.$ac_objext
2263 if { (ac_try="$ac_compile"
2265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2266 *) ac_try_echo=$ac_try;;
2268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2269 (eval "$ac_compile") 2>conftest.er1
2271 grep -v '^ *+' conftest.er1 >conftest.err
2273 cat conftest.err >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); } && {
2276 test -z "$ac_c_werror_flag" ||
2277 test ! -s conftest.err
2278 } && test -s conftest.$ac_objext; then
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2291 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2292 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2293 GCC=`test $ac_compiler_gnu = yes && echo yes`
2294 ac_test_CFLAGS=${CFLAGS+set}
2295 ac_save_CFLAGS=$CFLAGS
2296 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2297 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2298 if test "${ac_cv_prog_cc_g+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 ac_save_c_werror_flag=$ac_c_werror_flag
2302 ac_c_werror_flag=yes
2305 cat >conftest.$ac_ext <<_ACEOF
2308 cat confdefs.h >>conftest.$ac_ext
2309 cat >>conftest.$ac_ext <<_ACEOF
2310 /* end confdefs.h. */
2320 rm -f conftest.$ac_objext
2321 if { (ac_try="$ac_compile"
2323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2324 *) ac_try_echo=$ac_try;;
2326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2327 (eval "$ac_compile") 2>conftest.er1
2329 grep -v '^ *+' conftest.er1 >conftest.err
2331 cat conftest.err >&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); } && {
2334 test -z "$ac_c_werror_flag" ||
2335 test ! -s conftest.err
2336 } && test -s conftest.$ac_objext; then
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2343 cat >conftest.$ac_ext <<_ACEOF
2346 cat confdefs.h >>conftest.$ac_ext
2347 cat >>conftest.$ac_ext <<_ACEOF
2348 /* end confdefs.h. */
2358 rm -f conftest.$ac_objext
2359 if { (ac_try="$ac_compile"
2361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2362 *) ac_try_echo=$ac_try;;
2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365 (eval "$ac_compile") 2>conftest.er1
2367 grep -v '^ *+' conftest.er1 >conftest.err
2369 cat conftest.err >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); } && {
2372 test -z "$ac_c_werror_flag" ||
2373 test ! -s conftest.err
2374 } && test -s conftest.$ac_objext; then
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2380 ac_c_werror_flag=$ac_save_c_werror_flag
2382 cat >conftest.$ac_ext <<_ACEOF
2385 cat confdefs.h >>conftest.$ac_ext
2386 cat >>conftest.$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2397 rm -f conftest.$ac_objext
2398 if { (ac_try="$ac_compile"
2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2404 (eval "$ac_compile") 2>conftest.er1
2406 grep -v '^ *+' conftest.er1 >conftest.err
2408 cat conftest.err >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); } && {
2411 test -z "$ac_c_werror_flag" ||
2412 test ! -s conftest.err
2413 } && test -s conftest.$ac_objext; then
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.$ac_ext >&5
2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2429 ac_c_werror_flag=$ac_save_c_werror_flag
2431 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2432 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2433 if test "$ac_test_CFLAGS" = set; then
2434 CFLAGS=$ac_save_CFLAGS
2435 elif test $ac_cv_prog_cc_g = yes; then
2436 if test "$GCC" = yes; then
2442 if test "$GCC" = yes; then
2448 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2449 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2450 if test "${ac_cv_prog_cc_c89+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 ac_cv_prog_cc_c89=no
2455 cat >conftest.$ac_ext <<_ACEOF
2458 cat confdefs.h >>conftest.$ac_ext
2459 cat >>conftest.$ac_ext <<_ACEOF
2460 /* end confdefs.h. */
2463 #include <sys/types.h>
2464 #include <sys/stat.h>
2465 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2466 struct buf { int x; };
2467 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2468 static char *e (p, i)
2474 static char *f (char * (*g) (char **, int), char **p, ...)
2479 s = g (p, va_arg (v,int));
2484 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2485 function prototypes and stuff, but not '\xHH' hex character constants.
2486 These don't provoke an error unfortunately, instead are silently treated
2487 as 'x'. The following induces an error, until -std is added to get
2488 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2489 array size at least. It's necessary to write '\x00'==0 to get something
2490 that's true only with -std. */
2491 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2493 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2494 inside strings and character constants. */
2496 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2498 int test (int i, double x);
2499 struct s1 {int (*f) (int a);};
2500 struct s2 {int (*f) (double a);};
2501 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2507 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2512 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2513 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2515 CC="$ac_save_CC $ac_arg"
2516 rm -f conftest.$ac_objext
2517 if { (ac_try="$ac_compile"
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_compile") 2>conftest.er1
2525 grep -v '^ *+' conftest.er1 >conftest.err
2527 cat conftest.err >&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); } && {
2530 test -z "$ac_c_werror_flag" ||
2531 test ! -s conftest.err
2532 } && test -s conftest.$ac_objext; then
2533 ac_cv_prog_cc_c89=$ac_arg
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2541 rm -f core conftest.err conftest.$ac_objext
2542 test "x$ac_cv_prog_cc_c89" != "xno" && break
2544 rm -f conftest.$ac_ext
2549 case "x$ac_cv_prog_cc_c89" in
2551 { echo "$as_me:$LINENO: result: none needed" >&5
2552 echo "${ECHO_T}none needed" >&6; } ;;
2554 { echo "$as_me:$LINENO: result: unsupported" >&5
2555 echo "${ECHO_T}unsupported" >&6; } ;;
2557 CC="$CC $ac_cv_prog_cc_c89"
2558 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2559 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2564 ac_cpp='$CPP $CPPFLAGS'
2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2572 # Check whether --with-experimental-modules was given.
2573 if test "${with_experimental_modules+set}" = set; then
2574 withval=$with_experimental_modules; case "$withval" in
2585 if test "x$EXPERIMENTAL" = "xyes"; then
2586 for foo in `find ./drivers -name configure -print`; do
2587 bar=`echo $foo | sed 's%/configure$%%g'`
2588 mysubdirs="$mysubdirs $bar"
2591 for foo in `cat stable`; do
2592 mysubdirs="$mysubdirs ./drivers/$foo"
2597 if test "x$EXPERIMENTAL" = "xyes"; then
2598 for foo in `ls ./drivers/rlm_*/Makefile* | sed 's/.*rlm/rlm/;s,/Make.*,,' | sort -u`; do
2599 SQL_MODULES="$SQL_MODULES $foo"
2602 for foo in `cat stable`; do
2603 SQL_MODULES="$SQL_MODULES $foo"
2607 ln -s ../../../install-sh install-sh
2610 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2611 if test -f "$ac_dir/install-sh"; then
2613 ac_install_sh="$ac_aux_dir/install-sh -c"
2615 elif test -f "$ac_dir/install.sh"; then
2617 ac_install_sh="$ac_aux_dir/install.sh -c"
2619 elif test -f "$ac_dir/shtool"; then
2621 ac_install_sh="$ac_aux_dir/shtool install -c"
2625 if test -z "$ac_aux_dir"; then
2626 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2627 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2628 { (exit 1); exit 1; }; }
2631 # These three variables are undocumented and unsupported,
2632 # and are intended to be withdrawn in a future Autoconf release.
2633 # They can cause serious problems if a builder's source tree is in a directory
2634 # whose full name contains unusual characters.
2635 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2636 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2637 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2640 subdirs="$subdirs $mysubdirs"
2648 echo \*\*\* module rlm_sql is disabled.
2651 if test x"$fail" != x""; then
2652 if test x"${enable_strict_dependencies}" = x"yes"; then
2653 { { echo "$as_me:$LINENO: error: set --without-rlm_sql to disable it explicitly." >&5
2654 echo "$as_me: error: set --without-rlm_sql to disable it explicitly." >&2;}
2655 { (exit 1); exit 1; }; }
2657 { echo "$as_me:$LINENO: WARNING: silently not building rlm_sql." >&5
2658 echo "$as_me: WARNING: silently not building rlm_sql." >&2;}
2659 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_sql requires: $fail." >&5
2660 echo "$as_me: WARNING: FAILURE: rlm_sql requires: $fail." >&2;}
2661 if test x"$headersuggestion" != x; then
2662 { echo "$as_me:$LINENO: WARNING: $headersuggestion" >&5
2663 echo "$as_me: WARNING: $headersuggestion" >&2;}
2665 if test x"$libsuggestion" != x; then
2666 { echo "$as_me:$LINENO: WARNING: $libsuggestion" >&5
2667 echo "$as_me: WARNING: $libsuggestion" >&2;}
2674 sql_ldflags=$SMART_LIBS
2675 sql_cflags=$SMART_CFLAGS
2681 unset ac_cv_env_LIBS_set
2682 unset ac_cv_env_LIBS_value
2684 ac_config_files="$ac_config_files ./Makefile ./drivers/Makefile"
2686 cat >confcache <<\_ACEOF
2687 # This file is a shell script that caches the results of configure
2688 # tests run on this system so they can be shared between configure
2689 # scripts and configure runs, see configure's option --config-cache.
2690 # It is not useful on other systems. If it contains results you don't
2691 # want to keep, you may remove or edit it.
2693 # config.status only pays attention to the cache file if you give it
2694 # the --recheck option to rerun configure.
2696 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2697 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2702 # The following way of writing the cache mishandles newlines in values,
2703 # but we know of no workaround that is simple, portable, and efficient.
2704 # So, we kill variables containing newlines.
2705 # Ultrix sh set writes to stderr and can't be redirected directly,
2706 # and sets the high bit in the cache file unless we assign to the vars.
2708 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2709 eval ac_val=\$$ac_var
2713 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2714 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2717 _ | IFS | as_nl) ;; #(
2718 *) $as_unset $ac_var ;;
2724 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2725 *${as_nl}ac_space=\ *)
2726 # `set' does not quote correctly, so add quotes (double-quote
2727 # substitution turns \\\\ into \\, and sed turns \\ into \).
2730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2733 # `set' quotes correctly as required by POSIX, so do not add quotes.
2734 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2743 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2745 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2747 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2748 if test -w "$cache_file"; then
2749 test "x$cache_file" != "x/dev/null" &&
2750 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2751 echo "$as_me: updating cache $cache_file" >&6;}
2752 cat confcache >$cache_file
2754 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2755 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2760 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2761 # Let make expand exec_prefix.
2762 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2764 # Transform confdefs.h into DEFS.
2765 # Protect against shell expansion while executing Makefile rules.
2766 # Protect against Makefile macro expansion.
2768 # If the first sed substitution is executed (which looks for macros that
2769 # take arguments), then branch to the quote section. Otherwise,
2770 # look for a macro that doesn't take arguments.
2774 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2776 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2780 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2793 DEFS=`sed -n "$ac_script" confdefs.h`
2798 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2799 # 1. Remove the extension, and $U if already installed.
2800 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2801 ac_i=`echo "$ac_i" | sed "$ac_script"`
2802 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2803 # will be set to the directory where LIBOBJS objects are built.
2804 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2805 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2809 LTLIBOBJS=$ac_ltlibobjs
2813 : ${CONFIG_STATUS=./config.status}
2814 ac_clean_files_save=$ac_clean_files
2815 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2816 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2817 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2818 cat >$CONFIG_STATUS <<_ACEOF
2820 # Generated by $as_me.
2821 # Run this file to recreate the current configuration.
2822 # Compiler output produced by configure, useful for debugging
2823 # configure, is in config.log if it exists.
2828 SHELL=\${CONFIG_SHELL-$SHELL}
2831 cat >>$CONFIG_STATUS <<\_ACEOF
2832 ## --------------------- ##
2833 ## M4sh Initialization. ##
2834 ## --------------------- ##
2836 # Be more Bourne compatible
2837 DUALCASE=1; export DUALCASE # for MKS sh
2838 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2841 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2842 # is contrary to our usage. Disable this feature.
2843 alias -g '${1+"$@"}'='"$@"'
2844 setopt NO_GLOB_SUBST
2846 case `(set -o) 2>/dev/null` in
2847 *posix*) set -o posix ;;
2856 # Avoid depending upon Character Ranges.
2857 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2858 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2859 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2860 as_cr_digits='0123456789'
2861 as_cr_alnum=$as_cr_Letters$as_cr_digits
2863 # The user is always right.
2864 if test "${PATH_SEPARATOR+set}" != set; then
2865 echo "#! /bin/sh" >conf$$.sh
2866 echo "exit 0" >>conf$$.sh
2868 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2876 # Support unset when possible.
2877 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2885 # We need space, tab and new line, in precisely that order. Quoting is
2886 # there to prevent editors from complaining about space-tab.
2887 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2888 # splitting by setting IFS to empty value.)
2893 # Find who we are. Look in the path if we contain no directory separator.
2895 *[\\/]* ) as_myself=$0 ;;
2896 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir=.
2901 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2907 # We did not find ourselves, most probably we were run as `sh COMMAND'
2908 # in which case we are not to be found in the path.
2909 if test "x$as_myself" = x; then
2912 if test ! -f "$as_myself"; then
2913 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2914 { (exit 1); exit 1; }
2917 # Work around bugs in pre-3.0 UWIN ksh.
2918 for as_var in ENV MAIL MAILPATH
2919 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2927 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2928 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2929 LC_TELEPHONE LC_TIME
2931 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2932 eval $as_var=C; export $as_var
2934 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2938 # Required to use basename.
2939 if expr a : '\(a\)' >/dev/null 2>&1 &&
2940 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2946 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2947 as_basename=basename
2953 # Name of the executable.
2954 as_me=`$as_basename -- "$0" ||
2955 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2956 X"$0" : 'X\(//\)$' \| \
2957 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2959 sed '/^.*\/\([^/][^/]*\)\/*$/{
2980 test "x$as_lineno_1" != "x$as_lineno_2" &&
2981 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2983 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2984 # uniformly replaced by the line number. The first 'sed' inserts a
2985 # line-number line after each line using $LINENO; the second 'sed'
2986 # does the real work. The second script uses 'N' to pair each
2987 # line-number line with the line containing $LINENO, and appends
2988 # trailing '-' during substitution so that $LINENO is not a special
2990 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2991 # scripts with optimization help from Paolo Bonzini. Blame Lee
2992 # E. McMahon (1931-1989) for sed's syntax. :-)
3004 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3008 chmod +x "$as_me.lineno" ||
3009 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3010 { (exit 1); exit 1; }; }
3012 # Don't try to exec as it changes $[0], causing all sort of problems
3013 # (the dirname of $[0] is not the place where we might find the
3014 # original and so on. Autoconf is especially sensitive to this).
3016 # Exit status is that of the last command.
3021 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3027 ECHO_C= ECHO_N= ECHO_T=
3030 case `echo 'x\c'` in
3031 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3038 if expr a : '\(a\)' >/dev/null 2>&1 &&
3039 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3045 rm -f conf$$ conf$$.exe conf$$.file
3046 if test -d conf$$.dir; then
3047 rm -f conf$$.dir/conf$$.file
3053 if ln -s conf$$.file conf$$ 2>/dev/null; then
3055 # ... but there are two gotchas:
3056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3058 # In both cases, we have to default to `cp -p'.
3059 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3061 elif ln conf$$.file conf$$ 2>/dev/null; then
3066 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3067 rmdir conf$$.dir 2>/dev/null
3069 if mkdir -p . 2>/dev/null; then
3072 test -d ./-p && rmdir ./-p
3076 if test -x / >/dev/null 2>&1; then
3079 if ls -dL / >/dev/null 2>&1; then
3086 if test -d "$1"; then
3092 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3093 ???[sx]*):;;*)false;;esac;fi
3097 as_executable_p=$as_test_x
3099 # Sed expression to map a string onto a valid CPP name.
3100 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3102 # Sed expression to map a string onto a valid variable name.
3103 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3108 # Save the log message, to keep $[0] and so on meaningful, and to
3109 # report actual input values of CONFIG_FILES etc. instead of their
3110 # values after options handling.
3112 This file was extended by $as_me, which was
3113 generated by GNU Autoconf 2.61. Invocation command line was
3115 CONFIG_FILES = $CONFIG_FILES
3116 CONFIG_HEADERS = $CONFIG_HEADERS
3117 CONFIG_LINKS = $CONFIG_LINKS
3118 CONFIG_COMMANDS = $CONFIG_COMMANDS
3121 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3126 cat >>$CONFIG_STATUS <<_ACEOF
3127 # Files that config.status was made for.
3128 config_files="$ac_config_files"
3132 cat >>$CONFIG_STATUS <<\_ACEOF
3134 \`$as_me' instantiates files from templates according to the
3135 current configuration.
3137 Usage: $0 [OPTIONS] [FILE]...
3139 -h, --help print this help, then exit
3140 -V, --version print version number and configuration settings, then exit
3141 -q, --quiet do not print progress messages
3142 -d, --debug don't remove temporary files
3143 --recheck update $as_me by reconfiguring in the same conditions
3144 --file=FILE[:TEMPLATE]
3145 instantiate the configuration file FILE
3147 Configuration files:
3150 Report bugs to <bug-autoconf@gnu.org>."
3153 cat >>$CONFIG_STATUS <<_ACEOF
3156 configured by $0, generated by GNU Autoconf 2.61,
3157 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3159 Copyright (C) 2006 Free Software Foundation, Inc.
3160 This config.status script is free software; the Free Software Foundation
3161 gives unlimited permission to copy, distribute and modify it."
3167 cat >>$CONFIG_STATUS <<\_ACEOF
3168 # If no file are specified by the user, then we need to provide default
3169 # value. By we need to know if files were specified by the user.
3175 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3176 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3187 # Handling of the options.
3188 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3190 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3191 echo "$ac_cs_version"; exit ;;
3192 --debug | --debu | --deb | --de | --d | -d )
3194 --file | --fil | --fi | --f )
3196 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3197 ac_need_defaults=false;;
3198 --he | --h | --help | --hel | -h )
3199 echo "$ac_cs_usage"; exit ;;
3200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3201 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3205 -*) { echo "$as_me: error: unrecognized option: $1
3206 Try \`$0 --help' for more information." >&2
3207 { (exit 1); exit 1; }; } ;;
3209 *) ac_config_targets="$ac_config_targets $1"
3210 ac_need_defaults=false ;;
3216 ac_configure_extra_args=
3218 if $ac_cs_silent; then
3220 ac_configure_extra_args="$ac_configure_extra_args --silent"
3224 cat >>$CONFIG_STATUS <<_ACEOF
3225 if \$ac_cs_recheck; then
3226 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3229 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3233 cat >>$CONFIG_STATUS <<\_ACEOF
3237 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3238 ## Running $as_me. ##
3244 cat >>$CONFIG_STATUS <<_ACEOF
3247 cat >>$CONFIG_STATUS <<\_ACEOF
3249 # Handling of arguments.
3250 for ac_config_target in $ac_config_targets
3252 case $ac_config_target in
3253 "./Makefile") CONFIG_FILES="$CONFIG_FILES ./Makefile" ;;
3254 "./drivers/Makefile") CONFIG_FILES="$CONFIG_FILES ./drivers/Makefile" ;;
3256 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3257 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3258 { (exit 1); exit 1; }; };;
3263 # If the user did not use the arguments to specify the items to instantiate,
3264 # then the envvar interface is used. Set only those that are not.
3265 # We use the long form for the default assignment because of an extremely
3266 # bizarre bug on SunOS 4.1.3.
3267 if $ac_need_defaults; then
3268 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3271 # Have a temporary directory for convenience. Make it in the build tree
3272 # simply because there is no reason against having it here, and in addition,
3273 # creating and moving files from /tmp can sometimes cause problems.
3274 # Hook for its removal unless debugging.
3275 # Note that there is a small window in which the directory will not be cleaned:
3276 # after its creation but before its name has been assigned to `$tmp'.
3280 trap 'exit_status=$?
3281 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3283 trap '{ (exit 1); exit 1; }' 1 2 13 15
3285 # Create a (secure) tmp directory for tmp files.
3288 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3289 test -n "$tmp" && test -d "$tmp"
3292 tmp=./conf$$-$RANDOM
3293 (umask 077 && mkdir "$tmp")
3296 echo "$me: cannot create a temporary directory in ." >&2
3297 { (exit 1); exit 1; }
3301 # Set up the sed scripts for CONFIG_FILES section.
3304 # No need to generate the scripts if there are no CONFIG_FILES.
3305 # This happens for instance when ./config.status config.h
3306 if test -n "$CONFIG_FILES"; then
3313 for ac_last_try in false false false false false :; do
3314 cat >conf$$subs.sed <<_ACEOF
3315 SHELL!$SHELL$ac_delim
3316 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3317 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3318 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3319 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3320 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3321 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3322 exec_prefix!$exec_prefix$ac_delim
3323 prefix!$prefix$ac_delim
3324 program_transform_name!$program_transform_name$ac_delim
3325 bindir!$bindir$ac_delim
3326 sbindir!$sbindir$ac_delim
3327 libexecdir!$libexecdir$ac_delim
3328 datarootdir!$datarootdir$ac_delim
3329 datadir!$datadir$ac_delim
3330 sysconfdir!$sysconfdir$ac_delim
3331 sharedstatedir!$sharedstatedir$ac_delim
3332 localstatedir!$localstatedir$ac_delim
3333 includedir!$includedir$ac_delim
3334 oldincludedir!$oldincludedir$ac_delim
3335 docdir!$docdir$ac_delim
3336 infodir!$infodir$ac_delim
3337 htmldir!$htmldir$ac_delim
3338 dvidir!$dvidir$ac_delim
3339 pdfdir!$pdfdir$ac_delim
3340 psdir!$psdir$ac_delim
3341 libdir!$libdir$ac_delim
3342 localedir!$localedir$ac_delim
3343 mandir!$mandir$ac_delim
3345 ECHO_C!$ECHO_C$ac_delim
3346 ECHO_N!$ECHO_N$ac_delim
3347 ECHO_T!$ECHO_T$ac_delim
3349 build_alias!$build_alias$ac_delim
3350 host_alias!$host_alias$ac_delim
3351 target_alias!$target_alias$ac_delim
3353 CFLAGS!$CFLAGS$ac_delim
3354 LDFLAGS!$LDFLAGS$ac_delim
3355 CPPFLAGS!$CPPFLAGS$ac_delim
3356 ac_ct_CC!$ac_ct_CC$ac_delim
3357 EXEEXT!$EXEEXT$ac_delim
3358 OBJEXT!$OBJEXT$ac_delim
3359 subdirs!$subdirs$ac_delim
3360 sql_ldflags!$sql_ldflags$ac_delim
3361 sql_cflags!$sql_cflags$ac_delim
3362 targetname!$targetname$ac_delim
3363 SQL_MODULES!$SQL_MODULES$ac_delim
3364 LIBOBJS!$LIBOBJS$ac_delim
3365 LTLIBOBJS!$LTLIBOBJS$ac_delim
3368 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
3370 elif $ac_last_try; then
3371 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3372 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3373 { (exit 1); exit 1; }; }
3375 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3379 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3380 if test -n "$ac_eof"; then
3381 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3382 ac_eof=`expr $ac_eof + 1`
3385 cat >>$CONFIG_STATUS <<_ACEOF
3386 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3387 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3390 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3391 s/^/s,@/; s/!/@,|#_!!_#|/
3394 s/'"$ac_delim"'$/,g/; t
3396 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3397 ' >>$CONFIG_STATUS <conf$$subs.sed
3398 rm -f conf$$subs.sed
3399 cat >>$CONFIG_STATUS <<_ACEOF
3406 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3407 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3408 # trailing colons and then remove the whole line if VPATH becomes empty
3409 # (actually we leave an empty line to preserve line numbers).
3410 if test "x$srcdir" = x.; then
3411 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3415 s/^\([^=]*=[ ]*\):*/\1/
3421 cat >>$CONFIG_STATUS <<\_ACEOF
3422 fi # test -n "$CONFIG_FILES"
3425 for ac_tag in :F $CONFIG_FILES
3428 :[FHLC]) ac_mode=$ac_tag; continue;;
3430 case $ac_mode$ac_tag in
3432 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3433 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3434 { (exit 1); exit 1; }; };;
3435 :[FH]-) ac_tag=-:-;;
3436 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3453 -) ac_f="$tmp/stdin";;
3454 *) # Look for the file first in the build tree, then in the source tree
3455 # (if the path is not absolute). The absolute path cannot be DOS-style,
3456 # because $ac_f cannot contain `:'.
3460 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3462 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3463 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3464 { (exit 1); exit 1; }; };;
3466 ac_file_inputs="$ac_file_inputs $ac_f"
3469 # Let's still pretend it is `configure' which instantiates (i.e., don't
3470 # use $as_me), people would be surprised to read:
3471 # /* config.h. Generated by config.status. */
3472 configure_input="Generated from "`IFS=:
3473 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3474 if test x"$ac_file" != x-; then
3475 configure_input="$ac_file. $configure_input"
3476 { echo "$as_me:$LINENO: creating $ac_file" >&5
3477 echo "$as_me: creating $ac_file" >&6;}
3481 *:-:* | *:-) cat >"$tmp/stdin";;
3486 ac_dir=`$as_dirname -- "$ac_file" ||
3487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3488 X"$ac_file" : 'X\(//\)[^/]' \| \
3489 X"$ac_file" : 'X\(//\)$' \| \
3490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3511 -*) as_dir=./$as_dir;;
3513 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3517 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3518 *) as_qdir=$as_dir;;
3520 as_dirs="'$as_qdir' $as_dirs"
3521 as_dir=`$as_dirname -- "$as_dir" ||
3522 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3523 X"$as_dir" : 'X\(//\)[^/]' \| \
3524 X"$as_dir" : 'X\(//\)$' \| \
3525 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3544 test -d "$as_dir" && break
3546 test -z "$as_dirs" || eval "mkdir $as_dirs"
3547 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3548 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3549 { (exit 1); exit 1; }; }; }
3553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3555 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3556 # A ".." for each directory in $ac_dir_suffix.
3557 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3558 case $ac_top_builddir_sub in
3559 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3560 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3563 ac_abs_top_builddir=$ac_pwd
3564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3565 # for backward compatibility:
3566 ac_top_builddir=$ac_top_build_prefix
3569 .) # We are building in place.
3571 ac_top_srcdir=$ac_top_builddir_sub
3572 ac_abs_top_srcdir=$ac_pwd ;;
3573 [\\/]* | ?:[\\/]* ) # Absolute name.
3574 ac_srcdir=$srcdir$ac_dir_suffix;
3575 ac_top_srcdir=$srcdir
3576 ac_abs_top_srcdir=$srcdir ;;
3578 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3579 ac_top_srcdir=$ac_top_build_prefix$srcdir
3580 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3593 cat >>$CONFIG_STATUS <<\_ACEOF
3594 # If the template does not know about datarootdir, expand it.
3595 # FIXME: This hack should be removed a few years after 2.60.
3596 ac_datarootdir_hack=; ac_datarootdir_seen=
3598 case `sed -n '/datarootdir/ {
3607 ' $ac_file_inputs` in
3608 *datarootdir*) ac_datarootdir_seen=yes;;
3609 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3610 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3611 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3613 cat >>$CONFIG_STATUS <<_ACEOF
3614 ac_datarootdir_hack='
3615 s&@datadir@&$datadir&g
3616 s&@docdir@&$docdir&g
3617 s&@infodir@&$infodir&g
3618 s&@localedir@&$localedir&g
3619 s&@mandir@&$mandir&g
3620 s&\\\${datarootdir}&$datarootdir&g' ;;
3624 # Neutralize VPATH when `$srcdir' = `.'.
3625 # Shell code in configure.ac might set extrasub.
3626 # FIXME: do we really want to maintain this feature?
3627 cat >>$CONFIG_STATUS <<_ACEOF
3631 cat >>$CONFIG_STATUS <<\_ACEOF
3633 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3634 s&@configure_input@&$configure_input&;t t
3635 s&@top_builddir@&$ac_top_builddir_sub&;t t
3636 s&@srcdir@&$ac_srcdir&;t t
3637 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3638 s&@top_srcdir@&$ac_top_srcdir&;t t
3639 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3640 s&@builddir@&$ac_builddir&;t t
3641 s&@abs_builddir@&$ac_abs_builddir&;t t
3642 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3643 $ac_datarootdir_hack
3644 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3646 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3647 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3648 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3649 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3650 which seems to be undefined. Please make sure it is defined." >&5
3651 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3652 which seems to be undefined. Please make sure it is defined." >&2;}
3656 -) cat "$tmp/out"; rm -f "$tmp/out";;
3657 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3668 { (exit 0); exit 0; }
3670 chmod +x $CONFIG_STATUS
3671 ac_clean_files=$ac_clean_files_save
3674 # configure is writing to config.log, and then calls config.status.
3675 # config.status does its own redirection, appending to config.log.
3676 # Unfortunately, on DOS this fails, as config.log is still kept open
3677 # by configure, so config.status won't be able to write to it; its
3678 # output is simply discarded. So we exec the FD to /dev/null,
3679 # effectively closing config.log, so it can be properly (re)opened and
3680 # appended to by config.status. When coming back to configure, we
3681 # need to make the FD available again.
3682 if test "$no_create" != yes; then
3684 ac_config_status_args=
3685 test "$silent" = yes &&
3686 ac_config_status_args="$ac_config_status_args --quiet"
3688 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3690 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3691 # would make configure fail if this is the last instruction.
3692 $ac_cs_success || { (exit 1); exit 1; }
3696 # CONFIG_SUBDIRS section.
3698 if test "$no_recursion" != yes; then
3700 # Remove --cache-file and --srcdir arguments so they do not pile up.
3701 ac_sub_configure_args=
3703 eval "set x $ac_configure_args"
3707 if test -n "$ac_prev"; then
3712 -cache-file | --cache-file | --cache-fil | --cache-fi \
3713 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3714 ac_prev=cache_file ;;
3715 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3716 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3719 --config-cache | -C)
3721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3725 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3727 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3731 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3733 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
3737 # Always prepend --prefix to ensure using the same prefix
3738 # in subdir configurations.
3739 ac_arg="--prefix=$prefix"
3741 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3743 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3746 if test "$silent" = yes; then
3747 ac_sub_configure_args="--silent $ac_sub_configure_args"
3751 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3753 # Do not complain, so a configure script can configure whichever
3754 # parts of a large source tree are present.
3755 test -d "$srcdir/$ac_dir" || continue
3757 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3758 echo "$as_me:$LINENO: $ac_msg" >&5
3762 -*) as_dir=./$as_dir;;
3764 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3768 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3769 *) as_qdir=$as_dir;;
3771 as_dirs="'$as_qdir' $as_dirs"
3772 as_dir=`$as_dirname -- "$as_dir" ||
3773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3774 X"$as_dir" : 'X\(//\)[^/]' \| \
3775 X"$as_dir" : 'X\(//\)$' \| \
3776 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3795 test -d "$as_dir" && break
3797 test -z "$as_dirs" || eval "mkdir $as_dirs"
3798 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3799 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3800 { (exit 1); exit 1; }; }; }
3804 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3806 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3807 # A ".." for each directory in $ac_dir_suffix.
3808 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3809 case $ac_top_builddir_sub in
3810 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3811 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3814 ac_abs_top_builddir=$ac_pwd
3815 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3816 # for backward compatibility:
3817 ac_top_builddir=$ac_top_build_prefix
3820 .) # We are building in place.
3822 ac_top_srcdir=$ac_top_builddir_sub
3823 ac_abs_top_srcdir=$ac_pwd ;;
3824 [\\/]* | ?:[\\/]* ) # Absolute name.
3825 ac_srcdir=$srcdir$ac_dir_suffix;
3826 ac_top_srcdir=$srcdir
3827 ac_abs_top_srcdir=$srcdir ;;
3829 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3830 ac_top_srcdir=$ac_top_build_prefix$srcdir
3831 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3833 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3838 # Check for guested configure; otherwise get Cygnus style configure.
3839 if test -f "$ac_srcdir/configure.gnu"; then
3840 ac_sub_configure=$ac_srcdir/configure.gnu
3841 elif test -f "$ac_srcdir/configure"; then
3842 ac_sub_configure=$ac_srcdir/configure
3843 elif test -f "$ac_srcdir/configure.in"; then
3844 # This should be Cygnus configure.
3845 ac_sub_configure=$ac_aux_dir/configure
3847 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3848 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3852 # The recursion is here.
3853 if test -n "$ac_sub_configure"; then
3854 # Make the cache file name correct relative to the subdirectory.
3856 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3858 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3861 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3862 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3863 # The eval makes quoting arguments work.
3864 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3865 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3866 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3867 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3868 { (exit 1); exit 1; }; }