2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file
="dump/dump.h"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='LTLIBOBJS
712 program_transform_name
722 ac_subst_files
='MCONFIG'
724 enable_option_checking
732 enable_oldstylefscript
750 ac_precious_vars
='build_alias
761 # Initialize some variables set by options.
763 ac_init_version
=false
764 ac_unrecognized_opts
=
766 # The variables have the same names as the options, with
767 # dashes changed to underlines.
775 program_transform_name
=s
,x
,x
,
783 # Installation directory options.
784 # These are left unexpanded so users can "make install exec_prefix=/foo"
785 # and all the variables that are supposed to be based on exec_prefix
786 # by default will actually change.
787 # Use braces instead of parens because sh, perl, etc. also accept them.
788 # (The list follows the same order as the GNU Coding Standards.)
789 bindir
='${exec_prefix}/bin'
790 sbindir
='${exec_prefix}/sbin'
791 libexecdir
='${exec_prefix}/libexec'
792 datarootdir
='${prefix}/share'
793 datadir
='${datarootdir}'
794 sysconfdir
='${prefix}/etc'
795 sharedstatedir
='${prefix}/com'
796 localstatedir
='${prefix}/var'
797 includedir
='${prefix}/include'
798 oldincludedir
='/usr/include'
799 docdir
='${datarootdir}/doc/${PACKAGE}'
800 infodir
='${datarootdir}/info'
805 libdir
='${exec_prefix}/lib'
806 localedir
='${datarootdir}/locale'
807 mandir
='${datarootdir}/man'
813 # If the previous option needs an argument, assign it.
814 if test -n "$ac_prev"; then
815 eval $ac_prev=\
$ac_option
821 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825 # Accept the important Cygnus configure options, so we can diagnose typos.
827 case $ac_dashdash$ac_option in
831 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
833 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
836 -build |
--build |
--buil |
--bui |
--bu)
837 ac_prev
=build_alias
;;
838 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
839 build_alias
=$ac_optarg ;;
841 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
842 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
843 ac_prev
=cache_file
;;
844 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
845 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
846 cache_file
=$ac_optarg ;;
849 cache_file
=config.cache
;;
851 -datadir |
--datadir |
--datadi |
--datad)
853 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
854 datadir
=$ac_optarg ;;
856 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
857 |
--dataroo |
--dataro |
--datar)
858 ac_prev
=datarootdir
;;
859 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
860 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
861 datarootdir
=$ac_optarg ;;
863 -disable-* |
--disable-*)
864 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
867 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
868 { (exit 1); exit 1; }; }
869 ac_useropt_orig
=$ac_useropt
870 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
871 case $ac_user_opts in
875 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
876 ac_unrecognized_sep
=', ';;
878 eval enable_
$ac_useropt=no
;;
880 -docdir |
--docdir |
--docdi |
--doc |
--do)
882 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
885 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
887 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
890 -enable-* |
--enable-*)
891 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
894 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
895 { (exit 1); exit 1; }; }
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=\
$ac_optarg ;;
907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
909 |
--exec |
--exe |
--ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
913 |
--exec=* |
--exe=* |
--ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas |
--gas |
--ga |
--g)
917 # Obsolete; use --with-gas.
920 -help |
--help |
--hel |
--he |
-h)
922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
925 ac_init_help
=short
;;
927 -host |
--host |
--hos |
--ho)
928 ac_prev
=host_alias
;;
929 -host=* |
--host=* |
--hos=* |
--ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir |
--includedir |
--includedi |
--included |
--include \
939 |
--includ |
--inclu |
--incl |
--inc)
940 ac_prev
=includedir
;;
941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir |
--libdir |
--libdi |
--libd)
952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
956 |
--libexe |
--libex |
--libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
959 |
--libexe=* |
--libex=* |
--libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
980 # Obsolete; use --without-fp.
983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
984 |
--no-cr |
--no-c |
-n)
987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
993 |
--oldin |
--oldi |
--old |
--ol |
--o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1006 |
--program-pre |
--program-pr |
--program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1013 |
--program-suf |
--program-su |
--program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name |
--program-transform-name \
1020 |
--program-transform-nam |
--program-transform-na \
1021 |
--program-transform-n |
--program-transform- \
1022 |
--program-transform |
--program-transfor \
1023 |
--program-transfo |
--program-transf \
1024 |
--program-trans |
--program-tran \
1025 |
--progr-tra |
--program-tr |
--program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* |
--program-transform-name=* \
1028 |
--program-transform-nam=* |
--program-transform-na=* \
1029 |
--program-transform-n=* |
--program-transform-=* \
1030 |
--program-transform=* |
--program-transfor=* \
1031 |
--program-transfo=* |
--program-transf=* \
1032 |
--program-trans=* |
--program-tran=* \
1033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1047 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1100 { (exit 1); exit 1; }; }
1101 ac_useropt_orig
=$ac_useropt
1102 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108 ac_unrecognized_sep
=', ';;
1110 eval with_
$ac_useropt=\
$ac_optarg ;;
1112 -without-* |
--without-*)
1113 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_useropt_orig
=$ac_useropt
1119 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1125 ac_unrecognized_sep
=', ';;
1127 eval with_
$ac_useropt=no
;;
1130 # Obsolete; use --with-x.
1133 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1134 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1135 ac_prev
=x_includes
;;
1136 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1137 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1138 x_includes
=$ac_optarg ;;
1140 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1141 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1142 ac_prev
=x_libraries
;;
1143 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1144 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1145 x_libraries
=$ac_optarg ;;
1147 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1148 Try \`$0 --help' for more information." >&2
1149 { (exit 1); exit 1; }; }
1153 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1156 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1157 { (exit 1); exit 1; }; }
1158 eval $ac_envvar=\
$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 if test -n "$ac_prev"; then
1173 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1174 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1175 { (exit 1); exit 1; }; }
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1181 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1182 { (exit 1); exit 1; }; } ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 # Check all directory arguments for consistency.
1188 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val
=\$
$ac_var
1194 # Remove trailing slashes.
1197 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\
$ac_val;;
1200 # Be sure to have absolute directory names.
1202 [\\/$
]* | ?
:[\\/]* ) continue;;
1203 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1205 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1206 { (exit 1); exit 1; }; }
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1214 target
=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x
; then
1218 if test "x$build_alias" = x
; then
1219 cross_compiling
=maybe
1220 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1221 If a cross compiler is detected then cross compile mode will be used." >&2
1222 elif test "x$build_alias" != "x$host_alias"; then
1228 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1230 test "$silent" = yes && exec 6>/dev
/null
1233 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di
=`ls -di .` &&
1235 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1236 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1237 { (exit 1); exit 1; }; }
1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1239 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1240 { (exit 1); exit 1; }; }
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245 ac_srcdir_defaulted
=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir
=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1275 ac_srcdir_defaulted
=no
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1279 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1280 { (exit 1); exit 1; }; }
1282 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1284 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1285 { (exit 1); exit 1; }; }
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291 # Remove unnecessary trailing slashes from srcdir.
1292 # Double slashes in file names in object file debugging info
1293 # mess up M-x gdb in Emacs.
1295 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 for ac_var
in $ac_precious_vars; do
1298 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1299 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1300 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1301 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1305 # Report the --help message.
1307 if test "$ac_init_help" = "long"; then
1308 # Omit some internal or obsolete options to make the list less imposing.
1309 # This message is too long to be a string in the A/UX 3.1 sh.
1311 \`configure' configures this package to adapt to many kinds of systems.
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316 VAR=VALUE. See below for descriptions of some of the useful variables.
1318 Defaults for the options are specified in brackets.
1321 -h, --help display this help and exit
1322 --help=short display options specific to this package
1323 --help=recursive display the short help of all the included packages
1324 -V, --version display version information and exit
1325 -q, --quiet, --silent do not print \`checking...' messages
1326 --cache-file=FILE cache test results in FILE [disabled]
1327 -C, --config-cache alias for \`--cache-file=config.cache'
1328 -n, --no-create do not create output files
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1331 Installation directories:
1332 --prefix=PREFIX install architecture-independent files in PREFIX
1333 [$ac_default_prefix]
1334 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 By default, \`make install' will install all the files in
1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340 for instance \`--prefix=\$HOME'.
1342 For better control, use the options below.
1344 Fine tuning of the installation directories:
1345 --bindir=DIR user executables [EPREFIX/bin]
1346 --sbindir=DIR system admin executables [EPREFIX/sbin]
1347 --libexecdir=DIR program executables [EPREFIX/libexec]
1348 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351 --libdir=DIR object code libraries [EPREFIX/lib]
1352 --includedir=DIR C header files [PREFIX/include]
1353 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1354 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356 --infodir=DIR info documentation [DATAROOTDIR/info]
1357 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358 --mandir=DIR man documentation [DATAROOTDIR/man]
1359 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1360 --htmldir=DIR html documentation [DOCDIR]
1361 --dvidir=DIR dvi documentation [DOCDIR]
1362 --pdfdir=DIR pdf documentation [DOCDIR]
1363 --psdir=DIR ps documentation [DOCDIR]
1370 if test -n "$ac_init_help"; then
1375 --disable-option-checking ignore unrecognized
--enable/--with options
1376 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1377 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1378 --enable-debug include debugging code
(default is NO
)
1379 --enable-static link dump and restore statically
(default is NO
)
1380 --enable-staticz link libz and libbz2 statically
(default is NO
)
1381 --enable-rmt compile and
install rmt
(default is YES
)
1382 --enable-ermt compile ermt
, an encrypting version of rmt
(default is NO
)
1383 --enable-kerberos compile kerberos extensions
(default is NO
)
1384 --enable-readline enable readline support
in restore
(default is YES
)
1385 --enable-oldstylefscript enable old style F
script (no arguments
) (default is NO
)
1386 --enable-largefile enable Large File System support
(default is YES
)
1387 --enable-qfa enable Quick File Access support
(default is YES
)
1388 --enable-qfadebug include Quick File Access debugging code
(default is NO
)
1389 --enable-macosx include Mac OSX restore compatibility
(default is NO
)
1390 --enable-transselinux restore can translate SELinux EAs
(default is YES
)
1393 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1394 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1395 --with-cc=COMPILER
select compiler to use
1396 --with-linker=LINKER
select linker to use
1397 --with-ccopts=CCOPTS
select compiler
command line options
1398 --with-ldopts=LDOPTS
select linker
command line options
1399 --with-binowner=USER
select owner
for binaries
1400 --with-bingrp=GROUP
select group
for binaries
1401 --with-binmode=MODE
select mode
for binaries
1402 --with-manowner=USER
select owner
for manual pages
1403 --with-mangrp=GROUP
select group
for manual pages
1404 --with-manmode=MODE
select mode
for manual pages
1405 --with-dumpdatespath=PATH
select path
for dumpdates
file
1407 Some influential environment variables
:
1408 CC C compiler
command
1409 CFLAGS C compiler flags
1410 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1411 nonstandard directory
<lib dir
>
1412 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1413 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1414 you have headers
in a nonstandard directory
<include dir
>
1417 Use these variables to override the choices made by
`configure' or to help
1418 it to find libraries and programs with nonstandard names/locations.
1424 if test "$ac_init_help" = "recursive"; then
1425 # If there are subdirs, report their specific --help.
1426 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1427 test -d "$ac_dir" ||
1428 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1436 # A ".." for each directory in $ac_dir_suffix.
1437 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1438 case $ac_top_builddir_sub in
1439 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1443 ac_abs_top_builddir=$ac_pwd
1444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1445 # for backward compatibility:
1446 ac_top_builddir=$ac_top_build_prefix
1449 .) # We are building in place.
1451 ac_top_srcdir=$ac_top_builddir_sub
1452 ac_abs_top_srcdir=$ac_pwd ;;
1453 [\\/]* | ?:[\\/]* ) # Absolute name.
1454 ac_srcdir=$srcdir$ac_dir_suffix;
1455 ac_top_srcdir=$srcdir
1456 ac_abs_top_srcdir=$srcdir ;;
1458 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1459 ac_top_srcdir=$ac_top_build_prefix$srcdir
1460 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1464 cd "$ac_dir" || { ac_status=$?; continue; }
1465 # Check for guested configure.
1466 if test -f "$ac_srcdir/configure.gnu"; then
1468 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1469 elif test -f "$ac_srcdir/configure"; then
1471 $SHELL "$ac_srcdir/configure" --help=recursive
1473 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1475 cd "$ac_pwd" || { ac_status=$?; break; }
1479 test -n "$ac_init_help" && exit $ac_status
1480 if $ac_init_version; then
1483 generated by GNU Autoconf 2.63
1485 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1486 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1487 This configure script is free software; the Free Software Foundation
1488 gives unlimited permission to copy, distribute and modify it.
1492 cat >config.log <<_ACEOF
1493 This file contains any messages produced by compilers while
1494 running configure, to aid debugging if configure makes a mistake.
1496 It was created by $as_me, which was
1497 generated by GNU Autoconf 2.63. Invocation command line was
1509 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1510 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1511 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1512 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1513 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1515 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1516 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1518 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1519 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1520 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1521 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1522 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1523 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1524 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 $as_echo "PATH: $as_dir"
1549 # Keep a trace of the command line.
1550 # Strip out --no-create and --no-recursion so they do not pile up.
1551 # Strip out --silent because we don't want to record it for future runs.
1552 # Also quote any args containing shell meta-characters.
1553 # Make two passes to allow for proper duplicate-argument suppression.
1557 ac_must_keep_next=false
1563 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1564 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1565 | -silent | --silent | --silen | --sile | --sil)
1568 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1571 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1573 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1574 if test $ac_must_keep_next = true; then
1575 ac_must_keep_next=false # Got value, back to normal.
1578 *=* | --config-cache | -C | -disable-* | --disable-* \
1579 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1580 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1581 | -with-* | --with-* | -without-* | --without-* | --x)
1582 case "$ac_configure_args0 " in
1583 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1586 -* ) ac_must_keep_next=true ;;
1589 ac_configure_args="$ac_configure_args '$ac_arg'"
1594 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1595 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1597 # When interrupted or exit'd, cleanup temporary files, and complete
1598 # config.log. We remove comments because anyway the quotes in there
1599 # would cause problems or look ugly.
1600 # WARNING: Use '\'' to represent an apostrophe within the trap.
1601 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1602 trap 'exit_status=$?
1603 # Save into config.log some information that might help in debugging.
1608 ## ---------------- ##
1609 ## Cache variables. ##
1610 ## ---------------- ##
1613 # The following way of writing the cache mishandles newlines in values,
1615 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1616 eval ac_val=\$$ac_var
1620 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1621 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1624 _ | IFS | as_nl) ;; #(
1625 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1626 *) $as_unset $ac_var ;;
1631 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1632 *${as_nl}ac_space=\ *)
1634 "s/'\''/'\''\\\\'\'''\''/g;
1635 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1638 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1646 ## ----------------- ##
1647 ## Output variables. ##
1648 ## ----------------- ##
1651 for ac_var in $ac_subst_vars
1653 eval ac_val=\$$ac_var
1655 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1657 $as_echo "$ac_var='\''$ac_val'\''"
1661 if test -n "$ac_subst_files"; then
1663 ## ------------------- ##
1664 ## File substitutions. ##
1665 ## ------------------- ##
1668 for ac_var in $ac_subst_files
1670 eval ac_val=\$$ac_var
1672 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1674 $as_echo "$ac_var='\''$ac_val'\''"
1679 if test -s confdefs.h; then
1689 test "$ac_signal" != 0 &&
1690 $as_echo "$as_me: caught signal $ac_signal"
1691 $as_echo "$as_me: exit $exit_status"
1693 rm -f core *.core core.conftest.* &&
1694 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1697 for ac_signal in 1 2 13 15; do
1698 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1702 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1703 rm -f -r conftest* confdefs.h
1705 # Predefined preprocessor variables.
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_NAME "$PACKAGE_NAME"
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1722 cat >>confdefs.h <<_ACEOF
1723 #define PACKAGE_STRING "$PACKAGE_STRING"
1727 cat >>confdefs.h <<_ACEOF
1728 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1732 # Let the site file select an alternate cache file if it wants to.
1733 # Prefer an explicitly selected file to automatically selected ones.
1736 if test -n "$CONFIG_SITE"; then
1737 ac_site_file1=$CONFIG_SITE
1738 elif test "x$prefix" != xNONE; then
1739 ac_site_file1=$prefix/share/config.site
1740 ac_site_file2=$prefix/etc/config.site
1742 ac_site_file1=$ac_default_prefix/share/config.site
1743 ac_site_file2=$ac_default_prefix/etc/config.site
1745 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1747 test "x$ac_site_file" = xNONE && continue
1748 if test -r "$ac_site_file"; then
1749 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1750 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1751 sed 's/^/| /' "$ac_site_file" >&5
1756 if test -r "$cache_file"; then
1757 # Some versions of bash will fail to source /dev/null (special
1758 # files actually), so we avoid doing that.
1759 if test -f "$cache_file"; then
1760 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1761 $as_echo "$as_me: loading cache $cache_file" >&6;}
1763 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1764 *) . "./$cache_file";;
1768 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1769 $as_echo "$as_me: creating cache $cache_file" >&6;}
1773 # Check that the precious variables saved in the cache have kept the same
1775 ac_cache_corrupted=false
1776 for ac_var in $ac_precious_vars; do
1777 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1778 eval ac_new_set=\$ac_env_${ac_var}_set
1779 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1780 eval ac_new_val=\$ac_env_${ac_var}_value
1781 case $ac_old_set,$ac_new_set in
1783 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1784 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1785 ac_cache_corrupted=: ;;
1787 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1788 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1789 ac_cache_corrupted=: ;;
1792 if test "x$ac_old_val" != "x$ac_new_val"; then
1793 # differences in whitespace do not lead to failure.
1794 ac_old_val_w=`echo x
$ac_old_val`
1795 ac_new_val_w=`echo x
$ac_new_val`
1796 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1797 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1798 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1799 ac_cache_corrupted=:
1801 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1802 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1803 eval $ac_var=\$ac_old_val
1805 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1806 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1807 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1808 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1811 # Pass precious variables to config.status.
1812 if test "$ac_new_set" = set; then
1814 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1815 *) ac_arg=$ac_var=$ac_new_val ;;
1817 case " $ac_configure_args " in
1818 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1819 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1823 if $ac_cache_corrupted; then
1824 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1826 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1827 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1828 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1829 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1830 { (exit 1); exit 1; }; }
1850 ac_cpp='$CPP $CPPFLAGS'
1851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1861 ac_config_headers="$ac_config_headers config.h
"
1864 { $as_echo "$as_me:$LINENO: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
1865 $as_echo_n "checking whether
${MAKE-make} sets \$
(MAKE
)...
" >&6; }
1867 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1868 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1869 $as_echo_n "(cached
) " >&6
1871 cat >conftest.make <<\_ACEOF
1874 @echo '@@@%%%=$(MAKE)=@@@%%%'
1876 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1877 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1879 eval ac_cv_prog_make_${ac_make}_set=yes;;
1881 eval ac_cv_prog_make_${ac_make}_set=no;;
1885 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1886 { $as_echo "$as_me:$LINENO: result
: yes" >&5
1887 $as_echo "yes" >&6; }
1890 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1891 $as_echo "no
" >&6; }
1892 SET_MAKE="MAKE
=${MAKE-make}"
1895 { $as_echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
1896 $as_echo_n "checking whether
ln -s works...
" >&6; }
1898 if test "$LN_S" = "ln -s"; then
1899 { $as_echo "$as_me:$LINENO: result
: yes" >&5
1900 $as_echo "yes" >&6; }
1902 { $as_echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
1903 $as_echo "no
, using
$LN_S" >&6; }
1906 # Extract the first word of "cp", so it can be a program name with args.
1907 set dummy cp; ac_word=$2
1908 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1909 $as_echo_n "checking
for $ac_word...
" >&6; }
1910 if test "${ac_cv_path_CP+set}" = set; then
1911 $as_echo_n "(cached
) " >&6
1915 ac_cv_path_CP="$CP" # Let the user override the test with a path.
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1925 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
1926 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1933 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
1938 if test -n "$CP"; then
1939 { $as_echo "$as_me:$LINENO: result
: $CP" >&5
1940 $as_echo "$CP" >&6; }
1942 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1943 $as_echo "no
" >&6; }
1947 # Extract the first word of "mv", so it can be a program name with args.
1948 set dummy mv; ac_word=$2
1949 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1950 $as_echo_n "checking
for $ac_word...
" >&6; }
1951 if test "${ac_cv_path_MV+set}" = set; then
1952 $as_echo_n "(cached
) " >&6
1956 ac_cv_path_MV="$MV" # Let the user override the test with a path.
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir=.
1964 for ac_exec_ext in '' $ac_executable_extensions; do
1965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1966 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
1967 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1974 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
1979 if test -n "$MV"; then
1980 { $as_echo "$as_me:$LINENO: result
: $MV" >&5
1981 $as_echo "$MV" >&6; }
1983 { $as_echo "$as_me:$LINENO: result
: no
" >&5
1984 $as_echo "no
" >&6; }
1988 # Extract the first word of "rm", so it can be a program name with args.
1989 set dummy rm; ac_word=$2
1990 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
1991 $as_echo_n "checking
for $ac_word...
" >&6; }
1992 if test "${ac_cv_path_RM+set}" = set; then
1993 $as_echo_n "(cached
) " >&6
1997 ac_cv_path_RM="$RM" # Let the user override the test with a path.
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2004 test -z "$as_dir" && as_dir=.
2005 for ac_exec_ext in '' $ac_executable_extensions; do
2006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2007 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
2008 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2015 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
2020 if test -n "$RM"; then
2021 { $as_echo "$as_me:$LINENO: result
: $RM" >&5
2022 $as_echo "$RM" >&6; }
2024 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2025 $as_echo "no
" >&6; }
2029 if test -n "$ac_tool_prefix"; then
2030 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2031 set dummy ${ac_tool_prefix}ar; ac_word=$2
2032 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2033 $as_echo_n "checking
for $ac_word...
" >&6; }
2034 if test "${ac_cv_prog_AR+set}" = set; then
2035 $as_echo_n "(cached
) " >&6
2037 if test -n "$AR"; then
2038 ac_cv_prog_AR="$AR" # Let the user override the test.
2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir=.
2045 for ac_exec_ext in '' $ac_executable_extensions; do
2046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2047 ac_cv_prog_AR="${ac_tool_prefix}ar"
2048 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2058 if test -n "$AR"; then
2059 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
2060 $as_echo "$AR" >&6; }
2062 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2063 $as_echo "no
" >&6; }
2068 if test -z "$ac_cv_prog_AR"; then
2070 # Extract the first word of "ar", so it can be a program name with args.
2071 set dummy ar; ac_word=$2
2072 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2073 $as_echo_n "checking
for $ac_word...
" >&6; }
2074 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2075 $as_echo_n "(cached
) " >&6
2077 if test -n "$ac_ct_AR"; then
2078 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 test -z "$as_dir" && as_dir=.
2085 for ac_exec_ext in '' $ac_executable_extensions; do
2086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2087 ac_cv_prog_ac_ct_AR="ar"
2088 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2097 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2098 if test -n "$ac_ct_AR"; then
2099 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
2100 $as_echo "$ac_ct_AR" >&6; }
2102 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2103 $as_echo "no
" >&6; }
2106 if test "x
$ac_ct_AR" = x; then
2109 case $cross_compiling:$ac_tool_warned in
2111 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2112 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2113 ac_tool_warned=yes ;;
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2123 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2124 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2125 $as_echo_n "checking
for $ac_word...
" >&6; }
2126 if test "${ac_cv_prog_RANLIB+set}" = set; then
2127 $as_echo_n "(cached
) " >&6
2129 if test -n "$RANLIB"; then
2130 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2139 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2140 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2149 RANLIB=$ac_cv_prog_RANLIB
2150 if test -n "$RANLIB"; then
2151 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
2152 $as_echo "$RANLIB" >&6; }
2154 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2155 $as_echo "no
" >&6; }
2160 if test -z "$ac_cv_prog_RANLIB"; then
2161 ac_ct_RANLIB=$RANLIB
2162 # Extract the first word of "ranlib
", so it can be a program name with args.
2163 set dummy ranlib; ac_word=$2
2164 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2165 $as_echo_n "checking
for $ac_word...
" >&6; }
2166 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2167 $as_echo_n "(cached
) " >&6
2169 if test -n "$ac_ct_RANLIB"; then
2170 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir=.
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_ac_ct_RANLIB="ranlib
"
2180 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2189 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2190 if test -n "$ac_ct_RANLIB"; then
2191 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
2192 $as_echo "$ac_ct_RANLIB" >&6; }
2194 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2195 $as_echo "no
" >&6; }
2198 if test "x
$ac_ct_RANLIB" = x; then
2201 case $cross_compiling:$ac_tool_warned in
2203 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2204 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2205 ac_tool_warned=yes ;;
2207 RANLIB=$ac_ct_RANLIB
2210 RANLIB="$ac_cv_prog_RANLIB"
2213 if test -n "$ac_tool_prefix"; then
2214 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
2215 set dummy ${ac_tool_prefix}patch; ac_word=$2
2216 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2217 $as_echo_n "checking
for $ac_word...
" >&6; }
2218 if test "${ac_cv_prog_PATCH+set}" = set; then
2219 $as_echo_n "(cached
) " >&6
2221 if test -n "$PATCH"; then
2222 ac_cv_prog_PATCH="$PATCH" # Let the user override the test.
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir=.
2229 for ac_exec_ext in '' $ac_executable_extensions; do
2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231 ac_cv_prog_PATCH="${ac_tool_prefix}patch"
2232 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2241 PATCH=$ac_cv_prog_PATCH
2242 if test -n "$PATCH"; then
2243 { $as_echo "$as_me:$LINENO: result
: $PATCH" >&5
2244 $as_echo "$PATCH" >&6; }
2246 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2247 $as_echo "no
" >&6; }
2252 if test -z "$ac_cv_prog_PATCH"; then
2254 # Extract the first word of "patch", so it can be a program name with args.
2255 set dummy patch; ac_word=$2
2256 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2257 $as_echo_n "checking
for $ac_word...
" >&6; }
2258 if test "${ac_cv_prog_ac_ct_PATCH+set}" = set; then
2259 $as_echo_n "(cached
) " >&6
2261 if test -n "$ac_ct_PATCH"; then
2262 ac_cv_prog_ac_ct_PATCH="$ac_ct_PATCH" # Let the user override the test.
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir=.
2269 for ac_exec_ext in '' $ac_executable_extensions; do
2270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2271 ac_cv_prog_ac_ct_PATCH="patch"
2272 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2281 ac_ct_PATCH=$ac_cv_prog_ac_ct_PATCH
2282 if test -n "$ac_ct_PATCH"; then
2283 { $as_echo "$as_me:$LINENO: result
: $ac_ct_PATCH" >&5
2284 $as_echo "$ac_ct_PATCH" >&6; }
2286 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2287 $as_echo "no
" >&6; }
2290 if test "x
$ac_ct_PATCH" = x; then
2293 case $cross_compiling:$ac_tool_warned in
2295 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2296 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2297 ac_tool_warned=yes ;;
2302 PATCH="$ac_cv_prog_PATCH"
2306 ac_cpp='$CPP $CPPFLAGS'
2307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2312 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2313 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2314 $as_echo_n "checking
for $ac_word...
" >&6; }
2315 if test "${ac_cv_prog_CC+set}" = set; then
2316 $as_echo_n "(cached
) " >&6
2318 if test -n "$CC"; then
2319 ac_cv_prog_CC="$CC" # Let the user override the test.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2329 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2339 if test -n "$CC"; then
2340 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2341 $as_echo "$CC" >&6; }
2343 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2344 $as_echo "no
" >&6; }
2349 if test -z "$ac_cv_prog_CC"; then
2351 # Extract the first word of "gcc
", so it can be a program name with args.
2352 set dummy gcc; ac_word=$2
2353 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2354 $as_echo_n "checking
for $ac_word...
" >&6; }
2355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2356 $as_echo_n "(cached
) " >&6
2358 if test -n "$ac_ct_CC"; then
2359 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_ac_ct_CC="gcc
"
2369 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2378 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2379 if test -n "$ac_ct_CC"; then
2380 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2381 $as_echo "$ac_ct_CC" >&6; }
2383 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2384 $as_echo "no
" >&6; }
2387 if test "x
$ac_ct_CC" = x; then
2390 case $cross_compiling:$ac_tool_warned in
2392 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2393 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2394 ac_tool_warned=yes ;;
2402 if test -z "$CC"; then
2403 if test -n "$ac_tool_prefix"; then
2404 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2405 set dummy ${ac_tool_prefix}cc; ac_word=$2
2406 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2407 $as_echo_n "checking
for $ac_word...
" >&6; }
2408 if test "${ac_cv_prog_CC+set}" = set; then
2409 $as_echo_n "(cached
) " >&6
2411 if test -n "$CC"; then
2412 ac_cv_prog_CC="$CC" # Let the user override the test.
2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 test -z "$as_dir" && as_dir=.
2419 for ac_exec_ext in '' $ac_executable_extensions; do
2420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2421 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2422 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2432 if test -n "$CC"; then
2433 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2434 $as_echo "$CC" >&6; }
2436 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2437 $as_echo "no
" >&6; }
2443 if test -z "$CC"; then
2444 # Extract the first word of "cc
", so it can be a program name with args.
2445 set dummy cc; ac_word=$2
2446 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2447 $as_echo_n "checking
for $ac_word...
" >&6; }
2448 if test "${ac_cv_prog_CC+set}" = set; then
2449 $as_echo_n "(cached
) " >&6
2451 if test -n "$CC"; then
2452 ac_cv_prog_CC="$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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2463 ac_prog_rejected=yes
2467 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2474 if test $ac_prog_rejected = yes; then
2475 # We found a bogon in the path, so make sure we never use it.
2476 set dummy $ac_cv_prog_CC
2478 if test $# != 0; then
2479 # We chose a different compiler from the bogus one.
2480 # However, it has the same basename, so the bogon will be chosen
2481 # first if we set CC to just the basename; use the full file name.
2483 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2489 if test -n "$CC"; then
2490 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2491 $as_echo "$CC" >&6; }
2493 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2494 $as_echo "no
" >&6; }
2499 if test -z "$CC"; then
2500 if test -n "$ac_tool_prefix"; then
2501 for ac_prog in cl.exe
2503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2504 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2505 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2506 $as_echo_n "checking
for $ac_word...
" >&6; }
2507 if test "${ac_cv_prog_CC+set}" = set; then
2508 $as_echo_n "(cached
) " >&6
2510 if test -n "$CC"; then
2511 ac_cv_prog_CC="$CC" # Let the user override the test.
2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir=.
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2521 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2531 if test -n "$CC"; then
2532 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2533 $as_echo "$CC" >&6; }
2535 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2536 $as_echo "no
" >&6; }
2540 test -n "$CC" && break
2543 if test -z "$CC"; then
2545 for ac_prog in cl.exe
2547 # Extract the first word of "$ac_prog", so it can be a program name with args.
2548 set dummy $ac_prog; ac_word=$2
2549 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2550 $as_echo_n "checking
for $ac_word...
" >&6; }
2551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2552 $as_echo_n "(cached
) " >&6
2554 if test -n "$ac_ct_CC"; then
2555 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_ac_ct_CC="$ac_prog"
2565 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2574 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2575 if test -n "$ac_ct_CC"; then
2576 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2577 $as_echo "$ac_ct_CC" >&6; }
2579 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2580 $as_echo "no
" >&6; }
2584 test -n "$ac_ct_CC" && break
2587 if test "x
$ac_ct_CC" = x; then
2590 case $cross_compiling:$ac_tool_warned in
2592 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2593 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2594 ac_tool_warned=yes ;;
2603 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2605 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2606 See \`config.log' for more details.
" >&5
2607 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2608 See \
`config.log' for more details." >&2;}
2609 { (exit 1); exit 1; }; }; }
2611 # Provide some information about the compiler.
2612 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2615 { (ac_try="$ac_compiler --version >&5"
2617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2618 *) ac_try_echo
=$ac_try;;
2620 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2621 $as_echo "$ac_try_echo") >&5
2622 (eval "$ac_compiler --version >&5") 2>&5
2624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }
2626 { (ac_try
="$ac_compiler -v >&5"
2628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2632 $as_echo "$ac_try_echo") >&5
2633 (eval "$ac_compiler -v >&5") 2>&5
2635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }
2637 { (ac_try="$ac_compiler -V >&5"
2639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2640 *) ac_try_echo
=$ac_try;;
2642 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2643 $as_echo "$ac_try_echo") >&5
2644 (eval "$ac_compiler -V >&5") 2>&5
2646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); }
2649 cat >conftest.
$ac_ext <<_ACEOF
2652 cat confdefs.h
>>conftest.
$ac_ext
2653 cat >>conftest.
$ac_ext <<_ACEOF
2654 /* end confdefs.h. */
2664 ac_clean_files_save
=$ac_clean_files
2665 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2666 # Try to create an executable without -o first, disregard a.out.
2667 # It will help us diagnose broken compilers, and finding out an intuition
2669 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2670 $as_echo_n "checking for C compiler default output file name... " >&6; }
2671 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2673 # The possible output files:
2674 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2677 for ac_file
in $ac_files
2680 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2681 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2686 if { (ac_try
="$ac_link_default"
2688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2692 $as_echo "$ac_try_echo") >&5
2693 (eval "$ac_link_default") 2>&5
2695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; then
2697 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2698 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2699 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2700 # so that the user can short-circuit this test for compilers unknown to
2702 for ac_file in $ac_files ''
2704 test -f "$ac_file" || continue
2706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2709 # We found the default executable, but exeext='' is most
2713 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2715 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2717 # We set ac_cv_exeext here because the later test for it is not
2718 # safe: cross compilers may not add the suffix if given an `-o'
2719 # argument, so we may need to know it at that point already.
2720 # Even if this section looks crufty: it has the advantage of
2727 test "$ac_cv_exeext" = no && ac_cv_exeext=
2733 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2734 $as_echo "$ac_file" >&6; }
2735 if test -z "$ac_file"; then
2736 $as_echo "$as_me: failed program was:" >&5
2737 sed 's
/^
/|
/' conftest.$ac_ext >&5
2739 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2740 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2741 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2742 See \`config.log
' for more details." >&5
2743 $as_echo "$as_me: error: C compiler cannot create executables
2744 See \`config.log' for more details.
" >&2;}
2745 { (exit 77); exit 77; }; }; }
2748 ac_exeext=$ac_cv_exeext
2750 # Check that the compiler produces executables we can run. If not, either
2751 # the compiler is broken, or we cross compile.
2752 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2753 $as_echo_n "checking whether the C compiler works...
" >&6; }
2754 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2755 # If not cross compiling, check that we can run a simple program.
2756 if test "$cross_compiling" != yes; then
2757 if { ac_try='./$ac_file'
2758 { (case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2763 $as_echo "$ac_try_echo") >&5
2764 (eval "$ac_try") 2>&5
2766 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2767 (exit $ac_status); }; }; then
2770 if test "$cross_compiling" = maybe; then
2773 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2775 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2776 If you meant to cross compile, use \`--host'.
2777 See \
`config.log' for more details." >&5
2778 $as_echo "$as_me: error: cannot run C compiled programs.
2779 If you meant to cross compile, use \`--host'.
2780 See \`config.log' for more details.
" >&2;}
2781 { (exit 1); exit 1; }; }; }
2785 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2786 $as_echo "yes" >&6; }
2788 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2789 ac_clean_files=$ac_clean_files_save
2790 # Check that the compiler produces executables we can run. If not, either
2791 # the compiler is broken, or we cross compile.
2792 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2793 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2794 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2795 $as_echo "$cross_compiling" >&6; }
2797 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2798 $as_echo_n "checking
for suffix of executables...
" >&6; }
2799 if { (ac_try="$ac_link"
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2804 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2805 $as_echo "$ac_try_echo") >&5
2806 (eval "$ac_link") 2>&5
2808 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2809 (exit $ac_status); }; then
2810 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2811 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2812 # work properly (i.e., refer to `conftest.exe'), while it won't with
2814 for ac_file in conftest.exe conftest conftest.*; do
2815 test -f "$ac_file" || continue
2817 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2818 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2824 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2827 See \`config.log' for more details.
" >&5
2828 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2829 See \
`config.log' for more details." >&2;}
2830 { (exit 1); exit 1; }; }; }
2833 rm -f conftest$ac_cv_exeext
2834 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2835 $as_echo "$ac_cv_exeext" >&6; }
2837 rm -f conftest.$ac_ext
2838 EXEEXT=$ac_cv_exeext
2840 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2841 $as_echo_n "checking for suffix of object files... " >&6; }
2842 if test "${ac_cv_objext+set}" = set; then
2843 $as_echo_n "(cached) " >&6
2845 cat >conftest.$ac_ext <<_ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2860 rm -f conftest.o conftest.obj
2861 if { (ac_try="$ac_compile"
2863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2864 *) ac_try_echo
=$ac_try;;
2866 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2867 $as_echo "$ac_try_echo") >&5
2868 (eval "$ac_compile") 2>&5
2870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; then
2872 for ac_file
in conftest.o conftest.obj conftest.
*; do
2873 test -f "$ac_file" ||
continue;
2875 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2876 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2881 $as_echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.
$ac_ext >&5
2884 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2886 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2887 See \`config.log' for more details." >&5
2888 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2889 See \`config.log' for more details." >&2;}
2890 { (exit 1); exit 1; }; }; }
2893 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2895 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2896 $as_echo "$ac_cv_objext" >&6; }
2897 OBJEXT
=$ac_cv_objext
2899 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2900 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2901 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2902 $as_echo_n "(cached) " >&6
2904 cat >conftest.
$ac_ext <<_ACEOF
2907 cat confdefs.h
>>conftest.
$ac_ext
2908 cat >>conftest.
$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2922 rm -f conftest.
$ac_objext
2923 if { (ac_try
="$ac_compile"
2925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2929 $as_echo "$ac_try_echo") >&5
2930 (eval "$ac_compile") 2>conftest.er1
2932 grep -v '^ *+' conftest.er1 >conftest.err
2934 cat conftest.err >&5
2935 $as_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_objext; then
2942 $as_echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2952 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2953 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2954 if test $ac_compiler_gnu = yes; then
2959 ac_test_CFLAGS=${CFLAGS+set}
2960 ac_save_CFLAGS=$CFLAGS
2961 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2962 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2963 if test "${ac_cv_prog_cc_g+set}" = set; then
2964 $as_echo_n "(cached) " >&6
2966 ac_save_c_werror_flag=$ac_c_werror_flag
2967 ac_c_werror_flag=yes
2970 cat >conftest.$ac_ext <<_ACEOF
2973 cat confdefs.h >>conftest.$ac_ext
2974 cat >>conftest.$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2985 rm -f conftest.$ac_objext
2986 if { (ac_try="$ac_compile"
2988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2989 *) ac_try_echo
=$ac_try;;
2991 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2992 $as_echo "$ac_try_echo") >&5
2993 (eval "$ac_compile") 2>conftest.er1
2995 grep -v '^ *+' conftest.er1
>conftest.err
2997 cat conftest.err
>&5
2998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } && {
3000 test -z "$ac_c_werror_flag" ||
3001 test ! -s conftest.err
3002 } && test -s conftest.
$ac_objext; then
3005 $as_echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.
$ac_ext >&5
3009 cat >conftest.
$ac_ext <<_ACEOF
3012 cat confdefs.h
>>conftest.
$ac_ext
3013 cat >>conftest.
$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3024 rm -f conftest.
$ac_objext
3025 if { (ac_try
="$ac_compile"
3027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3031 $as_echo "$ac_try_echo") >&5
3032 (eval "$ac_compile") 2>conftest.er1
3034 grep -v '^ *+' conftest.er1 >conftest.err
3036 cat conftest.err >&5
3037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); } && {
3039 test -z "$ac_c_werror_flag" ||
3040 test ! -s conftest.err
3041 } && test -s conftest.$ac_objext; then
3044 $as_echo "$as_me: failed program was:" >&5
3045 sed 's/^/| /' conftest.$ac_ext >&5
3047 ac_c_werror_flag=$ac_save_c_werror_flag
3049 cat >conftest.$ac_ext <<_ACEOF
3052 cat confdefs.h >>conftest.$ac_ext
3053 cat >>conftest.$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3064 rm -f conftest.$ac_objext
3065 if { (ac_try="$ac_compile"
3067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3068 *) ac_try_echo
=$ac_try;;
3070 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3071 $as_echo "$ac_try_echo") >&5
3072 (eval "$ac_compile") 2>conftest.er1
3074 grep -v '^ *+' conftest.er1
>conftest.err
3076 cat conftest.err
>&5
3077 $as_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
3084 $as_echo "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.
$ac_ext >&5
3090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3097 ac_c_werror_flag
=$ac_save_c_werror_flag
3099 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3100 $as_echo "$ac_cv_prog_cc_g" >&6; }
3101 if test "$ac_test_CFLAGS" = set; then
3102 CFLAGS
=$ac_save_CFLAGS
3103 elif test $ac_cv_prog_cc_g = yes; then
3104 if test "$GCC" = yes; then
3110 if test "$GCC" = yes; then
3116 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3117 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3118 if test "${ac_cv_prog_cc_c89+set}" = set; then
3119 $as_echo_n "(cached) " >&6
3121 ac_cv_prog_cc_c89
=no
3123 cat >conftest.
$ac_ext <<_ACEOF
3126 cat confdefs.h
>>conftest.
$ac_ext
3127 cat >>conftest.
$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3131 #include <sys/types.h>
3132 #include <sys/stat.h>
3133 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3134 struct buf { int x; };
3135 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3136 static char *e (p, i)
3142 static char *f (char * (*g) (char **, int), char **p, ...)
3147 s = g (p, va_arg (v,int));
3152 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3153 function prototypes and stuff, but not '\xHH' hex character constants.
3154 These don't provoke an error unfortunately, instead are silently treated
3155 as 'x'. The following induces an error, until -std is added to get
3156 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3157 array size at least. It's necessary to write '\x00'==0 to get something
3158 that's true only with -std. */
3159 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3161 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3162 inside strings and character constants. */
3164 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3166 int test (int i, double x);
3167 struct s1 {int (*f) (int a);};
3168 struct s2 {int (*f) (double a);};
3169 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3175 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3180 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3181 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3183 CC
="$ac_save_CC $ac_arg"
3184 rm -f conftest.
$ac_objext
3185 if { (ac_try
="$ac_compile"
3187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3188 *) ac_try_echo=$ac_try;;
3190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3191 $as_echo "$ac_try_echo") >&5
3192 (eval "$ac_compile") 2>conftest.er1
3194 grep -v '^ *+' conftest.er1 >conftest.err
3196 cat conftest.err >&5
3197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } && {
3199 test -z "$ac_c_werror_flag" ||
3200 test ! -s conftest.err
3201 } && test -s conftest.$ac_objext; then
3202 ac_cv_prog_cc_c89=$ac_arg
3204 $as_echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3210 rm -f core conftest.err conftest.$ac_objext
3211 test "x$ac_cv_prog_cc_c89" != "xno" && break
3213 rm -f conftest.$ac_ext
3218 case "x$ac_cv_prog_cc_c89" in
3220 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3221 $as_echo "none needed" >&6; } ;;
3223 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3224 $as_echo "unsupported" >&6; } ;;
3226 CC="$CC $ac_cv_prog_cc_c89"
3227 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3228 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3233 ac_cpp='$CPP $CPPFLAGS'
3234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3240 if test -f "$ac_dir/install-sh"; then
3242 ac_install_sh="$ac_aux_dir/install-sh -c"
3244 elif test -f "$ac_dir/install.sh"; then
3246 ac_install_sh="$ac_aux_dir/install.sh -c"
3248 elif test -f "$ac_dir/shtool"; then
3250 ac_install_sh="$ac_aux_dir/shtool install -c"
3254 if test -z "$ac_aux_dir"; then
3255 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3256 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3257 { (exit 1); exit 1; }; }
3260 # These three variables are undocumented and unsupported,
3261 # and are intended to be withdrawn in a future Autoconf release.
3262 # They can cause serious problems if a builder's source tree is in a directory
3263 # whose full name contains unusual characters.
3264 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3265 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3266 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3269 # Find a good install program. We prefer a C program (faster),
3270 # so one script is as good as another. But avoid the broken or
3271 # incompatible versions:
3272 # SysV /etc/install, /usr/sbin/install
3273 # SunOS /usr/etc/install
3274 # IRIX /sbin/install
3276 # AmigaOS /C/install, which installs bootblocks on floppy discs
3277 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3278 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3279 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3280 # OS/2's system install, which has a completely different semantic
3281 # ./install, which can be erroneously created by make from ./install.sh.
3282 # Reject install programs that cannot install multiple files.
3283 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3284 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3285 if test -z "$INSTALL"; then
3286 if test "${ac_cv_path_install+set}" = set; then
3287 $as_echo_n "(cached) " >&6
3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 test -z "$as_dir" && as_dir=.
3294 # Account for people who put trailing slashes in PATH elements.
3296 ./ | .// | /cC/* | \
3297 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3298 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3301 # OSF1 and SCO ODT 3.0 have their own names for install.
3302 # Don't use installbsd from OSF since it installs stuff as root
3304 for ac_prog in ginstall scoinst install; do
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3307 if test $ac_prog = install &&
3308 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3309 # AIX install. It has an incompatible calling convention.
3311 elif test $ac_prog = install &&
3312 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3313 # program-specific install script used by HP pwplus--don't use.
3316 rm -rf conftest.one conftest.two conftest.dir
3317 echo one > conftest.one
3318 echo two > conftest.two
3320 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3321 test -s conftest.one && test -s conftest.two &&
3322 test -s conftest.dir/conftest.one &&
3323 test -s conftest.dir/conftest.two
3325 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3338 rm -rf conftest.one conftest.two conftest.dir
3341 if test "${ac_cv_path_install+set}" = set; then
3342 INSTALL=$ac_cv_path_install
3344 # As a last resort, use the slow shell script. Don't cache a
3345 # value for INSTALL within a source directory, because that will
3346 # break other packages using the cache if that directory is
3347 # removed, or if the value is a relative name.
3348 INSTALL=$ac_install_sh
3351 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3352 $as_echo "$INSTALL" >&6; }
3354 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3355 # It thinks the first close brace ends the variable substitution.
3356 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3358 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3360 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3365 ac_cpp='$CPP $CPPFLAGS'
3366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3369 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3370 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3371 # On Suns, sometimes $CPP names a directory.
3372 if test -n "$CPP" && test -d "$CPP"; then
3375 if test -z "$CPP"; then
3376 if test "${ac_cv_prog_CPP+set}" = set; then
3377 $as_echo_n "(cached) " >&6
3379 # Double quotes because CPP needs to be expanded
3380 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3383 for ac_c_preproc_warn_flag in '' yes
3385 # Use a header file that comes with gcc, so configuring glibc
3386 # with a fresh cross-compiler works.
3387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3388 # <limits.h> exists even on freestanding compilers.
3389 # On the NeXT, cc -E runs the code through the compiler's parser,
3390 # not just through cpp. "Syntax error" is here to catch this case.
3391 cat >conftest.$ac_ext <<_ACEOF
3394 cat confdefs.h >>conftest.$ac_ext
3395 cat >>conftest.$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3398 # include <limits.h>
3400 # include <assert.h>
3404 if { (ac_try="$ac_cpp conftest.$ac_ext"
3406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3407 *) ac_try_echo
=$ac_try;;