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
="dump/dump.h"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
700 ac_subst_files
='MCONFIG'
701 ac_precious_vars
='build_alias
712 # Initialize some variables set by options.
714 ac_init_version
=false
715 # The variables have the same names as the options, with
716 # dashes changed to underlines.
724 program_transform_name
=s
,x
,x
,
732 # Installation directory options.
733 # These are left unexpanded so users can "make install exec_prefix=/foo"
734 # and all the variables that are supposed to be based on exec_prefix
735 # by default will actually change.
736 # Use braces instead of parens because sh, perl, etc. also accept them.
737 # (The list follows the same order as the GNU Coding Standards.)
738 bindir
='${exec_prefix}/bin'
739 sbindir
='${exec_prefix}/sbin'
740 libexecdir
='${exec_prefix}/libexec'
741 datarootdir
='${prefix}/share'
742 datadir
='${datarootdir}'
743 sysconfdir
='${prefix}/etc'
744 sharedstatedir
='${prefix}/com'
745 localstatedir
='${prefix}/var'
746 includedir
='${prefix}/include'
747 oldincludedir
='/usr/include'
748 docdir
='${datarootdir}/doc/${PACKAGE}'
749 infodir
='${datarootdir}/info'
754 libdir
='${exec_prefix}/lib'
755 localedir
='${datarootdir}/locale'
756 mandir
='${datarootdir}/man'
762 # If the previous option needs an argument, assign it.
763 if test -n "$ac_prev"; then
764 eval $ac_prev=\
$ac_option
770 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
774 # Accept the important Cygnus configure options, so we can diagnose typos.
776 case $ac_dashdash$ac_option in
780 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
782 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
785 -build |
--build |
--buil |
--bui |
--bu)
786 ac_prev
=build_alias
;;
787 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
788 build_alias
=$ac_optarg ;;
790 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
791 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
792 ac_prev
=cache_file
;;
793 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
794 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
795 cache_file
=$ac_optarg ;;
798 cache_file
=config.cache
;;
800 -datadir |
--datadir |
--datadi |
--datad)
802 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
803 datadir
=$ac_optarg ;;
805 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
806 |
--dataroo |
--dataro |
--datar)
807 ac_prev
=datarootdir
;;
808 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
809 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
810 datarootdir
=$ac_optarg ;;
812 -disable-* |
--disable-*)
813 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
816 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
817 { (exit 1); exit 1; }; }
818 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
819 eval enable_
$ac_feature=no
;;
821 -docdir |
--docdir |
--docdi |
--doc |
--do)
823 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
826 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
828 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
831 -enable-* |
--enable-*)
832 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
835 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
836 { (exit 1); exit 1; }; }
837 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
838 eval enable_
$ac_feature=\
$ac_optarg ;;
840 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
841 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
842 |
--exec |
--exe |
--ex)
843 ac_prev
=exec_prefix
;;
844 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
845 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
846 |
--exec=* |
--exe=* |
--ex=*)
847 exec_prefix
=$ac_optarg ;;
849 -gas |
--gas |
--ga |
--g)
850 # Obsolete; use --with-gas.
853 -help |
--help |
--hel |
--he |
-h)
855 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
856 ac_init_help
=recursive
;;
857 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
858 ac_init_help
=short
;;
860 -host |
--host |
--hos |
--ho)
861 ac_prev
=host_alias
;;
862 -host=* |
--host=* |
--hos=* |
--ho=*)
863 host_alias
=$ac_optarg ;;
865 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
867 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
869 htmldir
=$ac_optarg ;;
871 -includedir |
--includedir |
--includedi |
--included |
--include \
872 |
--includ |
--inclu |
--incl |
--inc)
873 ac_prev
=includedir
;;
874 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
875 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
876 includedir
=$ac_optarg ;;
878 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
880 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
881 infodir
=$ac_optarg ;;
883 -libdir |
--libdir |
--libdi |
--libd)
885 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
888 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
889 |
--libexe |
--libex |
--libe)
890 ac_prev
=libexecdir
;;
891 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
892 |
--libexe=* |
--libex=* |
--libe=*)
893 libexecdir
=$ac_optarg ;;
895 -localedir |
--localedir |
--localedi |
--localed |
--locale)
897 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
898 localedir
=$ac_optarg ;;
900 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
901 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
902 ac_prev
=localstatedir
;;
903 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
904 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
905 localstatedir
=$ac_optarg ;;
907 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
909 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
913 # Obsolete; use --without-fp.
916 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
917 |
--no-cr |
--no-c |
-n)
920 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
921 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
924 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
925 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
926 |
--oldin |
--oldi |
--old |
--ol |
--o)
927 ac_prev
=oldincludedir
;;
928 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
929 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
930 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
931 oldincludedir
=$ac_optarg ;;
933 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
935 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
938 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
939 |
--program-pre |
--program-pr |
--program-p)
940 ac_prev
=program_prefix
;;
941 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
942 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
943 program_prefix
=$ac_optarg ;;
945 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
946 |
--program-suf |
--program-su |
--program-s)
947 ac_prev
=program_suffix
;;
948 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
949 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
950 program_suffix
=$ac_optarg ;;
952 -program-transform-name |
--program-transform-name \
953 |
--program-transform-nam |
--program-transform-na \
954 |
--program-transform-n |
--program-transform- \
955 |
--program-transform |
--program-transfor \
956 |
--program-transfo |
--program-transf \
957 |
--program-trans |
--program-tran \
958 |
--progr-tra |
--program-tr |
--program-t)
959 ac_prev
=program_transform_name
;;
960 -program-transform-name=* |
--program-transform-name=* \
961 |
--program-transform-nam=* |
--program-transform-na=* \
962 |
--program-transform-n=* |
--program-transform-=* \
963 |
--program-transform=* |
--program-transfor=* \
964 |
--program-transfo=* |
--program-transf=* \
965 |
--program-trans=* |
--program-tran=* \
966 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
967 program_transform_name
=$ac_optarg ;;
969 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
971 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
974 -psdir |
--psdir |
--psdi |
--psd |
--ps)
976 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
979 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
980 |
-silent |
--silent |
--silen |
--sile |
--sil)
983 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
985 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
987 sbindir
=$ac_optarg ;;
989 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
990 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
991 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
993 ac_prev
=sharedstatedir
;;
994 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
995 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
996 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
998 sharedstatedir
=$ac_optarg ;;
1000 -site |
--site |
--sit)
1002 -site=* |
--site=* |
--sit=*)
1005 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1007 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1008 srcdir
=$ac_optarg ;;
1010 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1011 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1012 ac_prev
=sysconfdir
;;
1013 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1014 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1015 sysconfdir
=$ac_optarg ;;
1017 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1018 ac_prev
=target_alias
;;
1019 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1020 target_alias
=$ac_optarg ;;
1022 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1025 -version |
--version |
--versio |
--versi |
--vers |
-V)
1026 ac_init_version
=: ;;
1029 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1032 { echo "$as_me: error: invalid package name: $ac_package" >&2
1033 { (exit 1); exit 1; }; }
1034 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1035 eval with_
$ac_package=\
$ac_optarg ;;
1037 -without-* |
--without-*)
1038 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1041 { echo "$as_me: error: invalid package name: $ac_package" >&2
1042 { (exit 1); exit 1; }; }
1043 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1044 eval with_
$ac_package=no
;;
1047 # Obsolete; use --with-x.
1050 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1051 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1052 ac_prev
=x_includes
;;
1053 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1054 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1055 x_includes
=$ac_optarg ;;
1057 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1058 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1059 ac_prev
=x_libraries
;;
1060 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1061 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1062 x_libraries
=$ac_optarg ;;
1064 -*) { echo "$as_me: error: unrecognized option: $ac_option
1065 Try \`$0 --help' for more information." >&2
1066 { (exit 1); exit 1; }; }
1070 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1073 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1074 { (exit 1); exit 1; }; }
1075 eval $ac_envvar=\
$ac_optarg
1076 export $ac_envvar ;;
1079 # FIXME: should be removed in autoconf 3.0.
1080 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1082 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1089 if test -n "$ac_prev"; then
1090 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1091 { echo "$as_me: error: missing argument to $ac_option" >&2
1092 { (exit 1); exit 1; }; }
1095 # Be sure to have absolute directory names.
1096 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097 datadir sysconfdir sharedstatedir localstatedir includedir \
1098 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099 libdir localedir mandir
1101 eval ac_val
=\$
$ac_var
1103 [\\/$
]* | ?
:[\\/]* ) continue;;
1104 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1106 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1107 { (exit 1); exit 1; }; }
1110 # There might be people who depend on the old broken behavior: `$host'
1111 # used to hold the argument of --host etc.
1112 # FIXME: To remove some day.
1115 target
=$target_alias
1117 # FIXME: To remove some day.
1118 if test "x$host_alias" != x
; then
1119 if test "x$build_alias" = x
; then
1120 cross_compiling
=maybe
1121 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1122 If a cross compiler is detected then cross compile mode will be used." >&2
1123 elif test "x$build_alias" != "x$host_alias"; then
1129 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1131 test "$silent" = yes && exec 6>/dev
/null
1134 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1135 ac_ls_di
=`ls -di .` &&
1136 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1137 { echo "$as_me: error: Working directory cannot be determined" >&2
1138 { (exit 1); exit 1; }; }
1139 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1140 { echo "$as_me: error: pwd does not report name of working directory" >&2
1141 { (exit 1); exit 1; }; }
1144 # Find the source files, if location was not specified.
1145 if test -z "$srcdir"; then
1146 ac_srcdir_defaulted
=yes
1147 # Try the directory containing this script, then the parent directory.
1148 ac_confdir
=`$as_dirname -- "$0" ||
1149 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150 X"$0" : 'X\(//\)[^/]' \| \
1151 X"$0" : 'X\(//\)$' \| \
1152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1176 ac_srcdir_defaulted
=no
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1180 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1181 { (exit 1); exit 1; }; }
1183 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1185 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1186 { (exit 1); exit 1; }; }
1188 # When building in place, set srcdir=.
1189 if test "$ac_abs_confdir" = "$ac_pwd"; then
1192 # Remove unnecessary trailing slashes from srcdir.
1193 # Double slashes in file names in object file debugging info
1194 # mess up M-x gdb in Emacs.
1196 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1198 for ac_var
in $ac_precious_vars; do
1199 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1200 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1201 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1202 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1206 # Report the --help message.
1208 if test "$ac_init_help" = "long"; then
1209 # Omit some internal or obsolete options to make the list less imposing.
1210 # This message is too long to be a string in the A/UX 3.1 sh.
1212 \`configure' configures this package to adapt to many kinds of systems.
1214 Usage: $0 [OPTION]... [VAR=VALUE]...
1216 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1217 VAR=VALUE. See below for descriptions of some of the useful variables.
1219 Defaults for the options are specified in brackets.
1222 -h, --help display this help and exit
1223 --help=short display options specific to this package
1224 --help=recursive display the short help of all the included packages
1225 -V, --version display version information and exit
1226 -q, --quiet, --silent do not print \`checking...' messages
1227 --cache-file=FILE cache test results in FILE [disabled]
1228 -C, --config-cache alias for \`--cache-file=config.cache'
1229 -n, --no-create do not create output files
1230 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1232 Installation directories:
1233 --prefix=PREFIX install architecture-independent files in PREFIX
1234 [$ac_default_prefix]
1235 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1238 By default, \`make install' will install all the files in
1239 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1240 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1241 for instance \`--prefix=\$HOME'.
1243 For better control, use the options below.
1245 Fine tuning of the installation directories:
1246 --bindir=DIR user executables [EPREFIX/bin]
1247 --sbindir=DIR system admin executables [EPREFIX/sbin]
1248 --libexecdir=DIR program executables [EPREFIX/libexec]
1249 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1250 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1251 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1252 --libdir=DIR object code libraries [EPREFIX/lib]
1253 --includedir=DIR C header files [PREFIX/include]
1254 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1255 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1256 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1257 --infodir=DIR info documentation [DATAROOTDIR/info]
1258 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1259 --mandir=DIR man documentation [DATAROOTDIR/man]
1260 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1261 --htmldir=DIR html documentation [DOCDIR]
1262 --dvidir=DIR dvi documentation [DOCDIR]
1263 --pdfdir=DIR pdf documentation [DOCDIR]
1264 --psdir=DIR ps documentation [DOCDIR]
1271 if test -n "$ac_init_help"; then
1276 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1277 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1278 --enable-debug include debugging code
(default is NO
)
1279 --enable-static link dump and restore statically
(default is NO
)
1280 --enable-staticz link libz and libbz2 statically
(default is NO
)
1281 --enable-rmt compile and
install rmt
(default is YES
)
1282 --enable-ermt compile ermt
, an encrypting version of rmt
(default is NO
)
1283 --enable-kerberos compile kerberos extensions
(default is NO
)
1284 --enable-readline enable readline support
in restore
(default is YES
)
1285 --enable-oldstylefscript enable old style F
script (no arguments
) (default is NO
)
1286 --enable-largefile enable Large File System support
(default is YES
)
1287 --enable-qfa enable Quick File Access support
(default is YES
)
1288 --enable-qfadebug include Quick File Access debugging code
(default is NO
)
1289 --enable-macosx include Mac OSX restore compatibility
(default is NO
)
1290 --enable-transselinux restore can translate SELinux EAs
(default is YES
)
1293 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1294 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1295 --with-cc=COMPILER
select compiler to use
1296 --with-linker=LINKER
select linker to use
1297 --with-ccopts=CCOPTS
select compiler
command line options
1298 --with-ldopts=LDOPTS
select linker
command line options
1299 --with-binowner=USER
select owner
for binaries
1300 --with-bingrp=GROUP
select group
for binaries
1301 --with-binmode=MODE
select mode
for binaries
1302 --with-manowner=USER
select owner
for manual pages
1303 --with-mangrp=GROUP
select group
for manual pages
1304 --with-manmode=MODE
select mode
for manual pages
1305 --with-dumpdatespath=PATH
select path
for dumpdates
file
1307 Some influential environment variables
:
1308 CC C compiler
command
1309 CFLAGS C compiler flags
1310 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1311 nonstandard directory
<lib dir
>
1312 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1313 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1314 you have headers
in a nonstandard directory
<include dir
>
1317 Use these variables to override the choices made by
`configure' or to help
1318 it to find libraries and programs with nonstandard names/locations.
1324 if test "$ac_init_help" = "recursive"; then
1325 # If there are subdirs, report their specific --help.
1326 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1327 test -d "$ac_dir" || continue
1331 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1334 # A ".." for each directory in $ac_dir_suffix.
1335 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1336 case $ac_top_builddir_sub in
1337 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341 ac_abs_top_builddir=$ac_pwd
1342 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1343 # for backward compatibility:
1344 ac_top_builddir=$ac_top_build_prefix
1347 .) # We are building in place.
1349 ac_top_srcdir=$ac_top_builddir_sub
1350 ac_abs_top_srcdir=$ac_pwd ;;
1351 [\\/]* | ?:[\\/]* ) # Absolute name.
1352 ac_srcdir=$srcdir$ac_dir_suffix;
1353 ac_top_srcdir=$srcdir
1354 ac_abs_top_srcdir=$srcdir ;;
1356 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1357 ac_top_srcdir=$ac_top_build_prefix$srcdir
1358 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1360 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1362 cd "$ac_dir" || { ac_status=$?; continue; }
1363 # Check for guested configure.
1364 if test -f "$ac_srcdir/configure.gnu"; then
1366 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1367 elif test -f "$ac_srcdir/configure"; then
1369 $SHELL "$ac_srcdir/configure" --help=recursive
1371 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1373 cd "$ac_pwd" || { ac_status=$?; break; }
1377 test -n "$ac_init_help" && exit $ac_status
1378 if $ac_init_version; then
1381 generated by GNU Autoconf 2.61
1383 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1384 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1385 This configure script is free software; the Free Software Foundation
1386 gives unlimited permission to copy, distribute and modify it.
1390 cat >config.log <<_ACEOF
1391 This file contains any messages produced by compilers while
1392 running configure, to aid debugging if configure makes a mistake.
1394 It was created by $as_me, which was
1395 generated by GNU Autoconf 2.61. Invocation command line was
1407 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1408 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1409 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1410 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1411 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1413 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1414 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1416 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1417 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1418 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1419 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1420 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1421 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1422 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430 test -z "$as_dir" && as_dir=.
1431 echo "PATH: $as_dir"
1447 # Keep a trace of the command line.
1448 # Strip out --no-create and --no-recursion so they do not pile up.
1449 # Strip out --silent because we don't want to record it for future runs.
1450 # Also quote any args containing shell meta-characters.
1451 # Make two passes to allow for proper duplicate-argument suppression.
1455 ac_must_keep_next=false
1461 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1462 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1463 | -silent | --silent | --silen | --sile | --sil)
1466 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1469 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1471 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1472 if test $ac_must_keep_next = true; then
1473 ac_must_keep_next=false # Got value, back to normal.
1476 *=* | --config-cache | -C | -disable-* | --disable-* \
1477 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1478 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1479 | -with-* | --with-* | -without-* | --without-* | --x)
1480 case "$ac_configure_args0 " in
1481 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1484 -* ) ac_must_keep_next=true ;;
1487 ac_configure_args="$ac_configure_args '$ac_arg'"
1492 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1493 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1495 # When interrupted or exit'd, cleanup temporary files, and complete
1496 # config.log. We remove comments because anyway the quotes in there
1497 # would cause problems or look ugly.
1498 # WARNING: Use '\'' to represent an apostrophe within the trap.
1499 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1500 trap 'exit_status=$?
1501 # Save into config.log some information that might help in debugging.
1506 ## ---------------- ##
1507 ## Cache variables. ##
1508 ## ---------------- ##
1511 # The following way of writing the cache mishandles newlines in values,
1513 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1514 eval ac_val=\$$ac_var
1518 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1519 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1522 _ | IFS | as_nl) ;; #(
1523 *) $as_unset $ac_var ;;
1528 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1529 *${as_nl}ac_space=\ *)
1531 "s/'\''/'\''\\\\'\'''\''/g;
1532 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1535 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1543 ## ----------------- ##
1544 ## Output variables. ##
1545 ## ----------------- ##
1548 for ac_var in $ac_subst_vars
1550 eval ac_val=\$$ac_var
1552 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1554 echo "$ac_var='\''$ac_val'\''"
1558 if test -n "$ac_subst_files"; then
1560 ## ------------------- ##
1561 ## File substitutions. ##
1562 ## ------------------- ##
1565 for ac_var in $ac_subst_files
1567 eval ac_val=\$$ac_var
1569 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1571 echo "$ac_var='\''$ac_val'\''"
1576 if test -s confdefs.h; then
1586 test "$ac_signal" != 0 &&
1587 echo "$as_me: caught signal $ac_signal"
1588 echo "$as_me: exit $exit_status"
1590 rm -f core *.core core.conftest.* &&
1591 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1594 for ac_signal in 1 2 13 15; do
1595 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1599 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1600 rm -f -r conftest* confdefs.h
1602 # Predefined preprocessor variables.
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_NAME "$PACKAGE_NAME"
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_STRING "$PACKAGE_STRING"
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1629 # Let the site file select an alternate cache file if it wants to.
1630 # Prefer explicitly selected file to automatically selected ones.
1631 if test -n "$CONFIG_SITE"; then
1632 set x "$CONFIG_SITE"
1633 elif test "x$prefix" != xNONE; then
1634 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1636 set x "$ac_default_prefix/share/config.site" \
1637 "$ac_default_prefix/etc/config.site"
1642 if test -r "$ac_site_file"; then
1643 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1644 echo "$as_me: loading site script $ac_site_file" >&6;}
1645 sed 's/^/| /' "$ac_site_file" >&5
1650 if test -r "$cache_file"; then
1651 # Some versions of bash will fail to source /dev/null (special
1652 # files actually), so we avoid doing that.
1653 if test -f "$cache_file"; then
1654 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1655 echo "$as_me: loading cache $cache_file" >&6;}
1657 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1658 *) . "./$cache_file";;
1662 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1663 echo "$as_me: creating cache $cache_file" >&6;}
1667 # Check that the precious variables saved in the cache have kept the same
1669 ac_cache_corrupted=false
1670 for ac_var in $ac_precious_vars; do
1671 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1672 eval ac_new_set=\$ac_env_${ac_var}_set
1673 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1674 eval ac_new_val=\$ac_env_${ac_var}_value
1675 case $ac_old_set,$ac_new_set in
1677 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1678 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1679 ac_cache_corrupted=: ;;
1681 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1682 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1683 ac_cache_corrupted=: ;;
1686 if test "x$ac_old_val" != "x$ac_new_val"; then
1687 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1688 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1689 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1690 echo "$as_me: former value
: $ac_old_val" >&2;}
1691 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1692 echo "$as_me: current value
: $ac_new_val" >&2;}
1693 ac_cache_corrupted=:
1696 # Pass precious variables to config.status.
1697 if test "$ac_new_set" = set; then
1699 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1700 *) ac_arg=$ac_var=$ac_new_val ;;
1702 case " $ac_configure_args " in
1703 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1704 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1708 if $ac_cache_corrupted; then
1709 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1710 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1711 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1712 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1713 { (exit 1); exit 1; }; }
1733 ac_cpp='$CPP $CPPFLAGS'
1734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1744 ac_config_headers="$ac_config_headers config.h"
1747 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1748 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1749 set x ${MAKE-make}; ac_make=`echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1750 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 cat >conftest.make <<\_ACEOF
1756 @echo '@@@%%%=$(MAKE)=@@@%%%'
1758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1759 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
1761 eval ac_cv_prog_make_${ac_make}_set=yes;;
1763 eval ac_cv_prog_make_${ac_make}_set=no;;
1767 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1768 { echo "$as_me:$LINENO: result: yes" >&5
1769 echo "${ECHO_T}yes" >&6; }
1772 { echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6; }
1774 SET_MAKE="MAKE=${MAKE-make}"
1777 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
1778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
1780 if test "$LN_S" = "ln -s"; then
1781 { echo "$as_me:$LINENO: result: yes" >&5
1782 echo "${ECHO_T}yes" >&6; }
1784 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1785 echo "${ECHO_T}no, using $LN_S" >&6; }
1788 # Extract the first word of "cp", so it can be a program name with args.
1789 set dummy cp; ac_word=$2
1790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1792 if test "${ac_cv_path_CP+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 ac_cv_path_CP="$CP" # Let the user override the test with a path.
1800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1804 test -z "$as_dir" && as_dir=.
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1807 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
1808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
1820 if test -n "$CP"; then
1821 { echo "$as_me:$LINENO: result: $CP" >&5
1822 echo "${ECHO_T}$CP" >&6; }
1824 { echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6; }
1829 # Extract the first word of "mv", so it can be a program name with args.
1830 set dummy mv; ac_word=$2
1831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1833 if test "${ac_cv_path_MV+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 ac_cv_path_MV="$MV" # Let the user override the test with a path.
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1848 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
1849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
1861 if test -n "$MV"; then
1862 { echo "$as_me:$LINENO: result: $MV" >&5
1863 echo "${ECHO_T}$MV" >&6; }
1865 { echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6; }
1870 # Extract the first word of "rm", so it can be a program name with args.
1871 set dummy rm; ac_word=$2
1872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1874 if test "${ac_cv_path_RM+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 ac_cv_path_RM="$RM" # Let the user override the test with a path.
1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886 test -z "$as_dir" && as_dir=.
1887 for ac_exec_ext in '' $ac_executable_extensions; do
1888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1889 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
1890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
1902 if test -n "$RM"; then
1903 { echo "$as_me:$LINENO: result: $RM" >&5
1904 echo "${ECHO_T}$RM" >&6; }
1906 { echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6; }
1911 if test -n "$ac_tool_prefix"; then
1912 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1913 set dummy ${ac_tool_prefix}ar; ac_word=$2
1914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1916 if test "${ac_cv_prog_AR+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 if test -n "$AR"; then
1920 ac_cv_prog_AR="$AR" # Let the user override the test.
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 test -z "$as_dir" && as_dir=.
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1929 ac_cv_prog_AR="${ac_tool_prefix}ar"
1930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 if test -n "$AR"; then
1941 { echo "$as_me:$LINENO: result: $AR" >&5
1942 echo "${ECHO_T}$AR" >&6; }
1944 { echo "$as_me:$LINENO: result: no" >&5
1945 echo "${ECHO_T}no" >&6; }
1950 if test -z "$ac_cv_prog_AR"; then
1952 # Extract the first word of "ar", so it can be a program name with args.
1953 set dummy ar; ac_word=$2
1954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1956 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 if test -n "$ac_ct_AR"; then
1960 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1966 test -z "$as_dir" && as_dir=.
1967 for ac_exec_ext in '' $ac_executable_extensions; do
1968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1969 ac_cv_prog_ac_ct_AR="ar"
1970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1979 ac_ct_AR=$ac_cv_prog_ac_ct_AR
1980 if test -n "$ac_ct_AR"; then
1981 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1982 echo "${ECHO_T}$ac_ct_AR" >&6; }
1984 { echo "$as_me:$LINENO: result: no" >&5
1985 echo "${ECHO_T}no" >&6; }
1988 if test "x$ac_ct_AR" = x; then
1991 case $cross_compiling:$ac_tool_warned in
1993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1994 whose name does not start with the host triplet. If you think this
1995 configuration is useful to you, please write to autoconf@gnu.org." >&5
1996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1997 whose name does not start with the host triplet. If you think this
1998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1999 ac_tool_warned=yes ;;
2007 if test -n "$ac_tool_prefix"; then
2008 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2009 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2012 if test "${ac_cv_prog_RANLIB+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 if test -n "$RANLIB"; then
2016 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022 test -z "$as_dir" && as_dir=.
2023 for ac_exec_ext in '' $ac_executable_extensions; do
2024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2025 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2035 RANLIB=$ac_cv_prog_RANLIB
2036 if test -n "$RANLIB"; then
2037 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2038 echo "${ECHO_T}$RANLIB" >&6; }
2040 { echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6; }
2046 if test -z "$ac_cv_prog_RANLIB"; then
2047 ac_ct_RANLIB=$RANLIB
2048 # Extract the first word of "ranlib", so it can be a program name with args.
2049 set dummy ranlib; ac_word=$2
2050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2052 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 if test -n "$ac_ct_RANLIB"; then
2056 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir=.
2063 for ac_exec_ext in '' $ac_executable_extensions; do
2064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2065 ac_cv_prog_ac_ct_RANLIB="ranlib"
2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2076 if test -n "$ac_ct_RANLIB"; then
2077 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2078 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2080 { echo "$as_me:$LINENO: result: no" >&5
2081 echo "${ECHO_T}no" >&6; }
2084 if test "x$ac_ct_RANLIB" = x; then
2087 case $cross_compiling:$ac_tool_warned in
2089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2090 whose name does not start with the host triplet. If you think this
2091 configuration is useful to you, please write to autoconf@gnu.org." >&5
2092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2093 whose name does not start with the host triplet. If you think this
2094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2095 ac_tool_warned=yes ;;
2097 RANLIB=$ac_ct_RANLIB
2100 RANLIB="$ac_cv_prog_RANLIB"
2103 if test -n "$ac_tool_prefix"; then
2104 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
2105 set dummy ${ac_tool_prefix}patch; ac_word=$2
2106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2108 if test "${ac_cv_prog_PATCH+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test -n "$PATCH"; then
2112 ac_cv_prog_PATCH="$PATCH" # Let the user override the test.
2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir=.
2119 for ac_exec_ext in '' $ac_executable_extensions; do
2120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121 ac_cv_prog_PATCH="${ac_tool_prefix}patch"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 PATCH=$ac_cv_prog_PATCH
2132 if test -n "$PATCH"; then
2133 { echo "$as_me:$LINENO: result: $PATCH" >&5
2134 echo "${ECHO_T}$PATCH" >&6; }
2136 { echo "$as_me:$LINENO: result: no" >&5
2137 echo "${ECHO_T}no" >&6; }
2142 if test -z "$ac_cv_prog_PATCH"; then
2144 # Extract the first word of "patch", so it can be a program name with args.
2145 set dummy patch; ac_word=$2
2146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2148 if test "${ac_cv_prog_ac_ct_PATCH+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$ac_ct_PATCH"; then
2152 ac_cv_prog_ac_ct_PATCH="$ac_ct_PATCH" # Let the user override the test.
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161 ac_cv_prog_ac_ct_PATCH="patch"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 ac_ct_PATCH=$ac_cv_prog_ac_ct_PATCH
2172 if test -n "$ac_ct_PATCH"; then
2173 { echo "$as_me:$LINENO: result: $ac_ct_PATCH" >&5
2174 echo "${ECHO_T}$ac_ct_PATCH" >&6; }
2176 { echo "$as_me:$LINENO: result: no" >&5
2177 echo "${ECHO_T}no" >&6; }
2180 if test "x$ac_ct_PATCH" = x; then
2183 case $cross_compiling:$ac_tool_warned in
2185 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2186 whose name does not start with the host triplet. If you think this
2187 configuration is useful to you, please write to autoconf@gnu.org." >&5
2188 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2189 whose name does not start with the host triplet. If you think this
2190 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2191 ac_tool_warned=yes ;;
2196 PATCH="$ac_cv_prog_PATCH"
2200 ac_cpp='$CPP $CPPFLAGS'
2201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2204 if test -n "$ac_tool_prefix"; then
2205 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2206 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2209 if test "${ac_cv_prog_CC+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 if test -n "$CC"; then
2213 ac_cv_prog_CC="$CC" # Let the user override the test.
2215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test -n "$CC"; then
2234 { echo "$as_me:$LINENO: result: $CC" >&5
2235 echo "${ECHO_T}$CC" >&6; }
2237 { echo "$as_me:$LINENO: result: no" >&5
2238 echo "${ECHO_T}no" >&6; }
2243 if test -z "$ac_cv_prog_CC"; then
2245 # Extract the first word of "gcc", so it can be a program name with args.
2246 set dummy gcc; ac_word=$2
2247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2249 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 if test -n "$ac_ct_CC"; then
2253 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259 test -z "$as_dir" && as_dir=.
2260 for ac_exec_ext in '' $ac_executable_extensions; do
2261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2262 ac_cv_prog_ac_ct_CC="gcc"
2263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2272 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2273 if test -n "$ac_ct_CC"; then
2274 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2275 echo "${ECHO_T}$ac_ct_CC" >&6; }
2277 { echo "$as_me:$LINENO: result: no" >&5
2278 echo "${ECHO_T}no" >&6; }
2281 if test "x$ac_ct_CC" = x; then
2284 case $cross_compiling:$ac_tool_warned in
2286 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2287 whose name does not start with the host triplet. If you think this
2288 configuration is useful to you, please write to autoconf@gnu.org." >&5
2289 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2290 whose name does not start with the host triplet. If you think this
2291 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2292 ac_tool_warned=yes ;;
2300 if test -z "$CC"; then
2301 if test -n "$ac_tool_prefix"; then
2302 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2303 set dummy ${ac_tool_prefix}cc; ac_word=$2
2304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2306 if test "${ac_cv_prog_CC+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 if test -n "$CC"; then
2310 ac_cv_prog_CC="$CC" # Let the user override the test.
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir=.
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319 ac_cv_prog_CC="${ac_tool_prefix}cc"
2320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 if test -n "$CC"; then
2331 { echo "$as_me:$LINENO: result: $CC" >&5
2332 echo "${ECHO_T}$CC" >&6; }
2334 { echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6; }
2341 if test -z "$CC"; then
2342 # Extract the first word of "cc", so it can be a program name with args.
2343 set dummy cc; ac_word=$2
2344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346 if test "${ac_cv_prog_CC+set}" = set; then
2347 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 if test -n "$CC"; then
2350 ac_cv_prog_CC="$CC" # Let the user override the test.
2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir=.
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2361 ac_prog_rejected=yes
2365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test $ac_prog_rejected = yes; then
2373 # We found a bogon in the path, so make sure we never use it.
2374 set dummy $ac_cv_prog_CC
2376 if test $# != 0; then
2377 # We chose a different compiler from the bogus one.
2378 # However, it has the same basename, so the bogon will be chosen
2379 # first if we set CC to just the basename; use the full file name.
2381 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2387 if test -n "$CC"; then
2388 { echo "$as_me:$LINENO: result: $CC" >&5
2389 echo "${ECHO_T}$CC" >&6; }
2391 { echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6; }
2397 if test -z "$CC"; then
2398 if test -n "$ac_tool_prefix"; then
2399 for ac_prog in cl.exe
2401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2402 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2405 if test "${ac_cv_prog_CC+set}" = set; then
2406 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 if test -n "$CC"; then
2409 ac_cv_prog_CC="$CC" # Let the user override the test.
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 if test -n "$CC"; then
2430 { echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6; }
2433 { echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6; }
2438 test -n "$CC" && break
2441 if test -z "$CC"; then
2443 for ac_prog in cl.exe
2445 # Extract the first word of "$ac_prog", so it can be a program name with args.
2446 set dummy $ac_prog; ac_word=$2
2447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2450 echo $ECHO_N "(cached) $ECHO_C" >&6
2452 if test -n "$ac_ct_CC"; then
2453 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 test -z "$as_dir" && as_dir=.
2460 for ac_exec_ext in '' $ac_executable_extensions; do
2461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2462 ac_cv_prog_ac_ct_CC="$ac_prog"
2463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2473 if test -n "$ac_ct_CC"; then
2474 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2475 echo "${ECHO_T}$ac_ct_CC" >&6; }
2477 { echo "$as_me:$LINENO: result: no" >&5
2478 echo "${ECHO_T}no" >&6; }
2482 test -n "$ac_ct_CC" && break
2485 if test "x$ac_ct_CC" = x; then
2488 case $cross_compiling:$ac_tool_warned in
2490 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2491 whose name does not start with the host triplet. If you think this
2492 configuration is useful to you, please write to autoconf@gnu.org." >&5
2493 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2494 whose name does not start with the host triplet. If you think this
2495 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2496 ac_tool_warned=yes ;;
2505 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2506 See \`config.log
' for more details." >&5
2507 echo "$as_me: error: no acceptable C compiler found in \$PATH
2508 See \`config.log' for more details.
" >&2;}
2509 { (exit 1); exit 1; }; }
2511 # Provide some information about the compiler.
2512 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2513 ac_compiler=`set X $ac_compile; echo $2`
2514 { (ac_try="$ac_compiler --version >&5"
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2520 (eval "$ac_compiler --version >&5") 2>&5
2522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2523 (exit $ac_status); }
2524 { (ac_try="$ac_compiler -v >&5"
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2529 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2530 (eval "$ac_compiler -v >&5") 2>&5
2532 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2533 (exit $ac_status); }
2534 { (ac_try="$ac_compiler -V >&5"
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_compiler -V >&5") 2>&5
2542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2543 (exit $ac_status); }
2545 cat >conftest.$ac_ext <<_ACEOF
2548 cat confdefs.h >>conftest.$ac_ext
2549 cat >>conftest.$ac_ext <<_ACEOF
2550 /* end confdefs.h. */
2560 ac_clean_files_save=$ac_clean_files
2561 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2562 # Try to create an executable without -o first, disregard a.out.
2563 # It will help us diagnose broken compilers, and finding out an intuition
2565 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2566 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2567 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2569 # List of possible output files, starting from the most likely.
2570 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2571 # only as a last resort. b.out is created by i960 compilers.
2572 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2574 # The IRIX 6 linker writes into existing files which may not be
2575 # executable, retaining their permissions. Remove them first so a
2576 # subsequent execution test works.
2578 for ac_file in $ac_files
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2582 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2587 if { (ac_try="$ac_link_default"
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2593 (eval "$ac_link_default") 2>&5
2595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2596 (exit $ac_status); }; then
2597 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2598 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2599 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2600 # so that the user can short-circuit this test for compilers unknown to
2602 for ac_file in $ac_files ''
2604 test -f "$ac_file" || continue
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2609 # We found the default executable, but exeext='' is most
2613 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2615 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2617 # We set ac_cv_exeext here because the later test for it is not
2618 # safe: cross compilers may not add the suffix if given an `-o'
2619 # argument, so we may need to know it at that point already.
2620 # Even if this section looks crufty: it has the advantage of
2627 test "$ac_cv_exeext" = no && ac_cv_exeext=
2633 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2634 echo "${ECHO_T}$ac_file" >&6; }
2635 if test -z "$ac_file"; then
2636 echo "$as_me: failed program was
:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2639 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2640 See \
`config.log' for more details." >&5
2641 echo "$as_me: error: C compiler cannot create executables
2642 See \`config.log
' for more details." >&2;}
2643 { (exit 77); exit 77; }; }
2646 ac_exeext=$ac_cv_exeext
2648 # Check that the compiler produces executables we can run. If not, either
2649 # the compiler is broken, or we cross compile.
2650 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2651 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2652 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2653 # If not cross compiling, check that we can run a simple program.
2654 if test "$cross_compiling" != yes; then
2655 if { ac_try='.
/$ac_file'
2656 { (case "(($ac_try" in
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2661 (eval "$ac_try") 2>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; }; then
2667 if test "$cross_compiling" = maybe; then
2670 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2671 If you meant to cross compile, use \`--host'.
2672 See \
`config.log' for more details." >&5
2673 echo "$as_me: error: cannot run C compiled programs.
2674 If you meant to cross compile, use \`--host'.
2675 See \`config.log' for more details.
" >&2;}
2676 { (exit 1); exit 1; }; }
2680 { echo "$as_me:$LINENO: result
: yes" >&5
2681 echo "${ECHO_T}yes" >&6; }
2683 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2684 ac_clean_files=$ac_clean_files_save
2685 # Check that the compiler produces executables we can run. If not, either
2686 # the compiler is broken, or we cross compile.
2687 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2688 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2689 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2690 echo "${ECHO_T}$cross_compiling" >&6; }
2692 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2693 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2694 if { (ac_try="$ac_link"
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2700 (eval "$ac_link") 2>&5
2702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2703 (exit $ac_status); }; then
2704 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2705 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2706 # work properly (i.e., refer to `conftest.exe'), while it won't with
2708 for ac_file in conftest.exe conftest conftest.*; do
2709 test -f "$ac_file" || continue
2711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2712 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2718 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2719 See \
`config.log' for more details." >&5
2720 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2721 See \`config.log
' for more details." >&2;}
2722 { (exit 1); exit 1; }; }
2725 rm -f conftest$ac_cv_exeext
2726 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2727 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2729 rm -f conftest.$ac_ext
2730 EXEEXT=$ac_cv_exeext
2732 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2733 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2734 if test "${ac_cv_objext+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2737 cat >conftest.$ac_ext <<_ACEOF
2740 cat confdefs.h >>conftest.$ac_ext
2741 cat >>conftest.$ac_ext <<_ACEOF
2742 /* end confdefs.h. */
2752 rm -f conftest.o conftest.obj
2753 if { (ac_try="$ac_compile"
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2759 (eval "$ac_compile") 2>&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; then
2763 for ac_file in conftest.o conftest.obj conftest.*; do
2764 test -f "$ac_file" || continue;
2766 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2767 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2772 echo "$as_me: failed program was:" >&5
2773 sed 's
/^
/|
/' conftest.$ac_ext >&5
2775 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2776 See \`config.log' for more details.
" >&5
2777 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2778 See \
`config.log' for more details." >&2;}
2779 { (exit 1); exit 1; }; }
2782 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2784 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2785 echo "${ECHO_T}$ac_cv_objext" >&6; }
2786 OBJEXT=$ac_cv_objext
2788 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2789 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2790 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 cat >conftest.$ac_ext <<_ACEOF
2796 cat confdefs.h >>conftest.$ac_ext
2797 cat >>conftest.$ac_ext <<_ACEOF
2798 /* end confdefs.h. */
2811 rm -f conftest.$ac_objext
2812 if { (ac_try="$ac_compile"
2814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2815 *) ac_try_echo
=$ac_try;;
2817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2818 (eval "$ac_compile") 2>conftest.er1
2820 grep -v '^ *+' conftest.er1
>conftest.err
2822 cat conftest.err
>&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } && {
2825 test -z "$ac_c_werror_flag" ||
2826 test ! -s conftest.err
2827 } && test -s conftest.
$ac_objext; then
2830 echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.
$ac_ext >&5
2836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2837 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2840 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2841 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2842 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2843 ac_test_CFLAGS
=${CFLAGS+set}
2844 ac_save_CFLAGS
=$CFLAGS
2845 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2846 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2847 if test "${ac_cv_prog_cc_g+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 ac_save_c_werror_flag
=$ac_c_werror_flag
2851 ac_c_werror_flag
=yes
2854 cat >conftest.
$ac_ext <<_ACEOF
2857 cat confdefs.h
>>conftest.
$ac_ext
2858 cat >>conftest.
$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2869 rm -f conftest.
$ac_objext
2870 if { (ac_try
="$ac_compile"
2872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_compile") 2>conftest.er1
2878 grep -v '^ *+' conftest.er1 >conftest.err
2880 cat conftest.err >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } && {
2883 test -z "$ac_c_werror_flag" ||
2884 test ! -s conftest.err
2885 } && test -s conftest.$ac_objext; then
2888 echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2892 cat >conftest.$ac_ext <<_ACEOF
2895 cat confdefs.h >>conftest.$ac_ext
2896 cat >>conftest.$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2907 rm -f conftest.$ac_objext
2908 if { (ac_try="$ac_compile"
2910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2911 *) ac_try_echo
=$ac_try;;
2913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 (eval "$ac_compile") 2>conftest.er1
2916 grep -v '^ *+' conftest.er1
>conftest.err
2918 cat conftest.err
>&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } && {
2921 test -z "$ac_c_werror_flag" ||
2922 test ! -s conftest.err
2923 } && test -s conftest.
$ac_objext; then
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.
$ac_ext >&5
2929 ac_c_werror_flag
=$ac_save_c_werror_flag
2931 cat >conftest.
$ac_ext <<_ACEOF
2934 cat confdefs.h
>>conftest.
$ac_ext
2935 cat >>conftest.
$ac_ext <<_ACEOF
2936 /* end confdefs.h. */
2946 rm -f conftest.
$ac_objext
2947 if { (ac_try
="$ac_compile"
2949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2953 (eval "$ac_compile") 2>conftest.er1
2955 grep -v '^ *+' conftest.er1 >conftest.err
2957 cat conftest.err >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); } && {
2960 test -z "$ac_c_werror_flag" ||
2961 test ! -s conftest.err
2962 } && test -s conftest.$ac_objext; then
2965 echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.$ac_ext >&5
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 ac_c_werror_flag=$ac_save_c_werror_flag
2980 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2981 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2982 if test "$ac_test_CFLAGS" = set; then
2983 CFLAGS=$ac_save_CFLAGS
2984 elif test $ac_cv_prog_cc_g = yes; then
2985 if test "$GCC" = yes; then
2991 if test "$GCC" = yes; then
2997 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2998 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2999 if test "${ac_cv_prog_cc_c89+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 ac_cv_prog_cc_c89=no
3004 cat >conftest.$ac_ext <<_ACEOF
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3012 #include <sys/types.h>
3013 #include <sys/stat.h>
3014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3015 struct buf { int x; };
3016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3017 static char *e (p, i)
3023 static char *f (char * (*g) (char **, int), char **p, ...)
3028 s = g (p, va_arg (v,int));
3033 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3034 function prototypes and stuff, but not '\xHH' hex character constants.
3035 These don't provoke an error unfortunately, instead are silently treated
3036 as 'x'. The following induces an error, until -std is added to get
3037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3038 array size at least. It's necessary to write '\x00'==0 to get something
3039 that's true only with -std. */
3040 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3042 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3043 inside strings and character constants. */
3045 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3047 int test (int i, double x);
3048 struct s1 {int (*f) (int a);};
3049 struct s2 {int (*f) (double a);};
3050 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3056 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3061 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3064 CC="$ac_save_CC $ac_arg"
3065 rm -f conftest.$ac_objext
3066 if { (ac_try="$ac_compile"
3068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3069 *) ac_try_echo
=$ac_try;;
3071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3072 (eval "$ac_compile") 2>conftest.er1
3074 grep -v '^ *+' conftest.er1
>conftest.err
3076 cat conftest.err
>&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); } && {
3079 test -z "$ac_c_werror_flag" ||
3080 test ! -s conftest.err
3081 } && test -s conftest.
$ac_objext; then
3082 ac_cv_prog_cc_c89
=$ac_arg
3084 echo "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.
$ac_ext >&5
3090 rm -f core conftest.err conftest.
$ac_objext
3091 test "x$ac_cv_prog_cc_c89" != "xno" && break
3093 rm -f conftest.
$ac_ext
3098 case "x$ac_cv_prog_cc_c89" in
3100 { echo "$as_me:$LINENO: result: none needed" >&5
3101 echo "${ECHO_T}none needed" >&6; } ;;
3103 { echo "$as_me:$LINENO: result: unsupported" >&5
3104 echo "${ECHO_T}unsupported" >&6; } ;;
3106 CC
="$CC $ac_cv_prog_cc_c89"
3107 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3108 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3113 ac_cpp
='$CPP $CPPFLAGS'
3114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3119 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3120 if test -f "$ac_dir/install-sh"; then
3122 ac_install_sh
="$ac_aux_dir/install-sh -c"
3124 elif test -f "$ac_dir/install.sh"; then
3126 ac_install_sh
="$ac_aux_dir/install.sh -c"
3128 elif test -f "$ac_dir/shtool"; then
3130 ac_install_sh
="$ac_aux_dir/shtool install -c"
3134 if test -z "$ac_aux_dir"; then
3135 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3136 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3137 { (exit 1); exit 1; }; }
3140 # These three variables are undocumented and unsupported,
3141 # and are intended to be withdrawn in a future Autoconf release.
3142 # They can cause serious problems if a builder's source tree is in a directory
3143 # whose full name contains unusual characters.
3144 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3145 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3146 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3149 # Find a good install program. We prefer a C program (faster),
3150 # so one script is as good as another. But avoid the broken or
3151 # incompatible versions:
3152 # SysV /etc/install, /usr/sbin/install
3153 # SunOS /usr/etc/install
3154 # IRIX /sbin/install
3156 # AmigaOS /C/install, which installs bootblocks on floppy discs
3157 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3158 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3159 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3160 # OS/2's system install, which has a completely different semantic
3161 # ./install, which can be erroneously created by make from ./install.sh.
3162 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3163 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3164 if test -z "$INSTALL"; then
3165 if test "${ac_cv_path_install+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 # Account for people who put trailing slashes in PATH elements.
3175 .
/ | .
// |
/cC
/* | \
3176 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3177 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3180 # OSF1 and SCO ODT 3.0 have their own names for install.
3181 # Don't use installbsd from OSF since it installs stuff as root
3183 for ac_prog
in ginstall scoinst
install; do
3184 for ac_exec_ext
in '' $ac_executable_extensions; do
3185 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3186 if test $ac_prog = install &&
3187 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3188 # AIX install. It has an incompatible calling convention.
3190 elif test $ac_prog = install &&
3191 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3192 # program-specific install script used by HP pwplus--don't use.
3195 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3208 if test "${ac_cv_path_install+set}" = set; then
3209 INSTALL
=$ac_cv_path_install
3211 # As a last resort, use the slow shell script. Don't cache a
3212 # value for INSTALL within a source directory, because that will
3213 # break other packages using the cache if that directory is
3214 # removed, or if the value is a relative name.
3215 INSTALL
=$ac_install_sh
3218 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3219 echo "${ECHO_T}$INSTALL" >&6; }
3221 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3222 # It thinks the first close brace ends the variable substitution.
3223 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3225 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3227 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3232 ac_cpp
='$CPP $CPPFLAGS'
3233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3236 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3237 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3238 # On Suns, sometimes $CPP names a directory.
3239 if test -n "$CPP" && test -d "$CPP"; then
3242 if test -z "$CPP"; then
3243 if test "${ac_cv_prog_CPP+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 # Double quotes because CPP needs to be expanded
3247 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3250 for ac_c_preproc_warn_flag
in '' yes
3252 # Use a header file that comes with gcc, so configuring glibc
3253 # with a fresh cross-compiler works.
3254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3255 # <limits.h> exists even on freestanding compilers.
3256 # On the NeXT, cc -E runs the code through the compiler's parser,
3257 # not just through cpp. "Syntax error" is here to catch this case.
3258 cat >conftest.
$ac_ext <<_ACEOF
3261 cat confdefs.h
>>conftest.
$ac_ext
3262 cat >>conftest.
$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3265 # include <limits.h>
3267 # include <assert.h>
3271 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3279 grep -v '^ *+' conftest.er1 >conftest.err
3281 cat conftest.err >&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); } >/dev/null && {
3284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3285 test ! -s conftest.err
3289 echo "$as_me: failed program was:" >&5
3290 sed 's/^/| /' conftest.$ac_ext >&5
3292 # Broken: fails on valid input.
3296 rm -f conftest.err conftest.$ac_ext
3298 # OK, works on sane cases. Now check whether nonexistent headers
3299 # can be detected and how.
3300 cat >conftest.$ac_ext <<_ACEOF
3303 cat confdefs.h >>conftest.$ac_ext
3304 cat >>conftest.$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3306 #include <ac_nonexistent.h>
3308 if { (ac_try="$ac_cpp conftest.$ac_ext"
3310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3311 *) ac_try_echo
=$ac_try;;
3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3316 grep -v '^ *+' conftest.er1
>conftest.err
3318 cat conftest.err
>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } >/dev
/null
&& {
3321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3322 test ! -s conftest.err
3324 # Broken: success on invalid input.
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.
$ac_ext >&5
3330 # Passes both tests.
3335 rm -f conftest.err conftest.
$ac_ext
3338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3339 rm -f conftest.err conftest.
$ac_ext
3340 if $ac_preproc_ok; then
3352 { echo "$as_me:$LINENO: result: $CPP" >&5
3353 echo "${ECHO_T}$CPP" >&6; }
3355 for ac_c_preproc_warn_flag
in '' yes
3357 # Use a header file that comes with gcc, so configuring glibc
3358 # with a fresh cross-compiler works.
3359 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3360 # <limits.h> exists even on freestanding compilers.
3361 # On the NeXT, cc -E runs the code through the compiler's parser,
3362 # not just through cpp. "Syntax error" is here to catch this case.
3363 cat >conftest.
$ac_ext <<_ACEOF
3366 cat confdefs.h
>>conftest.
$ac_ext
3367 cat >>conftest.
$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3370 # include <limits.h>
3372 # include <assert.h>
3376 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1 >conftest.err
3386 cat conftest.err >&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } >/dev/null && {
3389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3390 test ! -s conftest.err
3394 echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3397 # Broken: fails on valid input.
3401 rm -f conftest.err conftest.$ac_ext
3403 # OK, works on sane cases. Now check whether nonexistent headers
3404 # can be detected and how.
3405 cat >conftest.$ac_ext <<_ACEOF
3408 cat confdefs.h >>conftest.$ac_ext
3409 cat >>conftest.$ac_ext <<_ACEOF
3410 /* end confdefs.h. */
3411 #include <ac_nonexistent.h>
3413 if { (ac_try="$ac_cpp conftest.$ac_ext"
3415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3416 *) ac_try_echo
=$ac_try;;
3418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3421 grep -v '^ *+' conftest.er1
>conftest.err
3423 cat conftest.err
>&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); } >/dev
/null
&& {
3426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3427 test ! -s conftest.err
3429 # Broken: success on invalid input.
3432 echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.
$ac_ext >&5
3435 # Passes both tests.
3440 rm -f conftest.err conftest.
$ac_ext
3443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3444 rm -f conftest.err conftest.
$ac_ext
3445 if $ac_preproc_ok; then
3448 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\"