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_iodbc.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-iodbc-include-dir=DIR
1208 Directory where the Iodbc includes may be found
1209 --with-iodbc-lib-dir=DIR
1210 Directory where the Iodbc libraries may be found
1211 --with-iodbc-dir=DIR Base directory where Iodbc 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_iodbc != xno; then
1654 # Check whether --with-iodbc-include-dir was given.
1655 if test "${with_iodbc_include_dir+set}" = set; then
1656 withval=$with_iodbc_include_dir; case "$withval" in
1658 { { echo "$as_me:$LINENO: error: Need iodbc-include-dir" >&5
1659 echo "$as_me: error: Need iodbc-include-dir" >&2;}
1660 { (exit 1); exit 1; }; }
1665 iodbc_include_dir="$withval"
1673 # Check whether --with-iodbc-lib-dir was given.
1674 if test "${with_iodbc_lib_dir+set}" = set; then
1675 withval=$with_iodbc_lib_dir; case "$withval" in
1677 { { echo "$as_me:$LINENO: error: Need iodbc-lib-dir" >&5
1678 echo "$as_me: error: Need iodbc-lib-dir" >&2;}
1679 { (exit 1); exit 1; }; }
1684 iodbc_lib_dir="$withval"
1691 # Check whether --with-iodbc-dir was given.
1692 if test "${with_iodbc_dir+set}" = set; then
1693 withval=$with_iodbc_dir; case "$withval" in
1695 { { echo "$as_me:$LINENO: error: Need iodbc-dir" >&5
1696 echo "$as_me: error: Need iodbc-dir" >&2;}
1697 { (exit 1); exit 1; }; }
1702 iodbc_lib_dir="$withval/lib"
1703 iodbc_include_dir="$withval/include"
1709 smart_try_dir="$iodbc_lib_dir /usr/lib/iodbc /usr/local/lib/iodbc /usr/local/iodbc/lib/iodbc"
1711 ac_cpp='$CPP $CPPFLAGS'
1712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1715 if test -n "$ac_tool_prefix"; then
1716 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1717 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1720 if test "${ac_cv_prog_CC+set}" = set; then
1721 echo $ECHO_N "(cached) $ECHO_C" >&6
1723 if test -n "$CC"; then
1724 ac_cv_prog_CC="$CC" # Let the user override the test.
1726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1730 test -z "$as_dir" && as_dir=.
1731 for ac_exec_ext in '' $ac_executable_extensions; do
1732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1733 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744 if test -n "$CC"; then
1745 { echo "$as_me:$LINENO: result: $CC" >&5
1746 echo "${ECHO_T}$CC" >&6; }
1748 { echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6; }
1754 if test -z "$ac_cv_prog_CC"; then
1756 # Extract the first word of "gcc", so it can be a program name with args.
1757 set dummy gcc; ac_word=$2
1758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1760 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 if test -n "$ac_ct_CC"; then
1764 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770 test -z "$as_dir" && as_dir=.
1771 for ac_exec_ext in '' $ac_executable_extensions; do
1772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1773 ac_cv_prog_ac_ct_CC="gcc"
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1784 if test -n "$ac_ct_CC"; then
1785 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1786 echo "${ECHO_T}$ac_ct_CC" >&6; }
1788 { echo "$as_me:$LINENO: result: no" >&5
1789 echo "${ECHO_T}no" >&6; }
1792 if test "x$ac_ct_CC" = x; then
1795 case $cross_compiling:$ac_tool_warned in
1797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1798 whose name does not start with the host triplet. If you think this
1799 configuration is useful to you, please write to autoconf@gnu.org." >&5
1800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1801 whose name does not start with the host triplet. If you think this
1802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1803 ac_tool_warned=yes ;;
1811 if test -z "$CC"; then
1812 if test -n "$ac_tool_prefix"; then
1813 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1814 set dummy ${ac_tool_prefix}cc; ac_word=$2
1815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1817 if test "${ac_cv_prog_CC+set}" = set; then
1818 echo $ECHO_N "(cached) $ECHO_C" >&6
1820 if test -n "$CC"; then
1821 ac_cv_prog_CC="$CC" # Let the user override the test.
1823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1827 test -z "$as_dir" && as_dir=.
1828 for ac_exec_ext in '' $ac_executable_extensions; do
1829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1830 ac_cv_prog_CC="${ac_tool_prefix}cc"
1831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1841 if test -n "$CC"; then
1842 { echo "$as_me:$LINENO: result: $CC" >&5
1843 echo "${ECHO_T}$CC" >&6; }
1845 { echo "$as_me:$LINENO: result: no" >&5
1846 echo "${ECHO_T}no" >&6; }
1852 if test -z "$CC"; then
1853 # Extract the first word of "cc", so it can be a program name with args.
1854 set dummy cc; ac_word=$2
1855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1857 if test "${ac_cv_prog_CC+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 if test -n "$CC"; then
1861 ac_cv_prog_CC="$CC" # Let the user override the test.
1864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1868 test -z "$as_dir" && as_dir=.
1869 for ac_exec_ext in '' $ac_executable_extensions; do
1870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1871 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1872 ac_prog_rejected=yes
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883 if test $ac_prog_rejected = yes; then
1884 # We found a bogon in the path, so make sure we never use it.
1885 set dummy $ac_cv_prog_CC
1887 if test $# != 0; then
1888 # We chose a different compiler from the bogus one.
1889 # However, it has the same basename, so the bogon will be chosen
1890 # first if we set CC to just the basename; use the full file name.
1892 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1898 if test -n "$CC"; then
1899 { echo "$as_me:$LINENO: result: $CC" >&5
1900 echo "${ECHO_T}$CC" >&6; }
1902 { echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6; }
1908 if test -z "$CC"; then
1909 if test -n "$ac_tool_prefix"; then
1910 for ac_prog in cl.exe
1912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1916 if test "${ac_cv_prog_CC+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 if test -n "$CC"; then
1920 ac_cv_prog_CC="$CC" # Let the user override the test.
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 test -z "$as_dir" && as_dir=.
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1929 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 if test -n "$CC"; then
1941 { echo "$as_me:$LINENO: result: $CC" >&5
1942 echo "${ECHO_T}$CC" >&6; }
1944 { echo "$as_me:$LINENO: result: no" >&5
1945 echo "${ECHO_T}no" >&6; }
1949 test -n "$CC" && break
1952 if test -z "$CC"; then
1954 for ac_prog in cl.exe
1956 # Extract the first word of "$ac_prog", so it can be a program name with args.
1957 set dummy $ac_prog; ac_word=$2
1958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1960 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test -n "$ac_ct_CC"; then
1964 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir=.
1971 for ac_exec_ext in '' $ac_executable_extensions; do
1972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1973 ac_cv_prog_ac_ct_CC="$ac_prog"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1984 if test -n "$ac_ct_CC"; then
1985 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1986 echo "${ECHO_T}$ac_ct_CC" >&6; }
1988 { echo "$as_me:$LINENO: result: no" >&5
1989 echo "${ECHO_T}no" >&6; }
1993 test -n "$ac_ct_CC" && break
1996 if test "x$ac_ct_CC" = x; then
1999 case $cross_compiling:$ac_tool_warned in
2001 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2002 whose name does not start with the host triplet. If you think this
2003 configuration is useful to you, please write to autoconf@gnu.org." >&5
2004 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2005 whose name does not start with the host triplet. If you think this
2006 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2007 ac_tool_warned=yes ;;
2016 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2017 See \`config.log' for more details." >&5
2018 echo "$as_me: error: no acceptable C compiler found in \$PATH
2019 See \`config.log' for more details." >&2;}
2020 { (exit 1); exit 1; }; }
2022 # Provide some information about the compiler.
2023 echo "$as_me:$LINENO: checking for C compiler version" >&5
2024 ac_compiler=`set X $ac_compile; echo $2`
2025 { (ac_try="$ac_compiler --version >&5"
2027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2028 *) ac_try_echo=$ac_try;;
2030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2031 (eval "$ac_compiler --version >&5") 2>&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }
2035 { (ac_try="$ac_compiler -v >&5"
2037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2038 *) ac_try_echo=$ac_try;;
2040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2041 (eval "$ac_compiler -v >&5") 2>&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); }
2045 { (ac_try="$ac_compiler -V >&5"
2047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2048 *) ac_try_echo=$ac_try;;
2050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2051 (eval "$ac_compiler -V >&5") 2>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }
2056 cat >conftest.$ac_ext <<_ACEOF
2059 cat confdefs.h >>conftest.$ac_ext
2060 cat >>conftest.$ac_ext <<_ACEOF
2061 /* end confdefs.h. */
2071 ac_clean_files_save=$ac_clean_files
2072 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2073 # Try to create an executable without -o first, disregard a.out.
2074 # It will help us diagnose broken compilers, and finding out an intuition
2076 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2077 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2078 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2080 # List of possible output files, starting from the most likely.
2081 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2082 # only as a last resort. b.out is created by i960 compilers.
2083 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2085 # The IRIX 6 linker writes into existing files which may not be
2086 # executable, retaining their permissions. Remove them first so a
2087 # subsequent execution test works.
2089 for ac_file in $ac_files
2092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2093 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2098 if { (ac_try="$ac_link_default"
2100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2101 *) ac_try_echo=$ac_try;;
2103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2104 (eval "$ac_link_default") 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; then
2108 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2109 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2111 # so that the user can short-circuit this test for compilers unknown to
2113 for ac_file in $ac_files ''
2115 test -f "$ac_file" || continue
2117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2120 # We found the default executable, but exeext='' is most
2124 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2126 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2128 # We set ac_cv_exeext here because the later test for it is not
2129 # safe: cross compilers may not add the suffix if given an `-o'
2130 # argument, so we may need to know it at that point already.
2131 # Even if this section looks crufty: it has the advantage of
2138 test "$ac_cv_exeext" = no && ac_cv_exeext=
2144 { echo "$as_me:$LINENO: result: $ac_file" >&5
2145 echo "${ECHO_T}$ac_file" >&6; }
2146 if test -z "$ac_file"; then
2147 echo "$as_me: failed program was:" >&5
2148 sed 's/^/| /' conftest.$ac_ext >&5
2150 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2151 See \`config.log' for more details." >&5
2152 echo "$as_me: error: C compiler cannot create executables
2153 See \`config.log' for more details." >&2;}
2154 { (exit 77); exit 77; }; }
2157 ac_exeext=$ac_cv_exeext
2159 # Check that the compiler produces executables we can run. If not, either
2160 # the compiler is broken, or we cross compile.
2161 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2164 # If not cross compiling, check that we can run a simple program.
2165 if test "$cross_compiling" != yes; then
2166 if { ac_try='./$ac_file'
2167 { (case "(($ac_try" in
2168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2169 *) ac_try_echo=$ac_try;;
2171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2172 (eval "$ac_try") 2>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; }; then
2178 if test "$cross_compiling" = maybe; then
2181 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2182 If you meant to cross compile, use \`--host'.
2183 See \`config.log' for more details." >&5
2184 echo "$as_me: error: cannot run C compiled programs.
2185 If you meant to cross compile, use \`--host'.
2186 See \`config.log' for more details." >&2;}
2187 { (exit 1); exit 1; }; }
2191 { echo "$as_me:$LINENO: result: yes" >&5
2192 echo "${ECHO_T}yes" >&6; }
2194 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2195 ac_clean_files=$ac_clean_files_save
2196 # Check that the compiler produces executables we can run. If not, either
2197 # the compiler is broken, or we cross compile.
2198 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2199 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2200 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2201 echo "${ECHO_T}$cross_compiling" >&6; }
2203 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2204 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2205 if { (ac_try="$ac_link"
2207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2208 *) ac_try_echo=$ac_try;;
2210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2211 (eval "$ac_link") 2>&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; then
2215 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2216 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2217 # work properly (i.e., refer to `conftest.exe'), while it won't with
2219 for ac_file in conftest.exe conftest conftest.*; do
2220 test -f "$ac_file" || continue
2222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2223 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2229 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2230 See \`config.log' for more details." >&5
2231 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2232 See \`config.log' for more details." >&2;}
2233 { (exit 1); exit 1; }; }
2236 rm -f conftest$ac_cv_exeext
2237 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2238 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2240 rm -f conftest.$ac_ext
2241 EXEEXT=$ac_cv_exeext
2243 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2244 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2245 if test "${ac_cv_objext+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 cat >conftest.$ac_ext <<_ACEOF
2251 cat confdefs.h >>conftest.$ac_ext
2252 cat >>conftest.$ac_ext <<_ACEOF
2253 /* end confdefs.h. */
2263 rm -f conftest.o conftest.obj
2264 if { (ac_try="$ac_compile"
2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2270 (eval "$ac_compile") 2>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; then
2274 for ac_file in conftest.o conftest.obj conftest.*; do
2275 test -f "$ac_file" || continue;
2277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2278 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2283 echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.$ac_ext >&5
2286 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2287 See \`config.log' for more details." >&5
2288 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2289 See \`config.log' for more details." >&2;}
2290 { (exit 1); exit 1; }; }
2293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2295 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2296 echo "${ECHO_T}$ac_cv_objext" >&6; }
2297 OBJEXT=$ac_cv_objext
2299 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2300 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2301 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 cat >conftest.$ac_ext <<_ACEOF
2307 cat confdefs.h >>conftest.$ac_ext
2308 cat >>conftest.$ac_ext <<_ACEOF
2309 /* end confdefs.h. */
2322 rm -f conftest.$ac_objext
2323 if { (ac_try="$ac_compile"
2325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2326 *) ac_try_echo=$ac_try;;
2328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2329 (eval "$ac_compile") 2>conftest.er1
2331 grep -v '^ *+' conftest.er1 >conftest.err
2333 cat conftest.err >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } && {
2336 test -z "$ac_c_werror_flag" ||
2337 test ! -s conftest.err
2338 } && test -s conftest.$ac_objext; then
2341 echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.$ac_ext >&5
2347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2351 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2352 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2353 GCC=`test $ac_compiler_gnu = yes && echo yes`
2354 ac_test_CFLAGS=${CFLAGS+set}
2355 ac_save_CFLAGS=$CFLAGS
2356 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2357 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_cc_g+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 ac_save_c_werror_flag=$ac_c_werror_flag
2362 ac_c_werror_flag=yes
2365 cat >conftest.$ac_ext <<_ACEOF
2368 cat confdefs.h >>conftest.$ac_ext
2369 cat >>conftest.$ac_ext <<_ACEOF
2370 /* end confdefs.h. */
2380 rm -f conftest.$ac_objext
2381 if { (ac_try="$ac_compile"
2383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2384 *) ac_try_echo=$ac_try;;
2386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2387 (eval "$ac_compile") 2>conftest.er1
2389 grep -v '^ *+' conftest.er1 >conftest.err
2391 cat conftest.err >&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } && {
2394 test -z "$ac_c_werror_flag" ||
2395 test ! -s conftest.err
2396 } && test -s conftest.$ac_objext; then
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2403 cat >conftest.$ac_ext <<_ACEOF
2406 cat confdefs.h >>conftest.$ac_ext
2407 cat >>conftest.$ac_ext <<_ACEOF
2408 /* end confdefs.h. */
2418 rm -f conftest.$ac_objext
2419 if { (ac_try="$ac_compile"
2421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2422 *) ac_try_echo=$ac_try;;
2424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2425 (eval "$ac_compile") 2>conftest.er1
2427 grep -v '^ *+' conftest.er1 >conftest.err
2429 cat conftest.err >&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); } && {
2432 test -z "$ac_c_werror_flag" ||
2433 test ! -s conftest.err
2434 } && test -s conftest.$ac_objext; then
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2440 ac_c_werror_flag=$ac_save_c_werror_flag
2442 cat >conftest.$ac_ext <<_ACEOF
2445 cat confdefs.h >>conftest.$ac_ext
2446 cat >>conftest.$ac_ext <<_ACEOF
2447 /* end confdefs.h. */
2457 rm -f conftest.$ac_objext
2458 if { (ac_try="$ac_compile"
2460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2461 *) ac_try_echo=$ac_try;;
2463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2464 (eval "$ac_compile") 2>conftest.er1
2466 grep -v '^ *+' conftest.er1 >conftest.err
2468 cat conftest.err >&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); } && {
2471 test -z "$ac_c_werror_flag" ||
2472 test ! -s conftest.err
2473 } && test -s conftest.$ac_objext; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2489 ac_c_werror_flag=$ac_save_c_werror_flag
2491 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2492 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2493 if test "$ac_test_CFLAGS" = set; then
2494 CFLAGS=$ac_save_CFLAGS
2495 elif test $ac_cv_prog_cc_g = yes; then
2496 if test "$GCC" = yes; then
2502 if test "$GCC" = yes; then
2508 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2509 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2510 if test "${ac_cv_prog_cc_c89+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 ac_cv_prog_cc_c89=no
2515 cat >conftest.$ac_ext <<_ACEOF
2518 cat confdefs.h >>conftest.$ac_ext
2519 cat >>conftest.$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2523 #include <sys/types.h>
2524 #include <sys/stat.h>
2525 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2526 struct buf { int x; };
2527 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2528 static char *e (p, i)
2534 static char *f (char * (*g) (char **, int), char **p, ...)
2539 s = g (p, va_arg (v,int));
2544 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2545 function prototypes and stuff, but not '\xHH' hex character constants.
2546 These don't provoke an error unfortunately, instead are silently treated
2547 as 'x'. The following induces an error, until -std is added to get
2548 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2549 array size at least. It's necessary to write '\x00'==0 to get something
2550 that's true only with -std. */
2551 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2553 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2554 inside strings and character constants. */
2556 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2558 int test (int i, double x);
2559 struct s1 {int (*f) (int a);};
2560 struct s2 {int (*f) (double a);};
2561 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2567 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2572 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2573 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2575 CC="$ac_save_CC $ac_arg"
2576 rm -f conftest.$ac_objext
2577 if { (ac_try="$ac_compile"
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compile") 2>conftest.er1
2585 grep -v '^ *+' conftest.er1 >conftest.err
2587 cat conftest.err >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } && {
2590 test -z "$ac_c_werror_flag" ||
2591 test ! -s conftest.err
2592 } && test -s conftest.$ac_objext; then
2593 ac_cv_prog_cc_c89=$ac_arg
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2601 rm -f core conftest.err conftest.$ac_objext
2602 test "x$ac_cv_prog_cc_c89" != "xno" && break
2604 rm -f conftest.$ac_ext
2609 case "x$ac_cv_prog_cc_c89" in
2611 { echo "$as_me:$LINENO: result: none needed" >&5
2612 echo "${ECHO_T}none needed" >&6; } ;;
2614 { echo "$as_me:$LINENO: result: unsupported" >&5
2615 echo "${ECHO_T}unsupported" >&6; } ;;
2617 CC="$CC $ac_cv_prog_cc_c89"
2618 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2619 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2624 ac_cpp='$CPP $CPPFLAGS'
2625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2632 sm_lib_safe=`echo "iodbc" | sed 'y%./+-%__p_%'`
2633 sm_func_safe=`echo "SQLConnect" | sed 'y%./+-%__p_%'`
2634 { echo "$as_me:$LINENO: checking for SQLConnect in -liodbc" >&5
2635 echo $ECHO_N "checking for SQLConnect in -liodbc... $ECHO_C" >&6; }
2641 if test "x$smart_try_dir" != "x"; then
2642 for try in $smart_try_dir; do
2643 LIBS="-L$try -liodbc $old_LIBS"
2644 cat >conftest.$ac_ext <<_ACEOF
2647 cat confdefs.h >>conftest.$ac_ext
2648 cat >>conftest.$ac_ext <<_ACEOF
2649 /* end confdefs.h. */
2650 extern char SQLConnect();
2659 rm -f conftest.$ac_objext conftest$ac_exeext
2660 if { (ac_try="$ac_link"
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_link") 2>conftest.er1
2668 grep -v '^ *+' conftest.er1 >conftest.err
2670 cat conftest.err >&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); } && {
2673 test -z "$ac_c_werror_flag" ||
2674 test ! -s conftest.err
2675 } && test -s conftest$ac_exeext &&
2676 $as_test_x conftest$ac_exeext; then
2677 smart_lib="-L$try -liodbc"
2679 echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2686 conftest$ac_exeext conftest.$ac_ext
2687 if test "x$smart_lib" != "x"; then
2694 if test "x$smart_lib" = "x"; then
2695 LIBS="-liodbc $old_LIBS"
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2702 extern char SQLConnect();
2711 rm -f conftest.$ac_objext conftest$ac_exeext
2712 if { (ac_try="$ac_link"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_link") 2>conftest.er1
2720 grep -v '^ *+' conftest.er1 >conftest.err
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } && {
2725 test -z "$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest$ac_exeext &&
2728 $as_test_x conftest$ac_exeext; then
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2738 conftest$ac_exeext conftest.$ac_ext
2742 if test "x$smart_lib" = "x"; then
2745 if test "x$LOCATE" != "x"; then
2747 file=libiodbc${libltdl_cv_shlibext}
2749 for x in `${LOCATE} $file 2>/dev/null`; do
2750 base=`echo $x | sed "s%/${file}%%"`
2751 if test "x$x" = "x$base"; then
2755 dir=`${DIRNAME} $x 2>/dev/null`
2756 exclude=`echo ${dir} | ${GREP} /home`
2757 if test "x$exclude" != "x"; then
2761 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2762 if test "x$already" = "x"; then
2768 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2772 if test "x$LOCATE" != "x"; then
2776 for x in `${LOCATE} $file 2>/dev/null`; do
2777 base=`echo $x | sed "s%/${file}%%"`
2778 if test "x$x" = "x$base"; then
2782 dir=`${DIRNAME} $x 2>/dev/null`
2783 exclude=`echo ${dir} | ${GREP} /home`
2784 if test "x$exclude" != "x"; then
2788 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2789 if test "x$already" = "x"; then
2795 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2798 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
2799 LIBS="-L$try -liodbc $old_LIBS"
2800 cat >conftest.$ac_ext <<_ACEOF
2803 cat confdefs.h >>conftest.$ac_ext
2804 cat >>conftest.$ac_ext <<_ACEOF
2805 /* end confdefs.h. */
2806 extern char SQLConnect();
2815 rm -f conftest.$ac_objext conftest$ac_exeext
2816 if { (ac_try="$ac_link"
2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2822 (eval "$ac_link") 2>conftest.er1
2824 grep -v '^ *+' conftest.er1 >conftest.err
2826 cat conftest.err >&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); } && {
2829 test -z "$ac_c_werror_flag" ||
2830 test ! -s conftest.err
2831 } && test -s conftest$ac_exeext &&
2832 $as_test_x conftest$ac_exeext; then
2833 smart_lib="-L$try -liodbc"
2835 echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2842 conftest$ac_exeext conftest.$ac_ext
2843 if test "x$smart_lib" != "x"; then
2850 if test "x$smart_lib" != "x"; then
2851 { echo "$as_me:$LINENO: result: yes" >&5
2852 echo "${ECHO_T}yes" >&6; }
2853 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
2854 LIBS="$smart_lib $old_LIBS"
2855 SMART_LIBS="$smart_lib $SMART_LIBS"
2857 { echo "$as_me:$LINENO: result: no" >&5
2858 echo "${ECHO_T}no" >&6; }
2861 if test "x$ac_cv_lib_iodbc_SQLConnect" != xyes; then
2862 fail="$fail libiodbc"
2865 smart_try_dir="$iodbc_include_dir /usr/local/iodbc/include"
2868 ac_safe=`echo "isql.h" | sed 'y%./+-%__pm%'`
2869 { echo "$as_me:$LINENO: checking for isql.h" >&5
2870 echo $ECHO_N "checking for isql.h... $ECHO_C" >&6; }
2872 old_CFLAGS="$CFLAGS"
2876 if test "x$smart_try_dir" != "x"; then
2877 for try in $smart_try_dir; do
2878 CFLAGS="$old_CFLAGS -I$try"
2879 cat >conftest.$ac_ext <<_ACEOF
2882 cat confdefs.h >>conftest.$ac_ext
2883 cat >>conftest.$ac_ext <<_ACEOF
2884 /* end confdefs.h. */
2895 rm -f conftest.$ac_objext
2896 if { (ac_try="$ac_compile"
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2902 (eval "$ac_compile") 2>conftest.er1
2904 grep -v '^ *+' conftest.er1 >conftest.err
2906 cat conftest.err >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); } && {
2909 test -z "$ac_c_werror_flag" ||
2910 test ! -s conftest.err
2911 } && test -s conftest.$ac_objext; then
2912 smart_include="-I$try"
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 if test "x$smart_include" != "x"; then
2925 CFLAGS="$old_CFLAGS"
2928 if test "x$smart_include" = "x"; then
2929 cat >conftest.$ac_ext <<_ACEOF
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2945 rm -f conftest.$ac_objext
2946 if { (ac_try="$ac_compile"
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2952 (eval "$ac_compile") 2>conftest.er1
2954 grep -v '^ *+' conftest.er1 >conftest.err
2956 cat conftest.err >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } && {
2959 test -z "$ac_c_werror_flag" ||
2960 test ! -s conftest.err
2961 } && test -s conftest.$ac_objext; then
2964 echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 if test "x$smart_include" = "x"; then
2976 if test "x$LOCATE" != "x"; then
2980 for x in `${LOCATE} $file 2>/dev/null`; do
2981 base=`echo $x | sed "s%/${file}%%"`
2982 if test "x$x" = "x$base"; then
2986 dir=`${DIRNAME} $x 2>/dev/null`
2987 exclude=`echo ${dir} | ${GREP} /home`
2988 if test "x$exclude" != "x"; then
2992 already=`echo \$smart_include_dir ${DIRS} | ${GREP} ${dir}`
2993 if test "x$already" = "x"; then
2999 eval "smart_include_dir=\"\$smart_include_dir $DIRS\""
3002 for try in $smart_include_dir /usr/local/include /opt/include; do
3003 CFLAGS="$old_CFLAGS -I$try"
3004 cat >conftest.$ac_ext <<_ACEOF
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3020 rm -f conftest.$ac_objext
3021 if { (ac_try="$ac_compile"
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3027 (eval "$ac_compile") 2>conftest.er1
3029 grep -v '^ *+' conftest.er1 >conftest.err
3031 cat conftest.err >&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); } && {
3034 test -z "$ac_c_werror_flag" ||
3035 test ! -s conftest.err
3036 } && test -s conftest.$ac_objext; then
3037 smart_include="-I$try"
3039 echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 if test "x$smart_include" != "x"; then
3050 CFLAGS="$old_CFLAGS"
3053 if test "x$smart_include" != "x"; then
3054 { echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6; }
3056 eval "ac_cv_header_$ac_safe=yes"
3057 CFLAGS="$old_CFLAGS $smart_include"
3058 SMART_CFLAGS="$SMART_CFLAGS $smart_include"
3060 { echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6; }
3064 if test "x$ac_cv_header_isql_h" != xyes; then
3068 targetname=rlm_sql_iodbc
3071 echo \*\*\* module rlm_sql_iodbc is disabled.
3074 if test "x$fail" != x; then
3075 if test "x${enable_strict_dependencies}" = xyes; then
3076 { { echo "$as_me:$LINENO: error: set --without-rlm_sql_iodbc to disable it explicitly." >&5
3077 echo "$as_me: error: set --without-rlm_sql_iodbc to disable it explicitly." >&2;}
3078 { (exit 1); exit 1; }; }
3080 { echo "$as_me:$LINENO: WARNING: silently not building rlm_sql_iodbc." >&5
3081 echo "$as_me: WARNING: silently not building rlm_sql_iodbc." >&2;}
3082 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_sql_iodbc requires:$fail." >&5
3083 echo "$as_me: WARNING: FAILURE: rlm_sql_iodbc requires:$fail." >&2;};
3088 sql_iodbc_ldflags="$SMART_LIBS"
3089 sql_iodbc_cflags="$SMART_CFLAGS"
3094 unset ac_cv_env_LIBS_set
3095 unset ac_cv_env_LIBS_value
3097 ac_config_files="$ac_config_files Makefile"
3099 cat >confcache <<\_ACEOF
3100 # This file is a shell script that caches the results of configure
3101 # tests run on this system so they can be shared between configure
3102 # scripts and configure runs, see configure's option --config-cache.
3103 # It is not useful on other systems. If it contains results you don't
3104 # want to keep, you may remove or edit it.
3106 # config.status only pays attention to the cache file if you give it
3107 # the --recheck option to rerun configure.
3109 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3110 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3115 # The following way of writing the cache mishandles newlines in values,
3116 # but we know of no workaround that is simple, portable, and efficient.
3117 # So, we kill variables containing newlines.
3118 # Ultrix sh set writes to stderr and can't be redirected directly,
3119 # and sets the high bit in the cache file unless we assign to the vars.
3121 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3122 eval ac_val=\$$ac_var
3126 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3127 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3130 _ | IFS | as_nl) ;; #(
3131 *) $as_unset $ac_var ;;
3137 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3138 *${as_nl}ac_space=\ *)
3139 # `set' does not quote correctly, so add quotes (double-quote
3140 # substitution turns \\\\ into \\, and sed turns \\ into \).
3143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3146 # `set' quotes correctly as required by POSIX, so do not add quotes.
3147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3158 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3160 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3161 if test -w "$cache_file"; then
3162 test "x$cache_file" != "x/dev/null" &&
3163 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3164 echo "$as_me: updating cache $cache_file" >&6;}
3165 cat confcache >$cache_file
3167 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3168 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3173 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3174 # Let make expand exec_prefix.
3175 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3177 # Transform confdefs.h into DEFS.
3178 # Protect against shell expansion while executing Makefile rules.
3179 # Protect against Makefile macro expansion.
3181 # If the first sed substitution is executed (which looks for macros that
3182 # take arguments), then branch to the quote section. Otherwise,
3183 # look for a macro that doesn't take arguments.
3187 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3189 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3193 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3206 DEFS=`sed -n "$ac_script" confdefs.h`
3211 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3212 # 1. Remove the extension, and $U if already installed.
3213 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3214 ac_i=`echo "$ac_i" | sed "$ac_script"`
3215 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3216 # will be set to the directory where LIBOBJS objects are built.
3217 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3218 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3222 LTLIBOBJS=$ac_ltlibobjs
3226 : ${CONFIG_STATUS=./config.status}
3227 ac_clean_files_save=$ac_clean_files
3228 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3229 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3230 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3231 cat >$CONFIG_STATUS <<_ACEOF
3233 # Generated by $as_me.
3234 # Run this file to recreate the current configuration.
3235 # Compiler output produced by configure, useful for debugging
3236 # configure, is in config.log if it exists.
3241 SHELL=\${CONFIG_SHELL-$SHELL}
3244 cat >>$CONFIG_STATUS <<\_ACEOF
3245 ## --------------------- ##
3246 ## M4sh Initialization. ##
3247 ## --------------------- ##
3249 # Be more Bourne compatible
3250 DUALCASE=1; export DUALCASE # for MKS sh
3251 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3254 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3255 # is contrary to our usage. Disable this feature.
3256 alias -g '${1+"$@"}'='"$@"'
3257 setopt NO_GLOB_SUBST
3259 case `(set -o) 2>/dev/null` in
3260 *posix*) set -o posix ;;
3269 # Avoid depending upon Character Ranges.
3270 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3271 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3272 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3273 as_cr_digits='0123456789'
3274 as_cr_alnum=$as_cr_Letters$as_cr_digits
3276 # The user is always right.
3277 if test "${PATH_SEPARATOR+set}" != set; then
3278 echo "#! /bin/sh" >conf$$.sh
3279 echo "exit 0" >>conf$$.sh
3281 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3289 # Support unset when possible.
3290 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3298 # We need space, tab and new line, in precisely that order. Quoting is
3299 # there to prevent editors from complaining about space-tab.
3300 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3301 # splitting by setting IFS to empty value.)
3306 # Find who we are. Look in the path if we contain no directory separator.
3308 *[\\/]* ) as_myself=$0 ;;
3309 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir=.
3314 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3320 # We did not find ourselves, most probably we were run as `sh COMMAND'
3321 # in which case we are not to be found in the path.
3322 if test "x$as_myself" = x; then
3325 if test ! -f "$as_myself"; then
3326 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3327 { (exit 1); exit 1; }
3330 # Work around bugs in pre-3.0 UWIN ksh.
3331 for as_var in ENV MAIL MAILPATH
3332 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3340 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3341 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3342 LC_TELEPHONE LC_TIME
3344 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3345 eval $as_var=C; export $as_var
3347 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3351 # Required to use basename.
3352 if expr a : '\(a\)' >/dev/null 2>&1 &&
3353 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3359 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3360 as_basename=basename
3366 # Name of the executable.
3367 as_me=`$as_basename -- "$0" ||
3368 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3369 X"$0" : 'X\(//\)$' \| \
3370 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3372 sed '/^.*\/\([^/][^/]*\)\/*$/{
3393 test "x$as_lineno_1" != "x$as_lineno_2" &&
3394 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3396 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3397 # uniformly replaced by the line number. The first 'sed' inserts a
3398 # line-number line after each line using $LINENO; the second 'sed'
3399 # does the real work. The second script uses 'N' to pair each
3400 # line-number line with the line containing $LINENO, and appends
3401 # trailing '-' during substitution so that $LINENO is not a special
3403 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3404 # scripts with optimization help from Paolo Bonzini. Blame Lee
3405 # E. McMahon (1931-1989) for sed's syntax. :-)
3417 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3421 chmod +x "$as_me.lineno" ||
3422 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3423 { (exit 1); exit 1; }; }
3425 # Don't try to exec as it changes $[0], causing all sort of problems
3426 # (the dirname of $[0] is not the place where we might find the
3427 # original and so on. Autoconf is especially sensitive to this).
3429 # Exit status is that of the last command.
3434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3440 ECHO_C= ECHO_N= ECHO_T=
3443 case `echo 'x\c'` in
3444 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3451 if expr a : '\(a\)' >/dev/null 2>&1 &&
3452 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3458 rm -f conf$$ conf$$.exe conf$$.file
3459 if test -d conf$$.dir; then
3460 rm -f conf$$.dir/conf$$.file
3466 if ln -s conf$$.file conf$$ 2>/dev/null; then
3468 # ... but there are two gotchas:
3469 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3470 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3471 # In both cases, we have to default to `cp -p'.
3472 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3474 elif ln conf$$.file conf$$ 2>/dev/null; then
3479 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3480 rmdir conf$$.dir 2>/dev/null
3482 if mkdir -p . 2>/dev/null; then
3485 test -d ./-p && rmdir ./-p
3489 if test -x / >/dev/null 2>&1; then
3492 if ls -dL / >/dev/null 2>&1; then
3499 if test -d "$1"; then
3505 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3506 ???[sx]*):;;*)false;;esac;fi
3510 as_executable_p=$as_test_x
3512 # Sed expression to map a string onto a valid CPP name.
3513 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3515 # Sed expression to map a string onto a valid variable name.
3516 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3521 # Save the log message, to keep $[0] and so on meaningful, and to
3522 # report actual input values of CONFIG_FILES etc. instead of their
3523 # values after options handling.
3525 This file was extended by $as_me, which was
3526 generated by GNU Autoconf 2.61. Invocation command line was
3528 CONFIG_FILES = $CONFIG_FILES
3529 CONFIG_HEADERS = $CONFIG_HEADERS
3530 CONFIG_LINKS = $CONFIG_LINKS
3531 CONFIG_COMMANDS = $CONFIG_COMMANDS
3534 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3539 cat >>$CONFIG_STATUS <<_ACEOF
3540 # Files that config.status was made for.
3541 config_files="$ac_config_files"
3545 cat >>$CONFIG_STATUS <<\_ACEOF
3547 \`$as_me' instantiates files from templates according to the
3548 current configuration.
3550 Usage: $0 [OPTIONS] [FILE]...
3552 -h, --help print this help, then exit
3553 -V, --version print version number and configuration settings, then exit
3554 -q, --quiet do not print progress messages
3555 -d, --debug don't remove temporary files
3556 --recheck update $as_me by reconfiguring in the same conditions
3557 --file=FILE[:TEMPLATE]
3558 instantiate the configuration file FILE
3560 Configuration files:
3563 Report bugs to <bug-autoconf@gnu.org>."
3566 cat >>$CONFIG_STATUS <<_ACEOF
3569 configured by $0, generated by GNU Autoconf 2.61,
3570 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3572 Copyright (C) 2006 Free Software Foundation, Inc.
3573 This config.status script is free software; the Free Software Foundation
3574 gives unlimited permission to copy, distribute and modify it."
3580 cat >>$CONFIG_STATUS <<\_ACEOF
3581 # If no file are specified by the user, then we need to provide default
3582 # value. By we need to know if files were specified by the user.
3588 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3589 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3600 # Handling of the options.
3601 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3603 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3604 echo "$ac_cs_version"; exit ;;
3605 --debug | --debu | --deb | --de | --d | -d )
3607 --file | --fil | --fi | --f )
3609 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3610 ac_need_defaults=false;;
3611 --he | --h | --help | --hel | -h )
3612 echo "$ac_cs_usage"; exit ;;
3613 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3614 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3618 -*) { echo "$as_me: error: unrecognized option: $1
3619 Try \`$0 --help' for more information." >&2
3620 { (exit 1); exit 1; }; } ;;
3622 *) ac_config_targets="$ac_config_targets $1"
3623 ac_need_defaults=false ;;
3629 ac_configure_extra_args=
3631 if $ac_cs_silent; then
3633 ac_configure_extra_args="$ac_configure_extra_args --silent"
3637 cat >>$CONFIG_STATUS <<_ACEOF
3638 if \$ac_cs_recheck; then
3639 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3642 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3646 cat >>$CONFIG_STATUS <<\_ACEOF
3650 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3651 ## Running $as_me. ##
3657 cat >>$CONFIG_STATUS <<_ACEOF
3660 cat >>$CONFIG_STATUS <<\_ACEOF
3662 # Handling of arguments.
3663 for ac_config_target in $ac_config_targets
3665 case $ac_config_target in
3666 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3668 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3669 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3670 { (exit 1); exit 1; }; };;
3675 # If the user did not use the arguments to specify the items to instantiate,
3676 # then the envvar interface is used. Set only those that are not.
3677 # We use the long form for the default assignment because of an extremely
3678 # bizarre bug on SunOS 4.1.3.
3679 if $ac_need_defaults; then
3680 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3683 # Have a temporary directory for convenience. Make it in the build tree
3684 # simply because there is no reason against having it here, and in addition,
3685 # creating and moving files from /tmp can sometimes cause problems.
3686 # Hook for its removal unless debugging.
3687 # Note that there is a small window in which the directory will not be cleaned:
3688 # after its creation but before its name has been assigned to `$tmp'.
3692 trap 'exit_status=$?
3693 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3695 trap '{ (exit 1); exit 1; }' 1 2 13 15
3697 # Create a (secure) tmp directory for tmp files.
3700 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3701 test -n "$tmp" && test -d "$tmp"
3704 tmp=./conf$$-$RANDOM
3705 (umask 077 && mkdir "$tmp")
3708 echo "$me: cannot create a temporary directory in ." >&2
3709 { (exit 1); exit 1; }
3713 # Set up the sed scripts for CONFIG_FILES section.
3716 # No need to generate the scripts if there are no CONFIG_FILES.
3717 # This happens for instance when ./config.status config.h
3718 if test -n "$CONFIG_FILES"; then
3725 for ac_last_try in false false false false false :; do
3726 cat >conf$$subs.sed <<_ACEOF
3727 SHELL!$SHELL$ac_delim
3728 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3729 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3730 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3731 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3732 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3733 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3734 exec_prefix!$exec_prefix$ac_delim
3735 prefix!$prefix$ac_delim
3736 program_transform_name!$program_transform_name$ac_delim
3737 bindir!$bindir$ac_delim
3738 sbindir!$sbindir$ac_delim
3739 libexecdir!$libexecdir$ac_delim
3740 datarootdir!$datarootdir$ac_delim
3741 datadir!$datadir$ac_delim
3742 sysconfdir!$sysconfdir$ac_delim
3743 sharedstatedir!$sharedstatedir$ac_delim
3744 localstatedir!$localstatedir$ac_delim
3745 includedir!$includedir$ac_delim
3746 oldincludedir!$oldincludedir$ac_delim
3747 docdir!$docdir$ac_delim
3748 infodir!$infodir$ac_delim
3749 htmldir!$htmldir$ac_delim
3750 dvidir!$dvidir$ac_delim
3751 pdfdir!$pdfdir$ac_delim
3752 psdir!$psdir$ac_delim
3753 libdir!$libdir$ac_delim
3754 localedir!$localedir$ac_delim
3755 mandir!$mandir$ac_delim
3757 ECHO_C!$ECHO_C$ac_delim
3758 ECHO_N!$ECHO_N$ac_delim
3759 ECHO_T!$ECHO_T$ac_delim
3761 build_alias!$build_alias$ac_delim
3762 host_alias!$host_alias$ac_delim
3763 target_alias!$target_alias$ac_delim
3765 CFLAGS!$CFLAGS$ac_delim
3766 LDFLAGS!$LDFLAGS$ac_delim
3767 CPPFLAGS!$CPPFLAGS$ac_delim
3768 ac_ct_CC!$ac_ct_CC$ac_delim
3769 EXEEXT!$EXEEXT$ac_delim
3770 OBJEXT!$OBJEXT$ac_delim
3771 sql_iodbc_ldflags!$sql_iodbc_ldflags$ac_delim
3772 sql_iodbc_cflags!$sql_iodbc_cflags$ac_delim
3773 targetname!$targetname$ac_delim
3774 LIBOBJS!$LIBOBJS$ac_delim
3775 LTLIBOBJS!$LTLIBOBJS$ac_delim
3778 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then
3780 elif $ac_last_try; then
3781 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3782 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3783 { (exit 1); exit 1; }; }
3785 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3789 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3790 if test -n "$ac_eof"; then
3791 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3792 ac_eof=`expr $ac_eof + 1`
3795 cat >>$CONFIG_STATUS <<_ACEOF
3796 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3797 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3800 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3801 s/^/s,@/; s/!/@,|#_!!_#|/
3804 s/'"$ac_delim"'$/,g/; t
3806 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3807 ' >>$CONFIG_STATUS <conf$$subs.sed
3808 rm -f conf$$subs.sed
3809 cat >>$CONFIG_STATUS <<_ACEOF
3816 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3817 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3818 # trailing colons and then remove the whole line if VPATH becomes empty
3819 # (actually we leave an empty line to preserve line numbers).
3820 if test "x$srcdir" = x.; then
3821 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3825 s/^\([^=]*=[ ]*\):*/\1/
3831 cat >>$CONFIG_STATUS <<\_ACEOF
3832 fi # test -n "$CONFIG_FILES"
3835 for ac_tag in :F $CONFIG_FILES
3838 :[FHLC]) ac_mode=$ac_tag; continue;;
3840 case $ac_mode$ac_tag in
3842 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3843 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3844 { (exit 1); exit 1; }; };;
3845 :[FH]-) ac_tag=-:-;;
3846 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3863 -) ac_f="$tmp/stdin";;
3864 *) # Look for the file first in the build tree, then in the source tree
3865 # (if the path is not absolute). The absolute path cannot be DOS-style,
3866 # because $ac_f cannot contain `:'.
3870 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3872 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3873 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3874 { (exit 1); exit 1; }; };;
3876 ac_file_inputs="$ac_file_inputs $ac_f"
3879 # Let's still pretend it is `configure' which instantiates (i.e., don't
3880 # use $as_me), people would be surprised to read:
3881 # /* config.h. Generated by config.status. */
3882 configure_input="Generated from "`IFS=:
3883 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3884 if test x"$ac_file" != x-; then
3885 configure_input="$ac_file. $configure_input"
3886 { echo "$as_me:$LINENO: creating $ac_file" >&5
3887 echo "$as_me: creating $ac_file" >&6;}
3891 *:-:* | *:-) cat >"$tmp/stdin";;
3896 ac_dir=`$as_dirname -- "$ac_file" ||
3897 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3898 X"$ac_file" : 'X\(//\)[^/]' \| \
3899 X"$ac_file" : 'X\(//\)$' \| \
3900 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3921 -*) as_dir=./$as_dir;;
3923 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3927 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3928 *) as_qdir=$as_dir;;
3930 as_dirs="'$as_qdir' $as_dirs"
3931 as_dir=`$as_dirname -- "$as_dir" ||
3932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3933 X"$as_dir" : 'X\(//\)[^/]' \| \
3934 X"$as_dir" : 'X\(//\)$' \| \
3935 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3954 test -d "$as_dir" && break
3956 test -z "$as_dirs" || eval "mkdir $as_dirs"
3957 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3958 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3959 { (exit 1); exit 1; }; }; }
3963 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3965 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3966 # A ".." for each directory in $ac_dir_suffix.
3967 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3968 case $ac_top_builddir_sub in
3969 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3970 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3973 ac_abs_top_builddir=$ac_pwd
3974 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3975 # for backward compatibility:
3976 ac_top_builddir=$ac_top_build_prefix
3979 .) # We are building in place.
3981 ac_top_srcdir=$ac_top_builddir_sub
3982 ac_abs_top_srcdir=$ac_pwd ;;
3983 [\\/]* | ?:[\\/]* ) # Absolute name.
3984 ac_srcdir=$srcdir$ac_dir_suffix;
3985 ac_top_srcdir=$srcdir
3986 ac_abs_top_srcdir=$srcdir ;;
3988 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3989 ac_top_srcdir=$ac_top_build_prefix$srcdir
3990 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3992 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4003 cat >>$CONFIG_STATUS <<\_ACEOF
4004 # If the template does not know about datarootdir, expand it.
4005 # FIXME: This hack should be removed a few years after 2.60.
4006 ac_datarootdir_hack=; ac_datarootdir_seen=
4008 case `sed -n '/datarootdir/ {
4017 ' $ac_file_inputs` in
4018 *datarootdir*) ac_datarootdir_seen=yes;;
4019 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4020 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4021 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4023 cat >>$CONFIG_STATUS <<_ACEOF
4024 ac_datarootdir_hack='
4025 s&@datadir@&$datadir&g
4026 s&@docdir@&$docdir&g
4027 s&@infodir@&$infodir&g
4028 s&@localedir@&$localedir&g
4029 s&@mandir@&$mandir&g
4030 s&\\\${datarootdir}&$datarootdir&g' ;;
4034 # Neutralize VPATH when `$srcdir' = `.'.
4035 # Shell code in configure.ac might set extrasub.
4036 # FIXME: do we really want to maintain this feature?
4037 cat >>$CONFIG_STATUS <<_ACEOF
4041 cat >>$CONFIG_STATUS <<\_ACEOF
4043 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4044 s&@configure_input@&$configure_input&;t t
4045 s&@top_builddir@&$ac_top_builddir_sub&;t t
4046 s&@srcdir@&$ac_srcdir&;t t
4047 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4048 s&@top_srcdir@&$ac_top_srcdir&;t t
4049 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4050 s&@builddir@&$ac_builddir&;t t
4051 s&@abs_builddir@&$ac_abs_builddir&;t t
4052 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4053 $ac_datarootdir_hack
4054 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4056 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4057 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4058 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4059 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4060 which seems to be undefined. Please make sure it is defined." >&5
4061 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4062 which seems to be undefined. Please make sure it is defined." >&2;}
4066 -) cat "$tmp/out"; rm -f "$tmp/out";;
4067 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4078 { (exit 0); exit 0; }
4080 chmod +x $CONFIG_STATUS
4081 ac_clean_files=$ac_clean_files_save
4084 # configure is writing to config.log, and then calls config.status.
4085 # config.status does its own redirection, appending to config.log.
4086 # Unfortunately, on DOS this fails, as config.log is still kept open
4087 # by configure, so config.status won't be able to write to it; its
4088 # output is simply discarded. So we exec the FD to /dev/null,
4089 # effectively closing config.log, so it can be properly (re)opened and
4090 # appended to by config.status. When coming back to configure, we
4091 # need to make the FD available again.
4092 if test "$no_create" != yes; then
4094 ac_config_status_args=
4095 test "$silent" = yes &&
4096 ac_config_status_args="$ac_config_status_args --quiet"
4098 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4100 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4101 # would make configure fail if this is the last instruction.
4102 $ac_cs_success || { (exit 1); exit 1; }