2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="queryperf.c"
589 program_transform_name
627 ac_precious_vars
='build_alias
637 # Initialize some variables set by options.
639 ac_init_version
=false
640 # The variables have the same names as the options, with
641 # dashes changed to underlines.
649 program_transform_name
=s
,x
,x
,
657 # Installation directory options.
658 # These are left unexpanded so users can "make install exec_prefix=/foo"
659 # and all the variables that are supposed to be based on exec_prefix
660 # by default will actually change.
661 # Use braces instead of parens because sh, perl, etc. also accept them.
662 # (The list follows the same order as the GNU Coding Standards.)
663 bindir
='${exec_prefix}/bin'
664 sbindir
='${exec_prefix}/sbin'
665 libexecdir
='${exec_prefix}/libexec'
666 datarootdir
='${prefix}/share'
667 datadir
='${datarootdir}'
668 sysconfdir
='${prefix}/etc'
669 sharedstatedir
='${prefix}/com'
670 localstatedir
='${prefix}/var'
671 includedir
='${prefix}/include'
672 oldincludedir
='/usr/include'
673 docdir
='${datarootdir}/doc/${PACKAGE}'
674 infodir
='${datarootdir}/info'
679 libdir
='${exec_prefix}/lib'
680 localedir
='${datarootdir}/locale'
681 mandir
='${datarootdir}/man'
687 # If the previous option needs an argument, assign it.
688 if test -n "$ac_prev"; then
689 eval $ac_prev=\
$ac_option
695 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
699 # Accept the important Cygnus configure options, so we can diagnose typos.
701 case $ac_dashdash$ac_option in
705 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
707 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
710 -build |
--build |
--buil |
--bui |
--bu)
711 ac_prev
=build_alias
;;
712 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
713 build_alias
=$ac_optarg ;;
715 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
716 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
717 ac_prev
=cache_file
;;
718 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
719 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
720 cache_file
=$ac_optarg ;;
723 cache_file
=config.cache
;;
725 -datadir |
--datadir |
--datadi |
--datad)
727 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
728 datadir
=$ac_optarg ;;
730 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
731 |
--dataroo |
--dataro |
--datar)
732 ac_prev
=datarootdir
;;
733 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
734 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
735 datarootdir
=$ac_optarg ;;
737 -disable-* |
--disable-*)
738 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
739 # Reject names that are not valid shell variable names.
740 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
741 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
742 { (exit 1); exit 1; }; }
743 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
744 eval enable_
$ac_feature=no
;;
746 -docdir |
--docdir |
--docdi |
--doc |
--do)
748 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
751 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
753 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
756 -enable-* |
--enable-*)
757 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
760 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
761 { (exit 1); exit 1; }; }
762 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
763 eval enable_
$ac_feature=\
$ac_optarg ;;
765 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
766 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
767 |
--exec |
--exe |
--ex)
768 ac_prev
=exec_prefix
;;
769 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
770 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
771 |
--exec=* |
--exe=* |
--ex=*)
772 exec_prefix
=$ac_optarg ;;
774 -gas |
--gas |
--ga |
--g)
775 # Obsolete; use --with-gas.
778 -help |
--help |
--hel |
--he |
-h)
780 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
781 ac_init_help
=recursive
;;
782 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
783 ac_init_help
=short
;;
785 -host |
--host |
--hos |
--ho)
786 ac_prev
=host_alias
;;
787 -host=* |
--host=* |
--hos=* |
--ho=*)
788 host_alias
=$ac_optarg ;;
790 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
792 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
794 htmldir
=$ac_optarg ;;
796 -includedir |
--includedir |
--includedi |
--included |
--include \
797 |
--includ |
--inclu |
--incl |
--inc)
798 ac_prev
=includedir
;;
799 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
800 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
801 includedir
=$ac_optarg ;;
803 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
805 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
806 infodir
=$ac_optarg ;;
808 -libdir |
--libdir |
--libdi |
--libd)
810 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
813 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
814 |
--libexe |
--libex |
--libe)
815 ac_prev
=libexecdir
;;
816 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
817 |
--libexe=* |
--libex=* |
--libe=*)
818 libexecdir
=$ac_optarg ;;
820 -localedir |
--localedir |
--localedi |
--localed |
--locale)
822 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
823 localedir
=$ac_optarg ;;
825 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
826 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
827 ac_prev
=localstatedir
;;
828 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
829 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
830 localstatedir
=$ac_optarg ;;
832 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
834 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
838 # Obsolete; use --without-fp.
841 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
842 |
--no-cr |
--no-c |
-n)
845 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
846 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
849 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
850 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
851 |
--oldin |
--oldi |
--old |
--ol |
--o)
852 ac_prev
=oldincludedir
;;
853 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
854 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
855 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
856 oldincludedir
=$ac_optarg ;;
858 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
860 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
863 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
864 |
--program-pre |
--program-pr |
--program-p)
865 ac_prev
=program_prefix
;;
866 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
867 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
868 program_prefix
=$ac_optarg ;;
870 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
871 |
--program-suf |
--program-su |
--program-s)
872 ac_prev
=program_suffix
;;
873 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
874 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
875 program_suffix
=$ac_optarg ;;
877 -program-transform-name |
--program-transform-name \
878 |
--program-transform-nam |
--program-transform-na \
879 |
--program-transform-n |
--program-transform- \
880 |
--program-transform |
--program-transfor \
881 |
--program-transfo |
--program-transf \
882 |
--program-trans |
--program-tran \
883 |
--progr-tra |
--program-tr |
--program-t)
884 ac_prev
=program_transform_name
;;
885 -program-transform-name=* |
--program-transform-name=* \
886 |
--program-transform-nam=* |
--program-transform-na=* \
887 |
--program-transform-n=* |
--program-transform-=* \
888 |
--program-transform=* |
--program-transfor=* \
889 |
--program-transfo=* |
--program-transf=* \
890 |
--program-trans=* |
--program-tran=* \
891 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
892 program_transform_name
=$ac_optarg ;;
894 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
896 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
899 -psdir |
--psdir |
--psdi |
--psd |
--ps)
901 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
904 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
905 |
-silent |
--silent |
--silen |
--sile |
--sil)
908 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
910 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
912 sbindir
=$ac_optarg ;;
914 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
915 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
916 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
918 ac_prev
=sharedstatedir
;;
919 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
920 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
921 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
923 sharedstatedir
=$ac_optarg ;;
925 -site |
--site |
--sit)
927 -site=* |
--site=* |
--sit=*)
930 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
932 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
935 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
936 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
937 ac_prev
=sysconfdir
;;
938 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
939 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
940 sysconfdir
=$ac_optarg ;;
942 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
943 ac_prev
=target_alias
;;
944 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
945 target_alias
=$ac_optarg ;;
947 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
950 -version |
--version |
--versio |
--versi |
--vers |
-V)
954 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
957 { echo "$as_me: error: invalid package name: $ac_package" >&2
958 { (exit 1); exit 1; }; }
959 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
960 eval with_
$ac_package=\
$ac_optarg ;;
962 -without-* |
--without-*)
963 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
966 { echo "$as_me: error: invalid package name: $ac_package" >&2
967 { (exit 1); exit 1; }; }
968 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
969 eval with_
$ac_package=no
;;
972 # Obsolete; use --with-x.
975 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
976 |
--x-incl |
--x-inc |
--x-in |
--x-i)
977 ac_prev
=x_includes
;;
978 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
979 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
980 x_includes
=$ac_optarg ;;
982 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
983 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
984 ac_prev
=x_libraries
;;
985 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
986 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
987 x_libraries
=$ac_optarg ;;
989 -*) { echo "$as_me: error: unrecognized option: $ac_option
990 Try \`$0 --help' for more information." >&2
991 { (exit 1); exit 1; }; }
995 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
998 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
999 { (exit 1); exit 1; }; }
1000 eval $ac_envvar=\
$ac_optarg
1001 export $ac_envvar ;;
1004 # FIXME: should be removed in autoconf 3.0.
1005 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1006 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1007 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1008 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1014 if test -n "$ac_prev"; then
1015 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1016 { echo "$as_me: error: missing argument to $ac_option" >&2
1017 { (exit 1); exit 1; }; }
1020 # Be sure to have absolute directory names.
1021 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1022 datadir sysconfdir sharedstatedir localstatedir includedir \
1023 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1024 libdir localedir mandir
1026 eval ac_val
=\$
$ac_var
1028 [\\/$
]* | ?
:[\\/]* ) continue;;
1029 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1031 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1032 { (exit 1); exit 1; }; }
1035 # There might be people who depend on the old broken behavior: `$host'
1036 # used to hold the argument of --host etc.
1037 # FIXME: To remove some day.
1040 target
=$target_alias
1042 # FIXME: To remove some day.
1043 if test "x$host_alias" != x
; then
1044 if test "x$build_alias" = x
; then
1045 cross_compiling
=maybe
1046 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1047 If a cross compiler is detected then cross compile mode will be used." >&2
1048 elif test "x$build_alias" != "x$host_alias"; then
1054 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1056 test "$silent" = yes && exec 6>/dev
/null
1059 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1060 ac_ls_di
=`ls -di .` &&
1061 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1062 { echo "$as_me: error: Working directory cannot be determined" >&2
1063 { (exit 1); exit 1; }; }
1064 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1065 { echo "$as_me: error: pwd does not report name of working directory" >&2
1066 { (exit 1); exit 1; }; }
1069 # Find the source files, if location was not specified.
1070 if test -z "$srcdir"; then
1071 ac_srcdir_defaulted
=yes
1072 # Try the directory containing this script, then the parent directory.
1073 ac_confdir
=`$as_dirname -- "$0" ||
1074 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1075 X"$0" : 'X\(//\)[^/]' \| \
1076 X"$0" : 'X\(//\)$' \| \
1077 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1097 if test ! -r "$srcdir/$ac_unique_file"; then
1101 ac_srcdir_defaulted
=no
1103 if test ! -r "$srcdir/$ac_unique_file"; then
1104 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1105 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1106 { (exit 1); exit 1; }; }
1108 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1110 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1111 { (exit 1); exit 1; }; }
1113 # When building in place, set srcdir=.
1114 if test "$ac_abs_confdir" = "$ac_pwd"; then
1117 # Remove unnecessary trailing slashes from srcdir.
1118 # Double slashes in file names in object file debugging info
1119 # mess up M-x gdb in Emacs.
1121 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1123 for ac_var
in $ac_precious_vars; do
1124 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1125 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1126 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1127 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1131 # Report the --help message.
1133 if test "$ac_init_help" = "long"; then
1134 # Omit some internal or obsolete options to make the list less imposing.
1135 # This message is too long to be a string in the A/UX 3.1 sh.
1137 \`configure' configures this package to adapt to many kinds of systems.
1139 Usage: $0 [OPTION]... [VAR=VALUE]...
1141 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1142 VAR=VALUE. See below for descriptions of some of the useful variables.
1144 Defaults for the options are specified in brackets.
1147 -h, --help display this help and exit
1148 --help=short display options specific to this package
1149 --help=recursive display the short help of all the included packages
1150 -V, --version display version information and exit
1151 -q, --quiet, --silent do not print \`checking...' messages
1152 --cache-file=FILE cache test results in FILE [disabled]
1153 -C, --config-cache alias for \`--cache-file=config.cache'
1154 -n, --no-create do not create output files
1155 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1157 Installation directories:
1158 --prefix=PREFIX install architecture-independent files in PREFIX
1159 [$ac_default_prefix]
1160 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1163 By default, \`make install' will install all the files in
1164 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1165 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1166 for instance \`--prefix=\$HOME'.
1168 For better control, use the options below.
1170 Fine tuning of the installation directories:
1171 --bindir=DIR user executables [EPREFIX/bin]
1172 --sbindir=DIR system admin executables [EPREFIX/sbin]
1173 --libexecdir=DIR program executables [EPREFIX/libexec]
1174 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1175 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1176 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1177 --libdir=DIR object code libraries [EPREFIX/lib]
1178 --includedir=DIR C header files [PREFIX/include]
1179 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1180 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1181 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1182 --infodir=DIR info documentation [DATAROOTDIR/info]
1183 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1184 --mandir=DIR man documentation [DATAROOTDIR/man]
1185 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1186 --htmldir=DIR html documentation [DOCDIR]
1187 --dvidir=DIR dvi documentation [DOCDIR]
1188 --pdfdir=DIR pdf documentation [DOCDIR]
1189 --psdir=DIR ps documentation [DOCDIR]
1196 if test -n "$ac_init_help"; then
1200 Some influential environment variables
:
1201 CC C compiler
command
1202 CFLAGS C compiler flags
1203 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1204 nonstandard directory
<lib dir
>
1205 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1206 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1207 you have headers
in a nonstandard directory
<include dir
>
1209 Use these variables to override the choices made by
`configure' or to help
1210 it to find libraries and programs with nonstandard names/locations.
1216 if test "$ac_init_help" = "recursive"; then
1217 # If there are subdirs, report their specific --help.
1218 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1219 test -d "$ac_dir" || continue
1223 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1225 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1226 # A ".." for each directory in $ac_dir_suffix.
1227 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1228 case $ac_top_builddir_sub in
1229 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1230 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1233 ac_abs_top_builddir=$ac_pwd
1234 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1235 # for backward compatibility:
1236 ac_top_builddir=$ac_top_build_prefix
1239 .) # We are building in place.
1241 ac_top_srcdir=$ac_top_builddir_sub
1242 ac_abs_top_srcdir=$ac_pwd ;;
1243 [\\/]* | ?:[\\/]* ) # Absolute name.
1244 ac_srcdir=$srcdir$ac_dir_suffix;
1245 ac_top_srcdir=$srcdir
1246 ac_abs_top_srcdir=$srcdir ;;
1248 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1249 ac_top_srcdir=$ac_top_build_prefix$srcdir
1250 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1252 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1254 cd "$ac_dir" || { ac_status=$?; continue; }
1255 # Check for guested configure.
1256 if test -f "$ac_srcdir/configure.gnu"; then
1258 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1259 elif test -f "$ac_srcdir/configure"; then
1261 $SHELL "$ac_srcdir/configure" --help=recursive
1263 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1265 cd "$ac_pwd" || { ac_status=$?; break; }
1269 test -n "$ac_init_help" && exit $ac_status
1270 if $ac_init_version; then
1273 generated by GNU Autoconf 2.61
1275 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1276 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1277 This configure script is free software; the Free Software Foundation
1278 gives unlimited permission to copy, distribute and modify it.
1282 cat >config.log <<_ACEOF
1283 This file contains any messages produced by compilers while
1284 running configure, to aid debugging if configure makes a mistake.
1286 It was created by $as_me, which was
1287 generated by GNU Autoconf 2.61. Invocation command line was
1299 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1300 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1301 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1302 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1303 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1305 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1306 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1308 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1309 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1310 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1311 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1312 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1313 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1314 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1322 test -z "$as_dir" && as_dir=.
1323 echo "PATH: $as_dir"
1339 # Keep a trace of the command line.
1340 # Strip out --no-create and --no-recursion so they do not pile up.
1341 # Strip out --silent because we don't want to record it for future runs.
1342 # Also quote any args containing shell meta-characters.
1343 # Make two passes to allow for proper duplicate-argument suppression.
1347 ac_must_keep_next=false
1353 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1354 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1355 | -silent | --silent | --silen | --sile | --sil)
1358 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1361 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1363 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1364 if test $ac_must_keep_next = true; then
1365 ac_must_keep_next=false # Got value, back to normal.
1368 *=* | --config-cache | -C | -disable-* | --disable-* \
1369 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1370 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1371 | -with-* | --with-* | -without-* | --without-* | --x)
1372 case "$ac_configure_args0 " in
1373 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1376 -* ) ac_must_keep_next=true ;;
1379 ac_configure_args="$ac_configure_args '$ac_arg'"
1384 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1385 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1387 # When interrupted or exit'd, cleanup temporary files, and complete
1388 # config.log. We remove comments because anyway the quotes in there
1389 # would cause problems or look ugly.
1390 # WARNING: Use '\'' to represent an apostrophe within the trap.
1391 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1392 trap 'exit_status=$?
1393 # Save into config.log some information that might help in debugging.
1398 ## ---------------- ##
1399 ## Cache variables. ##
1400 ## ---------------- ##
1403 # The following way of writing the cache mishandles newlines in values,
1405 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1406 eval ac_val=\$$ac_var
1410 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1411 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1414 _ | IFS | as_nl) ;; #(
1415 *) $as_unset $ac_var ;;
1420 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1421 *${as_nl}ac_space=\ *)
1423 "s/'\''/'\''\\\\'\'''\''/g;
1424 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1427 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1435 ## ----------------- ##
1436 ## Output variables. ##
1437 ## ----------------- ##
1440 for ac_var in $ac_subst_vars
1442 eval ac_val=\$$ac_var
1444 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1446 echo "$ac_var='\''$ac_val'\''"
1450 if test -n "$ac_subst_files"; then
1452 ## ------------------- ##
1453 ## File substitutions. ##
1454 ## ------------------- ##
1457 for ac_var in $ac_subst_files
1459 eval ac_val=\$$ac_var
1461 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1463 echo "$ac_var='\''$ac_val'\''"
1468 if test -s confdefs.h; then
1478 test "$ac_signal" != 0 &&
1479 echo "$as_me: caught signal $ac_signal"
1480 echo "$as_me: exit $exit_status"
1482 rm -f core *.core core.conftest.* &&
1483 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1486 for ac_signal in 1 2 13 15; do
1487 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1491 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1492 rm -f -r conftest* confdefs.h
1494 # Predefined preprocessor variables.
1496 cat >>confdefs.h <<_ACEOF
1497 #define PACKAGE_NAME "$PACKAGE_NAME"
1501 cat >>confdefs.h <<_ACEOF
1502 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1506 cat >>confdefs.h <<_ACEOF
1507 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1511 cat >>confdefs.h <<_ACEOF
1512 #define PACKAGE_STRING "$PACKAGE_STRING"
1516 cat >>confdefs.h <<_ACEOF
1517 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1521 # Let the site file select an alternate cache file if it wants to.
1522 # Prefer explicitly selected file to automatically selected ones.
1523 if test -n "$CONFIG_SITE"; then
1524 set x "$CONFIG_SITE"
1525 elif test "x$prefix" != xNONE; then
1526 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1528 set x "$ac_default_prefix/share/config.site" \
1529 "$ac_default_prefix/etc/config.site"
1534 if test -r "$ac_site_file"; then
1535 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1536 echo "$as_me: loading site script $ac_site_file" >&6;}
1537 sed 's/^/| /' "$ac_site_file" >&5
1542 if test -r "$cache_file"; then
1543 # Some versions of bash will fail to source /dev/null (special
1544 # files actually), so we avoid doing that.
1545 if test -f "$cache_file"; then
1546 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1547 echo "$as_me: loading cache $cache_file" >&6;}
1549 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1550 *) . "./$cache_file";;
1554 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1555 echo "$as_me: creating cache $cache_file" >&6;}
1559 # Check that the precious variables saved in the cache have kept the same
1561 ac_cache_corrupted=false
1562 for ac_var in $ac_precious_vars; do
1563 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1564 eval ac_new_set=\$ac_env_${ac_var}_set
1565 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1566 eval ac_new_val=\$ac_env_${ac_var}_value
1567 case $ac_old_set,$ac_new_set in
1569 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1570 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1571 ac_cache_corrupted=: ;;
1573 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1574 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1575 ac_cache_corrupted=: ;;
1578 if test "x$ac_old_val" != "x$ac_new_val"; then
1579 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1580 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1581 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1582 echo "$as_me: former value
: $ac_old_val" >&2;}
1583 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1584 echo "$as_me: current value
: $ac_new_val" >&2;}
1585 ac_cache_corrupted=:
1588 # Pass precious variables to config.status.
1589 if test "$ac_new_set" = set; then
1591 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1592 *) ac_arg=$ac_var=$ac_new_val ;;
1594 case " $ac_configure_args " in
1595 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1596 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1600 if $ac_cache_corrupted; then
1601 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1602 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1603 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1604 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1605 { (exit 1); exit 1; }; }
1625 ac_cpp='$CPP $CPPFLAGS'
1626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1635 ac_cpp='$CPP $CPPFLAGS'
1636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1639 if test -n "$ac_tool_prefix"; then
1640 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1641 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1642 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1644 if test "${ac_cv_prog_CC+set}" = set; then
1645 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 if test -n "$CC"; then
1648 ac_cv_prog_CC="$CC" # Let the user override the test.
1650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1654 test -z "$as_dir" && as_dir=.
1655 for ac_exec_ext in '' $ac_executable_extensions; do
1656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1657 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 if test -n "$CC"; then
1669 { echo "$as_me:$LINENO: result: $CC" >&5
1670 echo "${ECHO_T}$CC" >&6; }
1672 { echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6; }
1678 if test -z "$ac_cv_prog_CC"; then
1680 # Extract the first word of "gcc", so it can be a program name with args.
1681 set dummy gcc; ac_word=$2
1682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1684 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1687 if test -n "$ac_ct_CC"; then
1688 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1694 test -z "$as_dir" && as_dir=.
1695 for ac_exec_ext in '' $ac_executable_extensions; do
1696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1697 ac_cv_prog_ac_ct_CC="gcc"
1698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1707 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1708 if test -n "$ac_ct_CC"; then
1709 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1710 echo "${ECHO_T}$ac_ct_CC" >&6; }
1712 { echo "$as_me:$LINENO: result: no" >&5
1713 echo "${ECHO_T}no" >&6; }
1716 if test "x$ac_ct_CC" = x; then
1719 case $cross_compiling:$ac_tool_warned in
1721 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1722 whose name does not start with the host triplet. If you think this
1723 configuration is useful to you, please write to autoconf@gnu.org." >&5
1724 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1725 whose name does not start with the host triplet. If you think this
1726 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1727 ac_tool_warned=yes ;;
1735 if test -z "$CC"; then
1736 if test -n "$ac_tool_prefix"; then
1737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1738 set dummy ${ac_tool_prefix}cc; ac_word=$2
1739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1741 if test "${ac_cv_prog_CC+set}" = set; then
1742 echo $ECHO_N "(cached) $ECHO_C" >&6
1744 if test -n "$CC"; then
1745 ac_cv_prog_CC="$CC" # Let the user override the test.
1747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1751 test -z "$as_dir" && as_dir=.
1752 for ac_exec_ext in '' $ac_executable_extensions; do
1753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1754 ac_cv_prog_CC="${ac_tool_prefix}cc"
1755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1765 if test -n "$CC"; then
1766 { echo "$as_me:$LINENO: result: $CC" >&5
1767 echo "${ECHO_T}$CC" >&6; }
1769 { echo "$as_me:$LINENO: result: no" >&5
1770 echo "${ECHO_T}no" >&6; }
1776 if test -z "$CC"; then
1777 # Extract the first word of "cc", so it can be a program name with args.
1778 set dummy cc; ac_word=$2
1779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1781 if test "${ac_cv_prog_CC+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 if test -n "$CC"; then
1785 ac_cv_prog_CC="$CC" # Let the user override the test.
1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 test -z "$as_dir" && as_dir=.
1793 for ac_exec_ext in '' $ac_executable_extensions; do
1794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1796 ac_prog_rejected=yes
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1807 if test $ac_prog_rejected = yes; then
1808 # We found a bogon in the path, so make sure we never use it.
1809 set dummy $ac_cv_prog_CC
1811 if test $# != 0; then
1812 # We chose a different compiler from the bogus one.
1813 # However, it has the same basename, so the bogon will be chosen
1814 # first if we set CC to just the basename; use the full file name.
1816 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1822 if test -n "$CC"; then
1823 { echo "$as_me:$LINENO: result: $CC" >&5
1824 echo "${ECHO_T}$CC" >&6; }
1826 { echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6; }
1832 if test -z "$CC"; then
1833 if test -n "$ac_tool_prefix"; then
1834 for ac_prog in cl.exe
1836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1840 if test "${ac_cv_prog_CC+set}" = set; then
1841 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 if test -n "$CC"; then
1844 ac_cv_prog_CC="$CC" # Let the user override the test.
1846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850 test -z "$as_dir" && as_dir=.
1851 for ac_exec_ext in '' $ac_executable_extensions; do
1852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 if test -n "$CC"; then
1865 { echo "$as_me:$LINENO: result: $CC" >&5
1866 echo "${ECHO_T}$CC" >&6; }
1868 { echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6; }
1873 test -n "$CC" && break
1876 if test -z "$CC"; then
1878 for ac_prog in cl.exe
1880 # Extract the first word of "$ac_prog", so it can be a program name with args.
1881 set dummy $ac_prog; ac_word=$2
1882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 if test -n "$ac_ct_CC"; then
1888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir=.
1895 for ac_exec_ext in '' $ac_executable_extensions; do
1896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1897 ac_cv_prog_ac_ct_CC="$ac_prog"
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1908 if test -n "$ac_ct_CC"; then
1909 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1910 echo "${ECHO_T}$ac_ct_CC" >&6; }
1912 { echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6; }
1917 test -n "$ac_ct_CC" && break
1920 if test "x$ac_ct_CC" = x; then
1923 case $cross_compiling:$ac_tool_warned in
1925 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1926 whose name does not start with the host triplet. If you think this
1927 configuration is useful to you, please write to autoconf@gnu.org." >&5
1928 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1929 whose name does not start with the host triplet. If you think this
1930 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1931 ac_tool_warned=yes ;;
1940 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1941 See \`config.log
' for more details." >&5
1942 echo "$as_me: error: no acceptable C compiler found in \$PATH
1943 See \`config.log' for more details.
" >&2;}
1944 { (exit 1); exit 1; }; }
1946 # Provide some information about the compiler.
1947 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
1948 ac_compiler=`set X $ac_compile; echo $2`
1949 { (ac_try="$ac_compiler --version >&5"
1951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1952 *) ac_try_echo=$ac_try;;
1954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
1955 (eval "$ac_compiler --version >&5") 2>&5
1957 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1958 (exit $ac_status); }
1959 { (ac_try="$ac_compiler -v >&5"
1961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1962 *) ac_try_echo=$ac_try;;
1964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
1965 (eval "$ac_compiler -v >&5") 2>&5
1967 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1968 (exit $ac_status); }
1969 { (ac_try="$ac_compiler -V >&5"
1971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1972 *) ac_try_echo=$ac_try;;
1974 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
1975 (eval "$ac_compiler -V >&5") 2>&5
1977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1978 (exit $ac_status); }
1980 cat >conftest.$ac_ext <<_ACEOF
1983 cat confdefs.h >>conftest.$ac_ext
1984 cat >>conftest.$ac_ext <<_ACEOF
1985 /* end confdefs.h. */
1995 ac_clean_files_save=$ac_clean_files
1996 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
1997 # Try to create an executable without -o first, disregard a.out.
1998 # It will help us diagnose broken compilers, and finding out an intuition
2000 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2001 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2002 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2004 # List of possible output files, starting from the most likely.
2005 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2006 # only as a last resort. b.out is created by i960 compilers.
2007 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2009 # The IRIX 6 linker writes into existing files which may not be
2010 # executable, retaining their permissions. Remove them first so a
2011 # subsequent execution test works.
2013 for ac_file in $ac_files
2016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2017 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2022 if { (ac_try="$ac_link_default"
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2028 (eval "$ac_link_default") 2>&5
2030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2031 (exit $ac_status); }; then
2032 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2033 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2034 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2035 # so that the user can short-circuit this test for compilers unknown to
2037 for ac_file in $ac_files ''
2039 test -f "$ac_file" || continue
2041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2044 # We found the default executable, but exeext='' is most
2048 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2050 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2052 # We set ac_cv_exeext here because the later test for it is not
2053 # safe: cross compilers may not add the suffix if given an `-o'
2054 # argument, so we may need to know it at that point already.
2055 # Even if this section looks crufty: it has the advantage of
2062 test "$ac_cv_exeext" = no && ac_cv_exeext=
2068 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2069 echo "${ECHO_T}$ac_file" >&6; }
2070 if test -z "$ac_file"; then
2071 echo "$as_me: failed program was
:" >&5
2072 sed 's/^/| /' conftest.$ac_ext >&5
2074 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2075 See \
`config.log' for more details." >&5
2076 echo "$as_me: error: C compiler cannot create executables
2077 See \`config.log
' for more details." >&2;}
2078 { (exit 77); exit 77; }; }
2081 ac_exeext=$ac_cv_exeext
2083 # Check that the compiler produces executables we can run. If not, either
2084 # the compiler is broken, or we cross compile.
2085 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2086 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2087 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2088 # If not cross compiling, check that we can run a simple program.
2089 if test "$cross_compiling" != yes; then
2090 if { ac_try='.
/$ac_file'
2091 { (case "(($ac_try" in
2092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2093 *) ac_try_echo=$ac_try;;
2095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2096 (eval "$ac_try") 2>&5
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); }; }; then
2102 if test "$cross_compiling" = maybe; then
2105 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2106 If you meant to cross compile, use \`--host'.
2107 See \
`config.log' for more details." >&5
2108 echo "$as_me: error: cannot run C compiled programs.
2109 If you meant to cross compile, use \`--host'.
2110 See \`config.log' for more details.
" >&2;}
2111 { (exit 1); exit 1; }; }
2115 { echo "$as_me:$LINENO: result
: yes" >&5
2116 echo "${ECHO_T}yes" >&6; }
2118 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2119 ac_clean_files=$ac_clean_files_save
2120 # Check that the compiler produces executables we can run. If not, either
2121 # the compiler is broken, or we cross compile.
2122 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2123 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2124 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2125 echo "${ECHO_T}$cross_compiling" >&6; }
2127 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2128 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2129 if { (ac_try="$ac_link"
2131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2132 *) ac_try_echo=$ac_try;;
2134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2135 (eval "$ac_link") 2>&5
2137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2138 (exit $ac_status); }; then
2139 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2140 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2141 # work properly (i.e., refer to `conftest.exe'), while it won't with
2143 for ac_file in conftest.exe conftest conftest.*; do
2144 test -f "$ac_file" || continue
2146 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2147 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2153 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2154 See \
`config.log' for more details." >&5
2155 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2156 See \`config.log
' for more details." >&2;}
2157 { (exit 1); exit 1; }; }
2160 rm -f conftest$ac_cv_exeext
2161 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2162 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2164 rm -f conftest.$ac_ext
2165 EXEEXT=$ac_cv_exeext
2167 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2168 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2169 if test "${ac_cv_objext+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 cat >conftest.$ac_ext <<_ACEOF
2175 cat confdefs.h >>conftest.$ac_ext
2176 cat >>conftest.$ac_ext <<_ACEOF
2177 /* end confdefs.h. */
2187 rm -f conftest.o conftest.obj
2188 if { (ac_try="$ac_compile"
2190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2191 *) ac_try_echo=$ac_try;;
2193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2194 (eval "$ac_compile") 2>&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; then
2198 for ac_file in conftest.o conftest.obj conftest.*; do
2199 test -f "$ac_file" || continue;
2201 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2202 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2207 echo "$as_me: failed program was:" >&5
2208 sed 's
/^
/|
/' conftest.$ac_ext >&5
2210 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2211 See \`config.log' for more details.
" >&5
2212 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2213 See \
`config.log' for more details." >&2;}
2214 { (exit 1); exit 1; }; }
2217 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2219 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2220 echo "${ECHO_T}$ac_cv_objext" >&6; }
2221 OBJEXT=$ac_cv_objext
2223 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2224 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2225 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 cat >conftest.$ac_ext <<_ACEOF
2231 cat confdefs.h >>conftest.$ac_ext
2232 cat >>conftest.$ac_ext <<_ACEOF
2233 /* end confdefs.h. */
2246 rm -f conftest.$ac_objext
2247 if { (ac_try="$ac_compile"
2249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2250 *) ac_try_echo
=$ac_try;;
2252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2253 (eval "$ac_compile") 2>conftest.er1
2255 grep -v '^ *+' conftest.er1
>conftest.err
2257 cat conftest.err
>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); } && {
2260 test -z "$ac_c_werror_flag" ||
2261 test ! -s conftest.err
2262 } && test -s conftest.
$ac_objext; then
2265 echo "$as_me: failed program was:" >&5
2266 sed 's/^/| /' conftest.
$ac_ext >&5
2271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2272 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2275 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2276 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2277 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2278 ac_test_CFLAGS
=${CFLAGS+set}
2279 ac_save_CFLAGS
=$CFLAGS
2280 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2281 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2282 if test "${ac_cv_prog_cc_g+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 ac_save_c_werror_flag
=$ac_c_werror_flag
2286 ac_c_werror_flag
=yes
2289 cat >conftest.
$ac_ext <<_ACEOF
2292 cat confdefs.h
>>conftest.
$ac_ext
2293 cat >>conftest.
$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2304 rm -f conftest.
$ac_objext
2305 if { (ac_try
="$ac_compile"
2307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2308 *) ac_try_echo=$ac_try;;
2310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2311 (eval "$ac_compile") 2>conftest.er1
2313 grep -v '^ *+' conftest.er1 >conftest.err
2315 cat conftest.err >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); } && {
2318 test -z "$ac_c_werror_flag" ||
2319 test ! -s conftest.err
2320 } && test -s conftest.$ac_objext; then
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2327 cat >conftest.$ac_ext <<_ACEOF
2330 cat confdefs.h >>conftest.$ac_ext
2331 cat >>conftest.$ac_ext <<_ACEOF
2332 /* end confdefs.h. */
2342 rm -f conftest.$ac_objext
2343 if { (ac_try="$ac_compile"
2345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2346 *) ac_try_echo
=$ac_try;;
2348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2349 (eval "$ac_compile") 2>conftest.er1
2351 grep -v '^ *+' conftest.er1
>conftest.err
2353 cat conftest.err
>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); } && {
2356 test -z "$ac_c_werror_flag" ||
2357 test ! -s conftest.err
2358 } && test -s conftest.
$ac_objext; then
2361 echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.
$ac_ext >&5
2364 ac_c_werror_flag
=$ac_save_c_werror_flag
2366 cat >conftest.
$ac_ext <<_ACEOF
2369 cat confdefs.h
>>conftest.
$ac_ext
2370 cat >>conftest.
$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2381 rm -f conftest.
$ac_objext
2382 if { (ac_try
="$ac_compile"
2384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2385 *) ac_try_echo=$ac_try;;
2387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2388 (eval "$ac_compile") 2>conftest.er1
2390 grep -v '^ *+' conftest.er1 >conftest.err
2392 cat conftest.err >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } && {
2395 test -z "$ac_c_werror_flag" ||
2396 test ! -s conftest.err
2397 } && test -s conftest.$ac_objext; then
2400 echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.$ac_ext >&5
2406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413 ac_c_werror_flag=$ac_save_c_werror_flag
2415 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2416 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2417 if test "$ac_test_CFLAGS" = set; then
2418 CFLAGS=$ac_save_CFLAGS
2419 elif test $ac_cv_prog_cc_g = yes; then
2420 if test "$GCC" = yes; then
2426 if test "$GCC" = yes; then
2432 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2433 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2434 if test "${ac_cv_prog_cc_c89+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 ac_cv_prog_cc_c89=no
2439 cat >conftest.$ac_ext <<_ACEOF
2442 cat confdefs.h >>conftest.$ac_ext
2443 cat >>conftest.$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2447 #include <sys/types.h>
2448 #include <sys/stat.h>
2449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2450 struct buf { int x; };
2451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2452 static char *e (p, i)
2458 static char *f (char * (*g) (char **, int), char **p, ...)
2463 s = g (p, va_arg (v,int));
2468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2469 function prototypes and stuff, but not '\xHH' hex character constants.
2470 These don't provoke an error unfortunately, instead are silently treated
2471 as 'x'. The following induces an error, until -std is added to get
2472 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2473 array size at least. It's necessary to write '\x00'==0 to get something
2474 that's true only with -std. */
2475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2478 inside strings and character constants. */
2480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2482 int test (int i, double x);
2483 struct s1 {int (*f) (int a);};
2484 struct s2 {int (*f) (double a);};
2485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2497 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2499 CC="$ac_save_CC $ac_arg"
2500 rm -f conftest.$ac_objext
2501 if { (ac_try="$ac_compile"
2503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2504 *) ac_try_echo
=$ac_try;;
2506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2507 (eval "$ac_compile") 2>conftest.er1
2509 grep -v '^ *+' conftest.er1
>conftest.err
2511 cat conftest.err
>&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); } && {
2514 test -z "$ac_c_werror_flag" ||
2515 test ! -s conftest.err
2516 } && test -s conftest.
$ac_objext; then
2517 ac_cv_prog_cc_c89
=$ac_arg
2519 echo "$as_me: failed program was:" >&5
2520 sed 's/^/| /' conftest.
$ac_ext >&5
2525 rm -f core conftest.err conftest.
$ac_objext
2526 test "x$ac_cv_prog_cc_c89" != "xno" && break
2528 rm -f conftest.
$ac_ext
2533 case "x$ac_cv_prog_cc_c89" in
2535 { echo "$as_me:$LINENO: result: none needed" >&5
2536 echo "${ECHO_T}none needed" >&6; } ;;
2538 { echo "$as_me:$LINENO: result: unsupported" >&5
2539 echo "${ECHO_T}unsupported" >&6; } ;;
2541 CC
="$CC $ac_cv_prog_cc_c89"
2542 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2543 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2548 ac_cpp
='$CPP $CPPFLAGS'
2549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2558 ac_config_headers
="$ac_config_headers config.h"
2561 { echo "$as_me:$LINENO: checking for library containing res_mkquery" >&5
2562 echo $ECHO_N "checking for library containing res_mkquery... $ECHO_C" >&6; }
2563 if test "${ac_cv_search_res_mkquery+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 ac_func_search_save_LIBS
=$LIBS
2567 cat >conftest.
$ac_ext <<_ACEOF
2570 cat confdefs.h
>>conftest.
$ac_ext
2571 cat >>conftest.
$ac_ext <<_ACEOF
2572 /* end confdefs.h. */
2574 /* Override any GCC internal prototype to avoid an error.
2575 Use char because int might match the return type of a GCC
2576 builtin and then its argument prototype would still apply. */
2580 char res_mkquery ();
2584 return res_mkquery ();
2589 for ac_lib
in '' resolv
bind; do
2590 if test -z "$ac_lib"; then
2591 ac_res
="none required"
2594 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2596 rm -f conftest.
$ac_objext conftest
$ac_exeext
2597 if { (ac_try
="$ac_link"
2599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2603 (eval "$ac_link") 2>conftest.er1
2605 grep -v '^ *+' conftest.er1 >conftest.err
2607 cat conftest.err >&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); } && {
2610 test -z "$ac_c_werror_flag" ||
2611 test ! -s conftest.err
2612 } && test -s conftest$ac_exeext &&
2613 $as_test_x conftest$ac_exeext; then
2614 ac_cv_search_res_mkquery=$ac_res
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.$ac_ext >&5
2622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2624 if test "${ac_cv_search_res_mkquery+set}" = set; then
2628 if test "${ac_cv_search_res_mkquery+set}" = set; then
2631 ac_cv_search_res_mkquery=no
2634 LIBS=$ac_func_search_save_LIBS
2636 { echo "$as_me:$LINENO: result: $ac_cv_search_res_mkquery" >&5
2637 echo "${ECHO_T}$ac_cv_search_res_mkquery" >&6; }
2638 ac_res=$ac_cv_search_res_mkquery
2639 if test "$ac_res" != no; then
2640 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2644 { echo "$as_me:$LINENO: checking for library containing __res_mkquery" >&5
2645 echo $ECHO_N "checking for library containing __res_mkquery... $ECHO_C" >&6; }
2646 if test "${ac_cv_search___res_mkquery+set}" = set; then
2647 echo $ECHO_N "(cached) $ECHO_C" >&6
2649 ac_func_search_save_LIBS=$LIBS
2650 cat >conftest.$ac_ext <<_ACEOF
2653 cat confdefs.h >>conftest.$ac_ext
2654 cat >>conftest.$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2657 /* Override any GCC internal prototype to avoid an error.
2658 Use char because int might match the return type of a GCC
2659 builtin and then its argument prototype would still apply. */
2663 char __res_mkquery ();
2667 return __res_mkquery ();
2672 for ac_lib in '' resolv bind; do
2673 if test -z "$ac_lib"; then
2674 ac_res="none required"
2677 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2679 rm -f conftest.$ac_objext conftest$ac_exeext
2680 if { (ac_try="$ac_link"
2682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2683 *) ac_try_echo
=$ac_try;;
2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2686 (eval "$ac_link") 2>conftest.er1
2688 grep -v '^ *+' conftest.er1
>conftest.err
2690 cat conftest.err
>&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } && {
2693 test -z "$ac_c_werror_flag" ||
2694 test ! -s conftest.err
2695 } && test -s conftest
$ac_exeext &&
2696 $as_test_x conftest
$ac_exeext; then
2697 ac_cv_search___res_mkquery
=$ac_res
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.
$ac_ext >&5
2705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
2707 if test "${ac_cv_search___res_mkquery+set}" = set; then
2711 if test "${ac_cv_search___res_mkquery+set}" = set; then
2714 ac_cv_search___res_mkquery
=no
2717 LIBS
=$ac_func_search_save_LIBS
2719 { echo "$as_me:$LINENO: result: $ac_cv_search___res_mkquery" >&5
2720 echo "${ECHO_T}$ac_cv_search___res_mkquery" >&6; }
2721 ac_res
=$ac_cv_search___res_mkquery
2722 if test "$ac_res" != no
; then
2723 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
2728 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
2729 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
2730 if test "${ac_cv_lib_socket_socket+set}" = set; then
2731 echo $ECHO_N "(cached) $ECHO_C" >&6
2733 ac_check_lib_save_LIBS
=$LIBS
2734 LIBS
="-lsocket $LIBS"
2735 cat >conftest.
$ac_ext <<_ACEOF
2738 cat confdefs.h
>>conftest.
$ac_ext
2739 cat >>conftest.
$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2742 /* Override any GCC internal prototype to avoid an error.
2743 Use char because int might match the return type of a GCC
2744 builtin and then its argument prototype would still apply. */
2757 rm -f conftest.
$ac_objext conftest
$ac_exeext
2758 if { (ac_try
="$ac_link"
2760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_link") 2>conftest.er1
2766 grep -v '^ *+' conftest.er1 >conftest.err
2768 cat conftest.err >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); } && {
2771 test -z "$ac_c_werror_flag" ||
2772 test ! -s conftest.err
2773 } && test -s conftest$ac_exeext &&
2774 $as_test_x conftest$ac_exeext; then
2775 ac_cv_lib_socket_socket=yes
2777 echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2780 ac_cv_lib_socket_socket=no
2783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2784 conftest$ac_exeext conftest.$ac_ext
2785 LIBS=$ac_check_lib_save_LIBS
2787 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
2788 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
2789 if test $ac_cv_lib_socket_socket = yes; then
2790 cat >>confdefs.h <<_ACEOF
2791 #define HAVE_LIBSOCKET 1
2794 LIBS="-lsocket $LIBS"
2799 { echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
2800 echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
2801 if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 ac_check_lib_save_LIBS=$LIBS
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2813 /* Override any GCC internal prototype to avoid an error.
2814 Use char because int might match the return type of a GCC
2815 builtin and then its argument prototype would still apply. */
2823 return inet_ntoa ();
2828 rm -f conftest.$ac_objext conftest$ac_exeext
2829 if { (ac_try="$ac_link"
2831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2832 *) ac_try_echo
=$ac_try;;
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2835 (eval "$ac_link") 2>conftest.er1
2837 grep -v '^ *+' conftest.er1
>conftest.err
2839 cat conftest.err
>&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); } && {
2842 test -z "$ac_c_werror_flag" ||
2843 test ! -s conftest.err
2844 } && test -s conftest
$ac_exeext &&
2845 $as_test_x conftest
$ac_exeext; then
2846 ac_cv_lib_nsl_inet_ntoa
=yes
2848 echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.
$ac_ext >&5
2851 ac_cv_lib_nsl_inet_ntoa
=no
2854 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
2855 conftest
$ac_exeext conftest.
$ac_ext
2856 LIBS
=$ac_check_lib_save_LIBS
2858 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
2859 echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
2860 if test $ac_cv_lib_nsl_inet_ntoa = yes; then
2861 cat >>confdefs.h
<<_ACEOF
2862 #define HAVE_LIBNSL 1
2870 for ac_func
in gethostbyname2
2872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2873 { echo "$as_me:$LINENO: checking for $ac_func" >&5
2874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
2875 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 cat >conftest.
$ac_ext <<_ACEOF
2881 cat confdefs.h
>>conftest.
$ac_ext
2882 cat >>conftest.
$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2886 #define $ac_func innocuous_$ac_func
2888 /* System header to define __stub macros and hopefully few prototypes,
2889 which can conflict with char $ac_func (); below.
2890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2891 <limits.h> exists even on freestanding compilers. */
2894 # include <limits.h>
2896 # include <assert.h>
2901 /* Override any GCC internal prototype to avoid an error.
2902 Use char because int might match the return type of a GCC
2903 builtin and then its argument prototype would still apply. */
2908 /* The GNU C library defines this for functions which it implements
2909 to always fail with ENOSYS. Some functions are actually named
2910 something starting with __ and the normal name is an alias. */
2911 #if defined __stub_$ac_func || defined __stub___$ac_func
2923 rm -f conftest.
$ac_objext conftest
$ac_exeext
2924 if { (ac_try
="$ac_link"
2926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_link") 2>conftest.er1
2932 grep -v '^ *+' conftest.er1 >conftest.err
2934 cat conftest.err >&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); } && {
2937 test -z "$ac_c_werror_flag" ||
2938 test ! -s conftest.err
2939 } && test -s conftest$ac_exeext &&
2940 $as_test_x conftest$ac_exeext; then
2941 eval "$as_ac_var=yes"
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 eval "$as_ac_var=no"
2949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2950 conftest$ac_exeext conftest.$ac_ext
2952 ac_res=`eval echo '${'$as_ac_var'}'`
2953 { echo "$as_me:$LINENO: result: $ac_res" >&5
2954 echo "${ECHO_T}$ac_res" >&6; }
2955 if test `eval echo '${'$as_ac_var'}'` = yes; then
2956 cat >>confdefs.h <<_ACEOF
2957 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
2963 { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
2964 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
2965 if test "${ac_cv_func_getaddrinfo+set}" = set; then
2966 echo $ECHO_N "(cached) $ECHO_C" >&6
2968 cat >conftest.$ac_ext <<_ACEOF
2971 cat confdefs.h >>conftest.$ac_ext
2972 cat >>conftest.$ac_ext <<_ACEOF
2973 /* end confdefs.h. */
2974 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
2975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2976 #define getaddrinfo innocuous_getaddrinfo
2978 /* System header to define __stub macros and hopefully few prototypes,
2979 which can conflict with char getaddrinfo (); below.
2980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2981 <limits.h> exists even on freestanding compilers. */
2984 # include <limits.h>
2986 # include <assert.h>
2991 /* Override any GCC internal prototype to avoid an error.
2992 Use char because int might match the return type of a GCC
2993 builtin and then its argument prototype would still apply. */
2997 char getaddrinfo ();
2998 /* The GNU C library defines this for functions which it implements
2999 to always fail with ENOSYS. Some functions are actually named
3000 something starting with __ and the normal name is an alias. */
3001 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
3008 return getaddrinfo ();
3013 rm -f conftest.$ac_objext conftest$ac_exeext
3014 if { (ac_try="$ac_link"
3016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3017 *) ac_try_echo
=$ac_try;;
3019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3020 (eval "$ac_link") 2>conftest.er1
3022 grep -v '^ *+' conftest.er1
>conftest.err
3024 cat conftest.err
>&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); } && {
3027 test -z "$ac_c_werror_flag" ||
3028 test ! -s conftest.err
3029 } && test -s conftest
$ac_exeext &&
3030 $as_test_x conftest
$ac_exeext; then
3031 ac_cv_func_getaddrinfo
=yes
3033 echo "$as_me: failed program was:" >&5
3034 sed 's/^/| /' conftest.
$ac_ext >&5
3036 ac_cv_func_getaddrinfo
=no
3039 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3040 conftest
$ac_exeext conftest.
$ac_ext
3042 { echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
3043 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
3044 if test $ac_cv_func_getaddrinfo = yes; then
3046 cat >>confdefs.h
<<\_ACEOF
3047 #define HAVE_GETADDRINFO 1
3051 case " $LIBOBJS " in
3052 *" getaddrinfo.$ac_objext "* ) ;;
3053 *) LIBOBJS
="$LIBOBJS getaddrinfo.$ac_objext"
3059 { echo "$as_me:$LINENO: checking for getnameinfo" >&5
3060 echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6; }
3061 if test "${ac_cv_func_getnameinfo+set}" = set; then
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
3064 cat >conftest.
$ac_ext <<_ACEOF
3067 cat confdefs.h
>>conftest.
$ac_ext
3068 cat >>conftest.
$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3070 /* Define getnameinfo to an innocuous variant, in case <limits.h> declares getnameinfo.
3071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3072 #define getnameinfo innocuous_getnameinfo
3074 /* System header to define __stub macros and hopefully few prototypes,
3075 which can conflict with char getnameinfo (); below.
3076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3077 <limits.h> exists even on freestanding compilers. */
3080 # include <limits.h>
3082 # include <assert.h>
3087 /* Override any GCC internal prototype to avoid an error.
3088 Use char because int might match the return type of a GCC
3089 builtin and then its argument prototype would still apply. */
3093 char getnameinfo ();
3094 /* The GNU C library defines this for functions which it implements
3095 to always fail with ENOSYS. Some functions are actually named
3096 something starting with __ and the normal name is an alias. */
3097 #if defined __stub_getnameinfo || defined __stub___getnameinfo
3104 return getnameinfo ();
3109 rm -f conftest.
$ac_objext conftest
$ac_exeext
3110 if { (ac_try
="$ac_link"
3112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3116 (eval "$ac_link") 2>conftest.er1
3118 grep -v '^ *+' conftest.er1 >conftest.err
3120 cat conftest.err >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); } && {
3123 test -z "$ac_c_werror_flag" ||
3124 test ! -s conftest.err
3125 } && test -s conftest$ac_exeext &&
3126 $as_test_x conftest$ac_exeext; then
3127 ac_cv_func_getnameinfo=yes
3129 echo "$as_me: failed program was:" >&5
3130 sed 's/^/| /' conftest.$ac_ext >&5
3132 ac_cv_func_getnameinfo=no
3135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3136 conftest$ac_exeext conftest.$ac_ext
3138 { echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo" >&5
3139 echo "${ECHO_T}$ac_cv_func_getnameinfo" >&6; }
3140 if test $ac_cv_func_getnameinfo = yes; then
3142 cat >>confdefs.h <<\_ACEOF
3143 #define HAVE_GETNAMEINFO 1
3147 case " $LIBOBJS " in
3148 *" getnameinfo.$ac_objext "* ) ;;
3149 *) LIBOBJS="$LIBOBJS getnameinfo.$ac_objext"
3156 { echo "$as_me:$LINENO: checking for socklen_t" >&5
3157 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
3158 if test "${ac_cv_type_socklen_t+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 cat >conftest.$ac_ext <<_ACEOF
3165 cat confdefs.h >>conftest.$ac_ext
3166 cat >>conftest.$ac_ext <<_ACEOF
3167 /* end confdefs.h. */
3168 #include <sys/types.h>
3169 #include <sys/socket.h>
3173 socklen_t len = 42; return len;
3178 rm -f conftest.$ac_objext
3179 if { (ac_try="$ac_compile"
3181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3182 *) ac_try_echo
=$ac_try;;
3184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3185 (eval "$ac_compile") 2>conftest.er1
3187 grep -v '^ *+' conftest.er1
>conftest.err
3189 cat conftest.err
>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } && {
3192 test -z "$ac_c_werror_flag" ||
3193 test ! -s conftest.err
3194 } && test -s conftest.
$ac_objext; then
3195 ac_cv_type_socklen_t
=yes
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.
$ac_ext >&5
3200 ac_cv_type_socklen_t
=no
3203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3206 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
3207 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
3208 if test $ac_cv_type_socklen_t != yes; then
3210 cat >>confdefs.h
<<\_ACEOF
3211 #define socklen_t int
3216 { echo "$as_me:$LINENO: checking for sa_len" >&5
3217 echo $ECHO_N "checking for sa_len... $ECHO_C" >&6; }
3218 if test "${ac_cv_sa_len+set}" = set; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 cat >conftest.
$ac_ext <<_ACEOF
3225 cat confdefs.h
>>conftest.
$ac_ext
3226 cat >>conftest.
$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3228 #include <sys/types.h>
3229 #include <sys/socket.h>
3233 struct sockaddr sa; sa.sa_len = 0;
3238 rm -f conftest.
$ac_objext
3239 if { (ac_try
="$ac_compile"
3241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3245 (eval "$ac_compile") 2>conftest.er1
3247 grep -v '^ *+' conftest.er1 >conftest.err
3249 cat conftest.err >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } && {
3252 test -z "$ac_c_werror_flag" ||
3253 test ! -s conftest.err
3254 } && test -s conftest.$ac_objext; then
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3266 { echo "$as_me:$LINENO: result: $ac_cv_sa_len" >&5
3267 echo "${ECHO_T}$ac_cv_sa_len" >&6; }
3268 if test $ac_cv_sa_len = yes; then
3270 cat >>confdefs.h <<\_ACEOF
3271 #define HAVE_SA_LEN 1
3277 ac_config_files="$ac_config_files Makefile"
3279 cat >confcache <<\_ACEOF
3280 # This file is a shell script that caches the results of configure
3281 # tests run on this system so they can be shared between configure
3282 # scripts and configure runs, see configure's option --config-cache.
3283 # It is not useful on other systems. If it contains results you don't
3284 # want to keep, you may remove or edit it.
3286 # config.status only pays attention to the cache file if you give it
3287 # the --recheck option to rerun configure.
3289 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
3290 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3295 # The following way of writing the cache mishandles newlines in values,
3296 # but we know of no workaround that is simple, portable, and efficient.
3297 # So, we kill variables containing newlines.
3298 # Ultrix sh set writes to stderr and can't be redirected directly,
3299 # and sets the high bit in the cache file unless we assign to the vars.
3301 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3302 eval ac_val
=\$
$ac_var
3306 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3307 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3310 _ | IFS | as_nl
) ;; #(
3311 *) $as_unset $ac_var ;;
3317 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3318 *${as_nl}ac_space
=\
*)
3319 # `set' does not quote correctly, so add quotes (double-quote
3320 # substitution turns \\\\ into \\, and sed turns \\ into \).
3323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3326 # `set' quotes correctly as required by POSIX, so do not add quotes.
3327 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3336 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3338 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3340 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3341 if test -w "$cache_file"; then
3342 test "x$cache_file" != "x/dev/null" &&
3343 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3344 echo "$as_me: updating cache $cache_file" >&6;}
3345 cat confcache
>$cache_file
3347 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3348 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3353 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3354 # Let make expand exec_prefix.
3355 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3357 DEFS
=-DHAVE_CONFIG_H
3361 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3362 # 1. Remove the extension, and $U if already installed.
3363 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3364 ac_i
=`echo "$ac_i" | sed "$ac_script"`
3365 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3366 # will be set to the directory where LIBOBJS objects are built.
3367 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3368 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3372 LTLIBOBJS
=$ac_ltlibobjs
3376 : ${CONFIG_STATUS=./config.status}
3377 ac_clean_files_save
=$ac_clean_files
3378 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3379 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3380 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3381 cat >$CONFIG_STATUS <<_ACEOF
3383 # Generated by $as_me.
3384 # Run this file to recreate the current configuration.
3385 # Compiler output produced by configure, useful for debugging
3386 # configure, is in config.log if it exists.
3391 SHELL=\${CONFIG_SHELL-$SHELL}
3394 cat >>$CONFIG_STATUS <<\_ACEOF
3395 ## --------------------- ##
3396 ## M4sh Initialization. ##
3397 ## --------------------- ##
3399 # Be more Bourne compatible
3400 DUALCASE
=1; export DUALCASE
# for MKS sh
3401 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3404 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3405 # is contrary to our usage. Disable this feature.
3406 alias -g '${1+"$@"}'='"$@"'
3407 setopt NO_GLOB_SUBST
3409 case `(set -o) 2>/dev/null` in
3410 *posix
*) set -o posix
;;
3419 # Avoid depending upon Character Ranges.
3420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3423 as_cr_digits
='0123456789'
3424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3426 # The user is always right.
3427 if test "${PATH_SEPARATOR+set}" != set; then
3428 echo "#! /bin/sh" >conf$$.sh
3429 echo "exit 0" >>conf$$.sh
3431 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3439 # Support unset when possible.
3440 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
3448 # We need space, tab and new line, in precisely that order. Quoting is
3449 # there to prevent editors from complaining about space-tab.
3450 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3451 # splitting by setting IFS to empty value.)
3456 # Find who we are. Look in the path if we contain no directory separator.
3458 *[\\/]* ) as_myself
=$0 ;;
3459 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir
=.
3464 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
3470 # We did not find ourselves, most probably we were run as `sh COMMAND'
3471 # in which case we are not to be found in the path.
3472 if test "x$as_myself" = x
; then
3475 if test ! -f "$as_myself"; then
3476 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3477 { (exit 1); exit 1; }
3480 # Work around bugs in pre-3.0 UWIN ksh.
3481 for as_var
in ENV MAIL MAILPATH
3482 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
3490 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3491 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3492 LC_TELEPHONE LC_TIME
3494 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3495 eval $as_var=C
; export $as_var
3497 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
3501 # Required to use basename.
3502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3509 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3510 as_basename
=basename
3516 # Name of the executable.
3517 as_me
=`$as_basename -- "$0" ||
3518 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3519 X"$0" : 'X\(//\)$' \| \
3520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3522 sed '/^.*\/\([^/][^/]*\)\/*$/{
3543 test "x$as_lineno_1" != "x$as_lineno_2" &&
3544 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
3546 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3547 # uniformly replaced by the line number. The first 'sed' inserts a
3548 # line-number line after each line using $LINENO; the second 'sed'
3549 # does the real work. The second script uses 'N' to pair each
3550 # line-number line with the line containing $LINENO, and appends
3551 # trailing '-' during substitution so that $LINENO is not a special
3553 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3554 # scripts with optimization help from Paolo Bonzini. Blame Lee
3555 # E. McMahon (1931-1989) for sed's syntax. :-)
3567 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3571 chmod +x
"$as_me.lineno" ||
3572 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3573 { (exit 1); exit 1; }; }
3575 # Don't try to exec as it changes $[0], causing all sort of problems
3576 # (the dirname of $[0] is not the place where we might find the
3577 # original and so on. Autoconf is especially sensitive to this).
3579 # Exit status is that of the last command.
3584 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3590 ECHO_C
= ECHO_N
= ECHO_T
=
3593 case `echo 'x\c'` in
3594 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3601 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3602 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3608 rm -f conf$$ conf$$.exe conf$$.
file
3609 if test -d conf$$.dir
; then
3610 rm -f conf$$.dir
/conf$$.
file
3616 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3618 # ... but there are two gotchas:
3619 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3620 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3621 # In both cases, we have to default to `cp -p'.
3622 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3624 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3629 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3630 rmdir conf$$.dir
2>/dev
/null
3632 if mkdir
-p .
2>/dev
/null
; then
3635 test -d .
/-p && rmdir .
/-p
3639 if test -x / >/dev
/null
2>&1; then
3642 if ls -dL / >/dev
/null
2>&1; then
3649 if test -d "$1"; then
3655 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3656 ???[sx]*):;;*)false;;esac;fi
3660 as_executable_p
=$as_test_x
3662 # Sed expression to map a string onto a valid CPP name.
3663 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3665 # Sed expression to map a string onto a valid variable name.
3666 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3671 # Save the log message, to keep $[0] and so on meaningful, and to
3672 # report actual input values of CONFIG_FILES etc. instead of their
3673 # values after options handling.
3675 This file was extended by $as_me, which was
3676 generated by GNU Autoconf 2.61. Invocation command line was
3678 CONFIG_FILES = $CONFIG_FILES
3679 CONFIG_HEADERS = $CONFIG_HEADERS
3680 CONFIG_LINKS = $CONFIG_LINKS
3681 CONFIG_COMMANDS = $CONFIG_COMMANDS
3684 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3689 cat >>$CONFIG_STATUS <<_ACEOF
3690 # Files that config.status was made for.
3691 config_files="$ac_config_files"
3692 config_headers="$ac_config_headers"
3696 cat >>$CONFIG_STATUS <<\_ACEOF
3698 \`$as_me' instantiates files from templates according to the
3699 current configuration.
3701 Usage: $0 [OPTIONS] [FILE]...
3703 -h, --help print this help, then exit
3704 -V, --version print version number and configuration settings, then exit
3705 -q, --quiet do not print progress messages
3706 -d, --debug don't remove temporary files
3707 --recheck update $as_me by reconfiguring in the same conditions
3708 --file=FILE[:TEMPLATE]
3709 instantiate the configuration file FILE
3710 --header=FILE[:TEMPLATE]
3711 instantiate the configuration header FILE
3713 Configuration files:
3716 Configuration headers:
3719 Report bugs to <bug-autoconf@gnu.org>."
3722 cat >>$CONFIG_STATUS <<_ACEOF
3725 configured by $0, generated by GNU Autoconf 2.61,
3726 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3728 Copyright (C) 2006 Free Software Foundation, Inc.
3729 This config.status script is free software; the Free Software Foundation
3730 gives unlimited permission to copy, distribute and modify it."
3736 cat >>$CONFIG_STATUS <<\_ACEOF
3737 # If no file are specified by the user, then we need to provide default
3738 # value. By we need to know if files were specified by the user.
3744 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3745 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3756 # Handling of the options.
3757 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3759 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3760 echo "$ac_cs_version"; exit ;;
3761 --debug |
--debu |
--deb |
--de |
--d |
-d )
3763 --file |
--fil |
--fi |
--f )
3765 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3766 ac_need_defaults
=false
;;
3767 --header |
--heade |
--head |
--hea )
3769 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
3770 ac_need_defaults
=false
;;
3772 # Conflict between --help and --header
3773 { echo "$as_me: error: ambiguous option: $1
3774 Try \`$0 --help' for more information." >&2
3775 { (exit 1); exit 1; }; };;
3776 --help |
--hel |
-h )
3777 echo "$ac_cs_usage"; exit ;;
3778 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3779 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3783 -*) { echo "$as_me: error: unrecognized option: $1
3784 Try \`$0 --help' for more information." >&2
3785 { (exit 1); exit 1; }; } ;;
3787 *) ac_config_targets
="$ac_config_targets $1"
3788 ac_need_defaults
=false
;;
3794 ac_configure_extra_args
=
3796 if $ac_cs_silent; then
3798 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3802 cat >>$CONFIG_STATUS <<_ACEOF
3803 if \$ac_cs_recheck; then
3804 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3807 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3811 cat >>$CONFIG_STATUS <<\_ACEOF
3815 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3816 ## Running $as_me. ##
3822 cat >>$CONFIG_STATUS <<_ACEOF
3825 cat >>$CONFIG_STATUS <<\_ACEOF
3827 # Handling of arguments.
3828 for ac_config_target
in $ac_config_targets
3830 case $ac_config_target in
3831 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
3832 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3834 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3835 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3836 { (exit 1); exit 1; }; };;
3841 # If the user did not use the arguments to specify the items to instantiate,
3842 # then the envvar interface is used. Set only those that are not.
3843 # We use the long form for the default assignment because of an extremely
3844 # bizarre bug on SunOS 4.1.3.
3845 if $ac_need_defaults; then
3846 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3847 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3850 # Have a temporary directory for convenience. Make it in the build tree
3851 # simply because there is no reason against having it here, and in addition,
3852 # creating and moving files from /tmp can sometimes cause problems.
3853 # Hook for its removal unless debugging.
3854 # Note that there is a small window in which the directory will not be cleaned:
3855 # after its creation but before its name has been assigned to `$tmp'.
3859 trap 'exit_status=$?
3860 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3862 trap '{ (exit 1); exit 1; }' 1 2 13 15
3864 # Create a (secure) tmp directory for tmp files.
3867 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3868 test -n "$tmp" && test -d "$tmp"
3871 tmp
=.
/conf$$
-$RANDOM
3872 (umask 077 && mkdir
"$tmp")
3875 echo "$me: cannot create a temporary directory in ." >&2
3876 { (exit 1); exit 1; }
3880 # Set up the sed scripts for CONFIG_FILES section.
3883 # No need to generate the scripts if there are no CONFIG_FILES.
3884 # This happens for instance when ./config.status config.h
3885 if test -n "$CONFIG_FILES"; then
3892 for ac_last_try
in false false false false false
:; do
3893 cat >conf$
$subs.
sed <<_ACEOF
3894 SHELL!$SHELL$ac_delim
3895 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3896 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3897 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3898 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3899 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3900 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3901 exec_prefix!$exec_prefix$ac_delim
3902 prefix!$prefix$ac_delim
3903 program_transform_name!$program_transform_name$ac_delim
3904 bindir!$bindir$ac_delim
3905 sbindir!$sbindir$ac_delim
3906 libexecdir!$libexecdir$ac_delim
3907 datarootdir!$datarootdir$ac_delim
3908 datadir!$datadir$ac_delim
3909 sysconfdir!$sysconfdir$ac_delim
3910 sharedstatedir!$sharedstatedir$ac_delim
3911 localstatedir!$localstatedir$ac_delim
3912 includedir!$includedir$ac_delim
3913 oldincludedir!$oldincludedir$ac_delim
3914 docdir!$docdir$ac_delim
3915 infodir!$infodir$ac_delim
3916 htmldir!$htmldir$ac_delim
3917 dvidir!$dvidir$ac_delim
3918 pdfdir!$pdfdir$ac_delim
3919 psdir!$psdir$ac_delim
3920 libdir!$libdir$ac_delim
3921 localedir!$localedir$ac_delim
3922 mandir!$mandir$ac_delim
3924 ECHO_C!$ECHO_C$ac_delim
3925 ECHO_N!$ECHO_N$ac_delim
3926 ECHO_T!$ECHO_T$ac_delim
3928 build_alias!$build_alias$ac_delim
3929 host_alias!$host_alias$ac_delim
3930 target_alias!$target_alias$ac_delim
3932 CFLAGS!$CFLAGS$ac_delim
3933 LDFLAGS!$LDFLAGS$ac_delim
3934 CPPFLAGS!$CPPFLAGS$ac_delim
3935 ac_ct_CC!$ac_ct_CC$ac_delim
3936 EXEEXT!$EXEEXT$ac_delim
3937 OBJEXT!$OBJEXT$ac_delim
3938 LIBOBJS!$LIBOBJS$ac_delim
3939 LTLIBOBJS!$LTLIBOBJS$ac_delim
3942 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
3944 elif $ac_last_try; then
3945 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3946 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3947 { (exit 1); exit 1; }; }
3949 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
3953 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3954 if test -n "$ac_eof"; then
3955 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
3956 ac_eof
=`expr $ac_eof + 1`
3959 cat >>$CONFIG_STATUS <<_ACEOF
3960 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3964 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3965 s/^/s,@/; s/!/@,|#_!!_#|/
3968 s/'"$ac_delim"'$/,g/; t
3970 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3971 ' >>$CONFIG_STATUS <conf$
$subs.
sed
3972 rm -f conf$
$subs.
sed
3973 cat >>$CONFIG_STATUS <<_ACEOF
3980 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3981 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3982 # trailing colons and then remove the whole line if VPATH becomes empty
3983 # (actually we leave an empty line to preserve line numbers).
3984 if test "x$srcdir" = x.
; then
3985 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3989 s/^\([^=]*=[ ]*\):*/\1/
3995 cat >>$CONFIG_STATUS <<\_ACEOF
3996 fi # test -n "$CONFIG_FILES"
3999 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
4002 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4004 case $ac_mode$ac_tag in
4006 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4007 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4008 { (exit 1); exit 1; }; };;
4009 :[FH
]-) ac_tag
=-:-;;
4010 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4027 -) ac_f
="$tmp/stdin";;
4028 *) # Look for the file first in the build tree, then in the source tree
4029 # (if the path is not absolute). The absolute path cannot be DOS-style,
4030 # because $ac_f cannot contain `:'.
4034 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4036 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4037 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4038 { (exit 1); exit 1; }; };;
4040 ac_file_inputs
="$ac_file_inputs $ac_f"
4043 # Let's still pretend it is `configure' which instantiates (i.e., don't
4044 # use $as_me), people would be surprised to read:
4045 # /* config.h. Generated by config.status. */
4046 configure_input
="Generated from "`IFS=:
4047 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4048 if test x
"$ac_file" != x-
; then
4049 configure_input
="$ac_file. $configure_input"
4050 { echo "$as_me:$LINENO: creating $ac_file" >&5
4051 echo "$as_me: creating $ac_file" >&6;}
4055 *:-:* |
*:-) cat >"$tmp/stdin";;
4060 ac_dir
=`$as_dirname -- "$ac_file" ||
4061 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4062 X"$ac_file" : 'X\(//\)[^/]' \| \
4063 X"$ac_file" : 'X\(//\)$' \| \
4064 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4085 -*) as_dir
=.
/$as_dir;;
4087 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
4091 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4092 *) as_qdir
=$as_dir;;
4094 as_dirs
="'$as_qdir' $as_dirs"
4095 as_dir
=`$as_dirname -- "$as_dir" ||
4096 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4097 X"$as_dir" : 'X\(//\)[^/]' \| \
4098 X"$as_dir" : 'X\(//\)$' \| \
4099 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4118 test -d "$as_dir" && break
4120 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4121 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4122 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4123 { (exit 1); exit 1; }; }; }
4127 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4129 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4130 # A ".." for each directory in $ac_dir_suffix.
4131 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4132 case $ac_top_builddir_sub in
4133 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4134 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4137 ac_abs_top_builddir
=$ac_pwd
4138 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4139 # for backward compatibility:
4140 ac_top_builddir
=$ac_top_build_prefix
4143 .
) # We are building in place.
4145 ac_top_srcdir
=$ac_top_builddir_sub
4146 ac_abs_top_srcdir
=$ac_pwd ;;
4147 [\\/]* | ?
:[\\/]* ) # Absolute name.
4148 ac_srcdir
=$srcdir$ac_dir_suffix;
4149 ac_top_srcdir
=$srcdir
4150 ac_abs_top_srcdir
=$srcdir ;;
4152 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4153 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4154 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4156 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4167 cat >>$CONFIG_STATUS <<\_ACEOF
4168 # If the template does not know about datarootdir, expand it.
4169 # FIXME: This hack should be removed a few years after 2.60.
4170 ac_datarootdir_hack
=; ac_datarootdir_seen
=
4172 case `sed -n '/datarootdir/ {
4181 ' $ac_file_inputs` in
4182 *datarootdir
*) ac_datarootdir_seen
=yes;;
4183 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
4184 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4185 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4187 cat >>$CONFIG_STATUS <<_ACEOF
4188 ac_datarootdir_hack='
4189 s&@datadir@&$datadir&g
4190 s&@docdir@&$docdir&g
4191 s&@infodir@&$infodir&g
4192 s&@localedir@&$localedir&g
4193 s&@mandir@&$mandir&g
4194 s&\\\${datarootdir}&$datarootdir&g' ;;
4198 # Neutralize VPATH when `$srcdir' = `.'.
4199 # Shell code in configure.ac might set extrasub.
4200 # FIXME: do we really want to maintain this feature?
4201 cat >>$CONFIG_STATUS <<_ACEOF
4205 cat >>$CONFIG_STATUS <<\_ACEOF
4207 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4208 s
&@configure_input@
&$configure_input&;t t
4209 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4210 s
&@srcdir@
&$ac_srcdir&;t t
4211 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4212 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4213 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4214 s
&@builddir@
&$ac_builddir&;t t
4215 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4216 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4217 $ac_datarootdir_hack
4218 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
4220 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4221 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4222 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4223 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4224 which seems to be undefined. Please make sure it is defined." >&5
4225 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4226 which seems to be undefined. Please make sure it is defined." >&2;}
4230 -) cat "$tmp/out"; rm -f "$tmp/out";;
4231 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4240 # Transform confdefs.h into a sed script `conftest.defines', that
4241 # substitutes the proper values into config.h.in to produce config.h.
4242 rm -f conftest.defines conftest.
tail
4243 # First, append a space to every undef/define line, to ease matching.
4244 echo 's/$/ /' >conftest.defines
4245 # Then, protect against being on the right side of a sed subst, or in
4246 # an unquoted here document, in config.status. If some macros were
4247 # called several times there might be several #defines for the same
4248 # symbol, which is useless. But do not sort them, since the last
4249 # AC_DEFINE must be honored.
4250 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
4251 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4252 # NAME is the cpp macro being defined, VALUE is the value it is being given.
4253 # PARAMS is the parameter list in the macro definition--in most cases, it's
4254 # just an empty string.
4255 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4256 ac_dB
='\\)[ (].*,\\1define\\2'
4264 s/^[ ]*#[ ]*define[ ][ ]*//
4269 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4270 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4271 ' >>conftest.defines
4273 # Remove the space that was appended to ease matching.
4274 # Then replace #undef with comments. This is necessary, for
4275 # example, in the case of _POSIX_SOURCE, which is predefined and required
4276 # on some systems where configure will not decide to define it.
4277 # (The regexp can be short, since the line contains either #define or #undef.)
4279 s,^[ #]*u.*,/* & */,' >>conftest.defines
4281 # Break up conftest.defines:
4284 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4285 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4286 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4288 ac_in
='$ac_file_inputs'
4289 ac_out
='"$tmp/out1"'
4290 ac_nxt
='"$tmp/out2"'
4294 # Write a here document:
4295 cat >>$CONFIG_STATUS <<_ACEOF
4296 # First, check the format of the line:
4297 cat >"\$tmp/defines.sed" <<\\CEOF
4298 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4299 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4303 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
4305 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4306 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
4307 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
4308 grep . conftest.
tail >/dev
/null ||
break
4309 rm -f conftest.defines
4310 mv conftest.
tail conftest.defines
4312 rm -f conftest.defines conftest.
tail
4314 echo "ac_result=$ac_in" >>$CONFIG_STATUS
4315 cat >>$CONFIG_STATUS <<\_ACEOF
4316 if test x
"$ac_file" != x-
; then
4317 echo "/* $configure_input */" >"$tmp/config.h"
4318 cat "$ac_result" >>"$tmp/config.h"
4319 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
4320 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4321 echo "$as_me: $ac_file is unchanged" >&6;}
4324 mv "$tmp/config.h" $ac_file
4327 echo "/* $configure_input */"
4339 { (exit 0); exit 0; }
4341 chmod +x
$CONFIG_STATUS
4342 ac_clean_files
=$ac_clean_files_save
4345 # configure is writing to config.log, and then calls config.status.
4346 # config.status does its own redirection, appending to config.log.
4347 # Unfortunately, on DOS this fails, as config.log is still kept open
4348 # by configure, so config.status won't be able to write to it; its
4349 # output is simply discarded. So we exec the FD to /dev/null,
4350 # effectively closing config.log, so it can be properly (re)opened and
4351 # appended to by config.status. When coming back to configure, we
4352 # need to make the FD available again.
4353 if test "$no_create" != yes; then
4355 ac_config_status_args
=
4356 test "$silent" = yes &&
4357 ac_config_status_args
="$ac_config_status_args --quiet"
4359 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4361 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4362 # would make configure fail if this is the last instruction.
4363 $ac_cs_success ||
{ (exit 1); exit 1; }