2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for vhostgen 1.0.
5 # Report bugs to <sjk@ankeborg.nu>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='vhostgen'
576 PACKAGE_TARNAME
='vhostgen'
577 PACKAGE_VERSION
='1.0'
578 PACKAGE_STRING
='vhostgen 1.0'
579 PACKAGE_BUGREPORT
='sjk@ankeborg.nu'
581 ac_unique_file
="vhostgen.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
674 ac_precious_vars
='build_alias
685 # Initialize some variables set by options.
687 ac_init_version
=false
688 # The variables have the same names as the options, with
689 # dashes changed to underlines.
697 program_transform_name
=s
,x
,x
,
705 # Installation directory options.
706 # These are left unexpanded so users can "make install exec_prefix=/foo"
707 # and all the variables that are supposed to be based on exec_prefix
708 # by default will actually change.
709 # Use braces instead of parens because sh, perl, etc. also accept them.
710 # (The list follows the same order as the GNU Coding Standards.)
711 bindir
='${exec_prefix}/bin'
712 sbindir
='${exec_prefix}/sbin'
713 libexecdir
='${exec_prefix}/libexec'
714 datarootdir
='${prefix}/share'
715 datadir
='${datarootdir}'
716 sysconfdir
='${prefix}/etc'
717 sharedstatedir
='${prefix}/com'
718 localstatedir
='${prefix}/var'
719 includedir
='${prefix}/include'
720 oldincludedir
='/usr/include'
721 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
722 infodir
='${datarootdir}/info'
727 libdir
='${exec_prefix}/lib'
728 localedir
='${datarootdir}/locale'
729 mandir
='${datarootdir}/man'
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\
$ac_option
743 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 # Accept the important Cygnus configure options, so we can diagnose typos.
749 case $ac_dashdash$ac_option in
753 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
755 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
758 -build |
--build |
--buil |
--bui |
--bu)
759 ac_prev
=build_alias
;;
760 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
761 build_alias
=$ac_optarg ;;
763 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
764 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
765 ac_prev
=cache_file
;;
766 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
767 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
768 cache_file
=$ac_optarg ;;
771 cache_file
=config.cache
;;
773 -datadir |
--datadir |
--datadi |
--datad)
775 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
776 datadir
=$ac_optarg ;;
778 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
779 |
--dataroo |
--dataro |
--datar)
780 ac_prev
=datarootdir
;;
781 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
782 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
783 datarootdir
=$ac_optarg ;;
785 -disable-* |
--disable-*)
786 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
789 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
790 { (exit 1); exit 1; }; }
791 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
792 eval enable_
$ac_feature=no
;;
794 -docdir |
--docdir |
--docdi |
--doc |
--do)
796 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
799 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
801 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
804 -enable-* |
--enable-*)
805 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
808 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
809 { (exit 1); exit 1; }; }
810 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
811 eval enable_
$ac_feature=\
$ac_optarg ;;
813 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
814 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
815 |
--exec |
--exe |
--ex)
816 ac_prev
=exec_prefix
;;
817 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
818 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
819 |
--exec=* |
--exe=* |
--ex=*)
820 exec_prefix
=$ac_optarg ;;
822 -gas |
--gas |
--ga |
--g)
823 # Obsolete; use --with-gas.
826 -help |
--help |
--hel |
--he |
-h)
828 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
829 ac_init_help
=recursive
;;
830 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
831 ac_init_help
=short
;;
833 -host |
--host |
--hos |
--ho)
834 ac_prev
=host_alias
;;
835 -host=* |
--host=* |
--hos=* |
--ho=*)
836 host_alias
=$ac_optarg ;;
838 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
840 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
842 htmldir
=$ac_optarg ;;
844 -includedir |
--includedir |
--includedi |
--included |
--include \
845 |
--includ |
--inclu |
--incl |
--inc)
846 ac_prev
=includedir
;;
847 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
848 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
849 includedir
=$ac_optarg ;;
851 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
853 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
854 infodir
=$ac_optarg ;;
856 -libdir |
--libdir |
--libdi |
--libd)
858 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
861 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
862 |
--libexe |
--libex |
--libe)
863 ac_prev
=libexecdir
;;
864 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
865 |
--libexe=* |
--libex=* |
--libe=*)
866 libexecdir
=$ac_optarg ;;
868 -localedir |
--localedir |
--localedi |
--localed |
--locale)
870 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
871 localedir
=$ac_optarg ;;
873 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
874 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
875 ac_prev
=localstatedir
;;
876 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
877 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
878 localstatedir
=$ac_optarg ;;
880 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
882 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
886 # Obsolete; use --without-fp.
889 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
890 |
--no-cr |
--no-c |
-n)
893 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
894 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
897 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
898 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
899 |
--oldin |
--oldi |
--old |
--ol |
--o)
900 ac_prev
=oldincludedir
;;
901 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
902 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
903 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
904 oldincludedir
=$ac_optarg ;;
906 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
908 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
911 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
912 |
--program-pre |
--program-pr |
--program-p)
913 ac_prev
=program_prefix
;;
914 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
915 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
916 program_prefix
=$ac_optarg ;;
918 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
919 |
--program-suf |
--program-su |
--program-s)
920 ac_prev
=program_suffix
;;
921 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
922 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
923 program_suffix
=$ac_optarg ;;
925 -program-transform-name |
--program-transform-name \
926 |
--program-transform-nam |
--program-transform-na \
927 |
--program-transform-n |
--program-transform- \
928 |
--program-transform |
--program-transfor \
929 |
--program-transfo |
--program-transf \
930 |
--program-trans |
--program-tran \
931 |
--progr-tra |
--program-tr |
--program-t)
932 ac_prev
=program_transform_name
;;
933 -program-transform-name=* |
--program-transform-name=* \
934 |
--program-transform-nam=* |
--program-transform-na=* \
935 |
--program-transform-n=* |
--program-transform-=* \
936 |
--program-transform=* |
--program-transfor=* \
937 |
--program-transfo=* |
--program-transf=* \
938 |
--program-trans=* |
--program-tran=* \
939 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
940 program_transform_name
=$ac_optarg ;;
942 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
944 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
947 -psdir |
--psdir |
--psdi |
--psd |
--ps)
949 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
952 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
953 |
-silent |
--silent |
--silen |
--sile |
--sil)
956 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
958 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
960 sbindir
=$ac_optarg ;;
962 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
963 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
964 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
966 ac_prev
=sharedstatedir
;;
967 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
968 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
969 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
971 sharedstatedir
=$ac_optarg ;;
973 -site |
--site |
--sit)
975 -site=* |
--site=* |
--sit=*)
978 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
980 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
983 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
984 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
985 ac_prev
=sysconfdir
;;
986 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
987 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
988 sysconfdir
=$ac_optarg ;;
990 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
991 ac_prev
=target_alias
;;
992 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
993 target_alias
=$ac_optarg ;;
995 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
998 -version |
--version |
--versio |
--versi |
--vers |
-V)
1002 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1005 { echo "$as_me: error: invalid package name: $ac_package" >&2
1006 { (exit 1); exit 1; }; }
1007 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1008 eval with_
$ac_package=\
$ac_optarg ;;
1010 -without-* |
--without-*)
1011 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1014 { echo "$as_me: error: invalid package name: $ac_package" >&2
1015 { (exit 1); exit 1; }; }
1016 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1017 eval with_
$ac_package=no
;;
1020 # Obsolete; use --with-x.
1023 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1024 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1025 ac_prev
=x_includes
;;
1026 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1027 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1028 x_includes
=$ac_optarg ;;
1030 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1031 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1032 ac_prev
=x_libraries
;;
1033 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1034 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1035 x_libraries
=$ac_optarg ;;
1037 -*) { echo "$as_me: error: unrecognized option: $ac_option
1038 Try \`$0 --help' for more information." >&2
1039 { (exit 1); exit 1; }; }
1043 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1046 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1047 { (exit 1); exit 1; }; }
1048 eval $ac_envvar=\
$ac_optarg
1049 export $ac_envvar ;;
1052 # FIXME: should be removed in autoconf 3.0.
1053 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1054 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1055 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1056 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1062 if test -n "$ac_prev"; then
1063 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1064 { echo "$as_me: error: missing argument to $ac_option" >&2
1065 { (exit 1); exit 1; }; }
1068 # Be sure to have absolute directory names.
1069 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1070 datadir sysconfdir sharedstatedir localstatedir includedir \
1071 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1072 libdir localedir mandir
1074 eval ac_val
=\$
$ac_var
1076 [\\/$
]* | ?
:[\\/]* ) continue;;
1077 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1079 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1080 { (exit 1); exit 1; }; }
1083 # There might be people who depend on the old broken behavior: `$host'
1084 # used to hold the argument of --host etc.
1085 # FIXME: To remove some day.
1088 target
=$target_alias
1090 # FIXME: To remove some day.
1091 if test "x$host_alias" != x
; then
1092 if test "x$build_alias" = x
; then
1093 cross_compiling
=maybe
1094 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1095 If a cross compiler is detected then cross compile mode will be used." >&2
1096 elif test "x$build_alias" != "x$host_alias"; then
1102 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1104 test "$silent" = yes && exec 6>/dev
/null
1107 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1108 ac_ls_di
=`ls -di .` &&
1109 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1110 { echo "$as_me: error: Working directory cannot be determined" >&2
1111 { (exit 1); exit 1; }; }
1112 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1113 { echo "$as_me: error: pwd does not report name of working directory" >&2
1114 { (exit 1); exit 1; }; }
1117 # Find the source files, if location was not specified.
1118 if test -z "$srcdir"; then
1119 ac_srcdir_defaulted
=yes
1120 # Try the directory containing this script, then the parent directory.
1121 ac_confdir
=`$as_dirname -- "$0" ||
1122 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1123 X"$0" : 'X\(//\)[^/]' \| \
1124 X"$0" : 'X\(//\)$' \| \
1125 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1145 if test ! -r "$srcdir/$ac_unique_file"; then
1149 ac_srcdir_defaulted
=no
1151 if test ! -r "$srcdir/$ac_unique_file"; then
1152 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1153 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1154 { (exit 1); exit 1; }; }
1156 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1158 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1159 { (exit 1); exit 1; }; }
1161 # When building in place, set srcdir=.
1162 if test "$ac_abs_confdir" = "$ac_pwd"; then
1165 # Remove unnecessary trailing slashes from srcdir.
1166 # Double slashes in file names in object file debugging info
1167 # mess up M-x gdb in Emacs.
1169 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1171 for ac_var
in $ac_precious_vars; do
1172 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1173 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1174 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1175 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1179 # Report the --help message.
1181 if test "$ac_init_help" = "long"; then
1182 # Omit some internal or obsolete options to make the list less imposing.
1183 # This message is too long to be a string in the A/UX 3.1 sh.
1185 \`configure' configures vhostgen 1.0 to adapt to many kinds of systems.
1187 Usage: $0 [OPTION]... [VAR=VALUE]...
1189 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1190 VAR=VALUE. See below for descriptions of some of the useful variables.
1192 Defaults for the options are specified in brackets.
1195 -h, --help display this help and exit
1196 --help=short display options specific to this package
1197 --help=recursive display the short help of all the included packages
1198 -V, --version display version information and exit
1199 -q, --quiet, --silent do not print \`checking...' messages
1200 --cache-file=FILE cache test results in FILE [disabled]
1201 -C, --config-cache alias for \`--cache-file=config.cache'
1202 -n, --no-create do not create output files
1203 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1205 Installation directories:
1206 --prefix=PREFIX install architecture-independent files in PREFIX
1207 [$ac_default_prefix]
1208 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1211 By default, \`make install' will install all the files in
1212 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1213 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1214 for instance \`--prefix=\$HOME'.
1216 For better control, use the options below.
1218 Fine tuning of the installation directories:
1219 --bindir=DIR user executables [EPREFIX/bin]
1220 --sbindir=DIR system admin executables [EPREFIX/sbin]
1221 --libexecdir=DIR program executables [EPREFIX/libexec]
1222 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1223 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1224 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1225 --libdir=DIR object code libraries [EPREFIX/lib]
1226 --includedir=DIR C header files [PREFIX/include]
1227 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1228 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1229 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1230 --infodir=DIR info documentation [DATAROOTDIR/info]
1231 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1232 --mandir=DIR man documentation [DATAROOTDIR/man]
1233 --docdir=DIR documentation root [DATAROOTDIR/doc/vhostgen]
1234 --htmldir=DIR html documentation [DOCDIR]
1235 --dvidir=DIR dvi documentation [DOCDIR]
1236 --pdfdir=DIR pdf documentation [DOCDIR]
1237 --psdir=DIR ps documentation [DOCDIR]
1244 if test -n "$ac_init_help"; then
1245 case $ac_init_help in
1246 short | recursive
) echo "Configuration of vhostgen 1.0:";;
1250 Some influential environment variables
:
1251 CC C compiler
command
1252 CFLAGS C compiler flags
1253 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1254 nonstandard directory
<lib dir
>
1255 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1256 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1257 you have headers
in a nonstandard directory
<include dir
>
1260 Use these variables to override the choices made by
`configure' or to help
1261 it to find libraries and programs with nonstandard names/locations.
1263 Report bugs to <sjk@ankeborg.nu>.
1268 if test "$ac_init_help" = "recursive"; then
1269 # If there are subdirs, report their specific --help.
1270 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1271 test -d "$ac_dir" || continue
1275 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1277 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1278 # A ".." for each directory in $ac_dir_suffix.
1279 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1280 case $ac_top_builddir_sub in
1281 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1285 ac_abs_top_builddir=$ac_pwd
1286 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1287 # for backward compatibility:
1288 ac_top_builddir=$ac_top_build_prefix
1291 .) # We are building in place.
1293 ac_top_srcdir=$ac_top_builddir_sub
1294 ac_abs_top_srcdir=$ac_pwd ;;
1295 [\\/]* | ?:[\\/]* ) # Absolute name.
1296 ac_srcdir=$srcdir$ac_dir_suffix;
1297 ac_top_srcdir=$srcdir
1298 ac_abs_top_srcdir=$srcdir ;;
1300 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1301 ac_top_srcdir=$ac_top_build_prefix$srcdir
1302 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1304 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1306 cd "$ac_dir" || { ac_status=$?; continue; }
1307 # Check for guested configure.
1308 if test -f "$ac_srcdir/configure.gnu"; then
1310 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1311 elif test -f "$ac_srcdir/configure"; then
1313 $SHELL "$ac_srcdir/configure" --help=recursive
1315 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1317 cd "$ac_pwd" || { ac_status=$?; break; }
1321 test -n "$ac_init_help" && exit $ac_status
1322 if $ac_init_version; then
1324 vhostgen configure 1.0
1325 generated by GNU Autoconf 2.61
1327 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1328 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1329 This configure script is free software; the Free Software Foundation
1330 gives unlimited permission to copy, distribute and modify it.
1334 cat >config.log <<_ACEOF
1335 This file contains any messages produced by compilers while
1336 running configure, to aid debugging if configure makes a mistake.
1338 It was created by vhostgen $as_me 1.0, which was
1339 generated by GNU Autoconf 2.61. Invocation command line was
1351 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1352 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1353 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1354 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1355 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1357 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1358 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1360 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1361 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1362 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1363 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1364 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1365 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1366 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir=.
1375 echo "PATH: $as_dir"
1391 # Keep a trace of the command line.
1392 # Strip out --no-create and --no-recursion so they do not pile up.
1393 # Strip out --silent because we don't want to record it for future runs.
1394 # Also quote any args containing shell meta-characters.
1395 # Make two passes to allow for proper duplicate-argument suppression.
1399 ac_must_keep_next=false
1405 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1406 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1407 | -silent | --silent | --silen | --sile | --sil)
1410 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1413 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1415 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1416 if test $ac_must_keep_next = true; then
1417 ac_must_keep_next=false # Got value, back to normal.
1420 *=* | --config-cache | -C | -disable-* | --disable-* \
1421 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1422 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1423 | -with-* | --with-* | -without-* | --without-* | --x)
1424 case "$ac_configure_args0 " in
1425 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1428 -* ) ac_must_keep_next=true ;;
1431 ac_configure_args="$ac_configure_args '$ac_arg'"
1436 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1437 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1439 # When interrupted or exit'd, cleanup temporary files, and complete
1440 # config.log. We remove comments because anyway the quotes in there
1441 # would cause problems or look ugly.
1442 # WARNING: Use '\'' to represent an apostrophe within the trap.
1443 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1444 trap 'exit_status=$?
1445 # Save into config.log some information that might help in debugging.
1450 ## ---------------- ##
1451 ## Cache variables. ##
1452 ## ---------------- ##
1455 # The following way of writing the cache mishandles newlines in values,
1457 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1458 eval ac_val=\$$ac_var
1462 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1463 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1466 _ | IFS | as_nl) ;; #(
1467 *) $as_unset $ac_var ;;
1472 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1473 *${as_nl}ac_space=\ *)
1475 "s/'\''/'\''\\\\'\'''\''/g;
1476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1479 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1487 ## ----------------- ##
1488 ## Output variables. ##
1489 ## ----------------- ##
1492 for ac_var in $ac_subst_vars
1494 eval ac_val=\$$ac_var
1496 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498 echo "$ac_var='\''$ac_val'\''"
1502 if test -n "$ac_subst_files"; then
1504 ## ------------------- ##
1505 ## File substitutions. ##
1506 ## ------------------- ##
1509 for ac_var in $ac_subst_files
1511 eval ac_val=\$$ac_var
1513 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1515 echo "$ac_var='\''$ac_val'\''"
1520 if test -s confdefs.h; then
1530 test "$ac_signal" != 0 &&
1531 echo "$as_me: caught signal $ac_signal"
1532 echo "$as_me: exit $exit_status"
1534 rm -f core *.core core.conftest.* &&
1535 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1538 for ac_signal in 1 2 13 15; do
1539 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1543 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1544 rm -f -r conftest* confdefs.h
1546 # Predefined preprocessor variables.
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_NAME "$PACKAGE_NAME"
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_STRING "$PACKAGE_STRING"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1573 # Let the site file select an alternate cache file if it wants to.
1574 # Prefer explicitly selected file to automatically selected ones.
1575 if test -n "$CONFIG_SITE"; then
1576 set x "$CONFIG_SITE"
1577 elif test "x$prefix" != xNONE; then
1578 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1580 set x "$ac_default_prefix/share/config.site" \
1581 "$ac_default_prefix/etc/config.site"
1586 if test -r "$ac_site_file"; then
1587 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1588 echo "$as_me: loading site script $ac_site_file" >&6;}
1589 sed 's/^/| /' "$ac_site_file" >&5
1594 if test -r "$cache_file"; then
1595 # Some versions of bash will fail to source /dev/null (special
1596 # files actually), so we avoid doing that.
1597 if test -f "$cache_file"; then
1598 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1599 echo "$as_me: loading cache $cache_file" >&6;}
1601 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1602 *) . "./$cache_file";;
1606 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1607 echo "$as_me: creating cache $cache_file" >&6;}
1611 # Check that the precious variables saved in the cache have kept the same
1613 ac_cache_corrupted=false
1614 for ac_var in $ac_precious_vars; do
1615 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1616 eval ac_new_set=\$ac_env_${ac_var}_set
1617 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1618 eval ac_new_val=\$ac_env_${ac_var}_value
1619 case $ac_old_set,$ac_new_set in
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1622 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1625 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1626 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1627 ac_cache_corrupted=: ;;
1630 if test "x$ac_old_val" != "x$ac_new_val"; then
1631 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1632 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1633 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1634 echo "$as_me: former value
: $ac_old_val" >&2;}
1635 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1636 echo "$as_me: current value
: $ac_new_val" >&2;}
1637 ac_cache_corrupted=:
1640 # Pass precious variables to config.status.
1641 if test "$ac_new_set" = set; then
1643 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1644 *) ac_arg=$ac_var=$ac_new_val ;;
1646 case " $ac_configure_args " in
1647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1648 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1652 if $ac_cache_corrupted; then
1653 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1654 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1655 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1656 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1657 { (exit 1); exit 1; }; }
1685 ac_cpp='$CPP $CPPFLAGS'
1686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1692 ac_config_headers="$ac_config_headers config.h"
1695 # Checks for programs.
1697 ac_cpp='$CPP $CPPFLAGS'
1698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1701 if test -n "$ac_tool_prefix"; then
1702 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1703 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1706 if test "${ac_cv_prog_CC+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 if test -n "$CC"; then
1710 ac_cv_prog_CC="$CC" # Let the user override the test.
1712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716 test -z "$as_dir" && as_dir=.
1717 for ac_exec_ext in '' $ac_executable_extensions; do
1718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1719 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 if test -n "$CC"; then
1731 { echo "$as_me:$LINENO: result: $CC" >&5
1732 echo "${ECHO_T}$CC" >&6; }
1734 { echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6; }
1740 if test -z "$ac_cv_prog_CC"; then
1742 # Extract the first word of "gcc", so it can be a program name with args.
1743 set dummy gcc; ac_word=$2
1744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1746 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1747 echo $ECHO_N "(cached) $ECHO_C" >&6
1749 if test -n "$ac_ct_CC"; then
1750 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1756 test -z "$as_dir" && as_dir=.
1757 for ac_exec_ext in '' $ac_executable_extensions; do
1758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1759 ac_cv_prog_ac_ct_CC="gcc"
1760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1770 if test -n "$ac_ct_CC"; then
1771 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1772 echo "${ECHO_T}$ac_ct_CC" >&6; }
1774 { echo "$as_me:$LINENO: result: no" >&5
1775 echo "${ECHO_T}no" >&6; }
1778 if test "x$ac_ct_CC" = x; then
1781 case $cross_compiling:$ac_tool_warned in
1783 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1784 whose name does not start with the host triplet. If you think this
1785 configuration is useful to you, please write to autoconf@gnu.org." >&5
1786 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1787 whose name does not start with the host triplet. If you think this
1788 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1789 ac_tool_warned=yes ;;
1797 if test -z "$CC"; then
1798 if test -n "$ac_tool_prefix"; then
1799 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1800 set dummy ${ac_tool_prefix}cc; ac_word=$2
1801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1803 if test "${ac_cv_prog_CC+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 if test -n "$CC"; then
1807 ac_cv_prog_CC="$CC" # Let the user override the test.
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir=.
1814 for ac_exec_ext in '' $ac_executable_extensions; do
1815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1816 ac_cv_prog_CC="${ac_tool_prefix}cc"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827 if test -n "$CC"; then
1828 { echo "$as_me:$LINENO: result: $CC" >&5
1829 echo "${ECHO_T}$CC" >&6; }
1831 { echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6; }
1838 if test -z "$CC"; then
1839 # Extract the first word of "cc", so it can be a program name with args.
1840 set dummy cc; ac_word=$2
1841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1843 if test "${ac_cv_prog_CC+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 if test -n "$CC"; then
1847 ac_cv_prog_CC="$CC" # Let the user override the test.
1850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1854 test -z "$as_dir" && as_dir=.
1855 for ac_exec_ext in '' $ac_executable_extensions; do
1856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1857 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1858 ac_prog_rejected=yes
1862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 if test $ac_prog_rejected = yes; then
1870 # We found a bogon in the path, so make sure we never use it.
1871 set dummy $ac_cv_prog_CC
1873 if test $# != 0; then
1874 # We chose a different compiler from the bogus one.
1875 # However, it has the same basename, so the bogon will be chosen
1876 # first if we set CC to just the basename; use the full file name.
1878 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1884 if test -n "$CC"; then
1885 { echo "$as_me:$LINENO: result: $CC" >&5
1886 echo "${ECHO_T}$CC" >&6; }
1888 { echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6; }
1894 if test -z "$CC"; then
1895 if test -n "$ac_tool_prefix"; then
1896 for ac_prog in cl.exe
1898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1902 if test "${ac_cv_prog_CC+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 if test -n "$CC"; then
1906 ac_cv_prog_CC="$CC" # Let the user override the test.
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir=.
1913 for ac_exec_ext in '' $ac_executable_extensions; do
1914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1915 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1926 if test -n "$CC"; then
1927 { echo "$as_me:$LINENO: result: $CC" >&5
1928 echo "${ECHO_T}$CC" >&6; }
1930 { echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6; }
1935 test -n "$CC" && break
1938 if test -z "$CC"; then
1940 for ac_prog in cl.exe
1942 # Extract the first word of "$ac_prog", so it can be a program name with args.
1943 set dummy $ac_prog; ac_word=$2
1944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1946 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 if test -n "$ac_ct_CC"; then
1950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1959 ac_cv_prog_ac_ct_CC="$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1970 if test -n "$ac_ct_CC"; then
1971 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1972 echo "${ECHO_T}$ac_ct_CC" >&6; }
1974 { echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6; }
1979 test -n "$ac_ct_CC" && break
1982 if test "x$ac_ct_CC" = x; then
1985 case $cross_compiling:$ac_tool_warned in
1987 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1988 whose name does not start with the host triplet. If you think this
1989 configuration is useful to you, please write to autoconf@gnu.org." >&5
1990 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1991 whose name does not start with the host triplet. If you think this
1992 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1993 ac_tool_warned=yes ;;
2002 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2003 See \`config.log
' for more details." >&5
2004 echo "$as_me: error: no acceptable C compiler found in \$PATH
2005 See \`config.log' for more details.
" >&2;}
2006 { (exit 1); exit 1; }; }
2008 # Provide some information about the compiler.
2009 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2010 ac_compiler=`set X $ac_compile; echo $2`
2011 { (ac_try="$ac_compiler --version >&5"
2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014 *) ac_try_echo=$ac_try;;
2016 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2017 (eval "$ac_compiler --version >&5") 2>&5
2019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2020 (exit $ac_status); }
2021 { (ac_try="$ac_compiler -v >&5"
2023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2027 (eval "$ac_compiler -v >&5") 2>&5
2029 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2030 (exit $ac_status); }
2031 { (ac_try="$ac_compiler -V >&5"
2033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034 *) ac_try_echo=$ac_try;;
2036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2037 (eval "$ac_compiler -V >&5") 2>&5
2039 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2040 (exit $ac_status); }
2042 cat >conftest.$ac_ext <<_ACEOF
2045 cat confdefs.h >>conftest.$ac_ext
2046 cat >>conftest.$ac_ext <<_ACEOF
2047 /* end confdefs.h. */
2057 ac_clean_files_save=$ac_clean_files
2058 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2059 # Try to create an executable without -o first, disregard a.out.
2060 # It will help us diagnose broken compilers, and finding out an intuition
2062 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2063 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2064 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2066 # List of possible output files, starting from the most likely.
2067 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2068 # only as a last resort. b.out is created by i960 compilers.
2069 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2071 # The IRIX 6 linker writes into existing files which may not be
2072 # executable, retaining their permissions. Remove them first so a
2073 # subsequent execution test works.
2075 for ac_file in $ac_files
2078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2079 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2084 if { (ac_try="$ac_link_default"
2086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2087 *) ac_try_echo=$ac_try;;
2089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2090 (eval "$ac_link_default") 2>&5
2092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2093 (exit $ac_status); }; then
2094 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2095 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2096 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2097 # so that the user can short-circuit this test for compilers unknown to
2099 for ac_file in $ac_files ''
2101 test -f "$ac_file" || continue
2103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2106 # We found the default executable, but exeext='' is most
2110 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2112 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2114 # We set ac_cv_exeext here because the later test for it is not
2115 # safe: cross compilers may not add the suffix if given an `-o'
2116 # argument, so we may need to know it at that point already.
2117 # Even if this section looks crufty: it has the advantage of
2124 test "$ac_cv_exeext" = no && ac_cv_exeext=
2130 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2131 echo "${ECHO_T}$ac_file" >&6; }
2132 if test -z "$ac_file"; then
2133 echo "$as_me: failed program was
:" >&5
2134 sed 's/^/| /' conftest.$ac_ext >&5
2136 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2137 See \
`config.log' for more details." >&5
2138 echo "$as_me: error: C compiler cannot create executables
2139 See \`config.log
' for more details." >&2;}
2140 { (exit 77); exit 77; }; }
2143 ac_exeext=$ac_cv_exeext
2145 # Check that the compiler produces executables we can run. If not, either
2146 # the compiler is broken, or we cross compile.
2147 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2148 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2149 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2150 # If not cross compiling, check that we can run a simple program.
2151 if test "$cross_compiling" != yes; then
2152 if { ac_try='.
/$ac_file'
2153 { (case "(($ac_try" in
2154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2155 *) ac_try_echo=$ac_try;;
2157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2158 (eval "$ac_try") 2>&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; }; then
2164 if test "$cross_compiling" = maybe; then
2167 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2168 If you meant to cross compile, use \`--host'.
2169 See \
`config.log' for more details." >&5
2170 echo "$as_me: error: cannot run C compiled programs.
2171 If you meant to cross compile, use \`--host'.
2172 See \`config.log' for more details.
" >&2;}
2173 { (exit 1); exit 1; }; }
2177 { echo "$as_me:$LINENO: result
: yes" >&5
2178 echo "${ECHO_T}yes" >&6; }
2180 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2181 ac_clean_files=$ac_clean_files_save
2182 # Check that the compiler produces executables we can run. If not, either
2183 # the compiler is broken, or we cross compile.
2184 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2185 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2186 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2187 echo "${ECHO_T}$cross_compiling" >&6; }
2189 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2190 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2191 if { (ac_try="$ac_link"
2193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2194 *) ac_try_echo=$ac_try;;
2196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2197 (eval "$ac_link") 2>&5
2199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2200 (exit $ac_status); }; then
2201 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2202 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2203 # work properly (i.e., refer to `conftest.exe'), while it won't with
2205 for ac_file in conftest.exe conftest conftest.*; do
2206 test -f "$ac_file" || continue
2208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2209 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2215 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2216 See \
`config.log' for more details." >&5
2217 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2218 See \`config.log
' for more details." >&2;}
2219 { (exit 1); exit 1; }; }
2222 rm -f conftest$ac_cv_exeext
2223 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2224 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2226 rm -f conftest.$ac_ext
2227 EXEEXT=$ac_cv_exeext
2229 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2230 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2231 if test "${ac_cv_objext+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 cat >conftest.$ac_ext <<_ACEOF
2237 cat confdefs.h >>conftest.$ac_ext
2238 cat >>conftest.$ac_ext <<_ACEOF
2239 /* end confdefs.h. */
2249 rm -f conftest.o conftest.obj
2250 if { (ac_try="$ac_compile"
2252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2253 *) ac_try_echo=$ac_try;;
2255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2256 (eval "$ac_compile") 2>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; then
2260 for ac_file in conftest.o conftest.obj conftest.*; do
2261 test -f "$ac_file" || continue;
2263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2264 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2269 echo "$as_me: failed program was:" >&5
2270 sed 's
/^
/|
/' conftest.$ac_ext >&5
2272 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2273 See \`config.log' for more details.
" >&5
2274 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2275 See \
`config.log' for more details." >&2;}
2276 { (exit 1); exit 1; }; }
2279 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2281 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2282 echo "${ECHO_T}$ac_cv_objext" >&6; }
2283 OBJEXT=$ac_cv_objext
2285 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2286 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2287 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 cat >conftest.$ac_ext <<_ACEOF
2293 cat confdefs.h >>conftest.$ac_ext
2294 cat >>conftest.$ac_ext <<_ACEOF
2295 /* end confdefs.h. */
2308 rm -f conftest.$ac_objext
2309 if { (ac_try="$ac_compile"
2311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2312 *) ac_try_echo
=$ac_try;;
2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2315 (eval "$ac_compile") 2>conftest.er1
2317 grep -v '^ *+' conftest.er1
>conftest.err
2319 cat conftest.err
>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } && {
2322 test -z "$ac_c_werror_flag" ||
2323 test ! -s conftest.err
2324 } && test -s conftest.
$ac_objext; then
2327 echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.
$ac_ext >&5
2333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2334 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2337 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2338 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2339 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2340 ac_test_CFLAGS
=${CFLAGS+set}
2341 ac_save_CFLAGS
=$CFLAGS
2342 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2343 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2344 if test "${ac_cv_prog_cc_g+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 ac_save_c_werror_flag
=$ac_c_werror_flag
2348 ac_c_werror_flag
=yes
2351 cat >conftest.
$ac_ext <<_ACEOF
2354 cat confdefs.h
>>conftest.
$ac_ext
2355 cat >>conftest.
$ac_ext <<_ACEOF
2356 /* end confdefs.h. */
2366 rm -f conftest.
$ac_objext
2367 if { (ac_try
="$ac_compile"
2369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2373 (eval "$ac_compile") 2>conftest.er1
2375 grep -v '^ *+' conftest.er1 >conftest.err
2377 cat conftest.err >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); } && {
2380 test -z "$ac_c_werror_flag" ||
2381 test ! -s conftest.err
2382 } && test -s conftest.$ac_objext; then
2385 echo "$as_me: failed program was:" >&5
2386 sed 's/^/| /' conftest.$ac_ext >&5
2389 cat >conftest.$ac_ext <<_ACEOF
2392 cat confdefs.h >>conftest.$ac_ext
2393 cat >>conftest.$ac_ext <<_ACEOF
2394 /* end confdefs.h. */
2404 rm -f conftest.$ac_objext
2405 if { (ac_try="$ac_compile"
2407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2408 *) ac_try_echo
=$ac_try;;
2410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2411 (eval "$ac_compile") 2>conftest.er1
2413 grep -v '^ *+' conftest.er1
>conftest.err
2415 cat conftest.err
>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } && {
2418 test -z "$ac_c_werror_flag" ||
2419 test ! -s conftest.err
2420 } && test -s conftest.
$ac_objext; then
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2426 ac_c_werror_flag
=$ac_save_c_werror_flag
2428 cat >conftest.
$ac_ext <<_ACEOF
2431 cat confdefs.h
>>conftest.
$ac_ext
2432 cat >>conftest.
$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2443 rm -f conftest.
$ac_objext
2444 if { (ac_try
="$ac_compile"
2446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2447 *) ac_try_echo=$ac_try;;
2449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2450 (eval "$ac_compile") 2>conftest.er1
2452 grep -v '^ *+' conftest.er1 >conftest.err
2454 cat conftest.err >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); } && {
2457 test -z "$ac_c_werror_flag" ||
2458 test ! -s conftest.err
2459 } && test -s conftest.$ac_objext; then
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 ac_c_werror_flag=$ac_save_c_werror_flag
2477 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2478 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2479 if test "$ac_test_CFLAGS" = set; then
2480 CFLAGS=$ac_save_CFLAGS
2481 elif test $ac_cv_prog_cc_g = yes; then
2482 if test "$GCC" = yes; then
2488 if test "$GCC" = yes; then
2494 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2495 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2496 if test "${ac_cv_prog_cc_c89+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 ac_cv_prog_cc_c89=no
2501 cat >conftest.$ac_ext <<_ACEOF
2504 cat confdefs.h >>conftest.$ac_ext
2505 cat >>conftest.$ac_ext <<_ACEOF
2506 /* end confdefs.h. */
2509 #include <sys/types.h>
2510 #include <sys/stat.h>
2511 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2512 struct buf { int x; };
2513 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2514 static char *e (p, i)
2520 static char *f (char * (*g) (char **, int), char **p, ...)
2525 s = g (p, va_arg (v,int));
2530 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2531 function prototypes and stuff, but not '\xHH' hex character constants.
2532 These don't provoke an error unfortunately, instead are silently treated
2533 as 'x'. The following induces an error, until -std is added to get
2534 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2535 array size at least. It's necessary to write '\x00'==0 to get something
2536 that's true only with -std. */
2537 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2539 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2540 inside strings and character constants. */
2542 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2544 int test (int i, double x);
2545 struct s1 {int (*f) (int a);};
2546 struct s2 {int (*f) (double a);};
2547 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2553 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2558 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2559 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2561 CC="$ac_save_CC $ac_arg"
2562 rm -f conftest.$ac_objext
2563 if { (ac_try="$ac_compile"
2565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2566 *) ac_try_echo
=$ac_try;;
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compile") 2>conftest.er1
2571 grep -v '^ *+' conftest.er1
>conftest.err
2573 cat conftest.err
>&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); } && {
2576 test -z "$ac_c_werror_flag" ||
2577 test ! -s conftest.err
2578 } && test -s conftest.
$ac_objext; then
2579 ac_cv_prog_cc_c89
=$ac_arg
2581 echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.
$ac_ext >&5
2587 rm -f core conftest.err conftest.
$ac_objext
2588 test "x$ac_cv_prog_cc_c89" != "xno" && break
2590 rm -f conftest.
$ac_ext
2595 case "x$ac_cv_prog_cc_c89" in
2597 { echo "$as_me:$LINENO: result: none needed" >&5
2598 echo "${ECHO_T}none needed" >&6; } ;;
2600 { echo "$as_me:$LINENO: result: unsupported" >&5
2601 echo "${ECHO_T}unsupported" >&6; } ;;
2603 CC
="$CC $ac_cv_prog_cc_c89"
2604 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2605 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2610 ac_cpp
='$CPP $CPPFLAGS'
2611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2615 # Check for install.
2617 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2618 if test -f "$ac_dir/install-sh"; then
2620 ac_install_sh
="$ac_aux_dir/install-sh -c"
2622 elif test -f "$ac_dir/install.sh"; then
2624 ac_install_sh
="$ac_aux_dir/install.sh -c"
2626 elif test -f "$ac_dir/shtool"; then
2628 ac_install_sh
="$ac_aux_dir/shtool install -c"
2632 if test -z "$ac_aux_dir"; then
2633 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2634 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2635 { (exit 1); exit 1; }; }
2638 # These three variables are undocumented and unsupported,
2639 # and are intended to be withdrawn in a future Autoconf release.
2640 # They can cause serious problems if a builder's source tree is in a directory
2641 # whose full name contains unusual characters.
2642 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2643 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2644 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2647 # Find a good install program. We prefer a C program (faster),
2648 # so one script is as good as another. But avoid the broken or
2649 # incompatible versions:
2650 # SysV /etc/install, /usr/sbin/install
2651 # SunOS /usr/etc/install
2652 # IRIX /sbin/install
2654 # AmigaOS /C/install, which installs bootblocks on floppy discs
2655 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2657 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2658 # OS/2's system install, which has a completely different semantic
2659 # ./install, which can be erroneously created by make from ./install.sh.
2660 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2661 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2662 if test -z "$INSTALL"; then
2663 if test "${ac_cv_path_install+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir
=.
2671 # Account for people who put trailing slashes in PATH elements.
2673 .
/ | .
// |
/cC
/* | \
2674 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2675 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2678 # OSF1 and SCO ODT 3.0 have their own names for install.
2679 # Don't use installbsd from OSF since it installs stuff as root
2681 for ac_prog
in ginstall scoinst
install; do
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2684 if test $ac_prog = install &&
2685 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2686 # AIX install. It has an incompatible calling convention.
2688 elif test $ac_prog = install &&
2689 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2690 # program-specific install script used by HP pwplus--don't use.
2693 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2706 if test "${ac_cv_path_install+set}" = set; then
2707 INSTALL
=$ac_cv_path_install
2709 # As a last resort, use the slow shell script. Don't cache a
2710 # value for INSTALL within a source directory, because that will
2711 # break other packages using the cache if that directory is
2712 # removed, or if the value is a relative name.
2713 INSTALL
=$ac_install_sh
2716 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2717 echo "${ECHO_T}$INSTALL" >&6; }
2719 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2720 # It thinks the first close brace ends the variable substitution.
2721 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2723 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2725 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2728 # We use the following function to check for mysql libs
2729 # I believe this function was written by Michiel van Baak.
2732 # Checks for libraries.
2736 # Extract the first word of "mysql_config", so it can be a program name with args.
2737 set dummy mysql_config
; ac_word
=$2
2738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2740 if test "${ac_cv_path_mysqlconfig+set}" = set; then
2741 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 case $mysqlconfig in
2745 ac_cv_path_mysqlconfig
="$mysqlconfig" # Let the user override the test with a path.
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 for ac_exec_ext
in '' $ac_executable_extensions; do
2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755 ac_cv_path_mysqlconfig
="$as_dir/$ac_word$ac_exec_ext"
2756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 mysqlconfig
=$ac_cv_path_mysqlconfig
2767 if test -n "$mysqlconfig"; then
2768 { echo "$as_me:$LINENO: result: $mysqlconfig" >&5
2769 echo "${ECHO_T}$mysqlconfig" >&6; }
2771 { echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6; }
2776 if test -z "$mysqlconfig"
2778 { { echo "$as_me:$LINENO: error: mysql_config executable not found" >&5
2779 echo "$as_me: error: mysql_config executable not found" >&2;}
2780 { (exit 1); exit 1; }; }
2782 { echo "$as_me:$LINENO: checking mysql libraries" >&5
2783 echo $ECHO_N "checking mysql libraries... $ECHO_C" >&6; }
2784 MYSQL_LIBS
=`${mysqlconfig} --libs`
2785 { echo "$as_me:$LINENO: result: $MYSQL_LIBS" >&5
2786 echo "${ECHO_T}$MYSQL_LIBS" >&6; }
2787 { echo "$as_me:$LINENO: checking mysql includes" >&5
2788 echo $ECHO_N "checking mysql includes... $ECHO_C" >&6; }
2789 MYSQL_CFLAGS
=`${mysqlconfig} --cflags`
2790 { echo "$as_me:$LINENO: result: $MYSQL_CFLAGS" >&5
2791 echo "${ECHO_T}$MYSQL_CFLAGS" >&6; }
2794 # FIXME: Replace `main' with a function in `-lcrypto':
2797 { echo "$as_me:$LINENO: checking for main in -lcrypto" >&5
2798 echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6; }
2799 if test "${ac_cv_lib_crypto_main+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 ac_check_lib_save_LIBS
=$LIBS
2803 LIBS
="-lcrypto $LIBS"
2804 cat >conftest.
$ac_ext <<_ACEOF
2807 cat confdefs.h
>>conftest.
$ac_ext
2808 cat >>conftest.
$ac_ext <<_ACEOF
2809 /* end confdefs.h. */
2820 rm -f conftest.
$ac_objext conftest
$ac_exeext
2821 if { (ac_try
="$ac_link"
2823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2827 (eval "$ac_link") 2>conftest.er1
2829 grep -v '^ *+' conftest.er1 >conftest.err
2831 cat conftest.err >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } && {
2834 test -z "$ac_c_werror_flag" ||
2835 test ! -s conftest.err
2836 } && test -s conftest$ac_exeext &&
2837 $as_test_x conftest$ac_exeext; then
2838 ac_cv_lib_crypto_main=yes
2840 echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2843 ac_cv_lib_crypto_main=no
2846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2847 conftest$ac_exeext conftest.$ac_ext
2848 LIBS=$ac_check_lib_save_LIBS
2850 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_main" >&5
2851 echo "${ECHO_T}$ac_cv_lib_crypto_main" >&6; }
2852 if test $ac_cv_lib_crypto_main = yes; then
2853 cat >>confdefs.h <<_ACEOF
2854 #define HAVE_LIBCRYPTO 1
2857 LIBS="-lcrypto $LIBS"
2861 # FIXME: Replace `main
' with a function in `-lm':
2863 { echo "$as_me:$LINENO: checking for main in -lm" >&5
2864 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
2865 if test "${ac_cv_lib_m_main+set}" = set; then
2866 echo $ECHO_N "(cached) $ECHO_C" >&6
2868 ac_check_lib_save_LIBS
=$LIBS
2870 cat >conftest.
$ac_ext <<_ACEOF
2873 cat confdefs.h
>>conftest.
$ac_ext
2874 cat >>conftest.
$ac_ext <<_ACEOF
2875 /* end confdefs.h. */
2886 rm -f conftest.
$ac_objext conftest
$ac_exeext
2887 if { (ac_try
="$ac_link"
2889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2893 (eval "$ac_link") 2>conftest.er1
2895 grep -v '^ *+' conftest.er1 >conftest.err
2897 cat conftest.err >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); } && {
2900 test -z "$ac_c_werror_flag" ||
2901 test ! -s conftest.err
2902 } && test -s conftest$ac_exeext &&
2903 $as_test_x conftest$ac_exeext; then
2904 ac_cv_lib_m_main=yes
2906 echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2913 conftest$ac_exeext conftest.$ac_ext
2914 LIBS=$ac_check_lib_save_LIBS
2916 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
2917 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
2918 if test $ac_cv_lib_m_main = yes; then
2919 cat >>confdefs.h <<_ACEOF
2927 # FIXME: Replace `main
' with a function in `-lmysqlclient':
2929 { echo "$as_me:$LINENO: checking for main in -lmysqlclient" >&5
2930 echo $ECHO_N "checking for main in -lmysqlclient... $ECHO_C" >&6; }
2931 if test "${ac_cv_lib_mysqlclient_main+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 ac_check_lib_save_LIBS
=$LIBS
2935 LIBS
="-lmysqlclient $LIBS"
2936 cat >conftest.
$ac_ext <<_ACEOF
2939 cat confdefs.h
>>conftest.
$ac_ext
2940 cat >>conftest.
$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2952 rm -f conftest.
$ac_objext conftest
$ac_exeext
2953 if { (ac_try
="$ac_link"
2955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_link") 2>conftest.er1
2961 grep -v '^ *+' conftest.er1 >conftest.err
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } && {
2966 test -z "$ac_c_werror_flag" ||
2967 test ! -s conftest.err
2968 } && test -s conftest$ac_exeext &&
2969 $as_test_x conftest$ac_exeext; then
2970 ac_cv_lib_mysqlclient_main=yes
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2975 ac_cv_lib_mysqlclient_main=no
2978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2979 conftest$ac_exeext conftest.$ac_ext
2980 LIBS=$ac_check_lib_save_LIBS
2982 { echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_main" >&5
2983 echo "${ECHO_T}$ac_cv_lib_mysqlclient_main" >&6; }
2984 if test $ac_cv_lib_mysqlclient_main = yes; then
2985 cat >>confdefs.h <<_ACEOF
2986 #define HAVE_LIBMYSQLCLIENT 1
2989 LIBS="-lmysqlclient $LIBS"
2993 # FIXME: Replace `main
' with a function in `-lssl':
2995 { echo "$as_me:$LINENO: checking for main in -lssl" >&5
2996 echo $ECHO_N "checking for main in -lssl... $ECHO_C" >&6; }
2997 if test "${ac_cv_lib_ssl_main+set}" = set; then
2998 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 ac_check_lib_save_LIBS
=$LIBS
3002 cat >conftest.
$ac_ext <<_ACEOF
3005 cat confdefs.h
>>conftest.
$ac_ext
3006 cat >>conftest.
$ac_ext <<_ACEOF
3007 /* end confdefs.h. */
3018 rm -f conftest.
$ac_objext conftest
$ac_exeext
3019 if { (ac_try
="$ac_link"
3021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3025 (eval "$ac_link") 2>conftest.er1
3027 grep -v '^ *+' conftest.er1 >conftest.err
3029 cat conftest.err >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } && {
3032 test -z "$ac_c_werror_flag" ||
3033 test ! -s conftest.err
3034 } && test -s conftest$ac_exeext &&
3035 $as_test_x conftest$ac_exeext; then
3036 ac_cv_lib_ssl_main=yes
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3041 ac_cv_lib_ssl_main=no
3044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3045 conftest$ac_exeext conftest.$ac_ext
3046 LIBS=$ac_check_lib_save_LIBS
3048 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_main" >&5
3049 echo "${ECHO_T}$ac_cv_lib_ssl_main" >&6; }
3050 if test $ac_cv_lib_ssl_main = yes; then
3051 cat >>confdefs.h <<_ACEOF
3052 #define HAVE_LIBSSL 1
3059 # FIXME: Replace `main
' with a function in `-lz':
3061 { echo "$as_me:$LINENO: checking for main in -lz" >&5
3062 echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; }
3063 if test "${ac_cv_lib_z_main+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 ac_check_lib_save_LIBS
=$LIBS
3068 cat >conftest.
$ac_ext <<_ACEOF
3071 cat confdefs.h
>>conftest.
$ac_ext
3072 cat >>conftest.
$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3084 rm -f conftest.
$ac_objext conftest
$ac_exeext
3085 if { (ac_try
="$ac_link"
3087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091 (eval "$ac_link") 2>conftest.er1
3093 grep -v '^ *+' conftest.er1 >conftest.err
3095 cat conftest.err >&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } && {
3098 test -z "$ac_c_werror_flag" ||
3099 test ! -s conftest.err
3100 } && test -s conftest$ac_exeext &&
3101 $as_test_x conftest$ac_exeext; then
3102 ac_cv_lib_z_main=yes
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3111 conftest$ac_exeext conftest.$ac_ext
3112 LIBS=$ac_check_lib_save_LIBS
3114 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
3115 echo "${ECHO_T}$ac_cv_lib_z_main" >&6; }
3116 if test $ac_cv_lib_z_main = yes; then
3117 cat >>confdefs.h <<_ACEOF
3126 # Checks for header files.
3128 ac_cpp='$CPP $CPPFLAGS'
3129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3132 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3133 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3134 # On Suns, sometimes $CPP names a directory.
3135 if test -n "$CPP" && test -d "$CPP"; then
3138 if test -z "$CPP"; then
3139 if test "${ac_cv_prog_CPP+set}" = set; then
3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3142 # Double quotes because CPP needs to be expanded
3143 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3146 for ac_c_preproc_warn_flag in '' yes
3148 # Use a header file that comes with gcc, so configuring glibc
3149 # with a fresh cross-compiler works.
3150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3151 # <limits.h> exists even on freestanding compilers.
3152 # On the NeXT, cc -E runs the code through the compiler's parser,
3153 # not just through cpp. "Syntax error" is here to catch this case.
3154 cat >conftest.$ac_ext <<_ACEOF
3157 cat confdefs.h >>conftest.$ac_ext
3158 cat >>conftest.$ac_ext <<_ACEOF
3159 /* end confdefs.h. */
3161 # include <limits.h>
3163 # include <assert.h>
3167 if { (ac_try="$ac_cpp conftest.$ac_ext"
3169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3170 *) ac_try_echo
=$ac_try;;
3172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3175 grep -v '^ *+' conftest.er1
>conftest.err
3177 cat conftest.err
>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } >/dev
/null
&& {
3180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3181 test ! -s conftest.err
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.
$ac_ext >&5
3188 # Broken: fails on valid input.
3192 rm -f conftest.err conftest.
$ac_ext
3194 # OK, works on sane cases. Now check whether nonexistent headers
3195 # can be detected and how.
3196 cat >conftest.
$ac_ext <<_ACEOF
3199 cat confdefs.h
>>conftest.
$ac_ext
3200 cat >>conftest.
$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3202 #include <ac_nonexistent.h>
3204 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3212 grep -v '^ *+' conftest.er1 >conftest.err
3214 cat conftest.err >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } >/dev/null && {
3217 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3218 test ! -s conftest.err
3220 # Broken: success on invalid input.
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3226 # Passes both tests.
3231 rm -f conftest.err conftest.$ac_ext
3234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3235 rm -f conftest.err conftest.
$ac_ext
3236 if $ac_preproc_ok; then
3248 { echo "$as_me:$LINENO: result: $CPP" >&5
3249 echo "${ECHO_T}$CPP" >&6; }
3251 for ac_c_preproc_warn_flag
in '' yes
3253 # Use a header file that comes with gcc, so configuring glibc
3254 # with a fresh cross-compiler works.
3255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 # <limits.h> exists even on freestanding compilers.
3257 # On the NeXT, cc -E runs the code through the compiler's parser,
3258 # not just through cpp. "Syntax error" is here to catch this case.
3259 cat >conftest.
$ac_ext <<_ACEOF
3262 cat confdefs.h
>>conftest.
$ac_ext
3263 cat >>conftest.
$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3266 # include <limits.h>
3268 # include <assert.h>
3272 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3280 grep -v '^ *+' conftest.er1 >conftest.err
3282 cat conftest.err >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } >/dev/null && {
3285 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3286 test ! -s conftest.err
3290 echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.$ac_ext >&5
3293 # Broken: fails on valid input.
3297 rm -f conftest.err conftest.$ac_ext
3299 # OK, works on sane cases. Now check whether nonexistent headers
3300 # can be detected and how.
3301 cat >conftest.$ac_ext <<_ACEOF
3304 cat confdefs.h >>conftest.$ac_ext
3305 cat >>conftest.$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3307 #include <ac_nonexistent.h>
3309 if { (ac_try="$ac_cpp conftest.$ac_ext"
3311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3312 *) ac_try_echo
=$ac_try;;
3314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3317 grep -v '^ *+' conftest.er1
>conftest.err
3319 cat conftest.err
>&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); } >/dev
/null
&& {
3322 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3323 test ! -s conftest.err
3325 # Broken: success on invalid input.
3328 echo "$as_me: failed program was:" >&5
3329 sed 's/^/| /' conftest.
$ac_ext >&5
3331 # Passes both tests.
3336 rm -f conftest.err conftest.
$ac_ext
3339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3340 rm -f conftest.err conftest.
$ac_ext
3341 if $ac_preproc_ok; then
3344 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3345 See \`config.log' for more details." >&5
3346 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3347 See \`config.log' for more details." >&2;}
3348 { (exit 1); exit 1; }; }
3352 ac_cpp
='$CPP $CPPFLAGS'
3353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3358 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3359 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3360 if test "${ac_cv_path_GREP+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 # Extract the first word of "grep ggrep" to use in msg output
3364 if test -z "$GREP"; then
3365 set dummy
grep ggrep
; ac_prog_name
=$2
3366 if test "${ac_cv_path_GREP+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 ac_path_GREP_found
=false
3370 # Loop through the user's path and test for each of PROGNAME-LIST
3371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3372 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3375 test -z "$as_dir" && as_dir
=.
3376 for ac_prog
in grep ggrep
; do
3377 for ac_exec_ext
in '' $ac_executable_extensions; do
3378 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3379 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3380 # Check for GNU ac_path_GREP and select it if it is found.
3381 # Check for GNU $ac_path_GREP
3382 case `"$ac_path_GREP" --version 2>&1` in
3384 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3387 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3390 cat "conftest.in" "conftest.in" >"conftest.tmp"
3391 mv "conftest.tmp" "conftest.in"
3392 cp "conftest.in" "conftest.nl"
3393 echo 'GREP' >> "conftest.nl"
3394 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3395 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3396 ac_count
=`expr $ac_count + 1`
3397 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3398 # Best one so far, save it but keep looking for a better one
3399 ac_cv_path_GREP
="$ac_path_GREP"
3400 ac_path_GREP_max
=$ac_count
3402 # 10*(2^10) chars as input seems more than enough
3403 test $ac_count -gt 10 && break
3405 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3409 $ac_path_GREP_found && break 3
3419 GREP
="$ac_cv_path_GREP"
3420 if test -z "$GREP"; then
3421 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3422 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3423 { (exit 1); exit 1; }; }
3427 ac_cv_path_GREP
=$GREP
3432 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3433 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3434 GREP
="$ac_cv_path_GREP"
3437 { echo "$as_me:$LINENO: checking for egrep" >&5
3438 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3439 if test "${ac_cv_path_EGREP+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3443 then ac_cv_path_EGREP
="$GREP -E"
3445 # Extract the first word of "egrep" to use in msg output
3446 if test -z "$EGREP"; then
3447 set dummy
egrep; ac_prog_name
=$2
3448 if test "${ac_cv_path_EGREP+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 ac_path_EGREP_found
=false
3452 # Loop through the user's path and test for each of PROGNAME-LIST
3453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3454 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3457 test -z "$as_dir" && as_dir
=.
3458 for ac_prog
in egrep; do
3459 for ac_exec_ext
in '' $ac_executable_extensions; do
3460 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3461 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3462 # Check for GNU ac_path_EGREP and select it if it is found.
3463 # Check for GNU $ac_path_EGREP
3464 case `"$ac_path_EGREP" --version 2>&1` in
3466 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3469 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3472 cat "conftest.in" "conftest.in" >"conftest.tmp"
3473 mv "conftest.tmp" "conftest.in"
3474 cp "conftest.in" "conftest.nl"
3475 echo 'EGREP' >> "conftest.nl"
3476 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3477 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3478 ac_count
=`expr $ac_count + 1`
3479 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3480 # Best one so far, save it but keep looking for a better one
3481 ac_cv_path_EGREP
="$ac_path_EGREP"
3482 ac_path_EGREP_max
=$ac_count
3484 # 10*(2^10) chars as input seems more than enough
3485 test $ac_count -gt 10 && break
3487 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3491 $ac_path_EGREP_found && break 3
3501 EGREP
="$ac_cv_path_EGREP"
3502 if test -z "$EGREP"; then
3503 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3504 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3505 { (exit 1); exit 1; }; }
3509 ac_cv_path_EGREP
=$EGREP
3515 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3516 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3517 EGREP
="$ac_cv_path_EGREP"
3520 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3521 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3522 if test "${ac_cv_header_stdc+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 cat >conftest.
$ac_ext <<_ACEOF
3528 cat confdefs.h
>>conftest.
$ac_ext
3529 cat >>conftest.
$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3544 rm -f conftest.
$ac_objext
3545 if { (ac_try
="$ac_compile"
3547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3551 (eval "$ac_compile") 2>conftest.er1
3553 grep -v '^ *+' conftest.er1 >conftest.err
3555 cat conftest.err >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); } && {
3558 test -z "$ac_c_werror_flag" ||
3559 test ! -s conftest.err
3560 } && test -s conftest.$ac_objext; then
3561 ac_cv_header_stdc=yes
3563 echo "$as_me: failed program was:" >&5
3564 sed 's/^/| /' conftest.$ac_ext >&5
3566 ac_cv_header_stdc=no
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 if test $ac_cv_header_stdc = yes; then
3572 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3573 cat >conftest.$ac_ext <<_ACEOF
3576 cat confdefs.h >>conftest.$ac_ext
3577 cat >>conftest.$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3583 $EGREP "memchr" >/dev/null 2>&1; then
3586 ac_cv_header_stdc=no
3592 if test $ac_cv_header_stdc = yes; then
3593 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3594 cat >conftest.$ac_ext <<_ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3604 $EGREP "free" >/dev/null 2>&1; then
3607 ac_cv_header_stdc=no
3613 if test $ac_cv_header_stdc = yes; then
3614 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3615 if test "$cross_compiling" = yes; then
3618 cat >conftest.$ac_ext <<_ACEOF
3621 cat confdefs.h >>conftest.$ac_ext
3622 cat >>conftest.$ac_ext <<_ACEOF
3623 /* end confdefs.h. */
3626 #if ((' ' & 0x0FF) == 0x020)
3627 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3628 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3630 # define ISLOWER(c) \
3631 (('a' <= (c) && (c) <= 'i') \
3632 || ('j' <= (c) && (c) <= 'r') \
3633 || ('s' <= (c) && (c) <= 'z'))
3634 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3637 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3642 for (i = 0; i < 256; i++)
3643 if (XOR (islower (i), ISLOWER (i))
3644 || toupper (i) != TOUPPER (i))
3649 rm -f conftest$ac_exeext
3650 if { (ac_try="$ac_link"
3652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3653 *) ac_try_echo
=$ac_try;;
3655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3656 (eval "$ac_link") 2>&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3660 { (case "(($ac_try" in
3661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3665 (eval "$ac_try") 2>&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); }; }; then
3671 echo "$as_me: program exited with status $ac_status" >&5
3672 echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.$ac_ext >&5
3676 ac_cv_header_stdc=no
3678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3684 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3685 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3686 if test $ac_cv_header_stdc = yes; then
3688 cat >>confdefs.h <<\_ACEOF
3689 #define STDC_HEADERS 1
3694 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3704 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3705 inttypes.h stdint.h unistd.h
3707 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 cat >conftest.$ac_ext <<_ACEOF
3716 cat confdefs.h >>conftest.$ac_ext
3717 cat >>conftest.$ac_ext <<_ACEOF
3718 /* end confdefs.h. */
3719 $ac_includes_default
3721 #include <$ac_header>
3723 rm -f conftest.$ac_objext
3724 if { (ac_try="$ac_compile"
3726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3727 *) ac_try_echo
=$ac_try;;
3729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3730 (eval "$ac_compile") 2>conftest.er1
3732 grep -v '^ *+' conftest.er1
>conftest.err
3734 cat conftest.err
>&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); } && {
3737 test -z "$ac_c_werror_flag" ||
3738 test ! -s conftest.err
3739 } && test -s conftest.
$ac_objext; then
3740 eval "$as_ac_Header=yes"
3742 echo "$as_me: failed program was:" >&5
3743 sed 's/^/| /' conftest.
$ac_ext >&5
3745 eval "$as_ac_Header=no"
3748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3750 ac_res
=`eval echo '${'$as_ac_Header'}'`
3751 { echo "$as_me:$LINENO: result: $ac_res" >&5
3752 echo "${ECHO_T}$ac_res" >&6; }
3753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3754 cat >>confdefs.h
<<_ACEOF
3755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3764 for ac_header
in stdlib.h
3766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3767 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3768 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3770 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 ac_res
=`eval echo '${'$as_ac_Header'}'`
3774 { echo "$as_me:$LINENO: result: $ac_res" >&5
3775 echo "${ECHO_T}$ac_res" >&6; }
3777 # Is the header compilable?
3778 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
3779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3780 cat >conftest.
$ac_ext <<_ACEOF
3783 cat confdefs.h
>>conftest.
$ac_ext
3784 cat >>conftest.
$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3786 $ac_includes_default
3787 #include <$ac_header>
3789 rm -f conftest.
$ac_objext
3790 if { (ac_try
="$ac_compile"
3792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_compile") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1 >conftest.err
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } && {
3803 test -z "$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 } && test -s conftest.$ac_objext; then
3806 ac_header_compiler=yes
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3811 ac_header_compiler=no
3814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3815 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3816 echo "${ECHO_T}$ac_header_compiler" >&6; }
3818 # Is the header present?
3819 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
3820 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3821 cat >conftest.$ac_ext <<_ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3827 #include <$ac_header>
3829 if { (ac_try="$ac_cpp conftest.$ac_ext"
3831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3832 *) ac_try_echo
=$ac_try;;
3834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3837 grep -v '^ *+' conftest.er1
>conftest.err
3839 cat conftest.err
>&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } >/dev
/null
&& {
3842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3843 test ! -s conftest.err
3845 ac_header_preproc
=yes
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.
$ac_ext >&5
3850 ac_header_preproc
=no
3853 rm -f conftest.err conftest.
$ac_ext
3854 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3855 echo "${ECHO_T}$ac_header_preproc" >&6; }
3857 # So? What about this header?
3858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3863 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3864 ac_header_preproc
=yes
3867 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3868 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3869 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3870 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3871 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3872 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3873 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3874 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3877 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3878 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3880 ## ------------------------------ ##
3881 ## Report this to sjk@ankeborg.nu ##
3882 ## ------------------------------ ##
3884 ) |
sed "s/^/$as_me: WARNING: /" >&2
3887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3889 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3892 eval "$as_ac_Header=\$ac_header_preproc"
3894 ac_res
=`eval echo '${'$as_ac_Header'}'`
3895 { echo "$as_me:$LINENO: result: $ac_res" >&5
3896 echo "${ECHO_T}$ac_res" >&6; }
3899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3900 cat >>confdefs.h
<<_ACEOF
3901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3909 # Checks for typedefs, structures, and compiler characteristics.
3910 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3911 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3912 if test "${ac_cv_c_const+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 cat >conftest.
$ac_ext <<_ACEOF
3918 cat confdefs.h
>>conftest.
$ac_ext
3919 cat >>conftest.
$ac_ext <<_ACEOF
3920 /* end confdefs.h. */
3925 /* FIXME: Include the comments suggested by Paul. */
3927 /* Ultrix mips cc rejects this. */
3928 typedef int charset[2];
3930 /* SunOS 4.1.1 cc rejects this. */
3931 char const *const *pcpcc;
3933 /* NEC SVR4.0.2 mips cc rejects this. */
3934 struct point {int x, y;};
3935 static struct point const zero = {0,0};
3936 /* AIX XL C 1.02.0.0 rejects this.
3937 It does not let you subtract one const X* pointer from another in
3938 an arm of an if-expression whose if-part is not a constant
3940 const char *g = "string";
3941 pcpcc = &g + (g ? g-g : 0);
3942 /* HPUX 7.0 cc rejects these. */
3944 ppc = (char**) pcpcc;
3945 pcpcc = (char const *const *) ppc;
3946 { /* SCO 3.2v4 cc rejects this. */
3948 char const *s = 0 ? (char *) 0 : (char const *) 0;
3953 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3955 const int *foo = &x[0];
3958 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3959 typedef const int *iptr;
3963 { /* AIX XL C 1.02.0.0 rejects this saying
3964 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3965 struct s { int j; const int *ap[3]; };
3966 struct s *b; b->j = 5;
3968 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3972 return !cs[0] && !zero.x;
3979 rm -f conftest.
$ac_objext
3980 if { (ac_try
="$ac_compile"
3982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3986 (eval "$ac_compile") 2>conftest.er1
3988 grep -v '^ *+' conftest.er1 >conftest.err
3990 cat conftest.err >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } && {
3993 test -z "$ac_c_werror_flag" ||
3994 test ! -s conftest.err
3995 } && test -s conftest.$ac_objext; then
3998 echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.$ac_ext >&5
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4007 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4008 if test $ac_cv_c_const = no; then
4010 cat >>confdefs.h <<\_ACEOF
4016 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4017 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
4018 if test "${ac_cv_struct_tm+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 cat >conftest.$ac_ext <<_ACEOF
4024 cat confdefs.h >>conftest.$ac_ext
4025 cat >>conftest.$ac_ext <<_ACEOF
4026 /* end confdefs.h. */
4027 #include <sys/types.h>
4034 int *p = &tm.tm_sec;
4040 rm -f conftest.$ac_objext
4041 if { (ac_try="$ac_compile"
4043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4044 *) ac_try_echo
=$ac_try;;
4046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4047 (eval "$ac_compile") 2>conftest.er1
4049 grep -v '^ *+' conftest.er1
>conftest.err
4051 cat conftest.err
>&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); } && {
4054 test -z "$ac_c_werror_flag" ||
4055 test ! -s conftest.err
4056 } && test -s conftest.
$ac_objext; then
4057 ac_cv_struct_tm
=time.h
4059 echo "$as_me: failed program was:" >&5
4060 sed 's/^/| /' conftest.
$ac_ext >&5
4062 ac_cv_struct_tm
=sys
/time.h
4065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4067 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4068 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4069 if test $ac_cv_struct_tm = sys
/time.h
; then
4071 cat >>confdefs.h
<<\_ACEOF
4072 #define TM_IN_SYS_TIME 1
4078 # Checks for library functions.
4080 for ac_header
in stdlib.h
4082 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4083 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4084 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4086 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 ac_res
=`eval echo '${'$as_ac_Header'}'`
4090 { echo "$as_me:$LINENO: result: $ac_res" >&5
4091 echo "${ECHO_T}$ac_res" >&6; }
4093 # Is the header compilable?
4094 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4096 cat >conftest.
$ac_ext <<_ACEOF
4099 cat confdefs.h
>>conftest.
$ac_ext
4100 cat >>conftest.
$ac_ext <<_ACEOF
4101 /* end confdefs.h. */
4102 $ac_includes_default
4103 #include <$ac_header>
4105 rm -f conftest.
$ac_objext
4106 if { (ac_try
="$ac_compile"
4108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4112 (eval "$ac_compile") 2>conftest.er1
4114 grep -v '^ *+' conftest.er1 >conftest.err
4116 cat conftest.err >&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); } && {
4119 test -z "$ac_c_werror_flag" ||
4120 test ! -s conftest.err
4121 } && test -s conftest.$ac_objext; then
4122 ac_header_compiler=yes
4124 echo "$as_me: failed program was:" >&5
4125 sed 's/^/| /' conftest.$ac_ext >&5
4127 ac_header_compiler=no
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4132 echo "${ECHO_T}$ac_header_compiler" >&6; }
4134 # Is the header present?
4135 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4136 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4137 cat >conftest.$ac_ext <<_ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 #include <$ac_header>
4145 if { (ac_try="$ac_cpp conftest.$ac_ext"
4147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4148 *) ac_try_echo
=$ac_try;;
4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4151 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4153 grep -v '^ *+' conftest.er1
>conftest.err
4155 cat conftest.err
>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } >/dev
/null
&& {
4158 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4159 test ! -s conftest.err
4161 ac_header_preproc
=yes
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.
$ac_ext >&5
4166 ac_header_preproc
=no
4169 rm -f conftest.err conftest.
$ac_ext
4170 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4171 echo "${ECHO_T}$ac_header_preproc" >&6; }
4173 # So? What about this header?
4174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4176 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4177 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4179 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4180 ac_header_preproc
=yes
4183 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4184 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4185 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4186 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4187 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4188 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4189 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4190 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4193 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4194 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4196 ## ------------------------------ ##
4197 ## Report this to sjk@ankeborg.nu ##
4198 ## ------------------------------ ##
4200 ) |
sed "s/^/$as_me: WARNING: /" >&2
4203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4205 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 eval "$as_ac_Header=\$ac_header_preproc"
4210 ac_res
=`eval echo '${'$as_ac_Header'}'`
4211 { echo "$as_me:$LINENO: result: $ac_res" >&5
4212 echo "${ECHO_T}$ac_res" >&6; }
4215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4216 cat >>confdefs.h
<<_ACEOF
4217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4224 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
4225 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
4226 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 if test "$cross_compiling" = yes; then
4230 ac_cv_func_malloc_0_nonnull
=no
4232 cat >conftest.
$ac_ext <<_ACEOF
4235 cat confdefs.h
>>conftest.
$ac_ext
4236 cat >>conftest.
$ac_ext <<_ACEOF
4237 /* end confdefs.h. */
4238 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4239 # include <stdlib.h>
4247 return ! malloc (0);
4252 rm -f conftest
$ac_exeext
4253 if { (ac_try
="$ac_link"
4255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4256 *) ac_try_echo=$ac_try;;
4258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4259 (eval "$ac_link") 2>&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4263 { (case "(($ac_try" in
4264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4265 *) ac_try_echo
=$ac_try;;
4267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4268 (eval "$ac_try") 2>&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; }; then
4272 ac_cv_func_malloc_0_nonnull
=yes
4274 echo "$as_me: program exited with status $ac_status" >&5
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.
$ac_ext >&5
4279 ac_cv_func_malloc_0_nonnull
=no
4281 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4286 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4287 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
4288 if test $ac_cv_func_malloc_0_nonnull = yes; then
4290 cat >>confdefs.h
<<\_ACEOF
4291 #define HAVE_MALLOC 1
4295 cat >>confdefs.h
<<\_ACEOF
4296 #define HAVE_MALLOC 0
4299 case " $LIBOBJS " in
4300 *" malloc.$ac_objext "* ) ;;
4301 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
4306 cat >>confdefs.h
<<\_ACEOF
4307 #define malloc rpl_malloc
4315 for ac_func
in strftime
4317 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4318 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4320 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 cat >conftest.
$ac_ext <<_ACEOF
4326 cat confdefs.h
>>conftest.
$ac_ext
4327 cat >>conftest.
$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4331 #define $ac_func innocuous_$ac_func
4333 /* System header to define __stub macros and hopefully few prototypes,
4334 which can conflict with char $ac_func (); below.
4335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4336 <limits.h> exists even on freestanding compilers. */
4339 # include <limits.h>
4341 # include <assert.h>
4346 /* Override any GCC internal prototype to avoid an error.
4347 Use char because int might match the return type of a GCC
4348 builtin and then its argument prototype would still apply. */
4353 /* The GNU C library defines this for functions which it implements
4354 to always fail with ENOSYS. Some functions are actually named
4355 something starting with __ and the normal name is an alias. */
4356 #if defined __stub_$ac_func || defined __stub___$ac_func
4368 rm -f conftest.
$ac_objext conftest
$ac_exeext
4369 if { (ac_try
="$ac_link"
4371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4375 (eval "$ac_link") 2>conftest.er1
4377 grep -v '^ *+' conftest.er1 >conftest.err
4379 cat conftest.err >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); } && {
4382 test -z "$ac_c_werror_flag" ||
4383 test ! -s conftest.err
4384 } && test -s conftest$ac_exeext &&
4385 $as_test_x conftest$ac_exeext; then
4386 eval "$as_ac_var=yes"
4388 echo "$as_me: failed program was:" >&5
4389 sed 's/^/| /' conftest.$ac_ext >&5
4391 eval "$as_ac_var=no"
4394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4395 conftest$ac_exeext conftest.$ac_ext
4397 ac_res=`eval echo '${'$as_ac_var'}'`
4398 { echo "$as_me:$LINENO: result: $ac_res" >&5
4399 echo "${ECHO_T}$ac_res" >&6; }
4400 if test `eval echo '${'$as_ac_var'}'` = yes; then
4401 cat >>confdefs.h <<_ACEOF
4402 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
4406 # strftime is in -lintl on SCO UNIX.
4407 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
4408 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
4409 if test "${ac_cv_lib_intl_strftime+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 ac_check_lib_save_LIBS=$LIBS
4414 cat >conftest.$ac_ext <<_ACEOF
4417 cat confdefs.h >>conftest.$ac_ext
4418 cat >>conftest.$ac_ext <<_ACEOF
4419 /* end confdefs.h. */
4421 /* Override any GCC internal prototype to avoid an error.
4422 Use char because int might match the return type of a GCC
4423 builtin and then its argument prototype would still apply. */
4436 rm -f conftest.$ac_objext conftest$ac_exeext
4437 if { (ac_try="$ac_link"
4439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4440 *) ac_try_echo
=$ac_try;;
4442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4443 (eval "$ac_link") 2>conftest.er1
4445 grep -v '^ *+' conftest.er1
>conftest.err
4447 cat conftest.err
>&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } && {
4450 test -z "$ac_c_werror_flag" ||
4451 test ! -s conftest.err
4452 } && test -s conftest
$ac_exeext &&
4453 $as_test_x conftest
$ac_exeext; then
4454 ac_cv_lib_intl_strftime
=yes
4456 echo "$as_me: failed program was:" >&5
4457 sed 's/^/| /' conftest.
$ac_ext >&5
4459 ac_cv_lib_intl_strftime
=no
4462 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4463 conftest
$ac_exeext conftest.
$ac_ext
4464 LIBS
=$ac_check_lib_save_LIBS
4466 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
4467 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
4468 if test $ac_cv_lib_intl_strftime = yes; then
4469 cat >>confdefs.h
<<\_ACEOF
4470 #define HAVE_STRFTIME 1
4480 for ac_func
in strchr
4482 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4485 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 cat >conftest.
$ac_ext <<_ACEOF
4491 cat confdefs.h
>>conftest.
$ac_ext
4492 cat >>conftest.
$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define $ac_func innocuous_$ac_func
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char $ac_func (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4504 # include <limits.h>
4506 # include <assert.h>
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_$ac_func || defined __stub___$ac_func
4533 rm -f conftest.
$ac_objext conftest
$ac_exeext
4534 if { (ac_try
="$ac_link"
4536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4542 grep -v '^ *+' conftest.er1 >conftest.err
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest$ac_exeext &&
4550 $as_test_x conftest$ac_exeext; then
4551 eval "$as_ac_var=yes"
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.$ac_ext >&5
4556 eval "$as_ac_var=no"
4559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4560 conftest$ac_exeext conftest.$ac_ext
4562 ac_res=`eval echo '${'$as_ac_var'}'`
4563 { echo "$as_me:$LINENO: result: $ac_res" >&5
4564 echo "${ECHO_T}$ac_res" >&6; }
4565 if test `eval echo '${'$as_ac_var'}'` = yes; then
4566 cat >>confdefs.h <<_ACEOF
4567 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
4574 ac_config_files="$ac_config_files Makefile"
4576 cat >confcache <<\_ACEOF
4577 # This file is a shell script that caches the results of configure
4578 # tests run on this system so they can be shared between configure
4579 # scripts and configure runs, see configure's option --config-cache.
4580 # It is not useful on other systems. If it contains results you don't
4581 # want to keep, you may remove or edit it.
4583 # config.status only pays attention to the cache file if you give it
4584 # the --recheck option to rerun configure.
4586 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4587 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4592 # The following way of writing the cache mishandles newlines in values,
4593 # but we know of no workaround that is simple, portable, and efficient.
4594 # So, we kill variables containing newlines.
4595 # Ultrix sh set writes to stderr and can't be redirected directly,
4596 # and sets the high bit in the cache file unless we assign to the vars.
4598 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4599 eval ac_val
=\$
$ac_var
4603 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4604 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4607 _ | IFS | as_nl
) ;; #(
4608 *) $as_unset $ac_var ;;
4614 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4615 *${as_nl}ac_space
=\
*)
4616 # `set' does not quote correctly, so add quotes (double-quote
4617 # substitution turns \\\\ into \\, and sed turns \\ into \).
4620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4623 # `set' quotes correctly as required by POSIX, so do not add quotes.
4624 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4635 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4637 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4638 if test -w "$cache_file"; then
4639 test "x$cache_file" != "x/dev/null" &&
4640 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4641 echo "$as_me: updating cache $cache_file" >&6;}
4642 cat confcache
>$cache_file
4644 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4645 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4650 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4651 # Let make expand exec_prefix.
4652 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4654 DEFS
=-DHAVE_CONFIG_H
4658 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4659 # 1. Remove the extension, and $U if already installed.
4660 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4661 ac_i
=`echo "$ac_i" | sed "$ac_script"`
4662 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4663 # will be set to the directory where LIBOBJS objects are built.
4664 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4665 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4669 LTLIBOBJS
=$ac_ltlibobjs
4673 : ${CONFIG_STATUS=./config.status}
4674 ac_clean_files_save
=$ac_clean_files
4675 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4676 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4677 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4678 cat >$CONFIG_STATUS <<_ACEOF
4680 # Generated by $as_me.
4681 # Run this file to recreate the current configuration.
4682 # Compiler output produced by configure, useful for debugging
4683 # configure, is in config.log if it exists.
4688 SHELL=\${CONFIG_SHELL-$SHELL}
4691 cat >>$CONFIG_STATUS <<\_ACEOF
4692 ## --------------------- ##
4693 ## M4sh Initialization. ##
4694 ## --------------------- ##
4696 # Be more Bourne compatible
4697 DUALCASE
=1; export DUALCASE
# for MKS sh
4698 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4701 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4702 # is contrary to our usage. Disable this feature.
4703 alias -g '${1+"$@"}'='"$@"'
4704 setopt NO_GLOB_SUBST
4706 case `(set -o) 2>/dev/null` in
4707 *posix
*) set -o posix
;;
4716 # Avoid depending upon Character Ranges.
4717 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4718 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4719 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4720 as_cr_digits
='0123456789'
4721 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4723 # The user is always right.
4724 if test "${PATH_SEPARATOR+set}" != set; then
4725 echo "#! /bin/sh" >conf$$.sh
4726 echo "exit 0" >>conf$$.sh
4728 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4736 # Support unset when possible.
4737 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4745 # We need space, tab and new line, in precisely that order. Quoting is
4746 # there to prevent editors from complaining about space-tab.
4747 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4748 # splitting by setting IFS to empty value.)
4753 # Find who we are. Look in the path if we contain no directory separator.
4755 *[\\/]* ) as_myself
=$0 ;;
4756 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4760 test -z "$as_dir" && as_dir
=.
4761 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4767 # We did not find ourselves, most probably we were run as `sh COMMAND'
4768 # in which case we are not to be found in the path.
4769 if test "x$as_myself" = x
; then
4772 if test ! -f "$as_myself"; then
4773 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4774 { (exit 1); exit 1; }
4777 # Work around bugs in pre-3.0 UWIN ksh.
4778 for as_var
in ENV MAIL MAILPATH
4779 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
4787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4789 LC_TELEPHONE LC_TIME
4791 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4792 eval $as_var=C
; export $as_var
4794 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
4798 # Required to use basename.
4799 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4800 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4806 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4807 as_basename
=basename
4813 # Name of the executable.
4814 as_me
=`$as_basename -- "$0" ||
4815 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4816 X"$0" : 'X\(//\)$' \| \
4817 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4819 sed '/^.*\/\([^/][^/]*\)\/*$/{
4840 test "x$as_lineno_1" != "x$as_lineno_2" &&
4841 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
4843 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4844 # uniformly replaced by the line number. The first 'sed' inserts a
4845 # line-number line after each line using $LINENO; the second 'sed'
4846 # does the real work. The second script uses 'N' to pair each
4847 # line-number line with the line containing $LINENO, and appends
4848 # trailing '-' during substitution so that $LINENO is not a special
4850 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4851 # scripts with optimization help from Paolo Bonzini. Blame Lee
4852 # E. McMahon (1931-1989) for sed's syntax. :-)
4864 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4868 chmod +x
"$as_me.lineno" ||
4869 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4870 { (exit 1); exit 1; }; }
4872 # Don't try to exec as it changes $[0], causing all sort of problems
4873 # (the dirname of $[0] is not the place where we might find the
4874 # original and so on. Autoconf is especially sensitive to this).
4876 # Exit status is that of the last command.
4881 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4887 ECHO_C
= ECHO_N
= ECHO_T
=
4890 case `echo 'x\c'` in
4891 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4898 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4899 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4905 rm -f conf$$ conf$$.exe conf$$.
file
4906 if test -d conf$$.dir
; then
4907 rm -f conf$$.dir
/conf$$.
file
4913 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4915 # ... but there are two gotchas:
4916 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4917 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4918 # In both cases, we have to default to `cp -p'.
4919 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4921 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4926 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4927 rmdir conf$$.dir
2>/dev
/null
4929 if mkdir
-p .
2>/dev
/null
; then
4932 test -d .
/-p && rmdir .
/-p
4936 if test -x / >/dev
/null
2>&1; then
4939 if ls -dL / >/dev
/null
2>&1; then
4946 if test -d "$1"; then
4952 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4953 ???[sx]*):;;*)false;;esac;fi
4957 as_executable_p
=$as_test_x
4959 # Sed expression to map a string onto a valid CPP name.
4960 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4962 # Sed expression to map a string onto a valid variable name.
4963 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4968 # Save the log message, to keep $[0] and so on meaningful, and to
4969 # report actual input values of CONFIG_FILES etc. instead of their
4970 # values after options handling.
4972 This file was extended by vhostgen $as_me 1.0, which was
4973 generated by GNU Autoconf 2.61. Invocation command line was
4975 CONFIG_FILES = $CONFIG_FILES
4976 CONFIG_HEADERS = $CONFIG_HEADERS
4977 CONFIG_LINKS = $CONFIG_LINKS
4978 CONFIG_COMMANDS = $CONFIG_COMMANDS
4981 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4986 cat >>$CONFIG_STATUS <<_ACEOF
4987 # Files that config.status was made for.
4988 config_files="$ac_config_files"
4989 config_headers="$ac_config_headers"
4993 cat >>$CONFIG_STATUS <<\_ACEOF
4995 \`$as_me' instantiates files from templates according to the
4996 current configuration.
4998 Usage: $0 [OPTIONS] [FILE]...
5000 -h, --help print this help, then exit
5001 -V, --version print version number and configuration settings, then exit
5002 -q, --quiet do not print progress messages
5003 -d, --debug don't remove temporary files
5004 --recheck update $as_me by reconfiguring in the same conditions
5005 --file=FILE[:TEMPLATE]
5006 instantiate the configuration file FILE
5007 --header=FILE[:TEMPLATE]
5008 instantiate the configuration header FILE
5010 Configuration files:
5013 Configuration headers:
5016 Report bugs to <bug-autoconf@gnu.org>."
5019 cat >>$CONFIG_STATUS <<_ACEOF
5021 vhostgen config.status 1.0
5022 configured by $0, generated by GNU Autoconf 2.61,
5023 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5025 Copyright (C) 2006 Free Software Foundation, Inc.
5026 This config.status script is free software; the Free Software Foundation
5027 gives unlimited permission to copy, distribute and modify it."
5034 cat >>$CONFIG_STATUS <<\_ACEOF
5035 # If no file are specified by the user, then we need to provide default
5036 # value. By we need to know if files were specified by the user.
5042 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5043 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5054 # Handling of the options.
5055 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5057 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5058 echo "$ac_cs_version"; exit ;;
5059 --debug |
--debu |
--deb |
--de |
--d |
-d )
5061 --file |
--fil |
--fi |
--f )
5063 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5064 ac_need_defaults
=false
;;
5065 --header |
--heade |
--head |
--hea )
5067 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5068 ac_need_defaults
=false
;;
5070 # Conflict between --help and --header
5071 { echo "$as_me: error: ambiguous option: $1
5072 Try \`$0 --help' for more information." >&2
5073 { (exit 1); exit 1; }; };;
5074 --help |
--hel |
-h )
5075 echo "$ac_cs_usage"; exit ;;
5076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5077 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5081 -*) { echo "$as_me: error: unrecognized option: $1
5082 Try \`$0 --help' for more information." >&2
5083 { (exit 1); exit 1; }; } ;;
5085 *) ac_config_targets
="$ac_config_targets $1"
5086 ac_need_defaults
=false
;;
5092 ac_configure_extra_args
=
5094 if $ac_cs_silent; then
5096 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5100 cat >>$CONFIG_STATUS <<_ACEOF
5101 if \$ac_cs_recheck; then
5102 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5105 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5109 cat >>$CONFIG_STATUS <<\_ACEOF
5113 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5114 ## Running $as_me. ##
5120 cat >>$CONFIG_STATUS <<_ACEOF
5123 cat >>$CONFIG_STATUS <<\_ACEOF
5125 # Handling of arguments.
5126 for ac_config_target
in $ac_config_targets
5128 case $ac_config_target in
5129 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5130 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5132 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5133 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5134 { (exit 1); exit 1; }; };;
5139 # If the user did not use the arguments to specify the items to instantiate,
5140 # then the envvar interface is used. Set only those that are not.
5141 # We use the long form for the default assignment because of an extremely
5142 # bizarre bug on SunOS 4.1.3.
5143 if $ac_need_defaults; then
5144 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5145 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5148 # Have a temporary directory for convenience. Make it in the build tree
5149 # simply because there is no reason against having it here, and in addition,
5150 # creating and moving files from /tmp can sometimes cause problems.
5151 # Hook for its removal unless debugging.
5152 # Note that there is a small window in which the directory will not be cleaned:
5153 # after its creation but before its name has been assigned to `$tmp'.
5157 trap 'exit_status=$?
5158 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5160 trap '{ (exit 1); exit 1; }' 1 2 13 15
5162 # Create a (secure) tmp directory for tmp files.
5165 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5166 test -n "$tmp" && test -d "$tmp"
5169 tmp
=.
/conf$$
-$RANDOM
5170 (umask 077 && mkdir
"$tmp")
5173 echo "$me: cannot create a temporary directory in ." >&2
5174 { (exit 1); exit 1; }
5178 # Set up the sed scripts for CONFIG_FILES section.
5181 # No need to generate the scripts if there are no CONFIG_FILES.
5182 # This happens for instance when ./config.status config.h
5183 if test -n "$CONFIG_FILES"; then
5190 for ac_last_try
in false false false false false
:; do
5191 cat >conf$
$subs.
sed <<_ACEOF
5192 SHELL!$SHELL$ac_delim
5193 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5194 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5195 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5196 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5197 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5198 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5199 exec_prefix!$exec_prefix$ac_delim
5200 prefix!$prefix$ac_delim
5201 program_transform_name!$program_transform_name$ac_delim
5202 bindir!$bindir$ac_delim
5203 sbindir!$sbindir$ac_delim
5204 libexecdir!$libexecdir$ac_delim
5205 datarootdir!$datarootdir$ac_delim
5206 datadir!$datadir$ac_delim
5207 sysconfdir!$sysconfdir$ac_delim
5208 sharedstatedir!$sharedstatedir$ac_delim
5209 localstatedir!$localstatedir$ac_delim
5210 includedir!$includedir$ac_delim
5211 oldincludedir!$oldincludedir$ac_delim
5212 docdir!$docdir$ac_delim
5213 infodir!$infodir$ac_delim
5214 htmldir!$htmldir$ac_delim
5215 dvidir!$dvidir$ac_delim
5216 pdfdir!$pdfdir$ac_delim
5217 psdir!$psdir$ac_delim
5218 libdir!$libdir$ac_delim
5219 localedir!$localedir$ac_delim
5220 mandir!$mandir$ac_delim
5222 ECHO_C!$ECHO_C$ac_delim
5223 ECHO_N!$ECHO_N$ac_delim
5224 ECHO_T!$ECHO_T$ac_delim
5226 build_alias!$build_alias$ac_delim
5227 host_alias!$host_alias$ac_delim
5228 target_alias!$target_alias$ac_delim
5230 CFLAGS!$CFLAGS$ac_delim
5231 LDFLAGS!$LDFLAGS$ac_delim
5232 CPPFLAGS!$CPPFLAGS$ac_delim
5233 ac_ct_CC!$ac_ct_CC$ac_delim
5234 EXEEXT!$EXEEXT$ac_delim
5235 OBJEXT!$OBJEXT$ac_delim
5236 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5237 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5238 INSTALL_DATA!$INSTALL_DATA$ac_delim
5239 MYSQL_CFLAGS!$MYSQL_CFLAGS$ac_delim
5240 MYSQL_LIBS!$MYSQL_LIBS$ac_delim
5241 mysqlconfig!$mysqlconfig$ac_delim
5244 EGREP!$EGREP$ac_delim
5245 LIBOBJS!$LIBOBJS$ac_delim
5246 LTLIBOBJS!$LTLIBOBJS$ac_delim
5249 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
5251 elif $ac_last_try; then
5252 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5253 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5254 { (exit 1); exit 1; }; }
5256 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
5260 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5261 if test -n "$ac_eof"; then
5262 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
5263 ac_eof
=`expr $ac_eof + 1`
5266 cat >>$CONFIG_STATUS <<_ACEOF
5267 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5268 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5271 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5272 s/^/s,@/; s/!/@,|#_!!_#|/
5275 s/'"$ac_delim"'$/,g/; t
5277 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5278 ' >>$CONFIG_STATUS <conf$
$subs.
sed
5279 rm -f conf$
$subs.
sed
5280 cat >>$CONFIG_STATUS <<_ACEOF
5287 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5288 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5289 # trailing colons and then remove the whole line if VPATH becomes empty
5290 # (actually we leave an empty line to preserve line numbers).
5291 if test "x$srcdir" = x.
; then
5292 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5296 s/^\([^=]*=[ ]*\):*/\1/
5302 cat >>$CONFIG_STATUS <<\_ACEOF
5303 fi # test -n "$CONFIG_FILES"
5306 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
5309 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5311 case $ac_mode$ac_tag in
5313 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5314 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5315 { (exit 1); exit 1; }; };;
5316 :[FH
]-) ac_tag
=-:-;;
5317 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5334 -) ac_f
="$tmp/stdin";;
5335 *) # Look for the file first in the build tree, then in the source tree
5336 # (if the path is not absolute). The absolute path cannot be DOS-style,
5337 # because $ac_f cannot contain `:'.
5341 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5343 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5344 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5345 { (exit 1); exit 1; }; };;
5347 ac_file_inputs
="$ac_file_inputs $ac_f"
5350 # Let's still pretend it is `configure' which instantiates (i.e., don't
5351 # use $as_me), people would be surprised to read:
5352 # /* config.h. Generated by config.status. */
5353 configure_input
="Generated from "`IFS=:
5354 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5355 if test x
"$ac_file" != x-
; then
5356 configure_input
="$ac_file. $configure_input"
5357 { echo "$as_me:$LINENO: creating $ac_file" >&5
5358 echo "$as_me: creating $ac_file" >&6;}
5362 *:-:* |
*:-) cat >"$tmp/stdin";;
5367 ac_dir
=`$as_dirname -- "$ac_file" ||
5368 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5369 X"$ac_file" : 'X\(//\)[^/]' \| \
5370 X"$ac_file" : 'X\(//\)$' \| \
5371 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5392 -*) as_dir
=.
/$as_dir;;
5394 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
5398 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5399 *) as_qdir
=$as_dir;;
5401 as_dirs
="'$as_qdir' $as_dirs"
5402 as_dir
=`$as_dirname -- "$as_dir" ||
5403 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5404 X"$as_dir" : 'X\(//\)[^/]' \| \
5405 X"$as_dir" : 'X\(//\)$' \| \
5406 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5425 test -d "$as_dir" && break
5427 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5428 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5429 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5430 { (exit 1); exit 1; }; }; }
5434 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5436 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5437 # A ".." for each directory in $ac_dir_suffix.
5438 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5439 case $ac_top_builddir_sub in
5440 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5441 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5444 ac_abs_top_builddir
=$ac_pwd
5445 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5446 # for backward compatibility:
5447 ac_top_builddir
=$ac_top_build_prefix
5450 .
) # We are building in place.
5452 ac_top_srcdir
=$ac_top_builddir_sub
5453 ac_abs_top_srcdir
=$ac_pwd ;;
5454 [\\/]* | ?
:[\\/]* ) # Absolute name.
5455 ac_srcdir
=$srcdir$ac_dir_suffix;
5456 ac_top_srcdir
=$srcdir
5457 ac_abs_top_srcdir
=$srcdir ;;
5459 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5460 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5461 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5463 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5473 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5474 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5478 cat >>$CONFIG_STATUS <<\_ACEOF
5479 # If the template does not know about datarootdir, expand it.
5480 # FIXME: This hack should be removed a few years after 2.60.
5481 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5483 case `sed -n '/datarootdir/ {
5492 ' $ac_file_inputs` in
5493 *datarootdir
*) ac_datarootdir_seen
=yes;;
5494 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5495 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5496 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5498 cat >>$CONFIG_STATUS <<_ACEOF
5499 ac_datarootdir_hack='
5500 s&@datadir@&$datadir&g
5501 s&@docdir@&$docdir&g
5502 s&@infodir@&$infodir&g
5503 s&@localedir@&$localedir&g
5504 s&@mandir@&$mandir&g
5505 s&\\\${datarootdir}&$datarootdir&g' ;;
5509 # Neutralize VPATH when `$srcdir' = `.'.
5510 # Shell code in configure.ac might set extrasub.
5511 # FIXME: do we really want to maintain this feature?
5512 cat >>$CONFIG_STATUS <<_ACEOF
5516 cat >>$CONFIG_STATUS <<\_ACEOF
5518 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5519 s
&@configure_input@
&$configure_input&;t t
5520 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5521 s
&@srcdir@
&$ac_srcdir&;t t
5522 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5523 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5524 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5525 s
&@builddir@
&$ac_builddir&;t t
5526 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5527 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5528 s
&@INSTALL@
&$ac_INSTALL&;t t
5529 $ac_datarootdir_hack
5530 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
5532 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5533 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5534 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5535 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5536 which seems to be undefined. Please make sure it is defined." >&5
5537 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5538 which seems to be undefined. Please make sure it is defined." >&2;}
5542 -) cat "$tmp/out"; rm -f "$tmp/out";;
5543 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5552 # Transform confdefs.h into a sed script `conftest.defines', that
5553 # substitutes the proper values into config.h.in to produce config.h.
5554 rm -f conftest.defines conftest.
tail
5555 # First, append a space to every undef/define line, to ease matching.
5556 echo 's/$/ /' >conftest.defines
5557 # Then, protect against being on the right side of a sed subst, or in
5558 # an unquoted here document, in config.status. If some macros were
5559 # called several times there might be several #defines for the same
5560 # symbol, which is useless. But do not sort them, since the last
5561 # AC_DEFINE must be honored.
5562 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
5563 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5564 # NAME is the cpp macro being defined, VALUE is the value it is being given.
5565 # PARAMS is the parameter list in the macro definition--in most cases, it's
5566 # just an empty string.
5567 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5568 ac_dB
='\\)[ (].*,\\1define\\2'
5576 s/^[ ]*#[ ]*define[ ][ ]*//
5581 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5582 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5583 ' >>conftest.defines
5585 # Remove the space that was appended to ease matching.
5586 # Then replace #undef with comments. This is necessary, for
5587 # example, in the case of _POSIX_SOURCE, which is predefined and required
5588 # on some systems where configure will not decide to define it.
5589 # (The regexp can be short, since the line contains either #define or #undef.)
5591 s,^[ #]*u.*,/* & */,' >>conftest.defines
5593 # Break up conftest.defines:
5596 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5597 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5598 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5600 ac_in
='$ac_file_inputs'
5601 ac_out
='"$tmp/out1"'
5602 ac_nxt
='"$tmp/out2"'
5606 # Write a here document:
5607 cat >>$CONFIG_STATUS <<_ACEOF
5608 # First, check the format of the line:
5609 cat >"\$tmp/defines.sed" <<\\CEOF
5610 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5611 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5615 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
5617 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5618 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
5619 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
5620 grep . conftest.
tail >/dev
/null ||
break
5621 rm -f conftest.defines
5622 mv conftest.
tail conftest.defines
5624 rm -f conftest.defines conftest.
tail
5626 echo "ac_result=$ac_in" >>$CONFIG_STATUS
5627 cat >>$CONFIG_STATUS <<\_ACEOF
5628 if test x
"$ac_file" != x-
; then
5629 echo "/* $configure_input */" >"$tmp/config.h"
5630 cat "$ac_result" >>"$tmp/config.h"
5631 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
5632 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5633 echo "$as_me: $ac_file is unchanged" >&6;}
5636 mv "$tmp/config.h" $ac_file
5639 echo "/* $configure_input */"
5651 { (exit 0); exit 0; }
5653 chmod +x
$CONFIG_STATUS
5654 ac_clean_files
=$ac_clean_files_save
5657 # configure is writing to config.log, and then calls config.status.
5658 # config.status does its own redirection, appending to config.log.
5659 # Unfortunately, on DOS this fails, as config.log is still kept open
5660 # by configure, so config.status won't be able to write to it; its
5661 # output is simply discarded. So we exec the FD to /dev/null,
5662 # effectively closing config.log, so it can be properly (re)opened and
5663 # appended to by config.status. When coming back to configure, we
5664 # need to make the FD available again.
5665 if test "$no_create" != yes; then
5667 ac_config_status_args
=
5668 test "$silent" = yes &&
5669 ac_config_status_args
="$ac_config_status_args --quiet"
5671 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5673 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5674 # would make configure fail if this is the last instruction.
5675 $ac_cs_success ||
{ (exit 1); exit 1; }