2 # From configure.in Revision.
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="sql_sqlite.c"
590 program_transform_name
631 ac_precious_vars='build_alias
641 # Initialize some variables set by options.
643 ac_init_version=false
644 # The variables have the same names as the options, with
645 # dashes changed to underlines.
653 program_transform_name=s,x,x,
661 # Installation directory options.
662 # These are left unexpanded so users can "make install exec_prefix=/foo"
663 # and all the variables that are supposed to be based on exec_prefix
664 # by default will actually change.
665 # Use braces instead of parens because sh, perl, etc. also accept them.
666 # (The list follows the same order as the GNU Coding Standards.)
667 bindir='${exec_prefix}/bin'
668 sbindir='${exec_prefix}/sbin'
669 libexecdir='${exec_prefix}/libexec'
670 datarootdir='${prefix}/share'
671 datadir='${datarootdir}'
672 sysconfdir='${prefix}/etc'
673 sharedstatedir='${prefix}/com'
674 localstatedir='${prefix}/var'
675 includedir='${prefix}/include'
676 oldincludedir='/usr/include'
677 docdir='${datarootdir}/doc/${PACKAGE}'
678 infodir='${datarootdir}/info'
683 libdir='${exec_prefix}/lib'
684 localedir='${datarootdir}/locale'
685 mandir='${datarootdir}/man'
691 # If the previous option needs an argument, assign it.
692 if test -n "$ac_prev"; then
693 eval $ac_prev=\$ac_option
699 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
703 # Accept the important Cygnus configure options, so we can diagnose typos.
705 case $ac_dashdash$ac_option in
709 -bindir | --bindir | --bindi | --bind | --bin | --bi)
711 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
714 -build | --build | --buil | --bui | --bu)
715 ac_prev=build_alias ;;
716 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
717 build_alias=$ac_optarg ;;
719 -cache-file | --cache-file | --cache-fil | --cache-fi \
720 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
721 ac_prev=cache_file ;;
722 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
723 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
724 cache_file=$ac_optarg ;;
727 cache_file=config.cache ;;
729 -datadir | --datadir | --datadi | --datad)
731 -datadir=* | --datadir=* | --datadi=* | --datad=*)
732 datadir=$ac_optarg ;;
734 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
735 | --dataroo | --dataro | --datar)
736 ac_prev=datarootdir ;;
737 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
738 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
739 datarootdir=$ac_optarg ;;
741 -disable-* | --disable-*)
742 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
746 { (exit 1); exit 1; }; }
747 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
748 eval enable_$ac_feature=no ;;
750 -docdir | --docdir | --docdi | --doc | --do)
752 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
755 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
757 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
760 -enable-* | --enable-*)
761 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
762 # Reject names that are not valid shell variable names.
763 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
764 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
765 { (exit 1); exit 1; }; }
766 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
767 eval enable_$ac_feature=\$ac_optarg ;;
769 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
770 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
771 | --exec | --exe | --ex)
772 ac_prev=exec_prefix ;;
773 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
774 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
775 | --exec=* | --exe=* | --ex=*)
776 exec_prefix=$ac_optarg ;;
778 -gas | --gas | --ga | --g)
779 # Obsolete; use --with-gas.
782 -help | --help | --hel | --he | -h)
784 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
785 ac_init_help=recursive ;;
786 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
787 ac_init_help=short ;;
789 -host | --host | --hos | --ho)
790 ac_prev=host_alias ;;
791 -host=* | --host=* | --hos=* | --ho=*)
792 host_alias=$ac_optarg ;;
794 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
796 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
798 htmldir=$ac_optarg ;;
800 -includedir | --includedir | --includedi | --included | --include \
801 | --includ | --inclu | --incl | --inc)
802 ac_prev=includedir ;;
803 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
804 | --includ=* | --inclu=* | --incl=* | --inc=*)
805 includedir=$ac_optarg ;;
807 -infodir | --infodir | --infodi | --infod | --info | --inf)
809 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
810 infodir=$ac_optarg ;;
812 -libdir | --libdir | --libdi | --libd)
814 -libdir=* | --libdir=* | --libdi=* | --libd=*)
817 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
818 | --libexe | --libex | --libe)
819 ac_prev=libexecdir ;;
820 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
821 | --libexe=* | --libex=* | --libe=*)
822 libexecdir=$ac_optarg ;;
824 -localedir | --localedir | --localedi | --localed | --locale)
826 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
827 localedir=$ac_optarg ;;
829 -localstatedir | --localstatedir | --localstatedi | --localstated \
830 | --localstate | --localstat | --localsta | --localst | --locals)
831 ac_prev=localstatedir ;;
832 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
833 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
834 localstatedir=$ac_optarg ;;
836 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
838 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
842 # Obsolete; use --without-fp.
845 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
846 | --no-cr | --no-c | -n)
849 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
850 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
853 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
854 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
855 | --oldin | --oldi | --old | --ol | --o)
856 ac_prev=oldincludedir ;;
857 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
858 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
859 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
860 oldincludedir=$ac_optarg ;;
862 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
864 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
867 -program-prefix | --program-prefix | --program-prefi | --program-pref \
868 | --program-pre | --program-pr | --program-p)
869 ac_prev=program_prefix ;;
870 -program-prefix=* | --program-prefix=* | --program-prefi=* \
871 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
872 program_prefix=$ac_optarg ;;
874 -program-suffix | --program-suffix | --program-suffi | --program-suff \
875 | --program-suf | --program-su | --program-s)
876 ac_prev=program_suffix ;;
877 -program-suffix=* | --program-suffix=* | --program-suffi=* \
878 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
879 program_suffix=$ac_optarg ;;
881 -program-transform-name | --program-transform-name \
882 | --program-transform-nam | --program-transform-na \
883 | --program-transform-n | --program-transform- \
884 | --program-transform | --program-transfor \
885 | --program-transfo | --program-transf \
886 | --program-trans | --program-tran \
887 | --progr-tra | --program-tr | --program-t)
888 ac_prev=program_transform_name ;;
889 -program-transform-name=* | --program-transform-name=* \
890 | --program-transform-nam=* | --program-transform-na=* \
891 | --program-transform-n=* | --program-transform-=* \
892 | --program-transform=* | --program-transfor=* \
893 | --program-transfo=* | --program-transf=* \
894 | --program-trans=* | --program-tran=* \
895 | --progr-tra=* | --program-tr=* | --program-t=*)
896 program_transform_name=$ac_optarg ;;
898 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
900 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
903 -psdir | --psdir | --psdi | --psd | --ps)
905 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
908 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
909 | -silent | --silent | --silen | --sile | --sil)
912 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
914 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
916 sbindir=$ac_optarg ;;
918 -sharedstatedir | --sharedstatedir | --sharedstatedi \
919 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
920 | --sharedst | --shareds | --shared | --share | --shar \
922 ac_prev=sharedstatedir ;;
923 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
924 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
925 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
927 sharedstatedir=$ac_optarg ;;
929 -site | --site | --sit)
931 -site=* | --site=* | --sit=*)
934 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
936 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
939 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
940 | --syscon | --sysco | --sysc | --sys | --sy)
941 ac_prev=sysconfdir ;;
942 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
943 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
944 sysconfdir=$ac_optarg ;;
946 -target | --target | --targe | --targ | --tar | --ta | --t)
947 ac_prev=target_alias ;;
948 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
949 target_alias=$ac_optarg ;;
951 -v | -verbose | --verbose | --verbos | --verbo | --verb)
954 -version | --version | --versio | --versi | --vers | -V)
958 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
961 { echo "$as_me: error: invalid package name: $ac_package" >&2
962 { (exit 1); exit 1; }; }
963 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
964 eval with_$ac_package=\$ac_optarg ;;
966 -without-* | --without-*)
967 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
970 { echo "$as_me: error: invalid package name: $ac_package" >&2
971 { (exit 1); exit 1; }; }
972 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
973 eval with_$ac_package=no ;;
976 # Obsolete; use --with-x.
979 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
980 | --x-incl | --x-inc | --x-in | --x-i)
981 ac_prev=x_includes ;;
982 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
983 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
984 x_includes=$ac_optarg ;;
986 -x-libraries | --x-libraries | --x-librarie | --x-librari \
987 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
988 ac_prev=x_libraries ;;
989 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
990 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
991 x_libraries=$ac_optarg ;;
993 -*) { echo "$as_me: error: unrecognized option: $ac_option
994 Try \`$0 --help' for more information." >&2
995 { (exit 1); exit 1; }; }
999 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1002 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1003 { (exit 1); exit 1; }; }
1004 eval $ac_envvar=\$ac_optarg
1005 export $ac_envvar ;;
1008 # FIXME: should be removed in autoconf 3.0.
1009 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1010 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1011 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1012 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1018 if test -n "$ac_prev"; then
1019 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1020 { echo "$as_me: error: missing argument to $ac_option" >&2
1021 { (exit 1); exit 1; }; }
1024 # Be sure to have absolute directory names.
1025 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1026 datadir sysconfdir sharedstatedir localstatedir includedir \
1027 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1028 libdir localedir mandir
1030 eval ac_val=\$$ac_var
1032 [\\/$]* | ?:[\\/]* ) continue;;
1033 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1035 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1036 { (exit 1); exit 1; }; }
1039 # There might be people who depend on the old broken behavior: `$host'
1040 # used to hold the argument of --host etc.
1041 # FIXME: To remove some day.
1044 target=$target_alias
1046 # FIXME: To remove some day.
1047 if test "x$host_alias" != x; then
1048 if test "x$build_alias" = x; then
1049 cross_compiling=maybe
1050 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1051 If a cross compiler is detected then cross compile mode will be used." >&2
1052 elif test "x$build_alias" != "x$host_alias"; then
1058 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1060 test "$silent" = yes && exec 6>/dev/null
1063 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1064 ac_ls_di=`ls -di .` &&
1065 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1066 { echo "$as_me: error: Working directory cannot be determined" >&2
1067 { (exit 1); exit 1; }; }
1068 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1069 { echo "$as_me: error: pwd does not report name of working directory" >&2
1070 { (exit 1); exit 1; }; }
1073 # Find the source files, if location was not specified.
1074 if test -z "$srcdir"; then
1075 ac_srcdir_defaulted=yes
1076 # Try the directory containing this script, then the parent directory.
1077 ac_confdir=`$as_dirname -- "$0" ||
1078 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1079 X"$0" : 'X\(//\)[^/]' \| \
1080 X"$0" : 'X\(//\)$' \| \
1081 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1101 if test ! -r "$srcdir/$ac_unique_file"; then
1105 ac_srcdir_defaulted=no
1107 if test ! -r "$srcdir/$ac_unique_file"; then
1108 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1109 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1110 { (exit 1); exit 1; }; }
1112 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1114 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1115 { (exit 1); exit 1; }; }
1117 # When building in place, set srcdir=.
1118 if test "$ac_abs_confdir" = "$ac_pwd"; then
1121 # Remove unnecessary trailing slashes from srcdir.
1122 # Double slashes in file names in object file debugging info
1123 # mess up M-x gdb in Emacs.
1125 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1127 for ac_var in $ac_precious_vars; do
1128 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1129 eval ac_env_${ac_var}_value=\$${ac_var}
1130 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1131 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1135 # Report the --help message.
1137 if test "$ac_init_help" = "long"; then
1138 # Omit some internal or obsolete options to make the list less imposing.
1139 # This message is too long to be a string in the A/UX 3.1 sh.
1141 \`configure' configures this package to adapt to many kinds of systems.
1143 Usage: $0 [OPTION]... [VAR=VALUE]...
1145 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1146 VAR=VALUE. See below for descriptions of some of the useful variables.
1148 Defaults for the options are specified in brackets.
1151 -h, --help display this help and exit
1152 --help=short display options specific to this package
1153 --help=recursive display the short help of all the included packages
1154 -V, --version display version information and exit
1155 -q, --quiet, --silent do not print \`checking...' messages
1156 --cache-file=FILE cache test results in FILE [disabled]
1157 -C, --config-cache alias for \`--cache-file=config.cache'
1158 -n, --no-create do not create output files
1159 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1161 Installation directories:
1162 --prefix=PREFIX install architecture-independent files in PREFIX
1163 [$ac_default_prefix]
1164 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1167 By default, \`make install' will install all the files in
1168 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1169 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1170 for instance \`--prefix=\$HOME'.
1172 For better control, use the options below.
1174 Fine tuning of the installation directories:
1175 --bindir=DIR user executables [EPREFIX/bin]
1176 --sbindir=DIR system admin executables [EPREFIX/sbin]
1177 --libexecdir=DIR program executables [EPREFIX/libexec]
1178 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1179 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1180 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1181 --libdir=DIR object code libraries [EPREFIX/lib]
1182 --includedir=DIR C header files [PREFIX/include]
1183 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1184 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1185 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1186 --infodir=DIR info documentation [DATAROOTDIR/info]
1187 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1188 --mandir=DIR man documentation [DATAROOTDIR/man]
1189 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1190 --htmldir=DIR html documentation [DOCDIR]
1191 --dvidir=DIR dvi documentation [DOCDIR]
1192 --pdfdir=DIR pdf documentation [DOCDIR]
1193 --psdir=DIR ps documentation [DOCDIR]
1200 if test -n "$ac_init_help"; then
1205 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1206 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1207 --with-sqlite-include-dir=DIR
1208 Directory where the sqlite includes may be found
1209 --with-sqlite-lib-dir=DIR
1210 Directory where the sqlite libraries may be found
1211 --with-sqlite-dir=DIR Base directory where sqlite is installed
1213 Some influential environment variables:
1214 CC C compiler command
1215 CFLAGS C compiler flags
1216 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1217 nonstandard directory <lib dir>
1218 LIBS libraries to pass to the linker, e.g. -l<library>
1219 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1220 you have headers in a nonstandard directory <include dir>
1222 Use these variables to override the choices made by `configure' or to help
1223 it to find libraries and programs with nonstandard names/locations.
1229 if test "$ac_init_help" = "recursive"; then
1230 # If there are subdirs, report their specific --help.
1231 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1232 test -d "$ac_dir" || continue
1236 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1238 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1239 # A ".." for each directory in $ac_dir_suffix.
1240 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1241 case $ac_top_builddir_sub in
1242 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1243 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1246 ac_abs_top_builddir=$ac_pwd
1247 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1248 # for backward compatibility:
1249 ac_top_builddir=$ac_top_build_prefix
1252 .) # We are building in place.
1254 ac_top_srcdir=$ac_top_builddir_sub
1255 ac_abs_top_srcdir=$ac_pwd ;;
1256 [\\/]* | ?:[\\/]* ) # Absolute name.
1257 ac_srcdir=$srcdir$ac_dir_suffix;
1258 ac_top_srcdir=$srcdir
1259 ac_abs_top_srcdir=$srcdir ;;
1261 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1262 ac_top_srcdir=$ac_top_build_prefix$srcdir
1263 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1265 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1267 cd "$ac_dir" || { ac_status=$?; continue; }
1268 # Check for guested configure.
1269 if test -f "$ac_srcdir/configure.gnu"; then
1271 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1272 elif test -f "$ac_srcdir/configure"; then
1274 $SHELL "$ac_srcdir/configure" --help=recursive
1276 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1278 cd "$ac_pwd" || { ac_status=$?; break; }
1282 test -n "$ac_init_help" && exit $ac_status
1283 if $ac_init_version; then
1286 generated by GNU Autoconf 2.61
1288 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1289 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1290 This configure script is free software; the Free Software Foundation
1291 gives unlimited permission to copy, distribute and modify it.
1295 cat >config.log <<_ACEOF
1296 This file contains any messages produced by compilers while
1297 running configure, to aid debugging if configure makes a mistake.
1299 It was created by $as_me, which was
1300 generated by GNU Autoconf 2.61. Invocation command line was
1312 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1313 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1314 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1315 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1316 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1318 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1319 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1321 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1322 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1323 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1324 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1325 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1326 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1327 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1335 test -z "$as_dir" && as_dir=.
1336 echo "PATH: $as_dir"
1352 # Keep a trace of the command line.
1353 # Strip out --no-create and --no-recursion so they do not pile up.
1354 # Strip out --silent because we don't want to record it for future runs.
1355 # Also quote any args containing shell meta-characters.
1356 # Make two passes to allow for proper duplicate-argument suppression.
1360 ac_must_keep_next=false
1366 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1367 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1368 | -silent | --silent | --silen | --sile | --sil)
1371 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1374 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1376 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1377 if test $ac_must_keep_next = true; then
1378 ac_must_keep_next=false # Got value, back to normal.
1381 *=* | --config-cache | -C | -disable-* | --disable-* \
1382 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1383 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1384 | -with-* | --with-* | -without-* | --without-* | --x)
1385 case "$ac_configure_args0 " in
1386 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1389 -* ) ac_must_keep_next=true ;;
1392 ac_configure_args="$ac_configure_args '$ac_arg'"
1397 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1398 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1400 # When interrupted or exit'd, cleanup temporary files, and complete
1401 # config.log. We remove comments because anyway the quotes in there
1402 # would cause problems or look ugly.
1403 # WARNING: Use '\'' to represent an apostrophe within the trap.
1404 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1405 trap 'exit_status=$?
1406 # Save into config.log some information that might help in debugging.
1411 ## ---------------- ##
1412 ## Cache variables. ##
1413 ## ---------------- ##
1416 # The following way of writing the cache mishandles newlines in values,
1418 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1419 eval ac_val=\$$ac_var
1423 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1424 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1427 _ | IFS | as_nl) ;; #(
1428 *) $as_unset $ac_var ;;
1433 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1434 *${as_nl}ac_space=\ *)
1436 "s/'\''/'\''\\\\'\'''\''/g;
1437 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1440 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1448 ## ----------------- ##
1449 ## Output variables. ##
1450 ## ----------------- ##
1453 for ac_var in $ac_subst_vars
1455 eval ac_val=\$$ac_var
1457 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1459 echo "$ac_var='\''$ac_val'\''"
1463 if test -n "$ac_subst_files"; then
1465 ## ------------------- ##
1466 ## File substitutions. ##
1467 ## ------------------- ##
1470 for ac_var in $ac_subst_files
1472 eval ac_val=\$$ac_var
1474 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1476 echo "$ac_var='\''$ac_val'\''"
1481 if test -s confdefs.h; then
1491 test "$ac_signal" != 0 &&
1492 echo "$as_me: caught signal $ac_signal"
1493 echo "$as_me: exit $exit_status"
1495 rm -f core *.core core.conftest.* &&
1496 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1499 for ac_signal in 1 2 13 15; do
1500 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1505 rm -f -r conftest* confdefs.h
1507 # Predefined preprocessor variables.
1509 cat >>confdefs.h <<_ACEOF
1510 #define PACKAGE_NAME "$PACKAGE_NAME"
1514 cat >>confdefs.h <<_ACEOF
1515 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1519 cat >>confdefs.h <<_ACEOF
1520 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1524 cat >>confdefs.h <<_ACEOF
1525 #define PACKAGE_STRING "$PACKAGE_STRING"
1529 cat >>confdefs.h <<_ACEOF
1530 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1534 # Let the site file select an alternate cache file if it wants to.
1535 # Prefer explicitly selected file to automatically selected ones.
1536 if test -n "$CONFIG_SITE"; then
1537 set x "$CONFIG_SITE"
1538 elif test "x$prefix" != xNONE; then
1539 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1541 set x "$ac_default_prefix/share/config.site" \
1542 "$ac_default_prefix/etc/config.site"
1547 if test -r "$ac_site_file"; then
1548 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1549 echo "$as_me: loading site script $ac_site_file" >&6;}
1550 sed 's/^/| /' "$ac_site_file" >&5
1555 if test -r "$cache_file"; then
1556 # Some versions of bash will fail to source /dev/null (special
1557 # files actually), so we avoid doing that.
1558 if test -f "$cache_file"; then
1559 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1560 echo "$as_me: loading cache $cache_file" >&6;}
1562 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1563 *) . "./$cache_file";;
1567 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1568 echo "$as_me: creating cache $cache_file" >&6;}
1572 # Check that the precious variables saved in the cache have kept the same
1574 ac_cache_corrupted=false
1575 for ac_var in $ac_precious_vars; do
1576 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1577 eval ac_new_set=\$ac_env_${ac_var}_set
1578 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1579 eval ac_new_val=\$ac_env_${ac_var}_value
1580 case $ac_old_set,$ac_new_set in
1582 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1583 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1584 ac_cache_corrupted=: ;;
1586 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1587 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1588 ac_cache_corrupted=: ;;
1591 if test "x$ac_old_val" != "x$ac_new_val"; then
1592 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1593 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1594 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1595 echo "$as_me: former value: $ac_old_val" >&2;}
1596 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1597 echo "$as_me: current value: $ac_new_val" >&2;}
1598 ac_cache_corrupted=:
1601 # Pass precious variables to config.status.
1602 if test "$ac_new_set" = set; then
1604 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1605 *) ac_arg=$ac_var=$ac_new_val ;;
1607 case " $ac_configure_args " in
1608 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1609 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1613 if $ac_cache_corrupted; then
1614 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1615 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1616 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1617 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1618 { (exit 1); exit 1; }; }
1638 ac_cpp='$CPP $CPPFLAGS'
1639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1650 if test x$with_rlm_sql_sqlite != xno; then
1655 # Check whether --with-sqlite-include-dir was given.
1656 if test "${with_sqlite_include_dir+set}" = set; then
1657 withval=$with_sqlite_include_dir; case "$withval" in
1659 { { echo "$as_me:$LINENO: error: Need sqlite-include-dir" >&5
1660 echo "$as_me: error: Need sqlite-include-dir" >&2;}
1661 { (exit 1); exit 1; }; }
1666 sqlite_include_dir="$withval"
1674 # Check whether --with-sqlite-lib-dir was given.
1675 if test "${with_sqlite_lib_dir+set}" = set; then
1676 withval=$with_sqlite_lib_dir; case "$withval" in
1678 { { echo "$as_me:$LINENO: error: Need sqlite-lib-dir" >&5
1679 echo "$as_me: error: Need sqlite-lib-dir" >&2;}
1680 { (exit 1); exit 1; }; }
1685 sqlite_lib_dir="$withval"
1692 # Check whether --with-sqlite-dir was given.
1693 if test "${with_sqlite_dir+set}" = set; then
1694 withval=$with_sqlite_dir; case "$withval" in
1696 { { echo "$as_me:$LINENO: error: Need sqlite-dir" >&5
1697 echo "$as_me: error: Need sqlite-dir" >&2;}
1698 { (exit 1); exit 1; }; }
1703 sqlite_lib_dir="$withval/lib"
1704 sqlite_include_dir="$withval/include"
1712 ac_cpp='$CPP $CPPFLAGS'
1713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1716 if test -n "$ac_tool_prefix"; then
1717 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1718 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1721 if test "${ac_cv_prog_CC+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$CC"; then
1725 ac_cv_prog_CC="$CC" # Let the user override the test.
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir=.
1732 for ac_exec_ext in '' $ac_executable_extensions; do
1733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1734 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1745 if test -n "$CC"; then
1746 { echo "$as_me:$LINENO: result: $CC" >&5
1747 echo "${ECHO_T}$CC" >&6; }
1749 { echo "$as_me:$LINENO: result: no" >&5
1750 echo "${ECHO_T}no" >&6; }
1755 if test -z "$ac_cv_prog_CC"; then
1757 # Extract the first word of "gcc", so it can be a program name with args.
1758 set dummy gcc; ac_word=$2
1759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1761 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 if test -n "$ac_ct_CC"; then
1765 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1771 test -z "$as_dir" && as_dir=.
1772 for ac_exec_ext in '' $ac_executable_extensions; do
1773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1774 ac_cv_prog_ac_ct_CC="gcc"
1775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1785 if test -n "$ac_ct_CC"; then
1786 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1787 echo "${ECHO_T}$ac_ct_CC" >&6; }
1789 { echo "$as_me:$LINENO: result: no" >&5
1790 echo "${ECHO_T}no" >&6; }
1793 if test "x$ac_ct_CC" = x; then
1796 case $cross_compiling:$ac_tool_warned in
1798 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1799 whose name does not start with the host triplet. If you think this
1800 configuration is useful to you, please write to autoconf@gnu.org." >&5
1801 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1802 whose name does not start with the host triplet. If you think this
1803 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1804 ac_tool_warned=yes ;;
1812 if test -z "$CC"; then
1813 if test -n "$ac_tool_prefix"; then
1814 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1815 set dummy ${ac_tool_prefix}cc; ac_word=$2
1816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1818 if test "${ac_cv_prog_CC+set}" = set; then
1819 echo $ECHO_N "(cached) $ECHO_C" >&6
1821 if test -n "$CC"; then
1822 ac_cv_prog_CC="$CC" # Let the user override the test.
1824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1828 test -z "$as_dir" && as_dir=.
1829 for ac_exec_ext in '' $ac_executable_extensions; do
1830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1831 ac_cv_prog_CC="${ac_tool_prefix}cc"
1832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1842 if test -n "$CC"; then
1843 { echo "$as_me:$LINENO: result: $CC" >&5
1844 echo "${ECHO_T}$CC" >&6; }
1846 { echo "$as_me:$LINENO: result: no" >&5
1847 echo "${ECHO_T}no" >&6; }
1853 if test -z "$CC"; then
1854 # Extract the first word of "cc", so it can be a program name with args.
1855 set dummy cc; ac_word=$2
1856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1858 if test "${ac_cv_prog_CC+set}" = set; then
1859 echo $ECHO_N "(cached) $ECHO_C" >&6
1861 if test -n "$CC"; then
1862 ac_cv_prog_CC="$CC" # Let the user override the test.
1865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869 test -z "$as_dir" && as_dir=.
1870 for ac_exec_ext in '' $ac_executable_extensions; do
1871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1872 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1873 ac_prog_rejected=yes
1877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 if test $ac_prog_rejected = yes; then
1885 # We found a bogon in the path, so make sure we never use it.
1886 set dummy $ac_cv_prog_CC
1888 if test $# != 0; then
1889 # We chose a different compiler from the bogus one.
1890 # However, it has the same basename, so the bogon will be chosen
1891 # first if we set CC to just the basename; use the full file name.
1893 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1899 if test -n "$CC"; then
1900 { echo "$as_me:$LINENO: result: $CC" >&5
1901 echo "${ECHO_T}$CC" >&6; }
1903 { echo "$as_me:$LINENO: result: no" >&5
1904 echo "${ECHO_T}no" >&6; }
1909 if test -z "$CC"; then
1910 if test -n "$ac_tool_prefix"; then
1911 for ac_prog in cl.exe
1913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1917 if test "${ac_cv_prog_CC+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 if test -n "$CC"; then
1921 ac_cv_prog_CC="$CC" # Let the user override the test.
1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir=.
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1930 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 if test -n "$CC"; then
1942 { echo "$as_me:$LINENO: result: $CC" >&5
1943 echo "${ECHO_T}$CC" >&6; }
1945 { echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6; }
1950 test -n "$CC" && break
1953 if test -z "$CC"; then
1955 for ac_prog in cl.exe
1957 # Extract the first word of "$ac_prog", so it can be a program name with args.
1958 set dummy $ac_prog; ac_word=$2
1959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1962 echo $ECHO_N "(cached) $ECHO_C" >&6
1964 if test -n "$ac_ct_CC"; then
1965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir=.
1972 for ac_exec_ext in '' $ac_executable_extensions; do
1973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1974 ac_cv_prog_ac_ct_CC="$ac_prog"
1975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1985 if test -n "$ac_ct_CC"; then
1986 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1987 echo "${ECHO_T}$ac_ct_CC" >&6; }
1989 { echo "$as_me:$LINENO: result: no" >&5
1990 echo "${ECHO_T}no" >&6; }
1994 test -n "$ac_ct_CC" && break
1997 if test "x$ac_ct_CC" = x; then
2000 case $cross_compiling:$ac_tool_warned in
2002 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2003 whose name does not start with the host triplet. If you think this
2004 configuration is useful to you, please write to autoconf@gnu.org." >&5
2005 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2006 whose name does not start with the host triplet. If you think this
2007 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2008 ac_tool_warned=yes ;;
2017 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2018 See \`config.log' for more details." >&5
2019 echo "$as_me: error: no acceptable C compiler found in \$PATH
2020 See \`config.log' for more details." >&2;}
2021 { (exit 1); exit 1; }; }
2023 # Provide some information about the compiler.
2024 echo "$as_me:$LINENO: checking for C compiler version" >&5
2025 ac_compiler=`set X $ac_compile; echo $2`
2026 { (ac_try="$ac_compiler --version >&5"
2028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2029 *) ac_try_echo=$ac_try;;
2031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2032 (eval "$ac_compiler --version >&5") 2>&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }
2036 { (ac_try="$ac_compiler -v >&5"
2038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2039 *) ac_try_echo=$ac_try;;
2041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2042 (eval "$ac_compiler -v >&5") 2>&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); }
2046 { (ac_try="$ac_compiler -V >&5"
2048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049 *) ac_try_echo=$ac_try;;
2051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2052 (eval "$ac_compiler -V >&5") 2>&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }
2057 cat >conftest.$ac_ext <<_ACEOF
2060 cat confdefs.h >>conftest.$ac_ext
2061 cat >>conftest.$ac_ext <<_ACEOF
2062 /* end confdefs.h. */
2072 ac_clean_files_save=$ac_clean_files
2073 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2074 # Try to create an executable without -o first, disregard a.out.
2075 # It will help us diagnose broken compilers, and finding out an intuition
2077 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2078 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2079 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2081 # List of possible output files, starting from the most likely.
2082 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2083 # only as a last resort. b.out is created by i960 compilers.
2084 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2086 # The IRIX 6 linker writes into existing files which may not be
2087 # executable, retaining their permissions. Remove them first so a
2088 # subsequent execution test works.
2090 for ac_file in $ac_files
2093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2094 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2099 if { (ac_try="$ac_link_default"
2101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2102 *) ac_try_echo=$ac_try;;
2104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2105 (eval "$ac_link_default") 2>&5
2107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 (exit $ac_status); }; then
2109 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2110 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2111 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2112 # so that the user can short-circuit this test for compilers unknown to
2114 for ac_file in $ac_files ''
2116 test -f "$ac_file" || continue
2118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2121 # We found the default executable, but exeext='' is most
2125 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2127 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2129 # We set ac_cv_exeext here because the later test for it is not
2130 # safe: cross compilers may not add the suffix if given an `-o'
2131 # argument, so we may need to know it at that point already.
2132 # Even if this section looks crufty: it has the advantage of
2139 test "$ac_cv_exeext" = no && ac_cv_exeext=
2145 { echo "$as_me:$LINENO: result: $ac_file" >&5
2146 echo "${ECHO_T}$ac_file" >&6; }
2147 if test -z "$ac_file"; then
2148 echo "$as_me: failed program was:" >&5
2149 sed 's/^/| /' conftest.$ac_ext >&5
2151 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2152 See \`config.log' for more details." >&5
2153 echo "$as_me: error: C compiler cannot create executables
2154 See \`config.log' for more details." >&2;}
2155 { (exit 77); exit 77; }; }
2158 ac_exeext=$ac_cv_exeext
2160 # Check that the compiler produces executables we can run. If not, either
2161 # the compiler is broken, or we cross compile.
2162 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2163 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2164 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2165 # If not cross compiling, check that we can run a simple program.
2166 if test "$cross_compiling" != yes; then
2167 if { ac_try='./$ac_file'
2168 { (case "(($ac_try" in
2169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170 *) ac_try_echo=$ac_try;;
2172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2173 (eval "$ac_try") 2>&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); }; }; then
2179 if test "$cross_compiling" = maybe; then
2182 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2183 If you meant to cross compile, use \`--host'.
2184 See \`config.log' for more details." >&5
2185 echo "$as_me: error: cannot run C compiled programs.
2186 If you meant to cross compile, use \`--host'.
2187 See \`config.log' for more details." >&2;}
2188 { (exit 1); exit 1; }; }
2192 { echo "$as_me:$LINENO: result: yes" >&5
2193 echo "${ECHO_T}yes" >&6; }
2195 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2196 ac_clean_files=$ac_clean_files_save
2197 # Check that the compiler produces executables we can run. If not, either
2198 # the compiler is broken, or we cross compile.
2199 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2200 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2201 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2202 echo "${ECHO_T}$cross_compiling" >&6; }
2204 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2205 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2206 if { (ac_try="$ac_link"
2208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2209 *) ac_try_echo=$ac_try;;
2211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2212 (eval "$ac_link") 2>&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }; then
2216 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2217 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2218 # work properly (i.e., refer to `conftest.exe'), while it won't with
2220 for ac_file in conftest.exe conftest conftest.*; do
2221 test -f "$ac_file" || continue
2223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2224 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2230 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2231 See \`config.log' for more details." >&5
2232 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2233 See \`config.log' for more details." >&2;}
2234 { (exit 1); exit 1; }; }
2237 rm -f conftest$ac_cv_exeext
2238 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2239 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2241 rm -f conftest.$ac_ext
2242 EXEEXT=$ac_cv_exeext
2244 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2245 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2246 if test "${ac_cv_objext+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 cat >conftest.$ac_ext <<_ACEOF
2252 cat confdefs.h >>conftest.$ac_ext
2253 cat >>conftest.$ac_ext <<_ACEOF
2254 /* end confdefs.h. */
2264 rm -f conftest.o conftest.obj
2265 if { (ac_try="$ac_compile"
2267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2268 *) ac_try_echo=$ac_try;;
2270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2271 (eval "$ac_compile") 2>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; then
2275 for ac_file in conftest.o conftest.obj conftest.*; do
2276 test -f "$ac_file" || continue;
2278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2279 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2284 echo "$as_me: failed program was:" >&5
2285 sed 's/^/| /' conftest.$ac_ext >&5
2287 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2288 See \`config.log' for more details." >&5
2289 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2290 See \`config.log' for more details." >&2;}
2291 { (exit 1); exit 1; }; }
2294 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2296 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2297 echo "${ECHO_T}$ac_cv_objext" >&6; }
2298 OBJEXT=$ac_cv_objext
2300 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2301 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2302 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 cat >conftest.$ac_ext <<_ACEOF
2308 cat confdefs.h >>conftest.$ac_ext
2309 cat >>conftest.$ac_ext <<_ACEOF
2310 /* end confdefs.h. */
2323 rm -f conftest.$ac_objext
2324 if { (ac_try="$ac_compile"
2326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2327 *) ac_try_echo=$ac_try;;
2329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2330 (eval "$ac_compile") 2>conftest.er1
2332 grep -v '^ *+' conftest.er1 >conftest.err
2334 cat conftest.err >&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); } && {
2337 test -z "$ac_c_werror_flag" ||
2338 test ! -s conftest.err
2339 } && test -s conftest.$ac_objext; then
2342 echo "$as_me: failed program was:" >&5
2343 sed 's/^/| /' conftest.$ac_ext >&5
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2352 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2353 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2354 GCC=`test $ac_compiler_gnu = yes && echo yes`
2355 ac_test_CFLAGS=${CFLAGS+set}
2356 ac_save_CFLAGS=$CFLAGS
2357 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2358 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2359 if test "${ac_cv_prog_cc_g+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 ac_save_c_werror_flag=$ac_c_werror_flag
2363 ac_c_werror_flag=yes
2366 cat >conftest.$ac_ext <<_ACEOF
2369 cat confdefs.h >>conftest.$ac_ext
2370 cat >>conftest.$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2381 rm -f conftest.$ac_objext
2382 if { (ac_try="$ac_compile"
2384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2385 *) ac_try_echo=$ac_try;;
2387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2388 (eval "$ac_compile") 2>conftest.er1
2390 grep -v '^ *+' conftest.er1 >conftest.err
2392 cat conftest.err >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } && {
2395 test -z "$ac_c_werror_flag" ||
2396 test ! -s conftest.err
2397 } && test -s conftest.$ac_objext; then
2400 echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.$ac_ext >&5
2404 cat >conftest.$ac_ext <<_ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2419 rm -f conftest.$ac_objext
2420 if { (ac_try="$ac_compile"
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2426 (eval "$ac_compile") 2>conftest.er1
2428 grep -v '^ *+' conftest.er1 >conftest.err
2430 cat conftest.err >&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); } && {
2433 test -z "$ac_c_werror_flag" ||
2434 test ! -s conftest.err
2435 } && test -s conftest.$ac_objext; then
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2441 ac_c_werror_flag=$ac_save_c_werror_flag
2443 cat >conftest.$ac_ext <<_ACEOF
2446 cat confdefs.h >>conftest.$ac_ext
2447 cat >>conftest.$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2458 rm -f conftest.$ac_objext
2459 if { (ac_try="$ac_compile"
2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462 *) ac_try_echo=$ac_try;;
2464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2465 (eval "$ac_compile") 2>conftest.er1
2467 grep -v '^ *+' conftest.er1 >conftest.err
2469 cat conftest.err >&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } && {
2472 test -z "$ac_c_werror_flag" ||
2473 test ! -s conftest.err
2474 } && test -s conftest.$ac_objext; then
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2490 ac_c_werror_flag=$ac_save_c_werror_flag
2492 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2493 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2494 if test "$ac_test_CFLAGS" = set; then
2495 CFLAGS=$ac_save_CFLAGS
2496 elif test $ac_cv_prog_cc_g = yes; then
2497 if test "$GCC" = yes; then
2503 if test "$GCC" = yes; then
2509 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2510 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2511 if test "${ac_cv_prog_cc_c89+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 ac_cv_prog_cc_c89=no
2516 cat >conftest.$ac_ext <<_ACEOF
2519 cat confdefs.h >>conftest.$ac_ext
2520 cat >>conftest.$ac_ext <<_ACEOF
2521 /* end confdefs.h. */
2524 #include <sys/types.h>
2525 #include <sys/stat.h>
2526 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2527 struct buf { int x; };
2528 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2529 static char *e (p, i)
2535 static char *f (char * (*g) (char **, int), char **p, ...)
2540 s = g (p, va_arg (v,int));
2545 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2546 function prototypes and stuff, but not '\xHH' hex character constants.
2547 These don't provoke an error unfortunately, instead are silently treated
2548 as 'x'. The following induces an error, until -std is added to get
2549 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2550 array size at least. It's necessary to write '\x00'==0 to get something
2551 that's true only with -std. */
2552 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2554 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2555 inside strings and character constants. */
2557 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2559 int test (int i, double x);
2560 struct s1 {int (*f) (int a);};
2561 struct s2 {int (*f) (double a);};
2562 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2568 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2573 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2574 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2576 CC="$ac_save_CC $ac_arg"
2577 rm -f conftest.$ac_objext
2578 if { (ac_try="$ac_compile"
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_compile") 2>conftest.er1
2586 grep -v '^ *+' conftest.er1 >conftest.err
2588 cat conftest.err >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); } && {
2591 test -z "$ac_c_werror_flag" ||
2592 test ! -s conftest.err
2593 } && test -s conftest.$ac_objext; then
2594 ac_cv_prog_cc_c89=$ac_arg
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2602 rm -f core conftest.err conftest.$ac_objext
2603 test "x$ac_cv_prog_cc_c89" != "xno" && break
2605 rm -f conftest.$ac_ext
2610 case "x$ac_cv_prog_cc_c89" in
2612 { echo "$as_me:$LINENO: result: none needed" >&5
2613 echo "${ECHO_T}none needed" >&6; } ;;
2615 { echo "$as_me:$LINENO: result: unsupported" >&5
2616 echo "${ECHO_T}unsupported" >&6; } ;;
2618 CC="$CC $ac_cv_prog_cc_c89"
2619 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2620 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2625 ac_cpp='$CPP $CPPFLAGS'
2626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2632 smart_try_dir="$sqlite_lib_dir"
2636 sm_lib_safe=`echo "sqlite3" | sed 'y%./+-%__p_%'`
2637 sm_func_safe=`echo "sqlite3_open" | sed 'y%./+-%__p_%'`
2638 { echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
2639 echo $ECHO_N "checking for sqlite3_open in -lsqlite3... $ECHO_C" >&6; }
2645 if test "x$smart_try_dir" != "x"; then
2646 for try in $smart_try_dir; do
2647 LIBS="-L$try -lsqlite3 $old_LIBS"
2648 cat >conftest.$ac_ext <<_ACEOF
2651 cat confdefs.h >>conftest.$ac_ext
2652 cat >>conftest.$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2654 extern char sqlite3_open();
2663 rm -f conftest.$ac_objext conftest$ac_exeext
2664 if { (ac_try="$ac_link"
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2670 (eval "$ac_link") 2>conftest.er1
2672 grep -v '^ *+' conftest.er1 >conftest.err
2674 cat conftest.err >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } && {
2677 test -z "$ac_c_werror_flag" ||
2678 test ! -s conftest.err
2679 } && test -s conftest$ac_exeext &&
2680 $as_test_x conftest$ac_exeext; then
2681 smart_lib="-L$try -lsqlite3"
2683 echo "$as_me: failed program was:" >&5
2684 sed 's/^/| /' conftest.$ac_ext >&5
2689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2690 conftest$ac_exeext conftest.$ac_ext
2691 if test "x$smart_lib" != "x"; then
2698 if test "x$smart_lib" = "x"; then
2699 LIBS="-lsqlite3 $old_LIBS"
2700 cat >conftest.$ac_ext <<_ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2706 extern char sqlite3_open();
2715 rm -f conftest.$ac_objext conftest$ac_exeext
2716 if { (ac_try="$ac_link"
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2722 (eval "$ac_link") 2>conftest.er1
2724 grep -v '^ *+' conftest.er1 >conftest.err
2726 cat conftest.err >&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } && {
2729 test -z "$ac_c_werror_flag" ||
2730 test ! -s conftest.err
2731 } && test -s conftest$ac_exeext &&
2732 $as_test_x conftest$ac_exeext; then
2733 smart_lib="-lsqlite3"
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2742 conftest$ac_exeext conftest.$ac_ext
2746 if test "x$smart_lib" = "x"; then
2749 if test "x$LOCATE" != "x"; then
2751 file=libsqlite3${libltdl_cv_shlibext}
2753 for x in `${LOCATE} $file 2>/dev/null`; do
2754 base=`echo $x | sed "s%/${file}%%"`
2755 if test "x$x" = "x$base"; then
2759 dir=`${DIRNAME} $x 2>/dev/null`
2760 exclude=`echo ${dir} | ${GREP} /home`
2761 if test "x$exclude" != "x"; then
2765 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2766 if test "x$already" = "x"; then
2772 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2776 if test "x$LOCATE" != "x"; then
2780 for x in `${LOCATE} $file 2>/dev/null`; do
2781 base=`echo $x | sed "s%/${file}%%"`
2782 if test "x$x" = "x$base"; then
2786 dir=`${DIRNAME} $x 2>/dev/null`
2787 exclude=`echo ${dir} | ${GREP} /home`
2788 if test "x$exclude" != "x"; then
2792 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2793 if test "x$already" = "x"; then
2799 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2802 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
2803 LIBS="-L$try -lsqlite3 $old_LIBS"
2804 cat >conftest.$ac_ext <<_ACEOF
2807 cat confdefs.h >>conftest.$ac_ext
2808 cat >>conftest.$ac_ext <<_ACEOF
2809 /* end confdefs.h. */
2810 extern char sqlite3_open();
2819 rm -f conftest.$ac_objext conftest$ac_exeext
2820 if { (ac_try="$ac_link"
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826 (eval "$ac_link") 2>conftest.er1
2828 grep -v '^ *+' conftest.er1 >conftest.err
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } && {
2833 test -z "$ac_c_werror_flag" ||
2834 test ! -s conftest.err
2835 } && test -s conftest$ac_exeext &&
2836 $as_test_x conftest$ac_exeext; then
2837 smart_lib="-L$try -lsqlite3"
2839 echo "$as_me: failed program was:" >&5
2840 sed 's/^/| /' conftest.$ac_ext >&5
2845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2846 conftest$ac_exeext conftest.$ac_ext
2847 if test "x$smart_lib" != "x"; then
2854 if test "x$smart_lib" != "x"; then
2855 { echo "$as_me:$LINENO: result: yes" >&5
2856 echo "${ECHO_T}yes" >&6; }
2857 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
2858 LIBS="$smart_lib $old_LIBS"
2859 SMART_LIBS="$smart_lib $SMART_LIBS"
2861 { echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6; }
2865 if test "x$ac_cv_lib_sqlite3_sqlite3_open" != "xyes"
2867 { echo "$as_me:$LINENO: WARNING: Sqlite libraries not found. Use --with-sqlite-lib-dir=<path>." >&5
2868 echo "$as_me: WARNING: Sqlite libraries not found. Use --with-sqlite-lib-dir=<path>." >&2;}
2869 fail="$fail libsqlite3"
2873 smart_try_dir="$sqlite_include_dir"
2876 ac_safe=`echo "sqlite3.h" | sed 'y%./+-%__pm%'`
2877 { echo "$as_me:$LINENO: checking for sqlite3.h" >&5
2878 echo $ECHO_N "checking for sqlite3.h... $ECHO_C" >&6; }
2880 old_CFLAGS="$CFLAGS"
2884 if test "x$smart_try_dir" != "x"; then
2885 for try in $smart_try_dir; do
2886 CFLAGS="$old_CFLAGS -I$try"
2887 cat >conftest.$ac_ext <<_ACEOF
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2894 #include <sqlite3.h>
2903 rm -f conftest.$ac_objext
2904 if { (ac_try="$ac_compile"
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910 (eval "$ac_compile") 2>conftest.er1
2912 grep -v '^ *+' conftest.er1 >conftest.err
2914 cat conftest.err >&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); } && {
2917 test -z "$ac_c_werror_flag" ||
2918 test ! -s conftest.err
2919 } && test -s conftest.$ac_objext; then
2920 smart_include="-I$try"
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 if test "x$smart_include" != "x"; then
2933 CFLAGS="$old_CFLAGS"
2936 if test "x$smart_include" = "x"; then
2937 cat >conftest.$ac_ext <<_ACEOF
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2944 #include <sqlite3.h>
2953 rm -f conftest.$ac_objext
2954 if { (ac_try="$ac_compile"
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2960 (eval "$ac_compile") 2>conftest.er1
2962 grep -v '^ *+' conftest.er1 >conftest.err
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } && {
2967 test -z "$ac_c_werror_flag" ||
2968 test ! -s conftest.err
2969 } && test -s conftest.$ac_objext; then
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981 if test "x$smart_include" = "x"; then
2984 if test "x$LOCATE" != "x"; then
2988 for x in `${LOCATE} $file 2>/dev/null`; do
2989 base=`echo $x | sed "s%/${file}%%"`
2990 if test "x$x" = "x$base"; then
2994 dir=`${DIRNAME} $x 2>/dev/null`
2995 exclude=`echo ${dir} | ${GREP} /home`
2996 if test "x$exclude" != "x"; then
3000 already=`echo \$smart_include_dir ${DIRS} | ${GREP} ${dir}`
3001 if test "x$already" = "x"; then
3007 eval "smart_include_dir=\"\$smart_include_dir $DIRS\""
3010 for try in $smart_include_dir /usr/local/include /opt/include; do
3011 CFLAGS="$old_CFLAGS -I$try"
3012 cat >conftest.$ac_ext <<_ACEOF
3015 cat confdefs.h >>conftest.$ac_ext
3016 cat >>conftest.$ac_ext <<_ACEOF
3017 /* end confdefs.h. */
3019 #include <sqlite3.h>
3028 rm -f conftest.$ac_objext
3029 if { (ac_try="$ac_compile"
3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032 *) ac_try_echo=$ac_try;;
3034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3035 (eval "$ac_compile") 2>conftest.er1
3037 grep -v '^ *+' conftest.er1 >conftest.err
3039 cat conftest.err >&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } && {
3042 test -z "$ac_c_werror_flag" ||
3043 test ! -s conftest.err
3044 } && test -s conftest.$ac_objext; then
3045 smart_include="-I$try"
3047 echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.$ac_ext >&5
3053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 if test "x$smart_include" != "x"; then
3058 CFLAGS="$old_CFLAGS"
3061 if test "x$smart_include" != "x"; then
3062 { echo "$as_me:$LINENO: result: yes" >&5
3063 echo "${ECHO_T}yes" >&6; }
3064 eval "ac_cv_header_$ac_safe=yes"
3065 CFLAGS="$old_CFLAGS $smart_include"
3066 SMART_CFLAGS="$SMART_CFLAGS $smart_include"
3068 { echo "$as_me:$LINENO: result: no" >&5
3069 echo "${ECHO_T}no" >&6; }
3072 if test "x$ac_cv_header_sqlite3_h" != "xyes"; then
3073 { echo "$as_me:$LINENO: WARNING: Sqlite headers not found. Use --with-sqlite-include-dir=<path>." >&5
3074 echo "$as_me: WARNING: Sqlite headers not found. Use --with-sqlite-include-dir=<path>." >&2;}
3075 fail="$fail sqlite.h"
3078 targetname=rlm_sql_sqlite
3081 echo \*\*\* module rlm_sql_sqlite is disabled.
3084 if test "x$fail" != x; then
3085 if test "x${enable_strict_dependencies}" = xyes; then
3086 { { echo "$as_me:$LINENO: error: set --without-rlm_sql_sqlite to disable it explicitly." >&5
3087 echo "$as_me: error: set --without-rlm_sql_sqlite to disable it explicitly." >&2;}
3088 { (exit 1); exit 1; }; }
3090 { echo "$as_me:$LINENO: WARNING: silently not building rlm_sql_sqlite." >&5
3091 echo "$as_me: WARNING: silently not building rlm_sql_sqlite." >&2;}
3092 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_sql_sqlite requires:$fail." >&5
3093 echo "$as_me: WARNING: FAILURE: rlm_sql_sqlite requires:$fail." >&2;};
3098 sql_sqlite_ldflags="$SMART_LIBS"
3099 sql_sqlite_cflags="$SMART_CFLAGS"
3104 unset ac_cv_env_LIBS_set
3105 unset ac_cv_env_LIBS_value
3107 ac_config_files="$ac_config_files Makefile"
3109 cat >confcache <<\_ACEOF
3110 # This file is a shell script that caches the results of configure
3111 # tests run on this system so they can be shared between configure
3112 # scripts and configure runs, see configure's option --config-cache.
3113 # It is not useful on other systems. If it contains results you don't
3114 # want to keep, you may remove or edit it.
3116 # config.status only pays attention to the cache file if you give it
3117 # the --recheck option to rerun configure.
3119 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3120 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3125 # The following way of writing the cache mishandles newlines in values,
3126 # but we know of no workaround that is simple, portable, and efficient.
3127 # So, we kill variables containing newlines.
3128 # Ultrix sh set writes to stderr and can't be redirected directly,
3129 # and sets the high bit in the cache file unless we assign to the vars.
3131 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3132 eval ac_val=\$$ac_var
3136 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3137 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3140 _ | IFS | as_nl) ;; #(
3141 *) $as_unset $ac_var ;;
3147 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3148 *${as_nl}ac_space=\ *)
3149 # `set' does not quote correctly, so add quotes (double-quote
3150 # substitution turns \\\\ into \\, and sed turns \\ into \).
3153 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3156 # `set' quotes correctly as required by POSIX, so do not add quotes.
3157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3166 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3168 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3170 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3171 if test -w "$cache_file"; then
3172 test "x$cache_file" != "x/dev/null" &&
3173 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3174 echo "$as_me: updating cache $cache_file" >&6;}
3175 cat confcache >$cache_file
3177 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3178 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3183 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3184 # Let make expand exec_prefix.
3185 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3187 # Transform confdefs.h into DEFS.
3188 # Protect against shell expansion while executing Makefile rules.
3189 # Protect against Makefile macro expansion.
3191 # If the first sed substitution is executed (which looks for macros that
3192 # take arguments), then branch to the quote section. Otherwise,
3193 # look for a macro that doesn't take arguments.
3197 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3199 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3203 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3216 DEFS=`sed -n "$ac_script" confdefs.h`
3221 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3222 # 1. Remove the extension, and $U if already installed.
3223 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3224 ac_i=`echo "$ac_i" | sed "$ac_script"`
3225 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3226 # will be set to the directory where LIBOBJS objects are built.
3227 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3228 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3232 LTLIBOBJS=$ac_ltlibobjs
3236 : ${CONFIG_STATUS=./config.status}
3237 ac_clean_files_save=$ac_clean_files
3238 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3239 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3240 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3241 cat >$CONFIG_STATUS <<_ACEOF
3243 # Generated by $as_me.
3244 # Run this file to recreate the current configuration.
3245 # Compiler output produced by configure, useful for debugging
3246 # configure, is in config.log if it exists.
3251 SHELL=\${CONFIG_SHELL-$SHELL}
3254 cat >>$CONFIG_STATUS <<\_ACEOF
3255 ## --------------------- ##
3256 ## M4sh Initialization. ##
3257 ## --------------------- ##
3259 # Be more Bourne compatible
3260 DUALCASE=1; export DUALCASE # for MKS sh
3261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3265 # is contrary to our usage. Disable this feature.
3266 alias -g '${1+"$@"}'='"$@"'
3267 setopt NO_GLOB_SUBST
3269 case `(set -o) 2>/dev/null` in
3270 *posix*) set -o posix ;;
3279 # Avoid depending upon Character Ranges.
3280 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3281 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3282 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3283 as_cr_digits='0123456789'
3284 as_cr_alnum=$as_cr_Letters$as_cr_digits
3286 # The user is always right.
3287 if test "${PATH_SEPARATOR+set}" != set; then
3288 echo "#! /bin/sh" >conf$$.sh
3289 echo "exit 0" >>conf$$.sh
3291 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3299 # Support unset when possible.
3300 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3308 # We need space, tab and new line, in precisely that order. Quoting is
3309 # there to prevent editors from complaining about space-tab.
3310 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3311 # splitting by setting IFS to empty value.)
3316 # Find who we are. Look in the path if we contain no directory separator.
3318 *[\\/]* ) as_myself=$0 ;;
3319 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir=.
3324 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3330 # We did not find ourselves, most probably we were run as `sh COMMAND'
3331 # in which case we are not to be found in the path.
3332 if test "x$as_myself" = x; then
3335 if test ! -f "$as_myself"; then
3336 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3337 { (exit 1); exit 1; }
3340 # Work around bugs in pre-3.0 UWIN ksh.
3341 for as_var in ENV MAIL MAILPATH
3342 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3350 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3351 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3352 LC_TELEPHONE LC_TIME
3354 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3355 eval $as_var=C; export $as_var
3357 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3361 # Required to use basename.
3362 if expr a : '\(a\)' >/dev/null 2>&1 &&
3363 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3369 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3370 as_basename=basename
3376 # Name of the executable.
3377 as_me=`$as_basename -- "$0" ||
3378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3379 X"$0" : 'X\(//\)$' \| \
3380 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3382 sed '/^.*\/\([^/][^/]*\)\/*$/{
3403 test "x$as_lineno_1" != "x$as_lineno_2" &&
3404 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3406 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3407 # uniformly replaced by the line number. The first 'sed' inserts a
3408 # line-number line after each line using $LINENO; the second 'sed'
3409 # does the real work. The second script uses 'N' to pair each
3410 # line-number line with the line containing $LINENO, and appends
3411 # trailing '-' during substitution so that $LINENO is not a special
3413 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3414 # scripts with optimization help from Paolo Bonzini. Blame Lee
3415 # E. McMahon (1931-1989) for sed's syntax. :-)
3427 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3431 chmod +x "$as_me.lineno" ||
3432 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3433 { (exit 1); exit 1; }; }
3435 # Don't try to exec as it changes $[0], causing all sort of problems
3436 # (the dirname of $[0] is not the place where we might find the
3437 # original and so on. Autoconf is especially sensitive to this).
3439 # Exit status is that of the last command.
3444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3450 ECHO_C= ECHO_N= ECHO_T=
3453 case `echo 'x\c'` in
3454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3461 if expr a : '\(a\)' >/dev/null 2>&1 &&
3462 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3468 rm -f conf$$ conf$$.exe conf$$.file
3469 if test -d conf$$.dir; then
3470 rm -f conf$$.dir/conf$$.file
3476 if ln -s conf$$.file conf$$ 2>/dev/null; then
3478 # ... but there are two gotchas:
3479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3481 # In both cases, we have to default to `cp -p'.
3482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3484 elif ln conf$$.file conf$$ 2>/dev/null; then
3489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3490 rmdir conf$$.dir 2>/dev/null
3492 if mkdir -p . 2>/dev/null; then
3495 test -d ./-p && rmdir ./-p
3499 if test -x / >/dev/null 2>&1; then
3502 if ls -dL / >/dev/null 2>&1; then
3509 if test -d "$1"; then
3515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3516 ???[sx]*):;;*)false;;esac;fi
3520 as_executable_p=$as_test_x
3522 # Sed expression to map a string onto a valid CPP name.
3523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3525 # Sed expression to map a string onto a valid variable name.
3526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3531 # Save the log message, to keep $[0] and so on meaningful, and to
3532 # report actual input values of CONFIG_FILES etc. instead of their
3533 # values after options handling.
3535 This file was extended by $as_me, which was
3536 generated by GNU Autoconf 2.61. Invocation command line was
3538 CONFIG_FILES = $CONFIG_FILES
3539 CONFIG_HEADERS = $CONFIG_HEADERS
3540 CONFIG_LINKS = $CONFIG_LINKS
3541 CONFIG_COMMANDS = $CONFIG_COMMANDS
3544 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3549 cat >>$CONFIG_STATUS <<_ACEOF
3550 # Files that config.status was made for.
3551 config_files="$ac_config_files"
3555 cat >>$CONFIG_STATUS <<\_ACEOF
3557 \`$as_me' instantiates files from templates according to the
3558 current configuration.
3560 Usage: $0 [OPTIONS] [FILE]...
3562 -h, --help print this help, then exit
3563 -V, --version print version number and configuration settings, then exit
3564 -q, --quiet do not print progress messages
3565 -d, --debug don't remove temporary files
3566 --recheck update $as_me by reconfiguring in the same conditions
3567 --file=FILE[:TEMPLATE]
3568 instantiate the configuration file FILE
3570 Configuration files:
3573 Report bugs to <bug-autoconf@gnu.org>."
3576 cat >>$CONFIG_STATUS <<_ACEOF
3579 configured by $0, generated by GNU Autoconf 2.61,
3580 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3582 Copyright (C) 2006 Free Software Foundation, Inc.
3583 This config.status script is free software; the Free Software Foundation
3584 gives unlimited permission to copy, distribute and modify it."
3590 cat >>$CONFIG_STATUS <<\_ACEOF
3591 # If no file are specified by the user, then we need to provide default
3592 # value. By we need to know if files were specified by the user.
3598 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3599 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3610 # Handling of the options.
3611 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3613 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3614 echo "$ac_cs_version"; exit ;;
3615 --debug | --debu | --deb | --de | --d | -d )
3617 --file | --fil | --fi | --f )
3619 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3620 ac_need_defaults=false;;
3621 --he | --h | --help | --hel | -h )
3622 echo "$ac_cs_usage"; exit ;;
3623 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3624 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3628 -*) { echo "$as_me: error: unrecognized option: $1
3629 Try \`$0 --help' for more information." >&2
3630 { (exit 1); exit 1; }; } ;;
3632 *) ac_config_targets="$ac_config_targets $1"
3633 ac_need_defaults=false ;;
3639 ac_configure_extra_args=
3641 if $ac_cs_silent; then
3643 ac_configure_extra_args="$ac_configure_extra_args --silent"
3647 cat >>$CONFIG_STATUS <<_ACEOF
3648 if \$ac_cs_recheck; then
3649 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3652 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3656 cat >>$CONFIG_STATUS <<\_ACEOF
3660 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3661 ## Running $as_me. ##
3667 cat >>$CONFIG_STATUS <<_ACEOF
3670 cat >>$CONFIG_STATUS <<\_ACEOF
3672 # Handling of arguments.
3673 for ac_config_target in $ac_config_targets
3675 case $ac_config_target in
3676 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3678 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3679 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3680 { (exit 1); exit 1; }; };;
3685 # If the user did not use the arguments to specify the items to instantiate,
3686 # then the envvar interface is used. Set only those that are not.
3687 # We use the long form for the default assignment because of an extremely
3688 # bizarre bug on SunOS 4.1.3.
3689 if $ac_need_defaults; then
3690 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3693 # Have a temporary directory for convenience. Make it in the build tree
3694 # simply because there is no reason against having it here, and in addition,
3695 # creating and moving files from /tmp can sometimes cause problems.
3696 # Hook for its removal unless debugging.
3697 # Note that there is a small window in which the directory will not be cleaned:
3698 # after its creation but before its name has been assigned to `$tmp'.
3702 trap 'exit_status=$?
3703 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3705 trap '{ (exit 1); exit 1; }' 1 2 13 15
3707 # Create a (secure) tmp directory for tmp files.
3710 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3711 test -n "$tmp" && test -d "$tmp"
3714 tmp=./conf$$-$RANDOM
3715 (umask 077 && mkdir "$tmp")
3718 echo "$me: cannot create a temporary directory in ." >&2
3719 { (exit 1); exit 1; }
3723 # Set up the sed scripts for CONFIG_FILES section.
3726 # No need to generate the scripts if there are no CONFIG_FILES.
3727 # This happens for instance when ./config.status config.h
3728 if test -n "$CONFIG_FILES"; then
3735 for ac_last_try in false false false false false :; do
3736 cat >conf$$subs.sed <<_ACEOF
3737 SHELL!$SHELL$ac_delim
3738 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3739 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3740 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3741 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3742 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3743 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3744 exec_prefix!$exec_prefix$ac_delim
3745 prefix!$prefix$ac_delim
3746 program_transform_name!$program_transform_name$ac_delim
3747 bindir!$bindir$ac_delim
3748 sbindir!$sbindir$ac_delim
3749 libexecdir!$libexecdir$ac_delim
3750 datarootdir!$datarootdir$ac_delim
3751 datadir!$datadir$ac_delim
3752 sysconfdir!$sysconfdir$ac_delim
3753 sharedstatedir!$sharedstatedir$ac_delim
3754 localstatedir!$localstatedir$ac_delim
3755 includedir!$includedir$ac_delim
3756 oldincludedir!$oldincludedir$ac_delim
3757 docdir!$docdir$ac_delim
3758 infodir!$infodir$ac_delim
3759 htmldir!$htmldir$ac_delim
3760 dvidir!$dvidir$ac_delim
3761 pdfdir!$pdfdir$ac_delim
3762 psdir!$psdir$ac_delim
3763 libdir!$libdir$ac_delim
3764 localedir!$localedir$ac_delim
3765 mandir!$mandir$ac_delim
3767 ECHO_C!$ECHO_C$ac_delim
3768 ECHO_N!$ECHO_N$ac_delim
3769 ECHO_T!$ECHO_T$ac_delim
3771 build_alias!$build_alias$ac_delim
3772 host_alias!$host_alias$ac_delim
3773 target_alias!$target_alias$ac_delim
3775 CFLAGS!$CFLAGS$ac_delim
3776 LDFLAGS!$LDFLAGS$ac_delim
3777 CPPFLAGS!$CPPFLAGS$ac_delim
3778 ac_ct_CC!$ac_ct_CC$ac_delim
3779 EXEEXT!$EXEEXT$ac_delim
3780 OBJEXT!$OBJEXT$ac_delim
3781 sql_sqlite_ldflags!$sql_sqlite_ldflags$ac_delim
3782 sql_sqlite_cflags!$sql_sqlite_cflags$ac_delim
3783 targetname!$targetname$ac_delim
3784 LIBOBJS!$LIBOBJS$ac_delim
3785 LTLIBOBJS!$LTLIBOBJS$ac_delim
3788 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then
3790 elif $ac_last_try; then
3791 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3792 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3793 { (exit 1); exit 1; }; }
3795 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3799 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3800 if test -n "$ac_eof"; then
3801 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3802 ac_eof=`expr $ac_eof + 1`
3805 cat >>$CONFIG_STATUS <<_ACEOF
3806 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3810 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3811 s/^/s,@/; s/!/@,|#_!!_#|/
3814 s/'"$ac_delim"'$/,g/; t
3816 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3817 ' >>$CONFIG_STATUS <conf$$subs.sed
3818 rm -f conf$$subs.sed
3819 cat >>$CONFIG_STATUS <<_ACEOF
3826 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3827 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3828 # trailing colons and then remove the whole line if VPATH becomes empty
3829 # (actually we leave an empty line to preserve line numbers).
3830 if test "x$srcdir" = x.; then
3831 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3835 s/^\([^=]*=[ ]*\):*/\1/
3841 cat >>$CONFIG_STATUS <<\_ACEOF
3842 fi # test -n "$CONFIG_FILES"
3845 for ac_tag in :F $CONFIG_FILES
3848 :[FHLC]) ac_mode=$ac_tag; continue;;
3850 case $ac_mode$ac_tag in
3852 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3853 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3854 { (exit 1); exit 1; }; };;
3855 :[FH]-) ac_tag=-:-;;
3856 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3873 -) ac_f="$tmp/stdin";;
3874 *) # Look for the file first in the build tree, then in the source tree
3875 # (if the path is not absolute). The absolute path cannot be DOS-style,
3876 # because $ac_f cannot contain `:'.
3880 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3882 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3883 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3884 { (exit 1); exit 1; }; };;
3886 ac_file_inputs="$ac_file_inputs $ac_f"
3889 # Let's still pretend it is `configure' which instantiates (i.e., don't
3890 # use $as_me), people would be surprised to read:
3891 # /* config.h. Generated by config.status. */
3892 configure_input="Generated from "`IFS=:
3893 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3894 if test x"$ac_file" != x-; then
3895 configure_input="$ac_file. $configure_input"
3896 { echo "$as_me:$LINENO: creating $ac_file" >&5
3897 echo "$as_me: creating $ac_file" >&6;}
3901 *:-:* | *:-) cat >"$tmp/stdin";;
3906 ac_dir=`$as_dirname -- "$ac_file" ||
3907 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3908 X"$ac_file" : 'X\(//\)[^/]' \| \
3909 X"$ac_file" : 'X\(//\)$' \| \
3910 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3931 -*) as_dir=./$as_dir;;
3933 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3937 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3938 *) as_qdir=$as_dir;;
3940 as_dirs="'$as_qdir' $as_dirs"
3941 as_dir=`$as_dirname -- "$as_dir" ||
3942 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3943 X"$as_dir" : 'X\(//\)[^/]' \| \
3944 X"$as_dir" : 'X\(//\)$' \| \
3945 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3964 test -d "$as_dir" && break
3966 test -z "$as_dirs" || eval "mkdir $as_dirs"
3967 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3968 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3969 { (exit 1); exit 1; }; }; }
3973 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3975 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3976 # A ".." for each directory in $ac_dir_suffix.
3977 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3978 case $ac_top_builddir_sub in
3979 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3980 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3983 ac_abs_top_builddir=$ac_pwd
3984 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3985 # for backward compatibility:
3986 ac_top_builddir=$ac_top_build_prefix
3989 .) # We are building in place.
3991 ac_top_srcdir=$ac_top_builddir_sub
3992 ac_abs_top_srcdir=$ac_pwd ;;
3993 [\\/]* | ?:[\\/]* ) # Absolute name.
3994 ac_srcdir=$srcdir$ac_dir_suffix;
3995 ac_top_srcdir=$srcdir
3996 ac_abs_top_srcdir=$srcdir ;;
3998 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3999 ac_top_srcdir=$ac_top_build_prefix$srcdir
4000 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4002 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4013 cat >>$CONFIG_STATUS <<\_ACEOF
4014 # If the template does not know about datarootdir, expand it.
4015 # FIXME: This hack should be removed a few years after 2.60.
4016 ac_datarootdir_hack=; ac_datarootdir_seen=
4018 case `sed -n '/datarootdir/ {
4027 ' $ac_file_inputs` in
4028 *datarootdir*) ac_datarootdir_seen=yes;;
4029 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4030 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4031 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4033 cat >>$CONFIG_STATUS <<_ACEOF
4034 ac_datarootdir_hack='
4035 s&@datadir@&$datadir&g
4036 s&@docdir@&$docdir&g
4037 s&@infodir@&$infodir&g
4038 s&@localedir@&$localedir&g
4039 s&@mandir@&$mandir&g
4040 s&\\\${datarootdir}&$datarootdir&g' ;;
4044 # Neutralize VPATH when `$srcdir' = `.'.
4045 # Shell code in configure.ac might set extrasub.
4046 # FIXME: do we really want to maintain this feature?
4047 cat >>$CONFIG_STATUS <<_ACEOF
4051 cat >>$CONFIG_STATUS <<\_ACEOF
4053 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4054 s&@configure_input@&$configure_input&;t t
4055 s&@top_builddir@&$ac_top_builddir_sub&;t t
4056 s&@srcdir@&$ac_srcdir&;t t
4057 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4058 s&@top_srcdir@&$ac_top_srcdir&;t t
4059 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4060 s&@builddir@&$ac_builddir&;t t
4061 s&@abs_builddir@&$ac_abs_builddir&;t t
4062 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4063 $ac_datarootdir_hack
4064 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4066 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4067 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4068 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4069 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4070 which seems to be undefined. Please make sure it is defined." >&5
4071 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4072 which seems to be undefined. Please make sure it is defined." >&2;}
4076 -) cat "$tmp/out"; rm -f "$tmp/out";;
4077 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4088 { (exit 0); exit 0; }
4090 chmod +x $CONFIG_STATUS
4091 ac_clean_files=$ac_clean_files_save
4094 # configure is writing to config.log, and then calls config.status.
4095 # config.status does its own redirection, appending to config.log.
4096 # Unfortunately, on DOS this fails, as config.log is still kept open
4097 # by configure, so config.status won't be able to write to it; its
4098 # output is simply discarded. So we exec the FD to /dev/null,
4099 # effectively closing config.log, so it can be properly (re)opened and
4100 # appended to by config.status. When coming back to configure, we
4101 # need to make the FD available again.
4102 if test "$no_create" != yes; then
4104 ac_config_status_args=
4105 test "$silent" = yes &&
4106 ac_config_status_args="$ac_config_status_args --quiet"
4108 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4110 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4111 # would make configure fail if this is the last instruction.
4112 $ac_cs_success || { (exit 1); exit 1; }