2 # From configure.in @(#) Id (LBL).
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.62.
6 # Copyright (c) 1995, 1996, 1997, 2006, 2009
7 # The Regents of the University of California. All rights reserved.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## --------------------- ##
14 ## M4sh Initialization. ##
15 ## --------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in
28 *posix
*) set -o posix
;;
37 # Avoid depending upon Character Ranges.
38 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
39 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41 as_cr_digits
='0123456789'
42 as_cr_alnum
=$as_cr_Letters$as_cr_digits
47 # Printing a long string crashes Solaris 7 /usr/bin/printf.
48 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
50 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
51 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # Support unset when possible.
86 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
94 # We need space, tab and new line, in precisely that order. Quoting is
95 # there to prevent editors from complaining about space-tab.
96 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
97 # splitting by setting IFS to empty value.)
100 # Find who we are. Look in the path if we contain no directory separator.
102 *[\\/]* ) as_myself=$0 ;;
103 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107 test -z "$as_dir" && as_dir=.
108 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 # We did not find ourselves, most probably we were run as `sh COMMAND'
115 # in which case we are not to be found in the path.
116 if test "x$as_myself" = x
; then
119 if test ! -f "$as_myself"; then
120 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
121 { (exit 1); exit 1; }
124 # Work around bugs in pre-3.0 UWIN ksh.
125 for as_var
in ENV MAIL MAILPATH
126 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
138 # Required to use basename.
139 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
140 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
146 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
153 # Name of the executable.
154 as_me
=`$as_basename -- "$0" ||
155 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
156 X"$0" : 'X\(//\)$' \| \
157 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
159 sed '/^.*\/\([^/][^/]*\)\/*$/{
177 if test "x$CONFIG_SHELL" = x
; then
178 if (eval ":") 2>/dev
/null
; then
184 if test $as_have_required = yes && (eval ":
194 as_func_ret_success () {
197 as_func_ret_failure () {
202 if as_func_success; then
206 echo as_func_success failed.
209 if as_func_failure; then
211 echo as_func_failure succeeded.
214 if as_func_ret_success; then
218 echo as_func_ret_success failed.
221 if as_func_ret_failure; then
223 echo as_func_ret_failure succeeded.
226 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
230 echo positional parameters were not saved.
233 test \$exitcode = 0) || { (exit 1); exit 1; }
238 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
239 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
240 ") 2> /dev
/null
; then
244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
245 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
248 test -z "$as_dir" && as_dir
=.
251 for as_base
in sh bash ksh sh5
; do
252 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
259 for as_shell
in $as_candidate_shells $SHELL; do
260 # Try only shells that exist, to save several forks.
261 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
262 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
281 CONFIG_SHELL
=$as_shell
283 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
284 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
287 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
288 # is contrary to our usage. Disable this feature.
289 alias -g '${1+"$@"}'='"$@"'
292 case `(set -o) 2>/dev/null` in
293 *posix
*) set -o posix
;;
309 as_func_ret_success
() {
312 as_func_ret_failure
() {
317 if as_func_success
; then
321 echo as_func_success failed.
324 if as_func_failure
; then
326 echo as_func_failure succeeded.
329 if as_func_ret_success
; then
333 echo as_func_ret_success failed.
336 if as_func_ret_failure
; then
338 echo as_func_ret_failure succeeded.
341 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
345 echo positional parameters were not saved.
348 test $exitcode = 0) ||
{ (exit 1); exit 1; }
353 test "x$as_lineno_1" != "x$as_lineno_2" &&
354 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
365 if test "x$CONFIG_SHELL" != x
; then
366 for as_var
in BASH_ENV ENV
367 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
370 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
374 if test $as_have_required = no
; then
375 echo This
script requires a shell
more modern than all the
376 echo shells that I found on your system. Please
install a
377 echo modern shell
, or manually run the
script under such a
378 echo shell
if you
do have one.
379 { (exit 1); exit 1; }
389 (eval "as_func_return () {
398 as_func_ret_success () {
401 as_func_ret_failure () {
406 if as_func_success; then
410 echo as_func_success failed.
413 if as_func_failure; then
415 echo as_func_failure succeeded.
418 if as_func_ret_success; then
422 echo as_func_ret_success failed.
425 if as_func_ret_failure; then
427 echo as_func_ret_failure succeeded.
430 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
434 echo positional parameters were not saved.
437 test \$exitcode = 0") ||
{
438 echo No shell found that supports shell functions.
439 echo Please tell bug-autoconf@gnu.org about your system
,
440 echo including any error possibly output before this message.
441 echo This can
help us improve future autoconf versions.
442 echo Configuration will now proceed without shell functions.
449 test "x$as_lineno_1" != "x$as_lineno_2" &&
450 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
452 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
453 # uniformly replaced by the line number. The first 'sed' inserts a
454 # line-number line after each line using $LINENO; the second 'sed'
455 # does the real work. The second script uses 'N' to pair each
456 # line-number line with the line containing $LINENO, and appends
457 # trailing '-' during substitution so that $LINENO is not a special
459 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
460 # scripts with optimization help from Paolo Bonzini. Blame Lee
461 # E. McMahon (1931-1989) for sed's syntax. :-)
473 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
477 chmod +x
"$as_me.lineno" ||
478 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
479 { (exit 1); exit 1; }; }
481 # Don't try to exec as it changes $[0], causing all sort of problems
482 # (the dirname of $[0] is not the place where we might find the
483 # original and so on. Autoconf is especially sensitive to this).
485 # Exit status is that of the last command.
490 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
496 ECHO_C
= ECHO_N
= ECHO_T
=
500 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
507 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -p'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
543 test -d .
/-p && rmdir .
/-p
547 if test -x / >/dev
/null
2>&1; then
550 if ls -dL / >/dev
/null
2>&1; then
557 if test -d "$1"; then
563 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
564 ???[sx]*):;;*)false;;esac;fi
568 as_executable_p
=$as_test_x
570 # Sed expression to map a string onto a valid CPP name.
571 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
573 # Sed expression to map a string onto a valid variable name.
574 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
578 exec 7<&0 </dev
/null
6>&1
581 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
582 # so uname gets run too.
583 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
588 ac_default_prefix
=/usr
/local
590 ac_config_libobj_dir
=.
596 SHELL
=${CONFIG_SHELL-/bin/sh}
598 # Identity of this package.
605 ac_unique_file
="nslint.c"
606 # Factoring default headers for most tests.
607 ac_includes_default
="\
609 #ifdef HAVE_SYS_TYPES_H
610 # include <sys/types.h>
612 #ifdef HAVE_SYS_STAT_H
613 # include <sys/stat.h>
619 # ifdef HAVE_STDLIB_H
624 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
651 program_transform_name
711 enable_option_checking
716 ac_precious_vars
='build_alias
727 # Initialize some variables set by options.
729 ac_init_version
=false
730 ac_unrecognized_opts
=
732 # The variables have the same names as the options, with
733 # dashes changed to underlines.
741 program_transform_name
=s
,x
,x
,
749 # Installation directory options.
750 # These are left unexpanded so users can "make install exec_prefix=/foo"
751 # and all the variables that are supposed to be based on exec_prefix
752 # by default will actually change.
753 # Use braces instead of parens because sh, perl, etc. also accept them.
754 # (The list follows the same order as the GNU Coding Standards.)
755 bindir
='${exec_prefix}/bin'
756 sbindir
='${exec_prefix}/sbin'
757 libexecdir
='${exec_prefix}/libexec'
758 datarootdir
='${prefix}/share'
759 datadir
='${datarootdir}'
760 sysconfdir
='${prefix}/etc'
761 sharedstatedir
='${prefix}/com'
762 localstatedir
='${prefix}/var'
763 includedir
='${prefix}/include'
764 oldincludedir
='/usr/include'
765 docdir
='${datarootdir}/doc/${PACKAGE}'
766 infodir
='${datarootdir}/info'
771 libdir
='${exec_prefix}/lib'
772 localedir
='${datarootdir}/locale'
773 mandir
='${datarootdir}/man'
779 # If the previous option needs an argument, assign it.
780 if test -n "$ac_prev"; then
781 eval $ac_prev=\
$ac_option
787 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
791 # Accept the important Cygnus configure options, so we can diagnose typos.
793 case $ac_dashdash$ac_option in
797 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
799 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
802 -build |
--build |
--buil |
--bui |
--bu)
803 ac_prev
=build_alias
;;
804 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
805 build_alias
=$ac_optarg ;;
807 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
808 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
809 ac_prev
=cache_file
;;
810 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
811 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
812 cache_file
=$ac_optarg ;;
815 cache_file
=config.cache
;;
817 -datadir |
--datadir |
--datadi |
--datad)
819 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
820 datadir
=$ac_optarg ;;
822 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
823 |
--dataroo |
--dataro |
--datar)
824 ac_prev
=datarootdir
;;
825 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
826 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
827 datarootdir
=$ac_optarg ;;
829 -disable-* |
--disable-*)
830 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
831 # Reject names that are not valid shell variable names.
832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
833 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
834 { (exit 1); exit 1; }; }
835 ac_useropt_orig
=$ac_useropt
836 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
841 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
842 ac_unrecognized_sep
=', ';;
844 eval enable_
$ac_useropt=no
;;
846 -docdir |
--docdir |
--docdi |
--doc |
--do)
848 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
851 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
853 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
856 -enable-* |
--enable-*)
857 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
860 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
861 { (exit 1); exit 1; }; }
862 ac_useropt_orig
=$ac_useropt
863 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864 case $ac_user_opts in
868 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
869 ac_unrecognized_sep
=', ';;
871 eval enable_
$ac_useropt=\
$ac_optarg ;;
873 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
874 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
875 |
--exec |
--exe |
--ex)
876 ac_prev
=exec_prefix
;;
877 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
878 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
879 |
--exec=* |
--exe=* |
--ex=*)
880 exec_prefix
=$ac_optarg ;;
882 -gas |
--gas |
--ga |
--g)
883 # Obsolete; use --with-gas.
886 -help |
--help |
--hel |
--he |
-h)
888 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
889 ac_init_help
=recursive
;;
890 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
891 ac_init_help
=short
;;
893 -host |
--host |
--hos |
--ho)
894 ac_prev
=host_alias
;;
895 -host=* |
--host=* |
--hos=* |
--ho=*)
896 host_alias
=$ac_optarg ;;
898 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
900 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
902 htmldir
=$ac_optarg ;;
904 -includedir |
--includedir |
--includedi |
--included |
--include \
905 |
--includ |
--inclu |
--incl |
--inc)
906 ac_prev
=includedir
;;
907 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
908 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
909 includedir
=$ac_optarg ;;
911 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
913 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
914 infodir
=$ac_optarg ;;
916 -libdir |
--libdir |
--libdi |
--libd)
918 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
921 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
922 |
--libexe |
--libex |
--libe)
923 ac_prev
=libexecdir
;;
924 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
925 |
--libexe=* |
--libex=* |
--libe=*)
926 libexecdir
=$ac_optarg ;;
928 -localedir |
--localedir |
--localedi |
--localed |
--locale)
930 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
931 localedir
=$ac_optarg ;;
933 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
934 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
935 ac_prev
=localstatedir
;;
936 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
937 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
938 localstatedir
=$ac_optarg ;;
940 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
942 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
946 # Obsolete; use --without-fp.
949 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
950 |
--no-cr |
--no-c |
-n)
953 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
954 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
957 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
958 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
959 |
--oldin |
--oldi |
--old |
--ol |
--o)
960 ac_prev
=oldincludedir
;;
961 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
962 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
963 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
964 oldincludedir
=$ac_optarg ;;
966 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
968 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
971 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
972 |
--program-pre |
--program-pr |
--program-p)
973 ac_prev
=program_prefix
;;
974 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
975 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
976 program_prefix
=$ac_optarg ;;
978 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
979 |
--program-suf |
--program-su |
--program-s)
980 ac_prev
=program_suffix
;;
981 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
982 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
983 program_suffix
=$ac_optarg ;;
985 -program-transform-name |
--program-transform-name \
986 |
--program-transform-nam |
--program-transform-na \
987 |
--program-transform-n |
--program-transform- \
988 |
--program-transform |
--program-transfor \
989 |
--program-transfo |
--program-transf \
990 |
--program-trans |
--program-tran \
991 |
--progr-tra |
--program-tr |
--program-t)
992 ac_prev
=program_transform_name
;;
993 -program-transform-name=* |
--program-transform-name=* \
994 |
--program-transform-nam=* |
--program-transform-na=* \
995 |
--program-transform-n=* |
--program-transform-=* \
996 |
--program-transform=* |
--program-transfor=* \
997 |
--program-transfo=* |
--program-transf=* \
998 |
--program-trans=* |
--program-tran=* \
999 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1000 program_transform_name
=$ac_optarg ;;
1002 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1004 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1005 pdfdir
=$ac_optarg ;;
1007 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1009 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1012 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1013 |
-silent |
--silent |
--silen |
--sile |
--sil)
1016 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1018 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1020 sbindir
=$ac_optarg ;;
1022 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1023 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1024 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1026 ac_prev
=sharedstatedir
;;
1027 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1028 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1029 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1031 sharedstatedir
=$ac_optarg ;;
1033 -site |
--site |
--sit)
1035 -site=* |
--site=* |
--sit=*)
1038 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1040 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1041 srcdir
=$ac_optarg ;;
1043 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1044 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1045 ac_prev
=sysconfdir
;;
1046 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1047 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1048 sysconfdir
=$ac_optarg ;;
1050 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1051 ac_prev
=target_alias
;;
1052 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1053 target_alias
=$ac_optarg ;;
1055 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1058 -version |
--version |
--versio |
--versi |
--vers |
-V)
1059 ac_init_version
=: ;;
1062 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1065 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1066 { (exit 1); exit 1; }; }
1067 ac_useropt_orig
=$ac_useropt
1068 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1073 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1074 ac_unrecognized_sep
=', ';;
1076 eval with_
$ac_useropt=\
$ac_optarg ;;
1078 -without-* |
--without-*)
1079 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1083 { (exit 1); exit 1; }; }
1084 ac_useropt_orig
=$ac_useropt
1085 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1090 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1091 ac_unrecognized_sep
=', ';;
1093 eval with_
$ac_useropt=no
;;
1096 # Obsolete; use --with-x.
1099 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1100 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1101 ac_prev
=x_includes
;;
1102 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1103 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1104 x_includes
=$ac_optarg ;;
1106 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1107 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1108 ac_prev
=x_libraries
;;
1109 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1110 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1111 x_libraries
=$ac_optarg ;;
1113 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1114 Try \`$0 --help' for more information." >&2
1115 { (exit 1); exit 1; }; }
1119 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1122 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1123 { (exit 1); exit 1; }; }
1124 eval $ac_envvar=\
$ac_optarg
1125 export $ac_envvar ;;
1128 # FIXME: should be removed in autoconf 3.0.
1129 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1130 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1131 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1132 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1138 if test -n "$ac_prev"; then
1139 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1140 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1141 { (exit 1); exit 1; }; }
1144 if test -n "$ac_unrecognized_opts"; then
1145 case $enable_option_checking in
1147 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1148 { (exit 1); exit 1; }; } ;;
1149 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1153 # Check all directory arguments for consistency.
1154 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1155 datadir sysconfdir sharedstatedir localstatedir includedir \
1156 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1157 libdir localedir mandir
1159 eval ac_val
=\$
$ac_var
1160 # Remove trailing slashes.
1163 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1164 eval $ac_var=\
$ac_val;;
1166 # Be sure to have absolute directory names.
1168 [\\/$
]* | ?
:[\\/]* ) continue;;
1169 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1171 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1172 { (exit 1); exit 1; }; }
1175 # There might be people who depend on the old broken behavior: `$host'
1176 # used to hold the argument of --host etc.
1177 # FIXME: To remove some day.
1180 target
=$target_alias
1182 # FIXME: To remove some day.
1183 if test "x$host_alias" != x
; then
1184 if test "x$build_alias" = x
; then
1185 cross_compiling
=maybe
1186 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1187 If a cross compiler is detected then cross compile mode will be used." >&2
1188 elif test "x$build_alias" != "x$host_alias"; then
1194 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1196 test "$silent" = yes && exec 6>/dev
/null
1199 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1200 ac_ls_di
=`ls -di .` &&
1201 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1202 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1203 { (exit 1); exit 1; }; }
1204 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1205 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1206 { (exit 1); exit 1; }; }
1209 # Find the source files, if location was not specified.
1210 if test -z "$srcdir"; then
1211 ac_srcdir_defaulted
=yes
1212 # Try the directory containing this script, then the parent directory.
1213 ac_confdir
=`$as_dirname -- "$as_myself" ||
1214 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1215 X"$as_myself" : 'X\(//\)[^/]' \| \
1216 X"$as_myself" : 'X\(//\)$' \| \
1217 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1218 $as_echo X"$as_myself" |
1219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1241 ac_srcdir_defaulted
=no
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1245 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1246 { (exit 1); exit 1; }; }
1248 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1250 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1251 { (exit 1); exit 1; }; }
1253 # When building in place, set srcdir=.
1254 if test "$ac_abs_confdir" = "$ac_pwd"; then
1257 # Remove unnecessary trailing slashes from srcdir.
1258 # Double slashes in file names in object file debugging info
1259 # mess up M-x gdb in Emacs.
1261 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1263 for ac_var
in $ac_precious_vars; do
1264 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1265 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1266 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1267 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1271 # Report the --help message.
1273 if test "$ac_init_help" = "long"; then
1274 # Omit some internal or obsolete options to make the list less imposing.
1275 # This message is too long to be a string in the A/UX 3.1 sh.
1277 \`configure' configures this package to adapt to many kinds of systems.
1279 Usage: $0 [OPTION]... [VAR=VALUE]...
1281 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1282 VAR=VALUE. See below for descriptions of some of the useful variables.
1284 Defaults for the options are specified in brackets.
1287 -h, --help display this help and exit
1288 --help=short display options specific to this package
1289 --help=recursive display the short help of all the included packages
1290 -V, --version display version information and exit
1291 -q, --quiet, --silent do not print \`checking...' messages
1292 --cache-file=FILE cache test results in FILE [disabled]
1293 -C, --config-cache alias for \`--cache-file=config.cache'
1294 -n, --no-create do not create output files
1295 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1297 Installation directories:
1298 --prefix=PREFIX install architecture-independent files in PREFIX
1299 [$ac_default_prefix]
1300 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1303 By default, \`make install' will install all the files in
1304 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1305 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1306 for instance \`--prefix=\$HOME'.
1308 For better control, use the options below.
1310 Fine tuning of the installation directories:
1311 --bindir=DIR user executables [EPREFIX/bin]
1312 --sbindir=DIR system admin executables [EPREFIX/sbin]
1313 --libexecdir=DIR program executables [EPREFIX/libexec]
1314 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1315 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1316 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1317 --libdir=DIR object code libraries [EPREFIX/lib]
1318 --includedir=DIR C header files [PREFIX/include]
1319 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1320 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1321 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1322 --infodir=DIR info documentation [DATAROOTDIR/info]
1323 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1324 --mandir=DIR man documentation [DATAROOTDIR/man]
1325 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1326 --htmldir=DIR html documentation [DOCDIR]
1327 --dvidir=DIR dvi documentation [DOCDIR]
1328 --pdfdir=DIR pdf documentation [DOCDIR]
1329 --psdir=DIR ps documentation [DOCDIR]
1335 --build=BUILD configure
for building on BUILD
[guessed
]
1336 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1337 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1341 if test -n "$ac_init_help"; then
1346 --disable-option-checking ignore unrecognized
--enable/--with options
1347 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1348 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1349 --disable-optimization turn off gcc optimization
1350 --disable-largefile omit support
for large files
1353 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1354 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1355 --without-gcc don
't use gcc
1357 Some influential environment variables:
1358 CC C compiler command
1359 CFLAGS C compiler flags
1360 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1361 nonstandard directory <lib dir>
1362 LIBS libraries to pass to the linker, e.g. -l<library>
1363 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1364 you have headers in a nonstandard directory <include dir>
1367 Use these variables to override the choices made by `configure' or to
help
1368 it to
find libraries and programs with nonstandard names
/locations.
1374 if test "$ac_init_help" = "recursive"; then
1375 # If there are subdirs, report their specific --help.
1376 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1377 test -d "$ac_dir" ||
1378 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1383 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1385 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1386 # A ".." for each directory in $ac_dir_suffix.
1387 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1388 case $ac_top_builddir_sub in
1389 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1390 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1393 ac_abs_top_builddir
=$ac_pwd
1394 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1395 # for backward compatibility:
1396 ac_top_builddir
=$ac_top_build_prefix
1399 .
) # We are building in place.
1401 ac_top_srcdir
=$ac_top_builddir_sub
1402 ac_abs_top_srcdir
=$ac_pwd ;;
1403 [\\/]* | ?
:[\\/]* ) # Absolute name.
1404 ac_srcdir
=$srcdir$ac_dir_suffix;
1405 ac_top_srcdir
=$srcdir
1406 ac_abs_top_srcdir
=$srcdir ;;
1408 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1409 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1410 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1412 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1414 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1415 # Check for guested configure.
1416 if test -f "$ac_srcdir/configure.gnu"; then
1418 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1419 elif test -f "$ac_srcdir/configure"; then
1421 $SHELL "$ac_srcdir/configure" --help=recursive
1423 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1425 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1429 test -n "$ac_init_help" && exit $ac_status
1430 if $ac_init_version; then
1433 generated by GNU Autoconf
2.62
1435 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1436 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1437 This configure
script is free software
; the Free Software Foundation
1438 gives unlimited permission to copy
, distribute and modify it.
1440 Copyright
(c
) 1995, 1996, 1997, 2006, 2009
1441 The Regents of the University of California. All rights reserved.
1445 cat >config.log
<<_ACEOF
1446 This file contains any messages produced by compilers while
1447 running configure, to aid debugging if configure makes a mistake.
1449 It was created by $as_me, which was
1450 generated by GNU Autoconf 2.62. Invocation command line was
1462 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1463 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1464 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1465 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1466 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1468 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1469 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1471 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1472 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1473 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1474 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1475 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1476 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1477 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1485 test -z "$as_dir" && as_dir
=.
1486 $as_echo "PATH: $as_dir"
1502 # Keep a trace of the command line.
1503 # Strip out --no-create and --no-recursion so they do not pile up.
1504 # Strip out --silent because we don't want to record it for future runs.
1505 # Also quote any args containing shell meta-characters.
1506 # Make two passes to allow for proper duplicate-argument suppression.
1510 ac_must_keep_next
=false
1516 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1517 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1518 |
-silent |
--silent |
--silen |
--sile |
--sil)
1521 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1524 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1526 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1527 if test $ac_must_keep_next = true
; then
1528 ac_must_keep_next
=false
# Got value, back to normal.
1531 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1532 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1533 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1534 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1535 case "$ac_configure_args0 " in
1536 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1539 -* ) ac_must_keep_next
=true
;;
1542 ac_configure_args
="$ac_configure_args '$ac_arg'"
1547 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1548 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1550 # When interrupted or exit'd, cleanup temporary files, and complete
1551 # config.log. We remove comments because anyway the quotes in there
1552 # would cause problems or look ugly.
1553 # WARNING: Use '\'' to represent an apostrophe within the trap.
1554 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1555 trap 'exit_status=$?
1556 # Save into config.log some information that might help in debugging.
1561 ## ---------------- ##
1562 ## Cache variables. ##
1563 ## ---------------- ##
1566 # The following way of writing the cache mishandles newlines in values,
1568 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1569 eval ac_val=\$$ac_var
1573 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1574 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1577 _ | IFS | as_nl) ;; #(
1578 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1579 *) $as_unset $ac_var ;;
1584 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1585 *${as_nl}ac_space=\ *)
1587 "s/'\''/'\''\\\\'\'''\''/g;
1588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1599 ## ----------------- ##
1600 ## Output variables. ##
1601 ## ----------------- ##
1604 for ac_var in $ac_subst_vars
1606 eval ac_val=\$$ac_var
1608 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1610 $as_echo "$ac_var='\''$ac_val'\''"
1614 if test -n "$ac_subst_files"; then
1616 ## ------------------- ##
1617 ## File substitutions. ##
1618 ## ------------------- ##
1621 for ac_var
in $ac_subst_files
1623 eval ac_val
=\$
$ac_var
1625 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1627 $as_echo "$ac_var='\''$ac_val'\''"
1632 if test -s confdefs.h; then
1642 test "$ac_signal" != 0 &&
1643 $as_echo "$as_me: caught signal $ac_signal"
1644 $as_echo "$as_me: exit $exit_status"
1646 rm -f core *.core core.conftest.* &&
1647 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1650 for ac_signal
in 1 2 13 15; do
1651 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1655 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1656 rm -f -r conftest
* confdefs.h
1658 # Predefined preprocessor variables.
1660 cat >>confdefs.h
<<_ACEOF
1661 #define PACKAGE_NAME "$PACKAGE_NAME"
1665 cat >>confdefs.h
<<_ACEOF
1666 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1670 cat >>confdefs.h
<<_ACEOF
1671 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1675 cat >>confdefs.h
<<_ACEOF
1676 #define PACKAGE_STRING "$PACKAGE_STRING"
1680 cat >>confdefs.h
<<_ACEOF
1681 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1685 # Let the site file select an alternate cache file if it wants to.
1686 # Prefer an explicitly selected file to automatically selected ones.
1689 if test -n "$CONFIG_SITE"; then
1690 ac_site_file1
=$CONFIG_SITE
1691 elif test "x$prefix" != xNONE
; then
1692 ac_site_file1
=$prefix/share
/config.site
1693 ac_site_file2
=$prefix/etc
/config.site
1695 ac_site_file1
=$ac_default_prefix/share
/config.site
1696 ac_site_file2
=$ac_default_prefix/etc
/config.site
1698 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1700 test "x$ac_site_file" = xNONE
&& continue
1701 if test -r "$ac_site_file"; then
1702 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1703 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1704 sed 's/^/| /' "$ac_site_file" >&5
1709 if test -r "$cache_file"; then
1710 # Some versions of bash will fail to source /dev/null (special
1711 # files actually), so we avoid doing that.
1712 if test -f "$cache_file"; then
1713 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1714 $as_echo "$as_me: loading cache $cache_file" >&6;}
1716 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1717 *) .
"./$cache_file";;
1721 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1722 $as_echo "$as_me: creating cache $cache_file" >&6;}
1726 # Check that the precious variables saved in the cache have kept the same
1728 ac_cache_corrupted
=false
1729 for ac_var
in $ac_precious_vars; do
1730 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1731 eval ac_new_set
=\
$ac_env_${ac_var}_set
1732 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1733 eval ac_new_val
=\
$ac_env_${ac_var}_value
1734 case $ac_old_set,$ac_new_set in
1736 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1737 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1738 ac_cache_corrupted
=: ;;
1740 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1741 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1742 ac_cache_corrupted
=: ;;
1745 if test "x$ac_old_val" != "x$ac_new_val"; then
1746 # differences in whitespace do not lead to failure.
1747 ac_old_val_w
=`echo x $ac_old_val`
1748 ac_new_val_w
=`echo x $ac_new_val`
1749 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1750 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1751 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1752 ac_cache_corrupted
=:
1754 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1755 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1756 eval $ac_var=\
$ac_old_val
1758 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1759 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1760 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1761 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1764 # Pass precious variables to config.status.
1765 if test "$ac_new_set" = set; then
1767 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1768 *) ac_arg
=$ac_var=$ac_new_val ;;
1770 case " $ac_configure_args " in
1771 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1772 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1776 if $ac_cache_corrupted; then
1777 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1780 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1781 { (exit 1); exit 1; }; }
1801 ac_cpp
='$CPP $CPPFLAGS'
1802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1810 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1811 if test -f "$ac_dir/install-sh"; then
1813 ac_install_sh
="$ac_aux_dir/install-sh -c"
1815 elif test -f "$ac_dir/install.sh"; then
1817 ac_install_sh
="$ac_aux_dir/install.sh -c"
1819 elif test -f "$ac_dir/shtool"; then
1821 ac_install_sh
="$ac_aux_dir/shtool install -c"
1825 if test -z "$ac_aux_dir"; then
1826 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1827 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # These three variables are undocumented and unsupported,
1832 # and are intended to be withdrawn in a future Autoconf release.
1833 # They can cause serious problems if a builder's source tree is in a directory
1834 # whose full name contains unusual characters.
1835 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1836 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1837 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1840 # Make sure we can run config.sub.
1841 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1842 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1843 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1844 { (exit 1); exit 1; }; }
1846 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1847 $as_echo_n "checking build system type... " >&6; }
1848 if test "${ac_cv_build+set}" = set; then
1849 $as_echo_n "(cached) " >&6
1851 ac_build_alias
=$build_alias
1852 test "x$ac_build_alias" = x
&&
1853 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1854 test "x$ac_build_alias" = x
&&
1855 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1856 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1857 { (exit 1); exit 1; }; }
1858 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1859 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1860 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1861 { (exit 1); exit 1; }; }
1864 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1865 $as_echo "$ac_cv_build" >&6; }
1866 case $ac_cv_build in
1868 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1869 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1870 { (exit 1); exit 1; }; };;
1873 ac_save_IFS
=$IFS; IFS
='-'
1879 # Remember, the first character of IFS is used to create $*,
1880 # except with old shells:
1883 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1886 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1887 $as_echo_n "checking host system type... " >&6; }
1888 if test "${ac_cv_host+set}" = set; then
1889 $as_echo_n "(cached) " >&6
1891 if test "x$host_alias" = x
; then
1892 ac_cv_host
=$ac_cv_build
1894 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1895 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1896 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1897 { (exit 1); exit 1; }; }
1901 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1902 $as_echo "$ac_cv_host" >&6; }
1905 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1906 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1907 { (exit 1); exit 1; }; };;
1910 ac_save_IFS
=$IFS; IFS
='-'
1916 # Remember, the first character of IFS is used to create $*,
1917 # except with old shells:
1920 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1923 { $as_echo "$as_me:$LINENO: checking target system type" >&5
1924 $as_echo_n "checking target system type... " >&6; }
1925 if test "${ac_cv_target+set}" = set; then
1926 $as_echo_n "(cached) " >&6
1928 if test "x$target_alias" = x
; then
1929 ac_cv_target
=$ac_cv_host
1931 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1932 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1933 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1938 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1939 $as_echo "$ac_cv_target" >&6; }
1940 case $ac_cv_target in
1942 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1943 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1944 { (exit 1); exit 1; }; };;
1946 target
=$ac_cv_target
1947 ac_save_IFS
=$IFS; IFS
='-'
1953 # Remember, the first character of IFS is used to create $*,
1954 # except with old shells:
1957 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
1960 # The aliases save the names the user supplied, while $host etc.
1961 # will get canonicalized.
1962 test -n "$target_alias" &&
1963 test "$program_prefix$program_suffix$program_transform_name" = \
1965 program_prefix
=${target_alias}-
1969 if test -z "$PWD" ; then
1974 ac_cpp
='$CPP $CPPFLAGS'
1975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1978 if test -n "$ac_tool_prefix"; then
1979 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1980 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1981 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 $as_echo_n "checking for $ac_word... " >&6; }
1983 if test "${ac_cv_prog_CC+set}" = set; then
1984 $as_echo_n "(cached) " >&6
1986 if test -n "$CC"; then
1987 ac_cv_prog_CC
="$CC" # Let the user override the test.
1989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir
=.
1994 for ac_exec_ext
in '' $ac_executable_extensions; do
1995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1996 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1997 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 if test -n "$CC"; then
2008 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2009 $as_echo "$CC" >&6; }
2011 { $as_echo "$as_me:$LINENO: result: no" >&5
2012 $as_echo "no" >&6; }
2017 if test -z "$ac_cv_prog_CC"; then
2019 # Extract the first word of "gcc", so it can be a program name with args.
2020 set dummy gcc
; ac_word
=$2
2021 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 $as_echo_n "checking for $ac_word... " >&6; }
2023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2024 $as_echo_n "(cached) " >&6
2026 if test -n "$ac_ct_CC"; then
2027 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2033 test -z "$as_dir" && as_dir
=.
2034 for ac_exec_ext
in '' $ac_executable_extensions; do
2035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2036 ac_cv_prog_ac_ct_CC
="gcc"
2037 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2046 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2047 if test -n "$ac_ct_CC"; then
2048 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2049 $as_echo "$ac_ct_CC" >&6; }
2051 { $as_echo "$as_me:$LINENO: result: no" >&5
2052 $as_echo "no" >&6; }
2055 if test "x$ac_ct_CC" = x
; then
2058 case $cross_compiling:$ac_tool_warned in
2060 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2061 whose name does not start with the host triplet. If you think this
2062 configuration is useful to you, please write to autoconf@gnu.org." >&5
2063 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2064 whose name does not start with the host triplet. If you think this
2065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2066 ac_tool_warned
=yes ;;
2074 if test -z "$CC"; then
2075 if test -n "$ac_tool_prefix"; then
2076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2077 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2078 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 $as_echo_n "checking for $ac_word... " >&6; }
2080 if test "${ac_cv_prog_CC+set}" = set; then
2081 $as_echo_n "(cached) " >&6
2083 if test -n "$CC"; then
2084 ac_cv_prog_CC
="$CC" # Let the user override the test.
2086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2090 test -z "$as_dir" && as_dir
=.
2091 for ac_exec_ext
in '' $ac_executable_extensions; do
2092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2093 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2094 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 if test -n "$CC"; then
2105 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2106 $as_echo "$CC" >&6; }
2108 { $as_echo "$as_me:$LINENO: result: no" >&5
2109 $as_echo "no" >&6; }
2115 if test -z "$CC"; then
2116 # Extract the first word of "cc", so it can be a program name with args.
2117 set dummy cc
; ac_word
=$2
2118 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2119 $as_echo_n "checking for $ac_word... " >&6; }
2120 if test "${ac_cv_prog_CC+set}" = set; then
2121 $as_echo_n "(cached) " >&6
2123 if test -n "$CC"; then
2124 ac_cv_prog_CC
="$CC" # Let the user override the test.
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 for ac_exec_ext
in '' $ac_executable_extensions; do
2133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2134 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2135 ac_prog_rejected
=yes
2139 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 if test $ac_prog_rejected = yes; then
2147 # We found a bogon in the path, so make sure we never use it.
2148 set dummy
$ac_cv_prog_CC
2150 if test $# != 0; then
2151 # We chose a different compiler from the bogus one.
2152 # However, it has the same basename, so the bogon will be chosen
2153 # first if we set CC to just the basename; use the full file name.
2155 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2161 if test -n "$CC"; then
2162 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2163 $as_echo "$CC" >&6; }
2165 { $as_echo "$as_me:$LINENO: result: no" >&5
2166 $as_echo "no" >&6; }
2171 if test -z "$CC"; then
2172 if test -n "$ac_tool_prefix"; then
2173 for ac_prog
in cl.exe
2175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2176 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 $as_echo_n "checking for $ac_word... " >&6; }
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180 $as_echo_n "(cached) " >&6
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC
="$CC" # Let the user override the test.
2185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2189 test -z "$as_dir" && as_dir
=.
2190 for ac_exec_ext
in '' $ac_executable_extensions; do
2191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2192 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2193 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test -n "$CC"; then
2204 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2205 $as_echo "$CC" >&6; }
2207 { $as_echo "$as_me:$LINENO: result: no" >&5
2208 $as_echo "no" >&6; }
2212 test -n "$CC" && break
2215 if test -z "$CC"; then
2217 for ac_prog
in cl.exe
2219 # Extract the first word of "$ac_prog", so it can be a program name with args.
2220 set dummy
$ac_prog; ac_word
=$2
2221 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 $as_echo_n "checking for $ac_word... " >&6; }
2223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2224 $as_echo_n "(cached) " >&6
2226 if test -n "$ac_ct_CC"; then
2227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir
=.
2234 for ac_exec_ext
in '' $ac_executable_extensions; do
2235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2236 ac_cv_prog_ac_ct_CC
="$ac_prog"
2237 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2247 if test -n "$ac_ct_CC"; then
2248 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2249 $as_echo "$ac_ct_CC" >&6; }
2251 { $as_echo "$as_me:$LINENO: result: no" >&5
2252 $as_echo "no" >&6; }
2256 test -n "$ac_ct_CC" && break
2259 if test "x$ac_ct_CC" = x
; then
2262 case $cross_compiling:$ac_tool_warned in
2264 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2265 whose name does not start with the host triplet. If you think this
2266 configuration is useful to you, please write to autoconf@gnu.org." >&5
2267 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2268 whose name does not start with the host triplet. If you think this
2269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2270 ac_tool_warned
=yes ;;
2279 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2280 See \`config.log' for more details." >&5
2281 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2282 See \`config.log' for more details." >&2;}
2283 { (exit 1); exit 1; }; }
2285 # Provide some information about the compiler.
2286 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2289 { (ac_try
="$ac_compiler --version >&5"
2291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2292 *) ac_try_echo=$ac_try;;
2294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2295 $as_echo "$ac_try_echo") >&5
2296 (eval "$ac_compiler --version >&5") 2>&5
2298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); }
2300 { (ac_try="$ac_compiler -v >&5"
2302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2303 *) ac_try_echo
=$ac_try;;
2305 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2306 $as_echo "$ac_try_echo") >&5
2307 (eval "$ac_compiler -v >&5") 2>&5
2309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }
2311 { (ac_try
="$ac_compiler -V >&5"
2313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2317 $as_echo "$ac_try_echo") >&5
2318 (eval "$ac_compiler -V >&5") 2>&5
2320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }
2323 cat >conftest.$ac_ext <<_ACEOF
2326 cat confdefs.h >>conftest.$ac_ext
2327 cat >>conftest.$ac_ext <<_ACEOF
2328 /* end confdefs.h. */
2338 ac_clean_files_save=$ac_clean_files
2339 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2340 # Try to create an executable without -o first, disregard a.out.
2341 # It will help us diagnose broken compilers, and finding out an intuition
2343 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2344 $as_echo_n "checking for C compiler default output file name... " >&6; }
2345 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2347 # The possible output files:
2348 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2351 for ac_file in $ac_files
2354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2355 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2360 if { (ac_try="$ac_link_default"
2362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2363 *) ac_try_echo
=$ac_try;;
2365 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2366 $as_echo "$ac_try_echo") >&5
2367 (eval "$ac_link_default") 2>&5
2369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; then
2371 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2372 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2373 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2374 # so that the user can short-circuit this test for compilers unknown to
2376 for ac_file
in $ac_files ''
2378 test -f "$ac_file" ||
continue
2380 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2383 # We found the default executable, but exeext='' is most
2387 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2389 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2391 # We set ac_cv_exeext here because the later test for it is not
2392 # safe: cross compilers may not add the suffix if given an `-o'
2393 # argument, so we may need to know it at that point already.
2394 # Even if this section looks crufty: it has the advantage of
2401 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2407 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2408 $as_echo "$ac_file" >&6; }
2409 if test -z "$ac_file"; then
2410 $as_echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.
$ac_ext >&5
2413 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2414 See \`config.log' for more details." >&5
2415 $as_echo "$as_me: error: C compiler cannot create executables
2416 See \`config.log' for more details." >&2;}
2417 { (exit 77); exit 77; }; }
2420 ac_exeext
=$ac_cv_exeext
2422 # Check that the compiler produces executables we can run. If not, either
2423 # the compiler is broken, or we cross compile.
2424 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2425 $as_echo_n "checking whether the C compiler works... " >&6; }
2426 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2427 # If not cross compiling, check that we can run a simple program.
2428 if test "$cross_compiling" != yes; then
2429 if { ac_try
='./$ac_file'
2430 { (case "(($ac_try" in
2431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2435 $as_echo "$ac_try_echo") >&5
2436 (eval "$ac_try") 2>&5
2438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; }; then
2442 if test "$cross_compiling" = maybe; then
2445 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2446 If you meant to cross compile, use \`--host'.
2447 See \`config.log' for more details.
" >&5
2448 $as_echo "$as_me: error
: cannot run C compiled programs.
2449 If you meant to cross compile
, use \
`--host'.
2450 See \`config.log
' for more details." >&2;}
2451 { (exit 1); exit 1; }; }
2455 { $as_echo "$as_me:$LINENO: result: yes" >&5
2456 $as_echo "yes" >&6; }
2458 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2459 ac_clean_files=$ac_clean_files_save
2460 # Check that the compiler produces executables we can run. If not, either
2461 # the compiler is broken, or we cross compile.
2462 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2463 $as_echo_n "checking whether we are cross compiling... " >&6; }
2464 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2465 $as_echo "$cross_compiling" >&6; }
2467 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2468 $as_echo_n "checking for suffix of executables... " >&6; }
2469 if { (ac_try="$ac_link"
2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2475 $as_echo "$ac_try_echo") >&5
2476 (eval "$ac_link") 2>&5
2478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }; then
2480 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2481 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2482 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2484 for ac_file
in conftest.exe conftest conftest.
*; do
2485 test -f "$ac_file" ||
continue
2487 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2488 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2494 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2495 See \`config.log' for more details." >&5
2496 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2497 See \`config.log' for more details." >&2;}
2498 { (exit 1); exit 1; }; }
2501 rm -f conftest
$ac_cv_exeext
2502 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2503 $as_echo "$ac_cv_exeext" >&6; }
2505 rm -f conftest.
$ac_ext
2506 EXEEXT
=$ac_cv_exeext
2508 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2509 $as_echo_n "checking for suffix of object files... " >&6; }
2510 if test "${ac_cv_objext+set}" = set; then
2511 $as_echo_n "(cached) " >&6
2513 cat >conftest.
$ac_ext <<_ACEOF
2516 cat confdefs.h
>>conftest.
$ac_ext
2517 cat >>conftest.
$ac_ext <<_ACEOF
2518 /* end confdefs.h. */
2528 rm -f conftest.o conftest.obj
2529 if { (ac_try
="$ac_compile"
2531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2535 $as_echo "$ac_try_echo") >&5
2536 (eval "$ac_compile") 2>&5
2538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }; then
2540 for ac_file in conftest.o conftest.obj conftest.*; do
2541 test -f "$ac_file" || continue;
2543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2544 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2549 $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2552 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2553 See \`config.log
' for more details." >&5
2554 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2555 See \`config.log' for more details.
" >&2;}
2556 { (exit 1); exit 1; }; }
2559 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2561 { $as_echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2562 $as_echo "$ac_cv_objext" >&6; }
2563 OBJEXT=$ac_cv_objext
2565 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2566 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
2567 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2568 $as_echo_n "(cached
) " >&6
2570 cat >conftest.$ac_ext <<_ACEOF
2573 cat confdefs.h >>conftest.$ac_ext
2574 cat >>conftest.$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2588 rm -f conftest.$ac_objext
2589 if { (ac_try="$ac_compile"
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2594 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2595 $as_echo "$ac_try_echo") >&5
2596 (eval "$ac_compile") 2>conftest.er1
2598 grep -v '^ *+' conftest.er1 >conftest.err
2600 cat conftest.err >&5
2601 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2602 (exit $ac_status); } && {
2603 test -z "$ac_c_werror_flag" ||
2604 test ! -s conftest.err
2605 } && test -s conftest.$ac_objext; then
2608 $as_echo "$as_me: failed program was
:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2618 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2619 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2620 if test $ac_compiler_gnu = yes; then
2625 ac_test_CFLAGS=${CFLAGS+set}
2626 ac_save_CFLAGS=$CFLAGS
2627 { $as_echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2628 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
2629 if test "${ac_cv_prog_cc_g+set}" = set; then
2630 $as_echo_n "(cached
) " >&6
2632 ac_save_c_werror_flag=$ac_c_werror_flag
2633 ac_c_werror_flag=yes
2636 cat >conftest.$ac_ext <<_ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2657 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2658 $as_echo "$ac_try_echo") >&5
2659 (eval "$ac_compile") 2>conftest.er1
2661 grep -v '^ *+' conftest.er1 >conftest.err
2663 cat conftest.err >&5
2664 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2665 (exit $ac_status); } && {
2666 test -z "$ac_c_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest.$ac_objext; then
2671 $as_echo "$as_me: failed program was
:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2675 cat >conftest.$ac_ext <<_ACEOF
2678 cat confdefs.h >>conftest.$ac_ext
2679 cat >>conftest.$ac_ext <<_ACEOF
2680 /* end confdefs.h. */
2690 rm -f conftest.$ac_objext
2691 if { (ac_try="$ac_compile"
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
2696 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2697 $as_echo "$ac_try_echo") >&5
2698 (eval "$ac_compile") 2>conftest.er1
2700 grep -v '^ *+' conftest.er1 >conftest.err
2702 cat conftest.err >&5
2703 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2704 (exit $ac_status); } && {
2705 test -z "$ac_c_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest.$ac_objext; then
2710 $as_echo "$as_me: failed program was
:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 ac_c_werror_flag=$ac_save_c_werror_flag
2715 cat >conftest.$ac_ext <<_ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2730 rm -f conftest.$ac_objext
2731 if { (ac_try="$ac_compile"
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2737 $as_echo "$ac_try_echo") >&5
2738 (eval "$ac_compile") 2>conftest.er1
2740 grep -v '^ *+' conftest.er1 >conftest.err
2742 cat conftest.err >&5
2743 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2744 (exit $ac_status); } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.$ac_objext; then
2750 $as_echo "$as_me: failed program was
:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 ac_c_werror_flag=$ac_save_c_werror_flag
2765 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2766 $as_echo "$ac_cv_prog_cc_g" >&6; }
2767 if test "$ac_test_CFLAGS" = set; then
2768 CFLAGS=$ac_save_CFLAGS
2769 elif test $ac_cv_prog_cc_g = yes; then
2770 if test "$GCC" = yes; then
2776 if test "$GCC" = yes; then
2782 { $as_echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2783 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
2784 if test "${ac_cv_prog_cc_c89+set}" = set; then
2785 $as_echo_n "(cached
) " >&6
2787 ac_cv_prog_cc_c89=no
2789 cat >conftest.$ac_ext <<_ACEOF
2792 cat confdefs.h >>conftest.$ac_ext
2793 cat >>conftest.$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2797 #include <sys/types.h>
2798 #include <sys/stat.h>
2799 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2800 struct buf { int x; };
2801 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2802 static char *e (p, i)
2808 static char *f (char * (*g) (char **, int), char **p, ...)
2813 s = g (p, va_arg (v,int));
2818 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2819 function prototypes and stuff, but not '\xHH' hex character constants.
2820 These don't provoke an error unfortunately, instead are silently treated
2821 as 'x'. The following induces an error, until -std is added to get
2822 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2823 array size at least. It's necessary to write '\x00'==0 to get something
2824 that's true only with -std. */
2825 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2827 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2828 inside strings and character constants. */
2830 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2832 int test (int i, double x);
2833 struct s1 {int (*f) (int a);};
2834 struct s2 {int (*f) (double a);};
2835 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2841 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2846 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2847 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2849 CC="$ac_save_CC $ac_arg"
2850 rm -f conftest.$ac_objext
2851 if { (ac_try="$ac_compile"
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2856 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2857 $as_echo "$ac_try_echo") >&5
2858 (eval "$ac_compile") 2>conftest.er1
2860 grep -v '^ *+' conftest.er1 >conftest.err
2862 cat conftest.err >&5
2863 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2864 (exit $ac_status); } && {
2865 test -z "$ac_c_werror_flag" ||
2866 test ! -s conftest.err
2867 } && test -s conftest.$ac_objext; then
2868 ac_cv_prog_cc_c89=$ac_arg
2870 $as_echo "$as_me: failed program was
:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2876 rm -f core conftest.err conftest.$ac_objext
2877 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2879 rm -f conftest.$ac_ext
2884 case "x
$ac_cv_prog_cc_c89" in
2886 { $as_echo "$as_me:$LINENO: result
: none needed
" >&5
2887 $as_echo "none needed
" >&6; } ;;
2889 { $as_echo "$as_me:$LINENO: result
: unsupported
" >&5
2890 $as_echo "unsupported
" >&6; } ;;
2892 CC="$CC $ac_cv_prog_cc_c89"
2893 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2894 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2899 ac_cpp='$CPP $CPPFLAGS'
2900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2906 ac_cpp='$CPP $CPPFLAGS'
2907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2910 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
2911 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
2912 # On Suns, sometimes $CPP names a directory.
2913 if test -n "$CPP" && test -d "$CPP"; then
2916 if test -z "$CPP"; then
2917 if test "${ac_cv_prog_CPP+set}" = set; then
2918 $as_echo_n "(cached
) " >&6
2920 # Double quotes because CPP needs to be expanded
2921 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
2924 for ac_c_preproc_warn_flag in '' yes
2926 # Use a header file that comes with gcc, so configuring glibc
2927 # with a fresh cross-compiler works.
2928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2929 # <limits.h> exists even on freestanding compilers.
2930 # On the NeXT, cc -E runs the code through the compiler's parser,
2931 # not just through cpp. "Syntax error
" is here to catch this case.
2932 cat >conftest.$ac_ext <<_ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2939 # include <limits.h>
2941 # include <assert.h>
2945 if { (ac_try="$ac_cpp conftest.
$ac_ext"
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2950 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2951 $as_echo "$ac_try_echo") >&5
2952 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
2954 grep -v '^ *+' conftest.er1 >conftest.err
2956 cat conftest.err >&5
2957 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2958 (exit $ac_status); } >/dev/null && {
2959 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2960 test ! -s conftest.err
2964 $as_echo "$as_me: failed program was
:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 # Broken: fails on valid input.
2971 rm -f conftest.err conftest.$ac_ext
2973 # OK, works on sane cases. Now check whether nonexistent headers
2974 # can be detected and how.
2975 cat >conftest.$ac_ext <<_ACEOF
2978 cat confdefs.h >>conftest.$ac_ext
2979 cat >>conftest.$ac_ext <<_ACEOF
2980 /* end confdefs.h. */
2981 #include <ac_nonexistent.h>
2983 if { (ac_try="$ac_cpp conftest.
$ac_ext"
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2989 $as_echo "$ac_try_echo") >&5
2990 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
2992 grep -v '^ *+' conftest.er1 >conftest.err
2994 cat conftest.err >&5
2995 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2996 (exit $ac_status); } >/dev/null && {
2997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2998 test ! -s conftest.err
3000 # Broken: success on invalid input.
3003 $as_echo "$as_me: failed program was
:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3006 # Passes both tests.
3011 rm -f conftest.err conftest.$ac_ext
3014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3015 rm -f conftest.err conftest.$ac_ext
3016 if $ac_preproc_ok; then
3028 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
3029 $as_echo "$CPP" >&6; }
3031 for ac_c_preproc_warn_flag in '' yes
3033 # Use a header file that comes with gcc, so configuring glibc
3034 # with a fresh cross-compiler works.
3035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3036 # <limits.h> exists even on freestanding compilers.
3037 # On the NeXT, cc -E runs the code through the compiler's parser,
3038 # not just through cpp. "Syntax error
" is here to catch this case.
3039 cat >conftest.$ac_ext <<_ACEOF
3042 cat confdefs.h >>conftest.$ac_ext
3043 cat >>conftest.$ac_ext <<_ACEOF
3044 /* end confdefs.h. */
3046 # include <limits.h>
3048 # include <assert.h>
3052 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3058 $as_echo "$ac_try_echo") >&5
3059 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3061 grep -v '^ *+' conftest.er1 >conftest.err
3063 cat conftest.err >&5
3064 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3065 (exit $ac_status); } >/dev/null && {
3066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3067 test ! -s conftest.err
3071 $as_echo "$as_me: failed program was
:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3074 # Broken: fails on valid input.
3078 rm -f conftest.err conftest.$ac_ext
3080 # OK, works on sane cases. Now check whether nonexistent headers
3081 # can be detected and how.
3082 cat >conftest.$ac_ext <<_ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3088 #include <ac_nonexistent.h>
3090 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3095 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
3096 $as_echo "$ac_try_echo") >&5
3097 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3099 grep -v '^ *+' conftest.er1 >conftest.err
3101 cat conftest.err >&5
3102 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3103 (exit $ac_status); } >/dev/null && {
3104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3105 test ! -s conftest.err
3107 # Broken: success on invalid input.
3110 $as_echo "$as_me: failed program was
:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3113 # Passes both tests.
3118 rm -f conftest.err conftest.$ac_ext
3121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3122 rm -f conftest.err conftest.$ac_ext
3123 if $ac_preproc_ok; then
3126 { { $as_echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3127 See \
`config.log' for more details." >&5
3128 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3129 See \`config.log
' for more details." >&2;}
3130 { (exit 1); exit 1; }; }
3134 ac_cpp='$CPP $CPPFLAGS'
3135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3136 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3140 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3141 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3142 if test "${ac_cv_path_GREP+set}" = set; then
3143 $as_echo_n "(cached) " >&6
3145 if test -z "$GREP"; then
3146 ac_path_GREP_found=false
3147 # Loop through the user's path and
test for each of PROGNAME-LIST
3148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3149 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3152 test -z "$as_dir" && as_dir
=.
3153 for ac_prog
in grep ggrep
; do
3154 for ac_exec_ext
in '' $ac_executable_extensions; do
3155 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3156 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3157 # Check for GNU ac_path_GREP and select it if it is found.
3158 # Check for GNU $ac_path_GREP
3159 case `"$ac_path_GREP" --version 2>&1` in
3161 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3164 $as_echo_n 0123456789 >"conftest.in"
3167 cat "conftest.in" "conftest.in" >"conftest.tmp"
3168 mv "conftest.tmp" "conftest.in"
3169 cp "conftest.in" "conftest.nl"
3170 $as_echo 'GREP' >> "conftest.nl"
3171 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3172 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3173 ac_count
=`expr $ac_count + 1`
3174 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3175 # Best one so far, save it but keep looking for a better one
3176 ac_cv_path_GREP
="$ac_path_GREP"
3177 ac_path_GREP_max
=$ac_count
3179 # 10*(2^10) chars as input seems more than enough
3180 test $ac_count -gt 10 && break
3182 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3185 $ac_path_GREP_found && break 3
3190 if test -z "$ac_cv_path_GREP"; then
3191 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3192 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3193 { (exit 1); exit 1; }; }
3196 ac_cv_path_GREP
=$GREP
3200 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3201 $as_echo "$ac_cv_path_GREP" >&6; }
3202 GREP
="$ac_cv_path_GREP"
3205 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3206 $as_echo_n "checking for egrep... " >&6; }
3207 if test "${ac_cv_path_EGREP+set}" = set; then
3208 $as_echo_n "(cached) " >&6
3210 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3211 then ac_cv_path_EGREP
="$GREP -E"
3213 if test -z "$EGREP"; then
3214 ac_path_EGREP_found
=false
3215 # Loop through the user's path and test for each of PROGNAME-LIST
3216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3217 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3220 test -z "$as_dir" && as_dir
=.
3221 for ac_prog
in egrep; do
3222 for ac_exec_ext
in '' $ac_executable_extensions; do
3223 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3225 # Check for GNU ac_path_EGREP and select it if it is found.
3226 # Check for GNU $ac_path_EGREP
3227 case `"$ac_path_EGREP" --version 2>&1` in
3229 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3232 $as_echo_n 0123456789 >"conftest.in"
3235 cat "conftest.in" "conftest.in" >"conftest.tmp"
3236 mv "conftest.tmp" "conftest.in"
3237 cp "conftest.in" "conftest.nl"
3238 $as_echo 'EGREP' >> "conftest.nl"
3239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3240 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3241 ac_count
=`expr $ac_count + 1`
3242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3243 # Best one so far, save it but keep looking for a better one
3244 ac_cv_path_EGREP
="$ac_path_EGREP"
3245 ac_path_EGREP_max
=$ac_count
3247 # 10*(2^10) chars as input seems more than enough
3248 test $ac_count -gt 10 && break
3250 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3253 $ac_path_EGREP_found && break 3
3258 if test -z "$ac_cv_path_EGREP"; then
3259 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3260 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3261 { (exit 1); exit 1; }; }
3264 ac_cv_path_EGREP
=$EGREP
3269 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3270 $as_echo "$ac_cv_path_EGREP" >&6; }
3271 EGREP
="$ac_cv_path_EGREP"
3274 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3275 $as_echo_n "checking for ANSI C header files... " >&6; }
3276 if test "${ac_cv_header_stdc+set}" = set; then
3277 $as_echo_n "(cached) " >&6
3279 cat >conftest.
$ac_ext <<_ACEOF
3282 cat confdefs.h
>>conftest.
$ac_ext
3283 cat >>conftest.
$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3298 rm -f conftest.
$ac_objext
3299 if { (ac_try
="$ac_compile"
3301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3305 $as_echo "$ac_try_echo") >&5
3306 (eval "$ac_compile") 2>conftest.er1
3308 grep -v '^ *+' conftest.er1 >conftest.err
3310 cat conftest.err >&5
3311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } && {
3313 test -z "$ac_c_werror_flag" ||
3314 test ! -s conftest.err
3315 } && test -s conftest.$ac_objext; then
3316 ac_cv_header_stdc=yes
3318 $as_echo "$as_me: failed program was:" >&5
3319 sed 's/^/| /' conftest.$ac_ext >&5
3321 ac_cv_header_stdc=no
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 if test $ac_cv_header_stdc = yes; then
3327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3328 cat >conftest.$ac_ext <<_ACEOF
3331 cat confdefs.h >>conftest.$ac_ext
3332 cat >>conftest.$ac_ext <<_ACEOF
3333 /* end confdefs.h. */
3337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3338 $EGREP "memchr" >/dev/null 2>&1; then
3341 ac_cv_header_stdc=no
3347 if test $ac_cv_header_stdc = yes; then
3348 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3349 cat >conftest.$ac_ext <<_ACEOF
3352 cat confdefs.h >>conftest.$ac_ext
3353 cat >>conftest.$ac_ext <<_ACEOF
3354 /* end confdefs.h. */
3358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3359 $EGREP "free" >/dev/null 2>&1; then
3362 ac_cv_header_stdc=no
3368 if test $ac_cv_header_stdc = yes; then
3369 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3370 if test "$cross_compiling" = yes; then
3373 cat >conftest.$ac_ext <<_ACEOF
3376 cat confdefs.h >>conftest.$ac_ext
3377 cat >>conftest.$ac_ext <<_ACEOF
3378 /* end confdefs.h. */
3381 #if ((' ' & 0x0FF) == 0x020)
3382 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3383 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3385 # define ISLOWER(c) \
3386 (('a' <= (c) && (c) <= 'i') \
3387 || ('j' <= (c) && (c) <= 'r') \
3388 || ('s' <= (c) && (c) <= 'z'))
3389 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3392 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3397 for (i = 0; i < 256; i++)
3398 if (XOR (islower (i), ISLOWER (i))
3399 || toupper (i) != TOUPPER (i))
3404 rm -f conftest$ac_exeext
3405 if { (ac_try="$ac_link"
3407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3408 *) ac_try_echo
=$ac_try;;
3410 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3411 $as_echo "$ac_try_echo") >&5
3412 (eval "$ac_link") 2>&5
3414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3416 { (case "(($ac_try" in
3417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3421 $as_echo "$ac_try_echo") >&5
3422 (eval "$ac_try") 2>&5
3424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); }; }; then
3428 $as_echo "$as_me: program exited with status $ac_status" >&5
3429 $as_echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3433 ac_cv_header_stdc=no
3435 rm -rf conftest.dSYM
3436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3442 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3443 $as_echo "$ac_cv_header_stdc" >&6; }
3444 if test $ac_cv_header_stdc = yes; then
3446 cat >>confdefs.h <<\_ACEOF
3447 #define STDC_HEADERS 1
3452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3462 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3463 inttypes.h stdint.h unistd.h
3465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3466 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3467 $as_echo_n "checking for $ac_header... " >&6; }
3468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3469 $as_echo_n "(cached) " >&6
3471 cat >conftest.$ac_ext <<_ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3477 $ac_includes_default
3479 #include <$ac_header>
3481 rm -f conftest.$ac_objext
3482 if { (ac_try="$ac_compile"
3484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3485 *) ac_try_echo
=$ac_try;;
3487 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3488 $as_echo "$ac_try_echo") >&5
3489 (eval "$ac_compile") 2>conftest.er1
3491 grep -v '^ *+' conftest.er1
>conftest.err
3493 cat conftest.err
>&5
3494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); } && {
3496 test -z "$ac_c_werror_flag" ||
3497 test ! -s conftest.err
3498 } && test -s conftest.
$ac_objext; then
3499 eval "$as_ac_Header=yes"
3501 $as_echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.
$ac_ext >&5
3504 eval "$as_ac_Header=no"
3507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3509 ac_res
=`eval 'as_val=${'$as_ac_Header'}
3510 $as_echo "$as_val"'`
3511 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3512 $as_echo "$ac_res" >&6; }
3513 if test `eval 'as_val=${'$as_ac_Header'}
3514 $as_echo "$as_val"'` = yes; then
3515 cat >>confdefs.h
<<_ACEOF
3516 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3525 # Check whether --enable-optimization was given.
3526 if test "${enable_optimization+set}" = set; then
3527 enableval
=$enable_optimization; ac_cv_without_optimization
=${withval}
3534 # Check whether --with-gcc was given.
3535 if test "${with_gcc+set}" = set; then
3540 if test "${ac_cv_header_minix_config_h+set}" = set; then
3541 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3542 $as_echo_n "checking for minix/config.h... " >&6; }
3543 if test "${ac_cv_header_minix_config_h+set}" = set; then
3544 $as_echo_n "(cached) " >&6
3546 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3547 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3549 # Is the header compilable?
3550 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3551 $as_echo_n "checking minix/config.h usability... " >&6; }
3552 cat >conftest.
$ac_ext <<_ACEOF
3555 cat confdefs.h
>>conftest.
$ac_ext
3556 cat >>conftest.
$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3558 $ac_includes_default
3559 #include <minix/config.h>
3561 rm -f conftest.
$ac_objext
3562 if { (ac_try
="$ac_compile"
3564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3565 *) ac_try_echo=$ac_try;;
3567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3568 $as_echo "$ac_try_echo") >&5
3569 (eval "$ac_compile") 2>conftest.er1
3571 grep -v '^ *+' conftest.er1 >conftest.err
3573 cat conftest.err >&5
3574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); } && {
3576 test -z "$ac_c_werror_flag" ||
3577 test ! -s conftest.err
3578 } && test -s conftest.$ac_objext; then
3579 ac_header_compiler=yes
3581 $as_echo "$as_me: failed program was:" >&5
3582 sed 's/^/| /' conftest.$ac_ext >&5
3584 ac_header_compiler=no
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3589 $as_echo "$ac_header_compiler" >&6; }
3591 # Is the header present?
3592 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3593 $as_echo_n "checking minix/config.h presence... " >&6; }
3594 cat >conftest.$ac_ext <<_ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3600 #include <minix/config.h>
3602 if { (ac_try="$ac_cpp conftest.$ac_ext"
3604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3605 *) ac_try_echo
=$ac_try;;
3607 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3608 $as_echo "$ac_try_echo") >&5
3609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3611 grep -v '^ *+' conftest.er1
>conftest.err
3613 cat conftest.err
>&5
3614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } >/dev
/null
&& {
3616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3617 test ! -s conftest.err
3619 ac_header_preproc
=yes
3621 $as_echo "$as_me: failed program was:" >&5
3622 sed 's/^/| /' conftest.
$ac_ext >&5
3624 ac_header_preproc
=no
3627 rm -f conftest.err conftest.
$ac_ext
3628 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3629 $as_echo "$ac_header_preproc" >&6; }
3631 # So? What about this header?
3632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3634 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3635 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3636 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3637 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3638 ac_header_preproc
=yes
3641 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3642 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3643 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3644 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3645 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3646 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3647 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3648 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3649 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3650 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3651 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3652 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3656 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3657 $as_echo_n "checking for minix/config.h... " >&6; }
3658 if test "${ac_cv_header_minix_config_h+set}" = set; then
3659 $as_echo_n "(cached) " >&6
3661 ac_cv_header_minix_config_h
=$ac_header_preproc
3663 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3664 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3667 if test $ac_cv_header_minix_config_h = yes; then
3674 if test "$MINIX" = yes; then
3676 cat >>confdefs.h
<<\_ACEOF
3677 #define _POSIX_SOURCE 1
3681 cat >>confdefs.h
<<\_ACEOF
3682 #define _POSIX_1_SOURCE 2
3686 cat >>confdefs.h
<<\_ACEOF
3694 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3695 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3696 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3697 $as_echo_n "(cached) " >&6
3699 cat >conftest.
$ac_ext <<_ACEOF
3702 cat confdefs.h
>>conftest.
$ac_ext
3703 cat >>conftest.
$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3706 # define __EXTENSIONS__ 1
3707 $ac_includes_default
3716 rm -f conftest.
$ac_objext
3717 if { (ac_try
="$ac_compile"
3719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3720 *) ac_try_echo=$ac_try;;
3722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3723 $as_echo "$ac_try_echo") >&5
3724 (eval "$ac_compile") 2>conftest.er1
3726 grep -v '^ *+' conftest.er1 >conftest.err
3728 cat conftest.err >&5
3729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); } && {
3731 test -z "$ac_c_werror_flag" ||
3732 test ! -s conftest.err
3733 } && test -s conftest.$ac_objext; then
3734 ac_cv_safe_to_define___extensions__=yes
3736 $as_echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3739 ac_cv_safe_to_define___extensions__=no
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3745 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3746 test $ac_cv_safe_to_define___extensions__ = yes &&
3747 cat >>confdefs.h <<\_ACEOF
3748 #define __EXTENSIONS__ 1
3751 cat >>confdefs.h <<\_ACEOF
3752 #define _ALL_SOURCE 1
3755 cat >>confdefs.h <<\_ACEOF
3756 #define _GNU_SOURCE 1
3759 cat >>confdefs.h <<\_ACEOF
3760 #define _POSIX_PTHREAD_SEMANTICS 1
3763 cat >>confdefs.h <<\_ACEOF
3764 #define _TANDEM_SOURCE 1
3769 if test "${ac_cv_without_optimization+set}" != set; then
3773 if test "${srcdir}" != "." ; then
3774 V_INCLS="-I\$\(srcdir\)"
3776 if test -z "$CC" ; then
3777 case "$target_os" in
3780 # Extract the first word of "shlicc2", so it can be a program name with args.
3781 set dummy shlicc2; ac_word=$2
3782 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if test "${ac_cv_prog_SHLICC2+set}" = set; then
3785 $as_echo_n "(cached) " >&6
3787 if test -n "$SHLICC2"; then
3788 ac_cv_prog_SHLICC2="$SHLICC2" # Let the user override the test.
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797 ac_cv_prog_SHLICC2="yes"
3798 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no"
3808 SHLICC2=$ac_cv_prog_SHLICC2
3809 if test -n "$SHLICC2"; then
3810 { $as_echo "$as_me:$LINENO: result: $SHLICC2" >&5
3811 $as_echo "$SHLICC2" >&6; }
3813 { $as_echo "$as_me:$LINENO: result: no" >&5
3814 $as_echo "no" >&6; }
3818 if test $SHLICC2 = yes ; then
3825 if test -z "$CC" -a "$with_gcc" = no ; then
3830 ac_cpp='$CPP $CPPFLAGS'
3831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3834 if test -n "$ac_tool_prefix"; then
3835 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3836 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3837 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if test "${ac_cv_prog_CC+set}" = set; then
3840 $as_echo_n "(cached) " >&6
3842 if test -n "$CC"; then
3843 ac_cv_prog_CC="$CC" # Let the user override the test.
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3853 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 if test -n "$CC"; then
3864 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3865 $as_echo "$CC" >&6; }
3867 { $as_echo "$as_me:$LINENO: result: no" >&5
3868 $as_echo "no" >&6; }
3873 if test -z "$ac_cv_prog_CC"; then
3875 # Extract the first word of "gcc", so it can be a program name with args.
3876 set dummy gcc; ac_word=$2
3877 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3880 $as_echo_n "(cached) " >&6
3882 if test -n "$ac_ct_CC"; then
3883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892 ac_cv_prog_ac_ct_CC="gcc"
3893 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3903 if test -n "$ac_ct_CC"; then
3904 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3905 $as_echo "$ac_ct_CC" >&6; }
3907 { $as_echo "$as_me:$LINENO: result: no" >&5
3908 $as_echo "no" >&6; }
3911 if test "x$ac_ct_CC" = x; then
3914 case $cross_compiling:$ac_tool_warned in
3916 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3917 whose name does not start with the host triplet. If you think this
3918 configuration is useful to you, please write to autoconf@gnu.org." >&5
3919 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3920 whose name does not start with the host triplet. If you think this
3921 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3922 ac_tool_warned=yes ;;
3930 if test -z "$CC"; then
3931 if test -n "$ac_tool_prefix"; then
3932 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3933 set dummy ${ac_tool_prefix}cc; ac_word=$2
3934 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3935 $as_echo_n "checking for $ac_word... " >&6; }
3936 if test "${ac_cv_prog_CC+set}" = set; then
3937 $as_echo_n "(cached) " >&6
3939 if test -n "$CC"; then
3940 ac_cv_prog_CC="$CC" # Let the user override the test.
3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 test -z "$as_dir" && as_dir=.
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3949 ac_cv_prog_CC="${ac_tool_prefix}cc"
3950 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 if test -n "$CC"; then
3961 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3962 $as_echo "$CC" >&6; }
3964 { $as_echo "$as_me:$LINENO: result: no" >&5
3965 $as_echo "no" >&6; }
3971 if test -z "$CC"; then
3972 # Extract the first word of "cc", so it can be a program name with args.
3973 set dummy cc; ac_word=$2
3974 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if test "${ac_cv_prog_CC+set}" = set; then
3977 $as_echo_n "(cached) " >&6
3979 if test -n "$CC"; then
3980 ac_cv_prog_CC="$CC" # Let the user override the test.
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3991 ac_prog_rejected=yes
3995 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 if test $ac_prog_rejected = yes; then
4003 # We found a bogon in the path, so make sure we never use it.
4004 set dummy $ac_cv_prog_CC
4006 if test $# != 0; then
4007 # We chose a different compiler from the bogus one.
4008 # However, it has the same basename, so the bogon will be chosen
4009 # first if we set CC to just the basename; use the full file name.
4011 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4017 if test -n "$CC"; then
4018 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4019 $as_echo "$CC" >&6; }
4021 { $as_echo "$as_me:$LINENO: result: no" >&5
4022 $as_echo "no" >&6; }
4027 if test -z "$CC"; then
4028 if test -n "$ac_tool_prefix"; then
4029 for ac_prog in cl.exe
4031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4033 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if test "${ac_cv_prog_CC+set}" = set; then
4036 $as_echo_n "(cached) " >&6
4038 if test -n "$CC"; then
4039 ac_cv_prog_CC="$CC" # Let the user override the test.
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir=.
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4049 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 if test -n "$CC"; then
4060 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4061 $as_echo "$CC" >&6; }
4063 { $as_echo "$as_me:$LINENO: result: no" >&5
4064 $as_echo "no" >&6; }
4068 test -n "$CC" && break
4071 if test -z "$CC"; then
4073 for ac_prog in cl.exe
4075 # Extract the first word of "$ac_prog", so it can be a program name with args.
4076 set dummy $ac_prog; ac_word=$2
4077 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4080 $as_echo_n "(cached) " >&6
4082 if test -n "$ac_ct_CC"; then
4083 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir=.
4090 for ac_exec_ext in '' $ac_executable_extensions; do
4091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4092 ac_cv_prog_ac_ct_CC="$ac_prog"
4093 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4103 if test -n "$ac_ct_CC"; then
4104 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4105 $as_echo "$ac_ct_CC" >&6; }
4107 { $as_echo "$as_me:$LINENO: result: no" >&5
4108 $as_echo "no" >&6; }
4112 test -n "$ac_ct_CC" && break
4115 if test "x$ac_ct_CC" = x; then
4118 case $cross_compiling:$ac_tool_warned in
4120 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4121 whose name does not start with the host triplet. If you think this
4122 configuration is useful to you, please write to autoconf@gnu.org." >&5
4123 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4124 whose name does not start with the host triplet. If you think this
4125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4126 ac_tool_warned=yes ;;
4135 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4136 See \`config.log
' for more details." >&5
4137 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4138 See \`config.log' for more details.
" >&2;}
4139 { (exit 1); exit 1; }; }
4141 # Provide some information about the compiler.
4142 $as_echo "$as_me:$LINENO: checking
for C compiler version
" >&5
4145 { (ac_try="$ac_compiler --version >&5"
4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4150 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4151 $as_echo "$ac_try_echo") >&5
4152 (eval "$ac_compiler --version >&5") 2>&5
4154 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4155 (exit $ac_status); }
4156 { (ac_try="$ac_compiler -v >&5"
4158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4161 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4162 $as_echo "$ac_try_echo") >&5
4163 (eval "$ac_compiler -v >&5") 2>&5
4165 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4166 (exit $ac_status); }
4167 { (ac_try="$ac_compiler -V >&5"
4169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4170 *) ac_try_echo=$ac_try;;
4172 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4173 $as_echo "$ac_try_echo") >&5
4174 (eval "$ac_compiler -V >&5") 2>&5
4176 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4177 (exit $ac_status); }
4179 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
4180 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
4181 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4182 $as_echo_n "(cached
) " >&6
4184 cat >conftest.$ac_ext <<_ACEOF
4187 cat confdefs.h >>conftest.$ac_ext
4188 cat >>conftest.$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4202 rm -f conftest.$ac_objext
4203 if { (ac_try="$ac_compile"
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4208 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4209 $as_echo "$ac_try_echo") >&5
4210 (eval "$ac_compile") 2>conftest.er1
4212 grep -v '^ *+' conftest.er1 >conftest.err
4214 cat conftest.err >&5
4215 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4216 (exit $ac_status); } && {
4217 test -z "$ac_c_werror_flag" ||
4218 test ! -s conftest.err
4219 } && test -s conftest.$ac_objext; then
4222 $as_echo "$as_me: failed program was
:" >&5
4223 sed 's/^/| /' conftest.$ac_ext >&5
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4232 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
4233 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4234 if test $ac_compiler_gnu = yes; then
4239 ac_test_CFLAGS=${CFLAGS+set}
4240 ac_save_CFLAGS=$CFLAGS
4241 { $as_echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
4242 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
4243 if test "${ac_cv_prog_cc_g+set}" = set; then
4244 $as_echo_n "(cached
) " >&6
4246 ac_save_c_werror_flag=$ac_c_werror_flag
4247 ac_c_werror_flag=yes
4250 cat >conftest.$ac_ext <<_ACEOF
4253 cat confdefs.h >>conftest.$ac_ext
4254 cat >>conftest.$ac_ext <<_ACEOF
4255 /* end confdefs.h. */
4265 rm -f conftest.$ac_objext
4266 if { (ac_try="$ac_compile"
4268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4271 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4272 $as_echo "$ac_try_echo") >&5
4273 (eval "$ac_compile") 2>conftest.er1
4275 grep -v '^ *+' conftest.er1 >conftest.err
4277 cat conftest.err >&5
4278 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4279 (exit $ac_status); } && {
4280 test -z "$ac_c_werror_flag" ||
4281 test ! -s conftest.err
4282 } && test -s conftest.$ac_objext; then
4285 $as_echo "$as_me: failed program was
:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4289 cat >conftest.$ac_ext <<_ACEOF
4292 cat confdefs.h >>conftest.$ac_ext
4293 cat >>conftest.$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4304 rm -f conftest.$ac_objext
4305 if { (ac_try="$ac_compile"
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4311 $as_echo "$ac_try_echo") >&5
4312 (eval "$ac_compile") 2>conftest.er1
4314 grep -v '^ *+' conftest.er1 >conftest.err
4316 cat conftest.err >&5
4317 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4318 (exit $ac_status); } && {
4319 test -z "$ac_c_werror_flag" ||
4320 test ! -s conftest.err
4321 } && test -s conftest.$ac_objext; then
4324 $as_echo "$as_me: failed program was
:" >&5
4325 sed 's/^/| /' conftest.$ac_ext >&5
4327 ac_c_werror_flag=$ac_save_c_werror_flag
4329 cat >conftest.$ac_ext <<_ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4344 rm -f conftest.$ac_objext
4345 if { (ac_try="$ac_compile"
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4350 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4351 $as_echo "$ac_try_echo") >&5
4352 (eval "$ac_compile") 2>conftest.er1
4354 grep -v '^ *+' conftest.er1 >conftest.err
4356 cat conftest.err >&5
4357 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4358 (exit $ac_status); } && {
4359 test -z "$ac_c_werror_flag" ||
4360 test ! -s conftest.err
4361 } && test -s conftest.$ac_objext; then
4364 $as_echo "$as_me: failed program was
:" >&5
4365 sed 's/^/| /' conftest.$ac_ext >&5
4370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 ac_c_werror_flag=$ac_save_c_werror_flag
4379 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
4380 $as_echo "$ac_cv_prog_cc_g" >&6; }
4381 if test "$ac_test_CFLAGS" = set; then
4382 CFLAGS=$ac_save_CFLAGS
4383 elif test $ac_cv_prog_cc_g = yes; then
4384 if test "$GCC" = yes; then
4390 if test "$GCC" = yes; then
4396 { $as_echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
4397 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
4398 if test "${ac_cv_prog_cc_c89+set}" = set; then
4399 $as_echo_n "(cached
) " >&6
4401 ac_cv_prog_cc_c89=no
4403 cat >conftest.$ac_ext <<_ACEOF
4406 cat confdefs.h >>conftest.$ac_ext
4407 cat >>conftest.$ac_ext <<_ACEOF
4408 /* end confdefs.h. */
4411 #include <sys/types.h>
4412 #include <sys/stat.h>
4413 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4414 struct buf { int x; };
4415 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4416 static char *e (p, i)
4422 static char *f (char * (*g) (char **, int), char **p, ...)
4427 s = g (p, va_arg (v,int));
4432 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4433 function prototypes and stuff, but not '\xHH' hex character constants.
4434 These don't provoke an error unfortunately, instead are silently treated
4435 as 'x'. The following induces an error, until -std is added to get
4436 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4437 array size at least. It's necessary to write '\x00'==0 to get something
4438 that's true only with -std. */
4439 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4441 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4442 inside strings and character constants. */
4444 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4446 int test (int i, double x);
4447 struct s1 {int (*f) (int a);};
4448 struct s2 {int (*f) (double a);};
4449 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4455 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4460 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4461 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4463 CC="$ac_save_CC $ac_arg"
4464 rm -f conftest.$ac_objext
4465 if { (ac_try="$ac_compile"
4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4470 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4471 $as_echo "$ac_try_echo") >&5
4472 (eval "$ac_compile") 2>conftest.er1
4474 grep -v '^ *+' conftest.er1 >conftest.err
4476 cat conftest.err >&5
4477 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4478 (exit $ac_status); } && {
4479 test -z "$ac_c_werror_flag" ||
4480 test ! -s conftest.err
4481 } && test -s conftest.$ac_objext; then
4482 ac_cv_prog_cc_c89=$ac_arg
4484 $as_echo "$as_me: failed program was
:" >&5
4485 sed 's/^/| /' conftest.$ac_ext >&5
4490 rm -f core conftest.err conftest.$ac_objext
4491 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
4493 rm -f conftest.$ac_ext
4498 case "x
$ac_cv_prog_cc_c89" in
4500 { $as_echo "$as_me:$LINENO: result
: none needed
" >&5
4501 $as_echo "none needed
" >&6; } ;;
4503 { $as_echo "$as_me:$LINENO: result
: unsupported
" >&5
4504 $as_echo "unsupported
" >&6; } ;;
4506 CC="$CC $ac_cv_prog_cc_c89"
4507 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
4508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518 # Check whether --enable-largefile was given.
4519 if test "${enable_largefile+set}" = set; then
4520 enableval=$enable_largefile;
4523 if test "$enable_largefile" != no; then
4525 { $as_echo "$as_me:$LINENO: checking
for special C compiler options needed
for large files
" >&5
4526 $as_echo_n "checking
for special C compiler options needed
for large files...
" >&6; }
4527 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4528 $as_echo_n "(cached
) " >&6
4530 ac_cv_sys_largefile_CC=no
4531 if test "$GCC" != yes; then
4534 # IRIX 6.2 and later do not support large files by default,
4535 # so use the C compiler's -n32 option if that helps.
4536 cat >conftest.$ac_ext <<_ACEOF
4539 cat confdefs.h >>conftest.$ac_ext
4540 cat >>conftest.$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4542 #include <sys/types.h>
4543 /* Check that off_t can represent 2**63 - 1 correctly.
4544 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4545 since some C++ compilers masquerading as C compilers
4546 incorrectly reject 9223372036854775807. */
4547 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4548 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4549 && LARGE_OFF_T % 2147483647 == 1)
4559 rm -f conftest.$ac_objext
4560 if { (ac_try="$ac_compile"
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4565 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4566 $as_echo "$ac_try_echo") >&5
4567 (eval "$ac_compile") 2>conftest.er1
4569 grep -v '^ *+' conftest.er1 >conftest.err
4571 cat conftest.err >&5
4572 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4573 (exit $ac_status); } && {
4574 test -z "$ac_c_werror_flag" ||
4575 test ! -s conftest.err
4576 } && test -s conftest.$ac_objext; then
4579 $as_echo "$as_me: failed program was
:" >&5
4580 sed 's/^/| /' conftest.$ac_ext >&5
4585 rm -f core conftest.err conftest.$ac_objext
4587 rm -f conftest.$ac_objext
4588 if { (ac_try="$ac_compile"
4590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4591 *) ac_try_echo=$ac_try;;
4593 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4594 $as_echo "$ac_try_echo") >&5
4595 (eval "$ac_compile") 2>conftest.er1
4597 grep -v '^ *+' conftest.er1 >conftest.err
4599 cat conftest.err >&5
4600 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4601 (exit $ac_status); } && {
4602 test -z "$ac_c_werror_flag" ||
4603 test ! -s conftest.err
4604 } && test -s conftest.$ac_objext; then
4605 ac_cv_sys_largefile_CC=' -n32'; break
4607 $as_echo "$as_me: failed program was
:" >&5
4608 sed 's/^/| /' conftest.$ac_ext >&5
4613 rm -f core conftest.err conftest.$ac_objext
4617 rm -f conftest.$ac_ext
4620 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_CC" >&5
4621 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4622 if test "$ac_cv_sys_largefile_CC" != no; then
4623 CC=$CC$ac_cv_sys_largefile_CC
4626 { $as_echo "$as_me:$LINENO: checking
for _FILE_OFFSET_BITS value needed
for large files
" >&5
4627 $as_echo_n "checking
for _FILE_OFFSET_BITS value needed
for large files...
" >&6; }
4628 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4629 $as_echo_n "(cached
) " >&6
4632 cat >conftest.$ac_ext <<_ACEOF
4635 cat confdefs.h >>conftest.$ac_ext
4636 cat >>conftest.$ac_ext <<_ACEOF
4637 /* end confdefs.h. */
4638 #include <sys/types.h>
4639 /* Check that off_t can represent 2**63 - 1 correctly.
4640 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4641 since some C++ compilers masquerading as C compilers
4642 incorrectly reject 9223372036854775807. */
4643 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4644 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4645 && LARGE_OFF_T % 2147483647 == 1)
4655 rm -f conftest.$ac_objext
4656 if { (ac_try="$ac_compile"
4658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4659 *) ac_try_echo=$ac_try;;
4661 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4662 $as_echo "$ac_try_echo") >&5
4663 (eval "$ac_compile") 2>conftest.er1
4665 grep -v '^ *+' conftest.er1 >conftest.err
4667 cat conftest.err >&5
4668 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4669 (exit $ac_status); } && {
4670 test -z "$ac_c_werror_flag" ||
4671 test ! -s conftest.err
4672 } && test -s conftest.$ac_objext; then
4673 ac_cv_sys_file_offset_bits=no; break
4675 $as_echo "$as_me: failed program was
:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4682 cat >conftest.$ac_ext <<_ACEOF
4685 cat confdefs.h >>conftest.$ac_ext
4686 cat >>conftest.$ac_ext <<_ACEOF
4687 /* end confdefs.h. */
4688 #define _FILE_OFFSET_BITS 64
4689 #include <sys/types.h>
4690 /* Check that off_t can represent 2**63 - 1 correctly.
4691 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4692 since some C++ compilers masquerading as C compilers
4693 incorrectly reject 9223372036854775807. */
4694 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4695 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4696 && LARGE_OFF_T % 2147483647 == 1)
4706 rm -f conftest.$ac_objext
4707 if { (ac_try="$ac_compile"
4709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4710 *) ac_try_echo=$ac_try;;
4712 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4713 $as_echo "$ac_try_echo") >&5
4714 (eval "$ac_compile") 2>conftest.er1
4716 grep -v '^ *+' conftest.er1 >conftest.err
4718 cat conftest.err >&5
4719 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4720 (exit $ac_status); } && {
4721 test -z "$ac_c_werror_flag" ||
4722 test ! -s conftest.err
4723 } && test -s conftest.$ac_objext; then
4724 ac_cv_sys_file_offset_bits=64; break
4726 $as_echo "$as_me: failed program was
:" >&5
4727 sed 's/^/| /' conftest.$ac_ext >&5
4732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733 ac_cv_sys_file_offset_bits=unknown
4737 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sys_file_offset_bits" >&5
4738 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4739 case $ac_cv_sys_file_offset_bits in #(
4742 cat >>confdefs.h <<_ACEOF
4743 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4748 if test $ac_cv_sys_file_offset_bits = unknown; then
4749 { $as_echo "$as_me:$LINENO: checking
for _LARGE_FILES value needed
for large files
" >&5
4750 $as_echo_n "checking
for _LARGE_FILES value needed
for large files...
" >&6; }
4751 if test "${ac_cv_sys_large_files+set}" = set; then
4752 $as_echo_n "(cached
) " >&6
4755 cat >conftest.$ac_ext <<_ACEOF
4758 cat confdefs.h >>conftest.$ac_ext
4759 cat >>conftest.$ac_ext <<_ACEOF
4760 /* end confdefs.h. */
4761 #include <sys/types.h>
4762 /* Check that off_t can represent 2**63 - 1 correctly.
4763 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4764 since some C++ compilers masquerading as C compilers
4765 incorrectly reject 9223372036854775807. */
4766 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4767 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4768 && LARGE_OFF_T % 2147483647 == 1)
4778 rm -f conftest.$ac_objext
4779 if { (ac_try="$ac_compile"
4781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4782 *) ac_try_echo=$ac_try;;
4784 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4785 $as_echo "$ac_try_echo") >&5
4786 (eval "$ac_compile") 2>conftest.er1
4788 grep -v '^ *+' conftest.er1 >conftest.err
4790 cat conftest.err >&5
4791 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4792 (exit $ac_status); } && {
4793 test -z "$ac_c_werror_flag" ||
4794 test ! -s conftest.err
4795 } && test -s conftest.$ac_objext; then
4796 ac_cv_sys_large_files=no; break
4798 $as_echo "$as_me: failed program was
:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805 cat >conftest.$ac_ext <<_ACEOF
4808 cat confdefs.h >>conftest.$ac_ext
4809 cat >>conftest.$ac_ext <<_ACEOF
4810 /* end confdefs.h. */
4811 #define _LARGE_FILES 1
4812 #include <sys/types.h>
4813 /* Check that off_t can represent 2**63 - 1 correctly.
4814 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4815 since some C++ compilers masquerading as C compilers
4816 incorrectly reject 9223372036854775807. */
4817 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4818 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4819 && LARGE_OFF_T % 2147483647 == 1)
4829 rm -f conftest.$ac_objext
4830 if { (ac_try="$ac_compile"
4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4835 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4836 $as_echo "$ac_try_echo") >&5
4837 (eval "$ac_compile") 2>conftest.er1
4839 grep -v '^ *+' conftest.er1 >conftest.err
4841 cat conftest.err >&5
4842 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4843 (exit $ac_status); } && {
4844 test -z "$ac_c_werror_flag" ||
4845 test ! -s conftest.err
4846 } && test -s conftest.$ac_objext; then
4847 ac_cv_sys_large_files=1; break
4849 $as_echo "$as_me: failed program was
:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856 ac_cv_sys_large_files=unknown
4860 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sys_large_files" >&5
4861 $as_echo "$ac_cv_sys_large_files" >&6; }
4862 case $ac_cv_sys_large_files in #(
4865 cat >>confdefs.h <<_ACEOF
4866 #define _LARGE_FILES $ac_cv_sys_large_files
4874 if test "$GCC" != yes ; then
4875 { $as_echo "$as_me:$LINENO: checking that
$CC handles ansi prototypes
" >&5
4876 $as_echo_n "checking that
$CC handles ansi prototypes...
" >&6; }
4877 if test "${ac_cv_lbl_cc_ansi_prototypes+set}" = set; then
4878 $as_echo_n "(cached
) " >&6
4880 cat >conftest.$ac_ext <<_ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4886 #include <sys/types.h>
4890 int frob(int, char *)
4895 rm -f conftest.$ac_objext
4896 if { (ac_try="$ac_compile"
4898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899 *) ac_try_echo=$ac_try;;
4901 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4902 $as_echo "$ac_try_echo") >&5
4903 (eval "$ac_compile") 2>conftest.er1
4905 grep -v '^ *+' conftest.er1 >conftest.err
4907 cat conftest.err >&5
4908 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4909 (exit $ac_status); } && {
4910 test -z "$ac_c_werror_flag" ||
4911 test ! -s conftest.err
4912 } && test -s conftest.$ac_objext; then
4913 ac_cv_lbl_cc_ansi_prototypes=yes
4915 $as_echo "$as_me: failed program was
:" >&5
4916 sed 's/^/| /' conftest.$ac_ext >&5
4918 ac_cv_lbl_cc_ansi_prototypes=no
4921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4924 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lbl_cc_ansi_prototypes" >&5
4925 $as_echo "$ac_cv_lbl_cc_ansi_prototypes" >&6; }
4926 if test $ac_cv_lbl_cc_ansi_prototypes = no ; then
4927 case "$target_os" in
4930 { $as_echo "$as_me:$LINENO: checking
for HP-UX ansi compiler
($CC -Aa -D_HPUX_SOURCE)" >&5
4931 $as_echo_n "checking
for HP-UX ansi compiler
($CC -Aa -D_HPUX_SOURCE)...
" >&6; }
4932 savedcflags="$CFLAGS"
4933 CFLAGS="-Aa -D_HPUX_SOURCE $CFLAGS"
4934 if test "${ac_cv_lbl_cc_hpux_cc_aa+set}" = set; then
4935 $as_echo_n "(cached
) " >&6
4937 cat >conftest.$ac_ext <<_ACEOF
4940 cat confdefs.h >>conftest.$ac_ext
4941 cat >>conftest.$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4943 #include <sys/types.h>
4947 int frob(int, char *)
4952 rm -f conftest.$ac_objext
4953 if { (ac_try="$ac_compile"
4955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4956 *) ac_try_echo=$ac_try;;
4958 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
4959 $as_echo "$ac_try_echo") >&5
4960 (eval "$ac_compile") 2>conftest.er1
4962 grep -v '^ *+' conftest.er1 >conftest.err
4964 cat conftest.err >&5
4965 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest.$ac_objext; then
4970 ac_cv_lbl_cc_hpux_cc_aa=yes
4972 $as_echo "$as_me: failed program was
:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4975 ac_cv_lbl_cc_hpux_cc_aa=no
4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4981 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lbl_cc_hpux_cc_aa" >&5
4982 $as_echo "$ac_cv_lbl_cc_hpux_cc_aa" >&6; }
4983 if test $ac_cv_lbl_cc_hpux_cc_aa = no ; then
4984 { { $as_echo "$as_me:$LINENO: error
: see the INSTALL doc
for more info
" >&5
4985 $as_echo "$as_me: error
: see the INSTALL doc
for more info
" >&2;}
4986 { (exit 1); exit 1; }; }
4988 CFLAGS="$savedcflags"
4989 V_CCOPT="-Aa $V_CCOPT"
4991 cat >>confdefs.h <<\_ACEOF
4992 #define _HPUX_SOURCE /**/
4998 { { $as_echo "$as_me:$LINENO: error
: see the INSTALL doc
for more info
" >&5
4999 $as_echo "$as_me: error
: see the INSTALL doc
for more info
" >&2;}
5000 { (exit 1); exit 1; }; }
5004 V_INCLS="$V_INCLS -I/usr
/local
/include
"
5005 LDFLAGS="$LDFLAGS -L/usr
/local
/lib
"
5007 case "$target_os" in
5010 V_CCOPT="$V_CCOPT -xansi -signed -g3"
5014 V_CCOPT="$V_CCOPT -std1 -g3"
5018 { $as_echo "$as_me:$LINENO: checking that Ultrix
$CC hacks const
in prototypes
" >&5
5019 $as_echo_n "checking that Ultrix
$CC hacks const
in prototypes...
" >&6; }
5020 if test "${ac_cv_lbl_cc_const_proto+set}" = set; then
5021 $as_echo_n "(cached
) " >&6
5023 cat >conftest.$ac_ext <<_ACEOF
5026 cat confdefs.h >>conftest.$ac_ext
5027 cat >>conftest.$ac_ext <<_ACEOF
5028 /* end confdefs.h. */
5029 #include <sys/types.h>
5033 struct a { int b; };
5034 void c(const struct a *)
5039 rm -f conftest.$ac_objext
5040 if { (ac_try="$ac_compile"
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5045 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5046 $as_echo "$ac_try_echo") >&5
5047 (eval "$ac_compile") 2>conftest.er1
5049 grep -v '^ *+' conftest.er1 >conftest.err
5051 cat conftest.err >&5
5052 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5053 (exit $ac_status); } && {
5054 test -z "$ac_c_werror_flag" ||
5055 test ! -s conftest.err
5056 } && test -s conftest.$ac_objext; then
5057 ac_cv_lbl_cc_const_proto=yes
5059 $as_echo "$as_me: failed program was
:" >&5
5060 sed 's/^/| /' conftest.$ac_ext >&5
5062 ac_cv_lbl_cc_const_proto=no
5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lbl_cc_const_proto" >&5
5069 $as_echo "$ac_cv_lbl_cc_const_proto" >&6; }
5070 if test $ac_cv_lbl_cc_const_proto = no ; then
5072 cat >>confdefs.h <<\_ACEOF
5081 # Find a good install program. We prefer a C program (faster),
5082 # so one script is as good as another. But avoid the broken or
5083 # incompatible versions:
5084 # SysV /etc/install, /usr/sbin/install
5085 # SunOS /usr/etc/install
5086 # IRIX /sbin/install
5088 # AmigaOS /C/install, which installs bootblocks on floppy discs
5089 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5090 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5091 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
5092 # OS/2's system install, which has a completely different semantic
5093 # ./install, which can be erroneously created by make from ./install.sh.
5094 # Reject install programs that cannot install multiple files.
5095 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
5096 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
5097 if test -z "$INSTALL"; then
5098 if test "${ac_cv_path_install+set}" = set; then
5099 $as_echo_n "(cached
) " >&6
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir=.
5106 # Account for people who put trailing slashes in PATH elements.
5108 ./ | .// | /cC/* | \
5109 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5110 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5113 # OSF1 and SCO ODT 3.0 have their own names for install.
5114 # Don't use installbsd from OSF since it installs stuff as root
5116 for ac_prog in ginstall scoinst install; do
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5119 if test $ac_prog = install &&
5120 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5121 # AIX install. It has an incompatible calling convention.
5123 elif test $ac_prog = install &&
5124 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5125 # program-specific install script used by HP pwplus--don't use.
5128 rm -rf conftest.one conftest.two conftest.dir
5129 echo one > conftest.one
5130 echo two > conftest.two
5132 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
5133 test -s conftest.one && test -s conftest.two &&
5134 test -s conftest.dir/conftest.one &&
5135 test -s conftest.dir/conftest.two
5137 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5150 rm -rf conftest.one conftest.two conftest.dir
5153 if test "${ac_cv_path_install+set}" = set; then
5154 INSTALL=$ac_cv_path_install
5156 # As a last resort, use the slow shell script. Don't cache a
5157 # value for INSTALL within a source directory, because that will
5158 # break other packages using the cache if that directory is
5159 # removed, or if the value is a relative name.
5160 INSTALL=$ac_install_sh
5163 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
5164 $as_echo "$INSTALL" >&6; }
5166 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5167 # It thinks the first close brace ends the variable substitution.
5168 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5170 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5172 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5177 for ac_header in fcntl.h memory.h
5179 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
5180 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
5181 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
5182 $as_echo_n "checking
for $ac_header...
" >&6; }
5183 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
5184 $as_echo_n "(cached
) " >&6
5186 ac_res=`eval 'as_val=${'$as_ac_Header'}
5187 $as_echo "$as_val"'`
5188 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
5189 $as_echo "$ac_res" >&6; }
5191 # Is the header compilable?
5192 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
5193 $as_echo_n "checking
$ac_header usability...
" >&6; }
5194 cat >conftest.$ac_ext <<_ACEOF
5197 cat confdefs.h >>conftest.$ac_ext
5198 cat >>conftest.$ac_ext <<_ACEOF
5199 /* end confdefs.h. */
5200 $ac_includes_default
5201 #include <$ac_header>
5203 rm -f conftest.$ac_objext
5204 if { (ac_try="$ac_compile"
5206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5209 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5210 $as_echo "$ac_try_echo") >&5
5211 (eval "$ac_compile") 2>conftest.er1
5213 grep -v '^ *+' conftest.er1 >conftest.err
5215 cat conftest.err >&5
5216 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5217 (exit $ac_status); } && {
5218 test -z "$ac_c_werror_flag" ||
5219 test ! -s conftest.err
5220 } && test -s conftest.$ac_objext; then
5221 ac_header_compiler=yes
5223 $as_echo "$as_me: failed program was
:" >&5
5224 sed 's/^/| /' conftest.$ac_ext >&5
5226 ac_header_compiler=no
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
5231 $as_echo "$ac_header_compiler" >&6; }
5233 # Is the header present?
5234 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
5235 $as_echo_n "checking
$ac_header presence...
" >&6; }
5236 cat >conftest.$ac_ext <<_ACEOF
5239 cat confdefs.h >>conftest.$ac_ext
5240 cat >>conftest.$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5242 #include <$ac_header>
5244 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5249 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5250 $as_echo "$ac_try_echo") >&5
5251 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5253 grep -v '^ *+' conftest.er1 >conftest.err
5255 cat conftest.err >&5
5256 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5257 (exit $ac_status); } >/dev/null && {
5258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5259 test ! -s conftest.err
5261 ac_header_preproc=yes
5263 $as_echo "$as_me: failed program was
:" >&5
5264 sed 's/^/| /' conftest.$ac_ext >&5
5266 ac_header_preproc=no
5269 rm -f conftest.err conftest.$ac_ext
5270 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
5271 $as_echo "$ac_header_preproc" >&6; }
5273 # So? What about this header?
5274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5276 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
5277 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
5278 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
5279 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
5280 ac_header_preproc=yes
5283 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
5284 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
5285 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
5286 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
5287 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
5288 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
5289 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
5290 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
5291 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
5292 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
5293 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
5294 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
5298 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
5299 $as_echo_n "checking
for $ac_header...
" >&6; }
5300 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
5301 $as_echo_n "(cached
) " >&6
5303 eval "$as_ac_Header=\
$ac_header_preproc"
5305 ac_res=`eval 'as_val=${'$as_ac_Header'}
5306 $as_echo "$as_val"'`
5307 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
5308 $as_echo "$ac_res" >&6; }
5311 if test `eval 'as_val=${'$as_ac_Header'}
5312 $as_echo "$as_val"'` = yes; then
5313 cat >>confdefs.h <<_ACEOF
5314 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
5323 for ac_func in strerror
5325 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
5326 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
5327 $as_echo_n "checking
for $ac_func...
" >&6; }
5328 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
5329 $as_echo_n "(cached
) " >&6
5331 cat >conftest.$ac_ext <<_ACEOF
5334 cat confdefs.h >>conftest.$ac_ext
5335 cat >>conftest.$ac_ext <<_ACEOF
5336 /* end confdefs.h. */
5337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5339 #define $ac_func innocuous_$ac_func
5341 /* System header to define __stub macros and hopefully few prototypes,
5342 which can conflict with char $ac_func (); below.
5343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5344 <limits.h> exists even on freestanding compilers. */
5347 # include <limits.h>
5349 # include <assert.h>
5354 /* Override any GCC internal prototype to avoid an error.
5355 Use char because int might match the return type of a GCC
5356 builtin and then its argument prototype would still apply. */
5361 /* The GNU C library defines this for functions which it implements
5362 to always fail with ENOSYS. Some functions are actually named
5363 something starting with __ and the normal name is an alias. */
5364 #if defined __stub_$ac_func || defined __stub___$ac_func
5376 rm -f conftest.$ac_objext conftest$ac_exeext
5377 if { (ac_try="$ac_link"
5379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5380 *) ac_try_echo=$ac_try;;
5382 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5383 $as_echo "$ac_try_echo") >&5
5384 (eval "$ac_link") 2>conftest.er1
5386 grep -v '^ *+' conftest.er1 >conftest.err
5388 cat conftest.err >&5
5389 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5390 (exit $ac_status); } && {
5391 test -z "$ac_c_werror_flag" ||
5392 test ! -s conftest.err
5393 } && test -s conftest$ac_exeext && {
5394 test "$cross_compiling" = yes ||
5395 $as_test_x conftest$ac_exeext
5397 eval "$as_ac_var=yes"
5399 $as_echo "$as_me: failed program was
:" >&5
5400 sed 's/^/| /' conftest.$ac_ext >&5
5402 eval "$as_ac_var=no
"
5405 rm -rf conftest.dSYM
5406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5407 conftest$ac_exeext conftest.$ac_ext
5409 ac_res=`eval 'as_val=${'$as_ac_var'}
5410 $as_echo "$as_val"'`
5411 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
5412 $as_echo "$ac_res" >&6; }
5413 if test `eval 'as_val=${'$as_ac_var'}
5414 $as_echo "$as_val"'` = yes; then
5415 cat >>confdefs.h <<_ACEOF
5416 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
5420 case " $LIBOBJS " in
5421 *" $ac_func.
$ac_objext "* ) ;;
5422 *) LIBOBJS="$LIBOBJS $ac_func.
$ac_objext"
5431 { $as_echo "$as_me:$LINENO: checking
for main
in -lnsl" >&5
5432 $as_echo_n "checking
for main
in -lnsl...
" >&6; }
5433 if test "${ac_cv_lib_nsl_main+set}" = set; then
5434 $as_echo_n "(cached
) " >&6
5436 ac_check_lib_save_LIBS=$LIBS
5438 cat >conftest.$ac_ext <<_ACEOF
5441 cat confdefs.h >>conftest.$ac_ext
5442 cat >>conftest.$ac_ext <<_ACEOF
5443 /* end confdefs.h. */
5454 rm -f conftest.$ac_objext conftest$ac_exeext
5455 if { (ac_try="$ac_link"
5457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5458 *) ac_try_echo=$ac_try;;
5460 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5461 $as_echo "$ac_try_echo") >&5
5462 (eval "$ac_link") 2>conftest.er1
5464 grep -v '^ *+' conftest.er1 >conftest.err
5466 cat conftest.err >&5
5467 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5468 (exit $ac_status); } && {
5469 test -z "$ac_c_werror_flag" ||
5470 test ! -s conftest.err
5471 } && test -s conftest$ac_exeext && {
5472 test "$cross_compiling" = yes ||
5473 $as_test_x conftest$ac_exeext
5475 ac_cv_lib_nsl_main=yes
5477 $as_echo "$as_me: failed program was
:" >&5
5478 sed 's/^/| /' conftest.$ac_ext >&5
5480 ac_cv_lib_nsl_main=no
5483 rm -rf conftest.dSYM
5484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5485 conftest$ac_exeext conftest.$ac_ext
5486 LIBS=$ac_check_lib_save_LIBS
5488 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_nsl_main" >&5
5489 $as_echo "$ac_cv_lib_nsl_main" >&6; }
5490 if test $ac_cv_lib_nsl_main = yes; then
5491 cat >>confdefs.h <<_ACEOF
5492 #define HAVE_LIBNSL 1
5500 { $as_echo "$as_me:$LINENO: checking
for main
in -lsocket" >&5
5501 $as_echo_n "checking
for main
in -lsocket...
" >&6; }
5502 if test "${ac_cv_lib_socket_main+set}" = set; then
5503 $as_echo_n "(cached
) " >&6
5505 ac_check_lib_save_LIBS=$LIBS
5506 LIBS="-lsocket $LIBS"
5507 cat >conftest.$ac_ext <<_ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5523 rm -f conftest.$ac_objext conftest$ac_exeext
5524 if { (ac_try="$ac_link"
5526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5527 *) ac_try_echo=$ac_try;;
5529 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5530 $as_echo "$ac_try_echo") >&5
5531 (eval "$ac_link") 2>conftest.er1
5533 grep -v '^ *+' conftest.er1 >conftest.err
5535 cat conftest.err >&5
5536 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5537 (exit $ac_status); } && {
5538 test -z "$ac_c_werror_flag" ||
5539 test ! -s conftest.err
5540 } && test -s conftest$ac_exeext && {
5541 test "$cross_compiling" = yes ||
5542 $as_test_x conftest$ac_exeext
5544 ac_cv_lib_socket_main=yes
5546 $as_echo "$as_me: failed program was
:" >&5
5547 sed 's/^/| /' conftest.$ac_ext >&5
5549 ac_cv_lib_socket_main=no
5552 rm -rf conftest.dSYM
5553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5554 conftest$ac_exeext conftest.$ac_ext
5555 LIBS=$ac_check_lib_save_LIBS
5557 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_socket_main" >&5
5558 $as_echo "$ac_cv_lib_socket_main" >&6; }
5559 if test $ac_cv_lib_socket_main = yes; then
5560 cat >>confdefs.h <<_ACEOF
5561 #define HAVE_LIBSOCKET 1
5564 LIBS="-lsocket $LIBS"
5569 { $as_echo "$as_me:$LINENO: checking
for int32_t using
$CC" >&5
5570 $as_echo_n "checking
for int32_t using
$CC...
" >&6; }
5571 if test "${ac_cv_lbl_have_int32_t+set}" = set; then
5572 $as_echo_n "(cached
) " >&6
5574 cat >conftest.$ac_ext <<_ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5581 # include "confdefs.h
"
5582 # include <sys/types.h>
5584 # include <stdlib.h>
5585 # include <stddef.h>
5595 rm -f conftest.$ac_objext
5596 if { (ac_try="$ac_compile"
5598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5601 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5602 $as_echo "$ac_try_echo") >&5
5603 (eval "$ac_compile") 2>conftest.er1
5605 grep -v '^ *+' conftest.er1 >conftest.err
5607 cat conftest.err >&5
5608 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5609 (exit $ac_status); } && {
5610 test -z "$ac_c_werror_flag" ||
5611 test ! -s conftest.err
5612 } && test -s conftest.$ac_objext; then
5613 ac_cv_lbl_have_int32_t=yes
5615 $as_echo "$as_me: failed program was
:" >&5
5616 sed 's/^/| /' conftest.$ac_ext >&5
5618 ac_cv_lbl_have_int32_t=no
5621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5624 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lbl_have_int32_t" >&5
5625 $as_echo "$ac_cv_lbl_have_int32_t" >&6; }
5626 if test $ac_cv_lbl_have_int32_t = no ; then
5628 cat >>confdefs.h <<\_ACEOF
5633 { $as_echo "$as_me:$LINENO: checking
for u_int32_t using
$CC" >&5
5634 $as_echo_n "checking
for u_int32_t using
$CC...
" >&6; }
5635 if test "${ac_cv_lbl_have_u_int32_t+set}" = set; then
5636 $as_echo_n "(cached
) " >&6
5638 cat >conftest.$ac_ext <<_ACEOF
5641 cat confdefs.h >>conftest.$ac_ext
5642 cat >>conftest.$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5645 # include "confdefs.h
"
5646 # include <sys/types.h>
5648 # include <stdlib.h>
5649 # include <stddef.h>
5659 rm -f conftest.$ac_objext
5660 if { (ac_try="$ac_compile"
5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5663 *) ac_try_echo=$ac_try;;
5665 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5666 $as_echo "$ac_try_echo") >&5
5667 (eval "$ac_compile") 2>conftest.er1
5669 grep -v '^ *+' conftest.er1 >conftest.err
5671 cat conftest.err >&5
5672 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5673 (exit $ac_status); } && {
5674 test -z "$ac_c_werror_flag" ||
5675 test ! -s conftest.err
5676 } && test -s conftest.$ac_objext; then
5677 ac_cv_lbl_have_u_int32_t=yes
5679 $as_echo "$as_me: failed program was
:" >&5
5680 sed 's/^/| /' conftest.$ac_ext >&5
5682 ac_cv_lbl_have_u_int32_t=no
5685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5688 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lbl_have_u_int32_t" >&5
5689 $as_echo "$ac_cv_lbl_have_u_int32_t" >&6; }
5690 if test $ac_cv_lbl_have_u_int32_t = no ; then
5692 cat >>confdefs.h <<\_ACEOF
5693 #define u_int32_t u_int
5701 if test -f .devel ; then
5702 if test "$GCC" = yes ; then
5703 if test "$SHLICC2" = yes ; then
5704 ac_cv_lbl_gcc_vers=2
5705 V_CCOPT="`echo $V_CCOPT | sed -e 's/-O/-O3/'`"
5707 { $as_echo "$as_me:$LINENO: checking gcc version
" >&5
5708 $as_echo_n "checking gcc version...
" >&6; }
5709 if test "${ac_cv_lbl_gcc_vers+set}" = set; then
5710 $as_echo_n "(cached
) " >&6
5712 # Gag, the gcc folks keep changing the output...
5714 ac_cv_lbl_gcc_vers=`$CC --version 2>&1 |
5715 sed -e '1!d' -e 's/[^0-9]*\([0-9][0-9]*\)\.[0-9\][0-9]*\.[0-9][0-9]*.*/\1/'`
5718 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lbl_gcc_vers" >&5
5719 $as_echo "$ac_cv_lbl_gcc_vers" >&6; }
5720 if test "$ac_cv_lbl_gcc_vers" -gt 1 ; then
5721 V_CCOPT="`echo $V_CCOPT | sed -e 's/-O/-O3/'`"
5724 if test "$ac_cv_prog_cc_g" = yes ; then
5725 V_CCOPT="-g $V_CCOPT"
5727 V_CCOPT="$V_CCOPT -Wall"
5728 if test "$ac_cv_lbl_gcc_vers" -gt 1 ; then
5729 V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes"
5730 if [ "`uname -s`" = "FreeBSD
" ]; then
5731 V_CCOPT="$V_CCOPT -Werror"
5735 case "$target_os" in
5738 V_CCOPT="$V_CCOPT -fullwarn -n32"
5745 os=`echo $target_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'`
5747 if test -f $name ; then
5748 ln -s $name os-proto.h
5750 cat >>confdefs.h <<\_ACEOF
5751 #define HAVE_OS_PROTO_H /**/
5755 { $as_echo "$as_me:$LINENO: WARNING
: can
't find $name" >&5
5756 $as_echo "$as_me: WARNING: can't
find $name" >&2;}
5760 if test -r lbl/gnuc.h ; then
5762 ln -s lbl/gnuc.h gnuc.h
5771 ac_config_files="$ac_config_files Makefile
"
5773 cat >confcache <<\_ACEOF
5774 # This file is a shell script that caches the results of configure
5775 # tests run on this system so they can be shared between configure
5776 # scripts and configure runs, see configure's option --config-cache.
5777 # It is not useful on other systems. If it contains results you don't
5778 # want to keep, you may remove or edit it.
5780 # config.status only pays attention to the cache file if you give it
5781 # the --recheck option to rerun configure.
5783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5789 # The following way of writing the cache mishandles newlines in values,
5790 # but we know of no workaround that is simple, portable, and efficient.
5791 # So, we kill variables containing newlines.
5792 # Ultrix sh set writes to stderr and can't be redirected directly,
5793 # and sets the high bit in the cache file unless we assign to the vars.
5795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5796 eval ac_val=\$$ac_var
5800 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
5801 $as_echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
5804 _ | IFS | as_nl) ;; #(
5805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5806 *) $as_unset $ac_var ;;
5812 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5813 *${as_nl}ac_space=\ *)
5814 # `set' does not quote correctly, so add quotes (double-quote
5815 # substitution turns \\\\ into \\, and sed turns \\ into \).
5818 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
5821 # `set' quotes correctly as required by POSIX, so do not add quotes.
5822 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
5831 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5833 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5835 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5836 if test -w "$cache_file"; then
5837 test "x
$cache_file" != "x
/dev
/null
" &&
5838 { $as_echo "$as_me:$LINENO: updating cache
$cache_file" >&5
5839 $as_echo "$as_me: updating cache
$cache_file" >&6;}
5840 cat confcache >$cache_file
5842 { $as_echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
5843 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
5848 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
5849 # Let make expand exec_prefix.
5850 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
5852 # Transform confdefs.h into DEFS.
5853 # Protect against shell expansion while executing Makefile rules.
5854 # Protect against Makefile macro expansion.
5856 # If the first sed substitution is executed (which looks for macros that
5857 # take arguments), then branch to the quote section. Otherwise,
5858 # look for a macro that doesn't take arguments.
5868 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5870 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5874 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
5887 DEFS=`sed -n "$ac_script" confdefs.h`
5892 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5893 # 1. Remove the extension, and $U if already installed.
5894 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
5895 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5896 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5897 # will be set to the directory where LIBOBJS objects are built.
5898 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5899 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo
'
5903 LTLIBOBJS=$ac_ltlibobjs
5907 : ${CONFIG_STATUS=./config.status}
5909 ac_clean_files_save=$ac_clean_files
5910 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5911 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5912 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5913 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5915 # Generated by $as_me.
5916 # Run this file to recreate the current configuration.
5917 # Compiler output produced by configure, useful for debugging
5918 # configure, is in config.log if it exists.
5923 SHELL=\${CONFIG_SHELL-$SHELL}
5926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5927 ## --------------------- ##
5928 ## M4sh Initialization. ##
5929 ## --------------------- ##
5931 # Be more Bourne compatible
5932 DUALCASE=1; export DUALCASE # for MKS sh
5933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5936 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5937 # is contrary to our usage. Disable this feature.
5938 alias -g '${1+"$@"}'='"$@"'
5939 setopt NO_GLOB_SUBST
5941 case `(set -o) 2>/dev/null` in
5942 *posix*) set -o posix ;;
5951 # Avoid depending upon Character Ranges.
5952 as_cr_letters='abcdefghijklmnopqrstuvwxyz
'
5953 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ
'
5954 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5955 as_cr_digits='0123456789'
5956 as_cr_alnum=$as_cr_Letters$as_cr_digits
5961 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5962 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5963 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
5964 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5965 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
5966 as_echo
='printf %s\n'
5967 as_echo_n
='printf %s'
5969 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5970 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
5971 as_echo_n
='/usr/ucb/echo -n'
5973 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
5974 as_echo_n_body
='eval
5978 expr "X$arg" : "X\\(.*\\)$as_nl";
5979 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5981 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5983 export as_echo_n_body
5984 as_echo_n
='sh -c $as_echo_n_body as_echo'
5987 as_echo
='sh -c $as_echo_body as_echo'
5990 # The user is always right.
5991 if test "${PATH_SEPARATOR+set}" != set; then
5993 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
5994 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
5999 # Support unset when possible.
6000 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6008 # We need space, tab and new line, in precisely that order. Quoting is
6009 # there to prevent editors from complaining about space-tab.
6010 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6011 # splitting by setting IFS to empty value.)
6014 # Find who we are. Look in the path if we contain no directory separator.
6016 *[\\/]* ) as_myself
=$0 ;;
6017 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir
=.
6022 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6028 # We did not find ourselves, most probably we were run as `sh COMMAND'
6029 # in which case we are not to be found in the path.
6030 if test "x$as_myself" = x
; then
6033 if test ! -f "$as_myself"; then
6034 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6035 { (exit 1); exit 1; }
6038 # Work around bugs in pre-3.0 UWIN ksh.
6039 for as_var
in ENV MAIL MAILPATH
6040 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6052 # Required to use basename.
6053 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6054 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6060 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6061 as_basename
=basename
6067 # Name of the executable.
6068 as_me
=`$as_basename -- "$0" ||
6069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6070 X"$0" : 'X\(//\)$' \| \
6071 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6073 sed '/^.*\/\([^/][^/]*\)\/*$/{
6094 test "x$as_lineno_1" != "x$as_lineno_2" &&
6095 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
6097 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6098 # uniformly replaced by the line number. The first 'sed' inserts a
6099 # line-number line after each line using $LINENO; the second 'sed'
6100 # does the real work. The second script uses 'N' to pair each
6101 # line-number line with the line containing $LINENO, and appends
6102 # trailing '-' during substitution so that $LINENO is not a special
6104 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6105 # scripts with optimization help from Paolo Bonzini. Blame Lee
6106 # E. McMahon (1931-1989) for sed's syntax. :-)
6118 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6122 chmod +x
"$as_me.lineno" ||
6123 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6124 { (exit 1); exit 1; }; }
6126 # Don't try to exec as it changes $[0], causing all sort of problems
6127 # (the dirname of $[0] is not the place where we might find the
6128 # original and so on. Autoconf is especially sensitive to this).
6130 # Exit status is that of the last command.
6135 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6141 ECHO_C
= ECHO_N
= ECHO_T
=
6144 case `echo 'x\c'` in
6145 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6151 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6152 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6158 rm -f conf$$ conf$$.exe conf$$.
file
6159 if test -d conf$$.dir
; then
6160 rm -f conf$$.dir
/conf$$.
file
6163 mkdir conf$$.dir
2>/dev
/null
6165 if (echo >conf$$.
file) 2>/dev
/null
; then
6166 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6168 # ... but there are two gotchas:
6169 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6170 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6171 # In both cases, we have to default to `cp -p'.
6172 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6174 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6182 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6183 rmdir conf$$.dir
2>/dev
/null
6185 if mkdir
-p .
2>/dev
/null
; then
6188 test -d .
/-p && rmdir .
/-p
6192 if test -x / >/dev
/null
2>&1; then
6195 if ls -dL / >/dev
/null
2>&1; then
6202 if test -d "$1"; then
6208 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6209 ???[sx]*):;;*)false;;esac;fi
6213 as_executable_p
=$as_test_x
6215 # Sed expression to map a string onto a valid CPP name.
6216 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6218 # Sed expression to map a string onto a valid variable name.
6219 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6224 # Save the log message, to keep $[0] and so on meaningful, and to
6225 # report actual input values of CONFIG_FILES etc. instead of their
6226 # values after options handling.
6228 This file was extended by $as_me, which was
6229 generated by GNU Autoconf 2.62. Invocation command line was
6231 CONFIG_FILES = $CONFIG_FILES
6232 CONFIG_HEADERS = $CONFIG_HEADERS
6233 CONFIG_LINKS = $CONFIG_LINKS
6234 CONFIG_COMMANDS = $CONFIG_COMMANDS
6237 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6243 # Files that config.status was made for.
6244 config_files="$ac_config_files"
6248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6250 \`$as_me' instantiates files from templates according to the
6251 current configuration.
6253 Usage: $0 [OPTIONS] [FILE]...
6255 -h, --help print this help, then exit
6256 -V, --version print version number and configuration settings, then exit
6257 -q, --quiet do not print progress messages
6258 -d, --debug don't remove temporary files
6259 --recheck update $as_me by reconfiguring in the same conditions
6260 --file=FILE[:TEMPLATE]
6261 instantiate the configuration file FILE
6263 Configuration files:
6266 Report bugs to <bug-autoconf@gnu.org>."
6269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6272 configured by $0, generated by GNU Autoconf 2.62,
6273 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6275 Copyright (C) 2008 Free Software Foundation, Inc.
6276 This config.status script is free software; the Free Software Foundation
6277 gives unlimited permission to copy, distribute and modify it."
6282 test -n "\$AWK" || AWK=awk
6285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6286 # The default lists apply if the user does not specify any file.
6292 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6293 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6304 # Handling of the options.
6305 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6307 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6308 $as_echo "$ac_cs_version"; exit ;;
6309 --debug |
--debu |
--deb |
--de |
--d |
-d )
6311 --file |
--fil |
--fi |
--f )
6314 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6316 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
6317 ac_need_defaults
=false
;;
6318 --he |
--h |
--help |
--hel |
-h )
6319 $as_echo "$ac_cs_usage"; exit ;;
6320 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6321 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6325 -*) { $as_echo "$as_me: error: unrecognized option: $1
6326 Try \`$0 --help' for more information." >&2
6327 { (exit 1); exit 1; }; } ;;
6329 *) ac_config_targets
="$ac_config_targets $1"
6330 ac_need_defaults
=false
;;
6336 ac_configure_extra_args
=
6338 if $ac_cs_silent; then
6340 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6345 if \$ac_cs_recheck; then
6346 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6348 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6349 CONFIG_SHELL='$SHELL'
6355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6359 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6360 ## Running $as_me. ##
6366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6371 # Handling of arguments.
6372 for ac_config_target
in $ac_config_targets
6374 case $ac_config_target in
6375 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6377 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6378 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6379 { (exit 1); exit 1; }; };;
6384 # If the user did not use the arguments to specify the items to instantiate,
6385 # then the envvar interface is used. Set only those that are not.
6386 # We use the long form for the default assignment because of an extremely
6387 # bizarre bug on SunOS 4.1.3.
6388 if $ac_need_defaults; then
6389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6392 # Have a temporary directory for convenience. Make it in the build tree
6393 # simply because there is no reason against having it here, and in addition,
6394 # creating and moving files from /tmp can sometimes cause problems.
6395 # Hook for its removal unless debugging.
6396 # Note that there is a small window in which the directory will not be cleaned:
6397 # after its creation but before its name has been assigned to `$tmp'.
6401 trap 'exit_status=$?
6402 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6404 trap '{ (exit 1); exit 1; }' 1 2 13 15
6406 # Create a (secure) tmp directory for tmp files.
6409 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6410 test -n "$tmp" && test -d "$tmp"
6413 tmp
=.
/conf$$
-$RANDOM
6414 (umask 077 && mkdir
"$tmp")
6417 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6418 { (exit 1); exit 1; }
6421 # Set up the scripts for CONFIG_FILES section.
6422 # No need to generate them if there are no CONFIG_FILES.
6423 # This happens for instance with `./config.status config.h'.
6424 if test -n "$CONFIG_FILES"; then
6428 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6429 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6435 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6440 echo "cat >conf$$subs.awk <<_ACEOF" &&
6441 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6444 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
6445 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
6446 { (exit 1); exit 1; }; }
6447 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6449 for ac_last_try in false false false false false :; do
6450 . ./conf$$subs.sh ||
6451 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
6452 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
6453 { (exit 1); exit 1; }; }
6455 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
6457 elif $ac_last_try; then
6458 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
6459 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
6460 { (exit 1); exit 1; }; }
6462 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6468 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6472 s/^/S["/; s
/!.
*/"]=/
6482 s/\(.\{148\}\).*/\1/
6484 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6489 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6496 s/\(.\{148\}\).*/\1/
6498 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6502 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6507 ' <conf$$subs.awk | sed '
6512 ' >>$CONFIG_STATUS || ac_write_fail=1
6513 rm -f conf$$subs.awk
6514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6516 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6517 for (key in S) S_is_set[key] = 1
6523 nfields = split(line, field, "@
")
6525 len = length(field[1])
6526 for (i = 2; i < nfields; i++) {
6528 keylen = length(key)
6529 if (S_is_set[key]) {
6531 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6532 len += length(value) + length(field[++i])
6543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6544 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6545 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6548 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6549 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
6550 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
6551 { (exit 1); exit 1; }; }
6554 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6555 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6556 # trailing colons and then remove the whole line if VPATH becomes empty
6557 # (actually we leave an empty line to preserve line numbers).
6558 if test "x
$srcdir" = x.; then
6559 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6563 s/^\([^=]*=[ ]*\):*/\1/
6569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6570 fi # test -n "$CONFIG_FILES"
6573 eval set X " :F
$CONFIG_FILES "
6578 :[FHLC]) ac_mode=$ac_tag; continue;;
6580 case $ac_mode$ac_tag in
6582 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error
: Invalid tag
$ac_tag.
" >&5
6583 $as_echo "$as_me: error
: Invalid tag
$ac_tag.
" >&2;}
6584 { (exit 1); exit 1; }; };;
6585 :[FH]-) ac_tag=-:-;;
6586 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6603 -) ac_f="$tmp/stdin
";;
6604 *) # Look for the file first in the build tree, then in the source tree
6605 # (if the path is not absolute). The absolute path cannot be DOS-style,
6606 # because $ac_f cannot contain `:'.
6610 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6612 { { $as_echo "$as_me:$LINENO: error
: cannot
find input
file: $ac_f" >&5
6613 $as_echo "$as_me: error
: cannot
find input
file: $ac_f" >&2;}
6614 { (exit 1); exit 1; }; };;
6616 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6617 ac_file_inputs="$ac_file_inputs '$ac_f'"
6620 # Let's still pretend it is `configure' which instantiates (i.e., don't
6621 # use $as_me), people would be surprised to read:
6622 # /* config.h. Generated by config.status. */
6623 configure_input='Generated from '`
6624 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6626 if test x"$ac_file" != x-; then
6627 configure_input="$ac_file.
$configure_input"
6628 { $as_echo "$as_me:$LINENO: creating
$ac_file" >&5
6629 $as_echo "$as_me: creating
$ac_file" >&6;}
6631 # Neutralize special characters interpreted by sed in replacement strings.
6632 case $configure_input in #(
6633 *\&* | *\|* | *\\* )
6634 ac_sed_conf_input=`$as_echo "$configure_input" |
6635 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6636 *) ac_sed_conf_input=$configure_input;;
6640 *:-:* | *:-) cat >"$tmp/stdin
" \
6641 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
6642 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
6643 { (exit 1); exit 1; }; } ;;
6648 ac_dir=`$as_dirname -- "$ac_file" ||
6649 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6650 X"$ac_file" : 'X\(//\)[^/]' \| \
6651 X"$ac_file" : 'X\(//\)$' \| \
6652 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6653 $as_echo X"$ac_file" |
6654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6673 -*) as_dir=./$as_dir;;
6675 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6679 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
6680 *) as_qdir=$as_dir;;
6682 as_dirs="'$as_qdir' $as_dirs"
6683 as_dir=`$as_dirname -- "$as_dir" ||
6684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6685 X"$as_dir" : 'X\(//\)[^/]' \| \
6686 X"$as_dir" : 'X\(//\)$' \| \
6687 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6688 $as_echo X"$as_dir" |
6689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6706 test -d "$as_dir" && break
6708 test -z "$as_dirs" || eval "mkdir
$as_dirs"
6709 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error
: cannot create directory
$as_dir" >&5
6710 $as_echo "$as_me: error
: cannot create directory
$as_dir" >&2;}
6711 { (exit 1); exit 1; }; }; }
6715 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6717 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6718 # A "..
" for each directory in $ac_dir_suffix.
6719 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6720 case $ac_top_builddir_sub in
6721 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6722 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6725 ac_abs_top_builddir=$ac_pwd
6726 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6727 # for backward compatibility:
6728 ac_top_builddir=$ac_top_build_prefix
6731 .) # We are building in place.
6733 ac_top_srcdir=$ac_top_builddir_sub
6734 ac_abs_top_srcdir=$ac_pwd ;;
6735 [\\/]* | ?:[\\/]* ) # Absolute name.
6736 ac_srcdir=$srcdir$ac_dir_suffix;
6737 ac_top_srcdir=$srcdir
6738 ac_abs_top_srcdir=$srcdir ;;
6740 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6741 ac_top_srcdir=$ac_top_build_prefix$srcdir
6742 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6744 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6754 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6755 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6760 # If the template does not know about datarootdir, expand it.
6761 # FIXME: This hack should be removed a few years after 2.60.
6762 ac_datarootdir_hack=; ac_datarootdir_seen=
6775 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6776 *datarootdir*) ac_datarootdir_seen=yes;;
6777 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6778 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6779 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6782 ac_datarootdir_hack='
6783 s&@datadir@&$datadir&g
6784 s&@docdir@&$docdir&g
6785 s&@infodir@&$infodir&g
6786 s&@localedir@&$localedir&g
6787 s&@mandir@&$mandir&g
6788 s&\\\${datarootdir}&$datarootdir&g' ;;
6792 # Neutralize VPATH when `$srcdir' = `.'.
6793 # Shell code in configure.ac might set extrasub.
6794 # FIXME: do we really want to maintain this feature?
6795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6796 ac_sed_extra="$ac_vpsub
6799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6801 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6802 s|@configure_input@|
$ac_sed_conf_input|
;t t
6803 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6804 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6805 s
&@srcdir@
&$ac_srcdir&;t t
6806 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6807 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6808 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6809 s
&@builddir@
&$ac_builddir&;t t
6810 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6811 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6812 s
&@INSTALL@
&$ac_INSTALL&;t t
6813 $ac_datarootdir_hack
6815 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6816 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
6817 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
6818 { (exit 1); exit 1; }; }
6820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6821 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6822 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6823 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6824 which seems to be undefined. Please make sure it is defined." >&5
6825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6826 which seems to be undefined. Please make sure it is defined." >&2;}
6830 -) cat "$tmp/out" && rm -f "$tmp/out";;
6831 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6833 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6834 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6835 { (exit 1); exit 1; }; }
6845 { (exit 0); exit 0; }
6847 chmod +x $CONFIG_STATUS
6848 ac_clean_files=$ac_clean_files_save
6850 test $ac_write_fail = 0 ||
6851 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6852 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6853 { (exit 1); exit 1; }; }
6856 # configure is writing to config.log, and then calls config.status.
6857 # config.status does its own redirection, appending to config.log.
6858 # Unfortunately, on DOS this fails, as config.log is still kept open
6859 # by configure, so config.status won't be able to
write to it
; its
6860 # output is simply discarded. So we exec the FD to /dev/null,
6861 # effectively closing config.log, so it can be properly (re)opened and
6862 # appended to by config.status. When coming back to configure, we
6863 # need to make the FD available again.
6864 if test "$no_create" != yes; then
6866 ac_config_status_args
=
6867 test "$silent" = yes &&
6868 ac_config_status_args
="$ac_config_status_args --quiet"
6870 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6872 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6873 # would make configure fail if this is the last instruction.
6874 $ac_cs_success ||
{ (exit 1); exit 1; }
6876 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6877 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
6878 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
6882 if test -f .devel
; then