2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="import/dummy.c"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
593 ac_subst_vars
='am__EXEEXT_FALSE
619 INSTALL_STRIP_PROGRAM
637 NEXT_AS_FIRST_DIRECTIVE_STRING_H
639 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
641 GL_GENERATE_STDDEF_H_FALSE
642 GL_GENERATE_STDDEF_H_TRUE
719 NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H
721 UINT64_MAX_EQ_ULONG_MAX
722 UINT32_MAX_LT_UINTMAX_MAX
725 INT64_MAX_EQ_LONG_MAX
726 INT32_MAX_LT_INTMAX_MAX
736 GL_GENERATE_STDINT_H_FALSE
737 GL_GENERATE_STDINT_H_TRUE
746 HAVE_SIGNED_SIG_ATOMIC_T
749 BITSIZEOF_SIG_ATOMIC_T
752 APPLE_UNIVERSAL_BUILD
756 NEXT_AS_FIRST_DIRECTIVE_STDINT_H
760 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
765 HAVE_UNSIGNED_LONG_LONG_INT
767 GL_COND_LIBTOOL_FALSE
795 MAINTAINER_MODE_FALSE
824 program_transform_name
837 enable_option_checking
838 enable_maintainer_mode
839 enable_dependency_tracking
841 ac_precious_vars
='build_alias
852 # Initialize some variables set by options.
854 ac_init_version
=false
855 ac_unrecognized_opts
=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
866 program_transform_name
=s
,x
,x
,
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir
='${exec_prefix}/bin'
881 sbindir
='${exec_prefix}/sbin'
882 libexecdir
='${exec_prefix}/libexec'
883 datarootdir
='${prefix}/share'
884 datadir
='${datarootdir}'
885 sysconfdir
='${prefix}/etc'
886 sharedstatedir
='${prefix}/com'
887 localstatedir
='${prefix}/var'
888 includedir
='${prefix}/include'
889 oldincludedir
='/usr/include'
890 docdir
='${datarootdir}/doc/${PACKAGE}'
891 infodir
='${datarootdir}/info'
896 libdir
='${exec_prefix}/lib'
897 localedir
='${datarootdir}/locale'
898 mandir
='${datarootdir}/man'
904 # If the previous option needs an argument, assign it.
905 if test -n "$ac_prev"; then
906 eval $ac_prev=\
$ac_option
912 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
922 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
924 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
927 -build |
--build |
--buil |
--bui |
--bu)
928 ac_prev
=build_alias
;;
929 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
930 build_alias
=$ac_optarg ;;
932 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
933 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
934 ac_prev
=cache_file
;;
935 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
936 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
937 cache_file
=$ac_optarg ;;
940 cache_file
=config.cache
;;
942 -datadir |
--datadir |
--datadi |
--datad)
944 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
945 datadir
=$ac_optarg ;;
947 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
948 |
--dataroo |
--dataro |
--datar)
949 ac_prev
=datarootdir
;;
950 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
951 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
952 datarootdir
=$ac_optarg ;;
954 -disable-* |
--disable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=no
;;
970 -docdir |
--docdir |
--docdi |
--doc |
--do)
972 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
975 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
977 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
980 -enable-* |
--enable-*)
981 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 as_fn_error
"invalid feature name: $ac_useropt"
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval enable_
$ac_useropt=\
$ac_optarg ;;
996 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
997 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
998 |
--exec |
--exe |
--ex)
999 ac_prev
=exec_prefix
;;
1000 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1001 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1002 |
--exec=* |
--exe=* |
--ex=*)
1003 exec_prefix
=$ac_optarg ;;
1005 -gas |
--gas |
--ga |
--g)
1006 # Obsolete; use --with-gas.
1009 -help |
--help |
--hel |
--he |
-h)
1010 ac_init_help
=long
;;
1011 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1012 ac_init_help
=recursive
;;
1013 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1014 ac_init_help
=short
;;
1016 -host |
--host |
--hos |
--ho)
1017 ac_prev
=host_alias
;;
1018 -host=* |
--host=* |
--hos=* |
--ho=*)
1019 host_alias
=$ac_optarg ;;
1021 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1023 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1025 htmldir
=$ac_optarg ;;
1027 -includedir |
--includedir |
--includedi |
--included |
--include \
1028 |
--includ |
--inclu |
--incl |
--inc)
1029 ac_prev
=includedir
;;
1030 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1031 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1032 includedir
=$ac_optarg ;;
1034 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1036 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1037 infodir
=$ac_optarg ;;
1039 -libdir |
--libdir |
--libdi |
--libd)
1041 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1042 libdir
=$ac_optarg ;;
1044 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1045 |
--libexe |
--libex |
--libe)
1046 ac_prev
=libexecdir
;;
1047 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1048 |
--libexe=* |
--libex=* |
--libe=*)
1049 libexecdir
=$ac_optarg ;;
1051 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1052 ac_prev
=localedir
;;
1053 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1054 localedir
=$ac_optarg ;;
1056 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1057 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1058 ac_prev
=localstatedir
;;
1059 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1060 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1061 localstatedir
=$ac_optarg ;;
1063 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1065 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1066 mandir
=$ac_optarg ;;
1068 -nfp |
--nfp |
--nf)
1069 # Obsolete; use --without-fp.
1072 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1073 |
--no-cr |
--no-c |
-n)
1076 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1077 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1080 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1081 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1082 |
--oldin |
--oldi |
--old |
--ol |
--o)
1083 ac_prev
=oldincludedir
;;
1084 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1085 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1086 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1087 oldincludedir
=$ac_optarg ;;
1089 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1091 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1092 prefix
=$ac_optarg ;;
1094 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1095 |
--program-pre |
--program-pr |
--program-p)
1096 ac_prev
=program_prefix
;;
1097 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1098 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1099 program_prefix
=$ac_optarg ;;
1101 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1102 |
--program-suf |
--program-su |
--program-s)
1103 ac_prev
=program_suffix
;;
1104 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1105 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1106 program_suffix
=$ac_optarg ;;
1108 -program-transform-name |
--program-transform-name \
1109 |
--program-transform-nam |
--program-transform-na \
1110 |
--program-transform-n |
--program-transform- \
1111 |
--program-transform |
--program-transfor \
1112 |
--program-transfo |
--program-transf \
1113 |
--program-trans |
--program-tran \
1114 |
--progr-tra |
--program-tr |
--program-t)
1115 ac_prev
=program_transform_name
;;
1116 -program-transform-name=* |
--program-transform-name=* \
1117 |
--program-transform-nam=* |
--program-transform-na=* \
1118 |
--program-transform-n=* |
--program-transform-=* \
1119 |
--program-transform=* |
--program-transfor=* \
1120 |
--program-transfo=* |
--program-transf=* \
1121 |
--program-trans=* |
--program-tran=* \
1122 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1123 program_transform_name
=$ac_optarg ;;
1125 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1127 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1128 pdfdir
=$ac_optarg ;;
1130 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1132 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1135 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1136 |
-silent |
--silent |
--silen |
--sile |
--sil)
1139 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1141 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1143 sbindir
=$ac_optarg ;;
1145 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1146 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1147 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1149 ac_prev
=sharedstatedir
;;
1150 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1151 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1152 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1154 sharedstatedir
=$ac_optarg ;;
1156 -site |
--site |
--sit)
1158 -site=* |
--site=* |
--sit=*)
1161 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1163 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1164 srcdir
=$ac_optarg ;;
1166 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1167 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1168 ac_prev
=sysconfdir
;;
1169 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1170 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1171 sysconfdir
=$ac_optarg ;;
1173 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1174 ac_prev
=target_alias
;;
1175 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1176 target_alias
=$ac_optarg ;;
1178 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1181 -version |
--version |
--versio |
--versi |
--vers |
-V)
1182 ac_init_version
=: ;;
1185 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1188 as_fn_error
"invalid package name: $ac_useropt"
1189 ac_useropt_orig
=$ac_useropt
1190 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep
=', ';;
1198 eval with_
$ac_useropt=\
$ac_optarg ;;
1200 -without-* |
--without-*)
1201 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1204 as_fn_error
"invalid package name: $ac_useropt"
1205 ac_useropt_orig
=$ac_useropt
1206 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1212 ac_unrecognized_sep
=', ';;
1214 eval with_
$ac_useropt=no
;;
1217 # Obsolete; use --with-x.
1220 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1221 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1222 ac_prev
=x_includes
;;
1223 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1224 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1225 x_includes
=$ac_optarg ;;
1227 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1228 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1229 ac_prev
=x_libraries
;;
1230 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1231 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1232 x_libraries
=$ac_optarg ;;
1234 -*) as_fn_error
"unrecognized option: \`$ac_option'
1235 Try \`$0 --help' for more information."
1239 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 case $ac_envvar in #(
1242 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1243 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1245 eval $ac_envvar=\
$ac_optarg
1246 export $ac_envvar ;;
1249 # FIXME: should be removed in autoconf 3.0.
1250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1253 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1259 if test -n "$ac_prev"; then
1260 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1261 as_fn_error
"missing argument to $ac_option"
1264 if test -n "$ac_unrecognized_opts"; then
1265 case $enable_option_checking in
1267 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 # Check all directory arguments for consistency.
1273 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val
=\$
$ac_var
1279 # Remove trailing slashes.
1282 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\
$ac_val;;
1285 # Be sure to have absolute directory names.
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1290 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1298 target
=$target_alias
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x
; then
1302 if test "x$build_alias" = x
; then
1303 cross_compiling
=maybe
1304 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1305 If a cross compiler is detected then cross compile mode will be used." >&2
1306 elif test "x$build_alias" != "x$host_alias"; then
1312 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1314 test "$silent" = yes && exec 6>/dev
/null
1317 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di
=`ls -di .` &&
1319 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1320 as_fn_error
"working directory cannot be determined"
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 as_fn_error
"pwd does not report name of working directory"
1325 # Find the source files, if location was not specified.
1326 if test -z "$srcdir"; then
1327 ac_srcdir_defaulted
=yes
1328 # Try the directory containing this script, then the parent directory.
1329 ac_confdir
=`$as_dirname -- "$as_myself" ||
1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1331 X"$as_myself" : 'X\(//\)[^/]' \| \
1332 X"$as_myself" : 'X\(//\)$' \| \
1333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1334 $as_echo X"$as_myself" |
1335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1357 ac_srcdir_defaulted
=no
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1361 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1363 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var
in $ac_precious_vars; do
1378 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1379 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1380 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1381 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures this package to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1454 --build=BUILD configure
for building on BUILD
[guessed
]
1455 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1456 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1460 if test -n "$ac_init_help"; then
1465 --disable-option-checking ignore unrecognized
--enable/--with options
1466 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1467 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1468 --enable-maintainer-mode enable make rules and dependencies not useful
1469 (and sometimes confusing
) to the casual installer
1470 --disable-dependency-tracking speeds up one-time build
1471 --enable-dependency-tracking do not reject slow dependency extractors
1473 Some influential environment variables
:
1474 CC C compiler
command
1475 CFLAGS C compiler flags
1476 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1477 nonstandard directory
<lib dir
>
1478 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1479 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1480 you have headers
in a nonstandard directory
<include dir
>
1483 Use these variables to override the choices made by
`configure' or to help
1484 it to find libraries and programs with nonstandard names/locations.
1486 Report bugs to the package provider.
1491 if test "$ac_init_help" = "recursive"; then
1492 # If there are subdirs, report their specific --help.
1493 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1494 test -d "$ac_dir" ||
1495 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1503 # A ".." for each directory in $ac_dir_suffix.
1504 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1505 case $ac_top_builddir_sub in
1506 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1507 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1510 ac_abs_top_builddir=$ac_pwd
1511 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1512 # for backward compatibility:
1513 ac_top_builddir=$ac_top_build_prefix
1516 .) # We are building in place.
1518 ac_top_srcdir=$ac_top_builddir_sub
1519 ac_abs_top_srcdir=$ac_pwd ;;
1520 [\\/]* | ?:[\\/]* ) # Absolute name.
1521 ac_srcdir=$srcdir$ac_dir_suffix;
1522 ac_top_srcdir=$srcdir
1523 ac_abs_top_srcdir=$srcdir ;;
1525 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1526 ac_top_srcdir=$ac_top_build_prefix$srcdir
1527 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1531 cd "$ac_dir" || { ac_status=$?; continue; }
1532 # Check for guested configure.
1533 if test -f "$ac_srcdir/configure.gnu"; then
1535 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1536 elif test -f "$ac_srcdir/configure"; then
1538 $SHELL "$ac_srcdir/configure" --help=recursive
1540 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1542 cd "$ac_pwd" || { ac_status=$?; break; }
1546 test -n "$ac_init_help" && exit $ac_status
1547 if $ac_init_version; then
1550 generated by GNU Autoconf 2.64
1552 Copyright (C) 2009 Free Software Foundation, Inc.
1553 This configure script is free software; the Free Software Foundation
1554 gives unlimited permission to copy, distribute and modify it.
1559 ## ------------------------ ##
1560 ## Autoconf initialization. ##
1561 ## ------------------------ ##
1563 # ac_fn_c_try_compile LINENO
1564 # --------------------------
1565 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1566 ac_fn_c_try_compile ()
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 rm -f conftest.$ac_objext
1570 if { { ac_try="$ac_compile"
1572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1573 *) ac_try_echo
=$ac_try;;
1575 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_compile") 2>conftest.err
1579 if test -s conftest.err
; then
1580 grep -v '^ *+' conftest.err
>conftest.er1
1581 cat conftest.er1
>&5
1582 mv -f conftest.er1 conftest.err
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && {
1586 test -z "$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1588 } && test -s conftest.
$ac_objext; then :
1591 $as_echo "$as_me: failed program was:" >&5
1592 sed 's/^/| /' conftest.
$ac_ext >&5
1596 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1599 } # ac_fn_c_try_compile
1601 # ac_fn_c_try_cpp LINENO
1602 # ----------------------
1603 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1606 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1607 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1610 *) ac_try_echo=$ac_try;;
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1616 if test -s conftest.err; then
1617 grep -v '^ *+' conftest.err >conftest.er1
1618 cat conftest.er1 >&5
1619 mv -f conftest.er1 conftest.err
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } >/dev/null && {
1623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1624 test ! -s conftest.err
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.$ac_ext >&5
1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1639 # -------------------------------------------------------
1640 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1641 # the include files in INCLUDES and setting the cache variable VAR
1643 ac_fn_c_check_header_mongrel ()
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1650 $as_echo_n "(cached) " >&6
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1654 $as_echo "$ac_res" >&6; }
1656 # Is the header compilable?
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1658 $as_echo_n "checking $2 usability... " >&6; }
1659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1660 /* end confdefs.h. */
1664 if ac_fn_c_try_compile "$LINENO"; then :
1665 ac_header_compiler=yes
1667 ac_header_compiler=no
1669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1671 $as_echo "$ac_header_compiler" >&6; }
1673 # Is the header present?
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1675 $as_echo_n "checking $2 presence... " >&6; }
1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h. */
1680 if ac_fn_c_try_cpp "$LINENO"; then :
1681 ac_header_preproc=yes
1683 ac_header_preproc=no
1685 rm -f conftest.err conftest.$ac_ext
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1687 $as_echo "$ac_header_preproc" >&6; }
1689 # So? What about this header?
1690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1693 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1695 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1699 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1701 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1703 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1705 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1707 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1713 $as_echo_n "(cached) " >&6
1715 eval "$3=\$ac_header_compiler"
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1719 $as_echo "$ac_res" >&6; }
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1723 } # ac_fn_c_check_header_mongrel
1725 # ac_fn_c_try_run LINENO
1726 # ----------------------
1727 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1728 # that executables *can* be run.
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 if { { ac_try="$ac_link"
1734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1735 *) ac_try_echo
=$ac_try;;
1737 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_link") 2>&5
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1743 { { case "(($ac_try" in
1744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1745 *) ac_try_echo=$ac_try;;
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_try") 2>&5
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; }; }; then :
1755 $as_echo "$as_me: program exited with status $ac_status" >&5
1756 $as_echo "$as_me: failed program was:" >&5
1757 sed 's/^/| /' conftest.$ac_ext >&5
1759 ac_retval=$ac_status
1761 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1767 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1768 # -------------------------------------------------------
1769 # Tests whether HEADER exists and can be compiled using the include files in
1770 # INCLUDES, setting the cache variable VAR accordingly.
1771 ac_fn_c_check_header_compile ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775 $as_echo_n "checking for $2... " >&6; }
1776 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1777 $as_echo_n "(cached) " >&6
1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 /* end confdefs.h. */
1784 if ac_fn_c_try_compile "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 } # ac_fn_c_check_header_compile
1798 # ac_fn_c_try_link LINENO
1799 # -----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded.
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 rm -f conftest.$ac_objext conftest$ac_exeext
1805 if { { ac_try="$ac_link"
1807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1808 *) ac_try_echo
=$ac_try;;
1810 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>conftest.err
1814 if test -s conftest.err
; then
1815 grep -v '^ *+' conftest.err
>conftest.er1
1816 cat conftest.er1
>&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest
$ac_exeext && {
1824 test "$cross_compiling" = yes ||
1825 $as_test_x conftest
$ac_exeext
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.
$ac_ext >&5
1834 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1835 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1836 # interfere with the next link command; also delete a directory that is
1837 # left behind by Apple's compiler. We do this before executing the actions.
1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1842 } # ac_fn_c_try_link
1844 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1845 # --------------------------------------------
1846 # Tries to find the compile-time value of EXPR in a program that includes
1847 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1849 ac_fn_c_compute_int
()
1851 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1852 if test "$cross_compiling" = yes; then
1853 # Depending upon the size, compute the lo and hi bounds.
1854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1860 static int test_array [1 - 2 * !(($2) >= 0)];
1867 if ac_fn_c_try_compile
"$LINENO"; then :
1870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1876 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1883 if ac_fn_c_try_compile
"$LINENO"; then :
1884 ac_hi
=$ac_mid; break
1886 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1887 if test $ac_lo -le $ac_mid; then
1891 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1902 static int test_array [1 - 2 * !(($2) < 0)];
1909 if ac_fn_c_try_compile
"$LINENO"; then :
1912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h. */
1918 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1925 if ac_fn_c_try_compile
"$LINENO"; then :
1926 ac_lo
=$ac_mid; break
1928 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1929 if test $ac_mid -le $ac_hi; then
1933 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1943 # Binary search between lo and hi bounds.
1944 while test "x$ac_lo" != "x$ac_hi"; do
1945 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1952 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1959 if ac_fn_c_try_compile
"$LINENO"; then :
1962 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1967 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1974 static long int longval () { return $2; }
1975 static unsigned long int ulongval () { return $2; }
1982 FILE *f = fopen ("conftest.val", "w");
1987 long int i = longval ();
1990 fprintf (f, "%ld", i);
1994 unsigned long int i = ulongval ();
1997 fprintf (f, "%lu", i);
1999 /* Do not output a trailing newline, as this causes \r\n confusion
2000 on some platforms. */
2001 return ferror (f) || fclose (f) != 0;
2007 if ac_fn_c_try_run
"$LINENO"; then :
2008 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2012 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2013 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2020 } # ac_fn_c_compute_int
2022 # ac_fn_c_check_func LINENO FUNC VAR
2023 # ----------------------------------
2024 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2025 ac_fn_c_check_func
()
2027 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029 $as_echo_n "checking for $2... " >&6; }
2030 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031 $as_echo_n "(cached) " >&6
2033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2035 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2037 #define $2 innocuous_$2
2039 /* System header to define __stub macros and hopefully few prototypes,
2040 which can conflict with char $2 (); below.
2041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2042 <limits.h> exists even on freestanding compilers. */
2045 # include <limits.h>
2047 # include <assert.h>
2052 /* Override any GCC internal prototype to avoid an error.
2053 Use char because int might match the return type of a GCC
2054 builtin and then its argument prototype would still apply. */
2059 /* The GNU C library defines this for functions which it implements
2060 to always fail with ENOSYS. Some functions are actually named
2061 something starting with __ and the normal name is an alias. */
2062 #if defined __stub_$2 || defined __stub___$2
2074 if ac_fn_c_try_link
"$LINENO"; then :
2079 rm -f core conftest.err conftest.
$ac_objext \
2080 conftest
$ac_exeext conftest.
$ac_ext
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084 $as_echo "$ac_res" >&6; }
2085 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2087 } # ac_fn_c_check_func
2089 # ac_fn_c_check_decl LINENO SYMBOL VAR
2090 # ------------------------------------
2091 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2092 ac_fn_c_check_decl
()
2094 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2096 $as_echo_n "checking whether $2 is declared... " >&6; }
2097 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2098 $as_echo_n "(cached) " >&6
2100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2101 /* end confdefs.h. */
2114 if ac_fn_c_try_compile
"$LINENO"; then :
2119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2123 $as_echo "$ac_res" >&6; }
2124 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2126 } # ac_fn_c_check_decl
2127 cat >config.log
<<_ACEOF
2128 This file contains any messages produced by compilers while
2129 running configure, to aid debugging if configure makes a mistake.
2131 It was created by $as_me, which was
2132 generated by GNU Autoconf 2.64. Invocation command line was
2144 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2145 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2146 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2147 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2148 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2150 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2151 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2153 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2154 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2155 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2156 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2157 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2158 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2159 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir
=.
2168 $as_echo "PATH: $as_dir"
2184 # Keep a trace of the command line.
2185 # Strip out --no-create and --no-recursion so they do not pile up.
2186 # Strip out --silent because we don't want to record it for future runs.
2187 # Also quote any args containing shell meta-characters.
2188 # Make two passes to allow for proper duplicate-argument suppression.
2192 ac_must_keep_next
=false
2198 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2199 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2200 |
-silent |
--silent |
--silen |
--sile |
--sil)
2203 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2206 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2208 as_fn_append ac_configure_args1
" '$ac_arg'"
2209 if test $ac_must_keep_next = true
; then
2210 ac_must_keep_next
=false
# Got value, back to normal.
2213 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2214 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2215 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2216 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2217 case "$ac_configure_args0 " in
2218 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2221 -* ) ac_must_keep_next
=true
;;
2224 as_fn_append ac_configure_args
" '$ac_arg'"
2229 { ac_configure_args0
=; unset ac_configure_args0
;}
2230 { ac_configure_args1
=; unset ac_configure_args1
;}
2232 # When interrupted or exit'd, cleanup temporary files, and complete
2233 # config.log. We remove comments because anyway the quotes in there
2234 # would cause problems or look ugly.
2235 # WARNING: Use '\'' to represent an apostrophe within the trap.
2236 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2237 trap 'exit_status=$?
2238 # Save into config.log some information that might help in debugging.
2243 ## ---------------- ##
2244 ## Cache variables. ##
2245 ## ---------------- ##
2248 # The following way of writing the cache mishandles newlines in values,
2250 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2251 eval ac_val=\$$ac_var
2255 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2256 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2259 _ | IFS | as_nl) ;; #(
2260 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2261 *) { eval $ac_var=; unset $ac_var;} ;;
2266 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2267 *${as_nl}ac_space=\ *)
2269 "s/'\''/'\''\\\\'\'''\''/g;
2270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2281 ## ----------------- ##
2282 ## Output variables. ##
2283 ## ----------------- ##
2286 for ac_var in $ac_subst_vars
2288 eval ac_val=\$$ac_var
2290 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2292 $as_echo "$ac_var='\''$ac_val'\''"
2296 if test -n "$ac_subst_files"; then
2298 ## ------------------- ##
2299 ## File substitutions. ##
2300 ## ------------------- ##
2303 for ac_var
in $ac_subst_files
2305 eval ac_val
=\$
$ac_var
2307 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2309 $as_echo "$ac_var='\''$ac_val'\''"
2314 if test -s confdefs.h; then
2324 test "$ac_signal" != 0 &&
2325 $as_echo "$as_me: caught signal $ac_signal"
2326 $as_echo "$as_me: exit $exit_status"
2328 rm -f core *.core core.conftest.* &&
2329 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2332 for ac_signal
in 1 2 13 15; do
2333 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2338 rm -f -r conftest
* confdefs.h
2340 $as_echo "/* confdefs.h */" > confdefs.h
2342 # Predefined preprocessor variables.
2344 cat >>confdefs.h
<<_ACEOF
2345 #define PACKAGE_NAME "$PACKAGE_NAME"
2348 cat >>confdefs.h
<<_ACEOF
2349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2352 cat >>confdefs.h
<<_ACEOF
2353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2356 cat >>confdefs.h
<<_ACEOF
2357 #define PACKAGE_STRING "$PACKAGE_STRING"
2360 cat >>confdefs.h
<<_ACEOF
2361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2364 cat >>confdefs.h
<<_ACEOF
2365 #define PACKAGE_URL "$PACKAGE_URL"
2369 # Let the site file select an alternate cache file if it wants to.
2370 # Prefer an explicitly selected file to automatically selected ones.
2373 if test -n "$CONFIG_SITE"; then
2374 ac_site_file1
=$CONFIG_SITE
2375 elif test "x$prefix" != xNONE
; then
2376 ac_site_file1
=$prefix/share
/config.site
2377 ac_site_file2
=$prefix/etc
/config.site
2379 ac_site_file1
=$ac_default_prefix/share
/config.site
2380 ac_site_file2
=$ac_default_prefix/etc
/config.site
2382 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2384 test "x$ac_site_file" = xNONE
&& continue
2385 if test -r "$ac_site_file"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2387 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2388 sed 's/^/| /' "$ac_site_file" >&5
2393 if test -r "$cache_file"; then
2394 # Some versions of bash will fail to source /dev/null (special
2395 # files actually), so we avoid doing that.
2396 if test -f "$cache_file"; then
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2398 $as_echo "$as_me: loading cache $cache_file" >&6;}
2400 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2401 *) .
"./$cache_file";;
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2406 $as_echo "$as_me: creating cache $cache_file" >&6;}
2410 gl_header_list
="$gl_header_list wchar.h"
2411 gl_header_list
="$gl_header_list stdint.h"
2412 gl_header_list
="$gl_header_list inttypes.h"
2413 gl_header_list
="$gl_header_list sys/mman.h"
2414 gl_func_list
="$gl_func_list mprotect"
2415 # Check that the precious variables saved in the cache have kept the same
2417 ac_cache_corrupted
=false
2418 for ac_var
in $ac_precious_vars; do
2419 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2420 eval ac_new_set
=\
$ac_env_${ac_var}_set
2421 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2422 eval ac_new_val
=\
$ac_env_${ac_var}_value
2423 case $ac_old_set,$ac_new_set in
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2426 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2427 ac_cache_corrupted
=: ;;
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2431 ac_cache_corrupted
=: ;;
2434 if test "x$ac_old_val" != "x$ac_new_val"; then
2435 # differences in whitespace do not lead to failure.
2436 ac_old_val_w
=`echo x $ac_old_val`
2437 ac_new_val_w
=`echo x $ac_new_val`
2438 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2440 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2441 ac_cache_corrupted
=:
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2444 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2445 eval $ac_var=\
$ac_old_val
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2448 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2450 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2453 # Pass precious variables to config.status.
2454 if test "$ac_new_set" = set; then
2456 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2457 *) ac_arg
=$ac_var=$ac_new_val ;;
2459 case " $ac_configure_args " in
2460 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2461 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2465 if $ac_cache_corrupted; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2469 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2470 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2472 ## -------------------- ##
2473 ## Main body of script. ##
2474 ## -------------------- ##
2477 ac_cpp
='$CPP $CPPFLAGS'
2478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2483 ac_config_headers
="$ac_config_headers config.h:config.in"
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2487 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2488 # Check whether --enable-maintainer-mode was given.
2489 if test "${enable_maintainer_mode+set}" = set; then :
2490 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2492 USE_MAINTAINER_MODE
=no
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2496 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2497 if test $USE_MAINTAINER_MODE = yes; then
2498 MAINTAINER_MODE_TRUE
=
2499 MAINTAINER_MODE_FALSE
='#'
2501 MAINTAINER_MODE_TRUE
='#'
2502 MAINTAINER_MODE_FALSE
=
2505 MAINT
=$MAINTAINER_MODE_TRUE
2510 ac_cpp
='$CPP $CPPFLAGS'
2511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2514 if test -n "$ac_tool_prefix"; then
2515 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2516 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if test "${ac_cv_prog_CC+set}" = set; then :
2520 $as_echo_n "(cached) " >&6
2522 if test -n "$CC"; then
2523 ac_cv_prog_CC
="$CC" # Let the user override the test.
2525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir
=.
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 if test -n "$CC"; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2545 $as_echo "$CC" >&6; }
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2548 $as_echo "no" >&6; }
2553 if test -z "$ac_cv_prog_CC"; then
2555 # Extract the first word of "gcc", so it can be a program name with args.
2556 set dummy gcc
; ac_word
=$2
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$ac_ct_CC"; then
2563 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir
=.
2570 for ac_exec_ext
in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_ac_ct_CC
="gcc"
2573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2583 if test -n "$ac_ct_CC"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2585 $as_echo "$ac_ct_CC" >&6; }
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2591 if test "x$ac_ct_CC" = x
; then
2594 case $cross_compiling:$ac_tool_warned in
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2598 ac_tool_warned
=yes ;;
2606 if test -z "$CC"; then
2607 if test -n "$ac_tool_prefix"; then
2608 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2609 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if test "${ac_cv_prog_CC+set}" = set; then :
2613 $as_echo_n "(cached) " >&6
2615 if test -n "$CC"; then
2616 ac_cv_prog_CC
="$CC" # Let the user override the test.
2618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir
=.
2623 for ac_exec_ext
in '' $ac_executable_extensions; do
2624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2625 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 if test -n "$CC"; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2638 $as_echo "$CC" >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2647 if test -z "$CC"; then
2648 # Extract the first word of "cc", so it can be a program name with args.
2649 set dummy cc
; ac_word
=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if test "${ac_cv_prog_CC+set}" = set; then :
2653 $as_echo_n "(cached) " >&6
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC
="$CC" # Let the user override the test.
2659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir
=.
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2667 ac_prog_rejected
=yes
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 if test $ac_prog_rejected = yes; then
2679 # We found a bogon in the path, so make sure we never use it.
2680 set dummy
$ac_cv_prog_CC
2682 if test $# != 0; then
2683 # We chose a different compiler from the bogus one.
2684 # However, it has the same basename, so the bogon will be chosen
2685 # first if we set CC to just the basename; use the full file name.
2687 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2693 if test -n "$CC"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2695 $as_echo "$CC" >&6; }
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2703 if test -z "$CC"; then
2704 if test -n "$ac_tool_prefix"; then
2705 for ac_prog
in cl.exe
2707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2708 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if test "${ac_cv_prog_CC+set}" = set; then :
2712 $as_echo_n "(cached) " >&6
2714 if test -n "$CC"; then
2715 ac_cv_prog_CC
="$CC" # Let the user override the test.
2717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir
=.
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 if test -n "$CC"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2737 $as_echo "$CC" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2744 test -n "$CC" && break
2747 if test -z "$CC"; then
2749 for ac_prog
in cl.exe
2751 # Extract the first word of "$ac_prog", so it can be a program name with args.
2752 set dummy
$ac_prog; ac_word
=$2
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2754 $as_echo_n "checking for $ac_word... " >&6; }
2755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2756 $as_echo_n "(cached) " >&6
2758 if test -n "$ac_ct_CC"; then
2759 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2765 test -z "$as_dir" && as_dir
=.
2766 for ac_exec_ext
in '' $ac_executable_extensions; do
2767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2768 ac_cv_prog_ac_ct_CC
="$ac_prog"
2769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2779 if test -n "$ac_ct_CC"; then
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2781 $as_echo "$ac_ct_CC" >&6; }
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784 $as_echo "no" >&6; }
2788 test -n "$ac_ct_CC" && break
2791 if test "x$ac_ct_CC" = x
; then
2794 case $cross_compiling:$ac_tool_warned in
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2798 ac_tool_warned
=yes ;;
2807 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2809 as_fn_error
"no acceptable C compiler found in \$PATH
2810 See \`config.log' for more details." "$LINENO" 5; }
2812 # Provide some information about the compiler.
2813 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2816 for ac_option
in --version -v -V -qversion; do
2817 { { ac_try
="$ac_compiler $ac_option >&5"
2819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2823 $as_echo "$ac_try_echo"; } >&5
2824 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2826 if test -s conftest.err; then
2828 ... rest of stderr output deleted ...
2829 10q' conftest.err >conftest.er1
2830 cat conftest.er1 >&5
2831 rm -f conftest.er1 conftest.err
2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; }
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2843 FILE *f = fopen ("conftest.out", "w");
2844 return ferror (f) || fclose (f) != 0;
2850 ac_clean_files_save=$ac_clean_files
2851 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2852 # Try to create an executable without -o first, disregard a.out.
2853 # It will help us diagnose broken compilers, and finding out an intuition
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2856 $as_echo_n "checking for C compiler default output file name... " >&6; }
2857 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2859 # The possible output files:
2860 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2863 for ac_file in $ac_files
2866 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2867 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2872 if { { ac_try="$ac_link_default"
2874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2875 *) ac_try_echo
=$ac_try;;
2877 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 $as_echo "$ac_try_echo"; } >&5
2879 (eval "$ac_link_default") 2>&5
2881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882 test $ac_status = 0; }; then :
2883 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2884 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2885 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2886 # so that the user can short-circuit this test for compilers unknown to
2888 for ac_file
in $ac_files ''
2890 test -f "$ac_file" ||
continue
2892 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2895 # We found the default executable, but exeext='' is most
2899 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2901 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2903 # We set ac_cv_exeext here because the later test for it is not
2904 # safe: cross compilers may not add the suffix if given an `-o'
2905 # argument, so we may need to know it at that point already.
2906 # Even if this section looks crufty: it has the advantage of
2913 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2919 $as_echo "$ac_file" >&6; }
2920 if test -z "$ac_file"; then :
2921 $as_echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.
$ac_ext >&5
2924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2926 { as_fn_set_status
77
2927 as_fn_error
"C compiler cannot create executables
2928 See \`config.log' for more details." "$LINENO" 5; }; }
2930 ac_exeext
=$ac_cv_exeext
2932 # Check that the compiler produces executables we can run. If not, either
2933 # the compiler is broken, or we cross compile.
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2935 $as_echo_n "checking whether the C compiler works... " >&6; }
2936 # If not cross compiling, check that we can run a simple program.
2937 if test "$cross_compiling" != yes; then
2938 if { ac_try
='./$ac_file'
2939 { { case "(($ac_try" in
2940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 $as_echo "$ac_try_echo"; } >&5
2945 (eval "$ac_try") 2>&5
2947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2948 test $ac_status = 0; }; }; then
2951 if test "$cross_compiling" = maybe; then
2954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2956 as_fn_error "cannot run C compiled programs.
2957 If you meant to cross compile
, use \
`--host'.
2958 See \`config.log
' for more details." "$LINENO" 5; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2963 $as_echo "yes" >&6; }
2965 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2966 ac_clean_files=$ac_clean_files_save
2967 # Check that the compiler produces executables we can run. If not, either
2968 # the compiler is broken, or we cross compile.
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2970 $as_echo_n "checking whether we are cross compiling... " >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2972 $as_echo "$cross_compiling" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2975 $as_echo_n "checking for suffix of executables... " >&6; }
2976 if { { ac_try="$ac_link"
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2982 $as_echo "$ac_try_echo"; } >&5
2983 (eval "$ac_link") 2>&5
2985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2986 test $ac_status = 0; }; then :
2987 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2988 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2989 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2991 for ac_file
in conftest.exe conftest conftest.
*; do
2992 test -f "$ac_file" ||
continue
2994 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2995 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3003 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3004 See \`config.log' for more details." "$LINENO" 5; }
3006 rm -f conftest
$ac_cv_exeext
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3008 $as_echo "$ac_cv_exeext" >&6; }
3010 rm -f conftest.
$ac_ext
3011 EXEEXT
=$ac_cv_exeext
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3014 $as_echo_n "checking for suffix of object files... " >&6; }
3015 if test "${ac_cv_objext+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3019 /* end confdefs.h. */
3029 rm -f conftest.o conftest.obj
3030 if { { ac_try
="$ac_compile"
3032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_compile") 2>&5
3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 test $ac_status = 0; }; then :
3041 for ac_file in conftest.o conftest.obj conftest.*; do
3042 test -f "$ac_file" || continue;
3044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3045 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3050 $as_echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055 as_fn_error "cannot compute suffix of object files
: cannot compile
3056 See \
`config.log' for more details." "$LINENO" 5; }
3058 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3061 $as_echo "$ac_cv_objext" >&6; }
3062 OBJEXT=$ac_cv_objext
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3065 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3066 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3067 $as_echo_n "(cached) " >&6
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3083 if ac_fn_c_try_compile "$LINENO"; then :
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3093 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3094 if test $ac_compiler_gnu = yes; then
3099 ac_test_CFLAGS=${CFLAGS+set}
3100 ac_save_CFLAGS=$CFLAGS
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3102 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3103 if test "${ac_cv_prog_cc_g+set}" = set; then :
3104 $as_echo_n "(cached) " >&6
3106 ac_save_c_werror_flag=$ac_c_werror_flag
3107 ac_c_werror_flag=yes
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3121 if ac_fn_c_try_compile "$LINENO"; then :
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3136 if ac_fn_c_try_compile "$LINENO"; then :
3139 ac_c_werror_flag=$ac_save_c_werror_flag
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3152 if ac_fn_c_try_compile "$LINENO"; then :
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3160 ac_c_werror_flag=$ac_save_c_werror_flag
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3163 $as_echo "$ac_cv_prog_cc_g" >&6; }
3164 if test "$ac_test_CFLAGS" = set; then
3165 CFLAGS=$ac_save_CFLAGS
3166 elif test $ac_cv_prog_cc_g = yes; then
3167 if test "$GCC" = yes; then
3173 if test "$GCC" = yes; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3180 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3181 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3184 ac_cv_prog_cc_c89=no
3186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3187 /* end confdefs.h. */
3190 #include <sys/types.h>
3191 #include <sys/stat.h>
3192 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3193 struct buf { int x; };
3194 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3195 static char *e (p, i)
3201 static char *f (char * (*g) (char **, int), char **p, ...)
3206 s = g (p, va_arg (v,int));
3211 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3212 function prototypes and stuff, but not '\xHH' hex character constants.
3213 These don't provoke an error unfortunately, instead are silently treated
3214 as 'x'. The following induces an error, until -std is added to get
3215 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3216 array size at least. It's necessary to write '\x00'==0 to get something
3217 that's true only with -std. */
3218 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3220 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3221 inside strings and character constants. */
3223 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3225 int test (int i, double x);
3226 struct s1 {int (*f) (int a);};
3227 struct s2 {int (*f) (double a);};
3228 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3234 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3239 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3240 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3242 CC="$ac_save_CC $ac_arg"
3243 if ac_fn_c_try_compile "$LINENO"; then :
3244 ac_cv_prog_cc_c89=$ac_arg
3246 rm -f core conftest.err conftest.$ac_objext
3247 test "x$ac_cv_prog_cc_c89" != "xno" && break
3249 rm -f conftest.$ac_ext
3254 case "x$ac_cv_prog_cc_c89" in
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3257 $as_echo "none needed" >&6; } ;;
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3260 $as_echo "unsupported" >&6; } ;;
3262 CC="$CC $ac_cv_prog_cc_c89"
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3264 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3266 if test "x$ac_cv_prog_cc_c89" != xno; then :
3271 ac_cpp='$CPP $CPPFLAGS'
3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3277 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3278 for ac_t in install-sh install.sh shtool; do
3279 if test -f "$ac_dir/$ac_t"; then
3281 ac_install_sh="$ac_aux_dir/$ac_t -c"
3286 if test -z "$ac_aux_dir"; then
3287 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3290 # These three variables are undocumented and unsupported,
3291 # and are intended to be withdrawn in a future Autoconf release.
3292 # They can cause serious problems if a builder's source tree is in a directory
3293 # whose full name contains unusual characters.
3294 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3295 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3296 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3299 # Make sure we can run config.sub.
3300 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3301 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3304 $as_echo_n "checking build system type... " >&6; }
3305 if test "${ac_cv_build+set}" = set; then :
3306 $as_echo_n "(cached) " >&6
3308 ac_build_alias=$build_alias
3309 test "x$ac_build_alias" = x &&
3310 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3311 test "x$ac_build_alias" = x &&
3312 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3313 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3314 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3318 $as_echo "$ac_cv_build" >&6; }
3319 case $ac_cv_build in
3321 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3324 ac_save_IFS=$IFS; IFS='-'
3330 # Remember, the first character of IFS is used to create $*,
3331 # except with old shells:
3334 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3338 $as_echo_n "checking host system type... " >&6; }
3339 if test "${ac_cv_host+set}" = set; then :
3340 $as_echo_n "(cached) " >&6
3342 if test "x$host_alias" = x; then
3343 ac_cv_host=$ac_cv_build
3345 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3346 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3351 $as_echo "$ac_cv_host" >&6; }
3354 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3357 ac_save_IFS=$IFS; IFS='-'
3363 # Remember, the first character of IFS is used to create $*,
3364 # except with old shells:
3367 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3372 ac_cpp='$CPP $CPPFLAGS'
3373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3377 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3378 # On Suns, sometimes $CPP names a directory.
3379 if test -n "$CPP" && test -d "$CPP"; then
3382 if test -z "$CPP"; then
3383 if test "${ac_cv_prog_CPP+set}" = set; then :
3384 $as_echo_n "(cached) " >&6
3386 # Double quotes because CPP needs to be expanded
3387 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3390 for ac_c_preproc_warn_flag in '' yes
3392 # Use a header file that comes with gcc, so configuring glibc
3393 # with a fresh cross-compiler works.
3394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3395 # <limits.h> exists even on freestanding compilers.
3396 # On the NeXT, cc -E runs the code through the compiler's parser,
3397 # not just through cpp. "Syntax error" is here to catch this case.
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3401 # include <limits.h>
3403 # include <assert.h>
3407 if ac_fn_c_try_cpp "$LINENO"; then :
3410 # Broken: fails on valid input.
3413 rm -f conftest.err conftest.$ac_ext
3415 # OK, works on sane cases. Now check whether nonexistent headers
3416 # can be detected and how.
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3419 #include <ac_nonexistent.h>
3421 if ac_fn_c_try_cpp "$LINENO"; then :
3422 # Broken: success on invalid input.
3425 # Passes both tests.
3429 rm -f conftest.err conftest.$ac_ext
3432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3433 rm -f conftest.err conftest.
$ac_ext
3434 if $ac_preproc_ok; then :
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3447 $as_echo "$CPP" >&6; }
3449 for ac_c_preproc_warn_flag
in '' yes
3451 # Use a header file that comes with gcc, so configuring glibc
3452 # with a fresh cross-compiler works.
3453 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3454 # <limits.h> exists even on freestanding compilers.
3455 # On the NeXT, cc -E runs the code through the compiler's parser,
3456 # not just through cpp. "Syntax error" is here to catch this case.
3457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3460 # include <limits.h>
3462 # include <assert.h>
3466 if ac_fn_c_try_cpp
"$LINENO"; then :
3469 # Broken: fails on valid input.
3472 rm -f conftest.err conftest.
$ac_ext
3474 # OK, works on sane cases. Now check whether nonexistent headers
3475 # can be detected and how.
3476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h. */
3478 #include <ac_nonexistent.h>
3480 if ac_fn_c_try_cpp
"$LINENO"; then :
3481 # Broken: success on invalid input.
3484 # Passes both tests.
3488 rm -f conftest.err conftest.
$ac_ext
3491 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3492 rm -f conftest.err conftest.
$ac_ext
3493 if $ac_preproc_ok; then :
3496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3499 See \`config.log' for more details." "$LINENO" 5; }
3503 ac_cpp
='$CPP $CPPFLAGS'
3504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3510 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3511 if test "${ac_cv_path_GREP+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -z "$GREP"; then
3515 ac_path_GREP_found
=false
3516 # Loop through the user's path and test for each of PROGNAME-LIST
3517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3518 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3521 test -z "$as_dir" && as_dir
=.
3522 for ac_prog
in grep ggrep
; do
3523 for ac_exec_ext
in '' $ac_executable_extensions; do
3524 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3525 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3526 # Check for GNU ac_path_GREP and select it if it is found.
3527 # Check for GNU $ac_path_GREP
3528 case `"$ac_path_GREP" --version 2>&1` in
3530 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3533 $as_echo_n 0123456789 >"conftest.in"
3536 cat "conftest.in" "conftest.in" >"conftest.tmp"
3537 mv "conftest.tmp" "conftest.in"
3538 cp "conftest.in" "conftest.nl"
3539 $as_echo 'GREP' >> "conftest.nl"
3540 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3541 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3542 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3543 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3544 # Best one so far, save it but keep looking for a better one
3545 ac_cv_path_GREP
="$ac_path_GREP"
3546 ac_path_GREP_max
=$ac_count
3548 # 10*(2^10) chars as input seems more than enough
3549 test $ac_count -gt 10 && break
3551 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3554 $ac_path_GREP_found && break 3
3559 if test -z "$ac_cv_path_GREP"; then
3560 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3563 ac_cv_path_GREP
=$GREP
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3568 $as_echo "$ac_cv_path_GREP" >&6; }
3569 GREP
="$ac_cv_path_GREP"
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3573 $as_echo_n "checking for egrep... " >&6; }
3574 if test "${ac_cv_path_EGREP+set}" = set; then :
3575 $as_echo_n "(cached) " >&6
3577 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3578 then ac_cv_path_EGREP
="$GREP -E"
3580 if test -z "$EGREP"; then
3581 ac_path_EGREP_found
=false
3582 # Loop through the user's path and test for each of PROGNAME-LIST
3583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3584 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3587 test -z "$as_dir" && as_dir
=.
3588 for ac_prog
in egrep; do
3589 for ac_exec_ext
in '' $ac_executable_extensions; do
3590 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3591 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3592 # Check for GNU ac_path_EGREP and select it if it is found.
3593 # Check for GNU $ac_path_EGREP
3594 case `"$ac_path_EGREP" --version 2>&1` in
3596 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3599 $as_echo_n 0123456789 >"conftest.in"
3602 cat "conftest.in" "conftest.in" >"conftest.tmp"
3603 mv "conftest.tmp" "conftest.in"
3604 cp "conftest.in" "conftest.nl"
3605 $as_echo 'EGREP' >> "conftest.nl"
3606 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3607 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3608 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3609 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3610 # Best one so far, save it but keep looking for a better one
3611 ac_cv_path_EGREP
="$ac_path_EGREP"
3612 ac_path_EGREP_max
=$ac_count
3614 # 10*(2^10) chars as input seems more than enough
3615 test $ac_count -gt 10 && break
3617 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3620 $ac_path_EGREP_found && break 3
3625 if test -z "$ac_cv_path_EGREP"; then
3626 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3629 ac_cv_path_EGREP
=$EGREP
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3635 $as_echo "$ac_cv_path_EGREP" >&6; }
3636 EGREP
="$ac_cv_path_EGREP"
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3640 $as_echo_n "checking for ANSI C header files... " >&6; }
3641 if test "${ac_cv_header_stdc+set}" = set; then :
3642 $as_echo_n "(cached) " >&6
3644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3659 if ac_fn_c_try_compile
"$LINENO"; then :
3660 ac_cv_header_stdc
=yes
3662 ac_cv_header_stdc
=no
3664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3666 if test $ac_cv_header_stdc = yes; then
3667 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3674 $EGREP "memchr" >/dev
/null
2>&1; then :
3677 ac_cv_header_stdc
=no
3683 if test $ac_cv_header_stdc = yes; then
3684 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3691 $EGREP "free" >/dev
/null
2>&1; then :
3694 ac_cv_header_stdc
=no
3700 if test $ac_cv_header_stdc = yes; then
3701 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3702 if test "$cross_compiling" = yes; then :
3705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3709 #if ((' ' & 0x0FF) == 0x020)
3710 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3711 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3713 # define ISLOWER(c) \
3714 (('a' <= (c) && (c) <= 'i') \
3715 || ('j' <= (c) && (c) <= 'r') \
3716 || ('s' <= (c) && (c) <= 'z'))
3717 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3720 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3725 for (i = 0; i < 256; i++)
3726 if (XOR (islower (i), ISLOWER (i))
3727 || toupper (i) != TOUPPER (i))
3732 if ac_fn_c_try_run
"$LINENO"; then :
3735 ac_cv_header_stdc
=no
3737 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3738 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3744 $as_echo "$ac_cv_header_stdc" >&6; }
3745 if test $ac_cv_header_stdc = yes; then
3747 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3751 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3752 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3753 inttypes.h stdint.h unistd.h
3755 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3756 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3758 eval as_val
=\$
$as_ac_Header
3759 if test "x$as_val" = x
""yes; then :
3760 cat >>confdefs.h
<<_ACEOF
3761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3772 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3773 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3780 if test "$MINIX" = yes; then
3782 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3785 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3788 $as_echo "#define _MINIX 1" >>confdefs.h
3795 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3802 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3803 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3804 $as_echo_n "(cached) " >&6
3806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3809 # define __EXTENSIONS__ 1
3810 $ac_includes_default
3819 if ac_fn_c_try_compile
"$LINENO"; then :
3820 ac_cv_safe_to_define___extensions__
=yes
3822 ac_cv_safe_to_define___extensions__
=no
3824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3827 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3828 test $ac_cv_safe_to_define___extensions__ = yes &&
3829 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3831 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3833 $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
3835 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3837 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3839 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
3845 $as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
3846 if test "${gl_cv_c_amsterdam_compiler+set}" = set; then :
3847 $as_echo_n "(cached) " >&6
3850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3859 $EGREP "Amsterdam" >/dev
/null
2>&1; then :
3860 gl_cv_c_amsterdam_compiler
=yes
3862 gl_cv_c_amsterdam_compiler
=no
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
3869 $as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
3870 if test -z "$AR"; then
3871 if test $gl_cv_c_amsterdam_compiler = yes; then
3873 if test -z "$ARFLAGS"; then
3877 if test -n "$ac_tool_prefix"; then
3878 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3879 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if test "${ac_cv_prog_AR+set}" = set; then :
3883 $as_echo_n "(cached) " >&6
3885 if test -n "$AR"; then
3886 ac_cv_prog_AR
="$AR" # Let the user override the test.
3888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3892 test -z "$as_dir" && as_dir
=.
3893 for ac_exec_ext
in '' $ac_executable_extensions; do
3894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3895 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 if test -n "$AR"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3908 $as_echo "$AR" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3916 if test -z "$ac_cv_prog_AR"; then
3918 # Extract the first word of "ar", so it can be a program name with args.
3919 set dummy
ar; ac_word
=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
3923 $as_echo_n "(cached) " >&6
3925 if test -n "$ac_ct_AR"; then
3926 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3932 test -z "$as_dir" && as_dir
=.
3933 for ac_exec_ext
in '' $ac_executable_extensions; do
3934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3935 ac_cv_prog_ac_ct_AR
="ar"
3936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3946 if test -n "$ac_ct_AR"; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3948 $as_echo "$ac_ct_AR" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3954 if test "x$ac_ct_AR" = x
; then
3957 case $cross_compiling:$ac_tool_warned in
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3961 ac_tool_warned
=yes ;;
3969 if test -z "$ARFLAGS"; then
3974 if test -z "$ARFLAGS"; then
3980 if test -z "$RANLIB"; then
3981 if test $gl_cv_c_amsterdam_compiler = yes; then
3984 if test -n "$ac_tool_prefix"; then
3985 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3986 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3990 $as_echo_n "(cached) " >&6
3992 if test -n "$RANLIB"; then
3993 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4002 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 RANLIB
=$ac_cv_prog_RANLIB
4013 if test -n "$RANLIB"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4015 $as_echo "$RANLIB" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4023 if test -z "$ac_cv_prog_RANLIB"; then
4024 ac_ct_RANLIB
=$RANLIB
4025 # Extract the first word of "ranlib", so it can be a program name with args.
4026 set dummy ranlib
; ac_word
=$2
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4028 $as_echo_n "checking for $ac_word... " >&6; }
4029 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4030 $as_echo_n "(cached) " >&6
4032 if test -n "$ac_ct_RANLIB"; then
4033 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4039 test -z "$as_dir" && as_dir
=.
4040 for ac_exec_ext
in '' $ac_executable_extensions; do
4041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4042 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4052 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4053 if test -n "$ac_ct_RANLIB"; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4055 $as_echo "$ac_ct_RANLIB" >&6; }
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4058 $as_echo "no" >&6; }
4061 if test "x$ac_ct_RANLIB" = x
; then
4064 case $cross_compiling:$ac_tool_warned in
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4068 ac_tool_warned
=yes ;;
4070 RANLIB
=$ac_ct_RANLIB
4073 RANLIB
="$ac_cv_prog_RANLIB"
4088 # Code from module extensions:
4090 # Code from module include_next:
4091 # Code from module inttypes:
4092 # Code from module inttypes-incomplete:
4093 # Code from module memchr:
4094 # Code from module memmem:
4095 # Code from module memmem-simple:
4096 # Code from module multiarch:
4097 # Code from module snippet/arg-nonnull:
4098 # Code from module snippet/c++defs:
4099 # Code from module snippet/warn-on-use:
4100 # Code from module stddef:
4101 # Code from module stdint:
4102 # Code from module string:
4103 # Code from module update-copyright:
4106 ac_cpp
='$CPP $CPPFLAGS'
4107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4110 if test -n "$ac_tool_prefix"; then
4111 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4112 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if test "${ac_cv_prog_CC+set}" = set; then :
4116 $as_echo_n "(cached) " >&6
4118 if test -n "$CC"; then
4119 ac_cv_prog_CC
="$CC" # Let the user override the test.
4121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir
=.
4126 for ac_exec_ext
in '' $ac_executable_extensions; do
4127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4128 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4149 if test -z "$ac_cv_prog_CC"; then
4151 # Extract the first word of "gcc", so it can be a program name with args.
4152 set dummy gcc
; ac_word
=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4158 if test -n "$ac_ct_CC"; then
4159 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir
=.
4166 for ac_exec_ext
in '' $ac_executable_extensions; do
4167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4168 ac_cv_prog_ac_ct_CC
="gcc"
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4178 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4179 if test -n "$ac_ct_CC"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4181 $as_echo "$ac_ct_CC" >&6; }
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4187 if test "x$ac_ct_CC" = x
; then
4190 case $cross_compiling:$ac_tool_warned in
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4194 ac_tool_warned
=yes ;;
4202 if test -z "$CC"; then
4203 if test -n "$ac_tool_prefix"; then
4204 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4205 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4207 $as_echo_n "checking for $ac_word... " >&6; }
4208 if test "${ac_cv_prog_CC+set}" = set; then :
4209 $as_echo_n "(cached) " >&6
4211 if test -n "$CC"; then
4212 ac_cv_prog_CC
="$CC" # Let the user override the test.
4214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4218 test -z "$as_dir" && as_dir
=.
4219 for ac_exec_ext
in '' $ac_executable_extensions; do
4220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4221 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 if test -n "$CC"; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4234 $as_echo "$CC" >&6; }
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4243 if test -z "$CC"; then
4244 # Extract the first word of "cc", so it can be a program name with args.
4245 set dummy cc
; ac_word
=$2
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4247 $as_echo_n "checking for $ac_word... " >&6; }
4248 if test "${ac_cv_prog_CC+set}" = set; then :
4249 $as_echo_n "(cached) " >&6
4251 if test -n "$CC"; then
4252 ac_cv_prog_CC
="$CC" # Let the user override the test.
4255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4259 test -z "$as_dir" && as_dir
=.
4260 for ac_exec_ext
in '' $ac_executable_extensions; do
4261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4262 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4263 ac_prog_rejected
=yes
4267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274 if test $ac_prog_rejected = yes; then
4275 # We found a bogon in the path, so make sure we never use it.
4276 set dummy
$ac_cv_prog_CC
4278 if test $# != 0; then
4279 # We chose a different compiler from the bogus one.
4280 # However, it has the same basename, so the bogon will be chosen
4281 # first if we set CC to just the basename; use the full file name.
4283 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4289 if test -n "$CC"; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4291 $as_echo "$CC" >&6; }
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4294 $as_echo "no" >&6; }
4299 if test -z "$CC"; then
4300 if test -n "$ac_tool_prefix"; then
4301 for ac_prog
in cl.exe
4303 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4304 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if test "${ac_cv_prog_CC+set}" = set; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$CC"; then
4311 ac_cv_prog_CC
="$CC" # Let the user override the test.
4313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir
=.
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 if test -n "$CC"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4333 $as_echo "$CC" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4340 test -n "$CC" && break
4343 if test -z "$CC"; then
4345 for ac_prog
in cl.exe
4347 # Extract the first word of "$ac_prog", so it can be a program name with args.
4348 set dummy
$ac_prog; ac_word
=$2
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350 $as_echo_n "checking for $ac_word... " >&6; }
4351 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4352 $as_echo_n "(cached) " >&6
4354 if test -n "$ac_ct_CC"; then
4355 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4361 test -z "$as_dir" && as_dir
=.
4362 for ac_exec_ext
in '' $ac_executable_extensions; do
4363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4364 ac_cv_prog_ac_ct_CC
="$ac_prog"
4365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4375 if test -n "$ac_ct_CC"; then
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4377 $as_echo "$ac_ct_CC" >&6; }
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380 $as_echo "no" >&6; }
4384 test -n "$ac_ct_CC" && break
4387 if test "x$ac_ct_CC" = x
; then
4390 case $cross_compiling:$ac_tool_warned in
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4394 ac_tool_warned
=yes ;;
4403 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4405 as_fn_error
"no acceptable C compiler found in \$PATH
4406 See \`config.log' for more details." "$LINENO" 5; }
4408 # Provide some information about the compiler.
4409 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4412 for ac_option
in --version -v -V -qversion; do
4413 { { ac_try
="$ac_compiler $ac_option >&5"
4415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4416 *) ac_try_echo=$ac_try;;
4418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4419 $as_echo "$ac_try_echo"; } >&5
4420 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4422 if test -s conftest.err; then
4424 ... rest of stderr output deleted ...
4425 10q' conftest.err >conftest.er1
4426 cat conftest.er1 >&5
4427 rm -f conftest.er1 conftest.err
4429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4430 test $ac_status = 0; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4434 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4435 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4436 $as_echo_n "(cached) " >&6
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4452 if ac_fn_c_try_compile "$LINENO"; then :
4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4458 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4462 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4463 if test $ac_compiler_gnu = yes; then
4468 ac_test_CFLAGS=${CFLAGS+set}
4469 ac_save_CFLAGS=$CFLAGS
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4471 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4472 if test "${ac_cv_prog_cc_g+set}" = set; then :
4473 $as_echo_n "(cached) " >&6
4475 ac_save_c_werror_flag=$ac_c_werror_flag
4476 ac_c_werror_flag=yes
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4490 if ac_fn_c_try_compile "$LINENO"; then :
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4505 if ac_fn_c_try_compile "$LINENO"; then :
4508 ac_c_werror_flag=$ac_save_c_werror_flag
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4521 if ac_fn_c_try_compile "$LINENO"; then :
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4529 ac_c_werror_flag=$ac_save_c_werror_flag
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4532 $as_echo "$ac_cv_prog_cc_g" >&6; }
4533 if test "$ac_test_CFLAGS" = set; then
4534 CFLAGS=$ac_save_CFLAGS
4535 elif test $ac_cv_prog_cc_g = yes; then
4536 if test "$GCC" = yes; then
4542 if test "$GCC" = yes; then
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4549 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4550 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4551 $as_echo_n "(cached) " >&6
4553 ac_cv_prog_cc_c89=no
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4559 #include <sys/types.h>
4560 #include <sys/stat.h>
4561 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4562 struct buf { int x; };
4563 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4564 static char *e (p, i)
4570 static char *f (char * (*g) (char **, int), char **p, ...)
4575 s = g (p, va_arg (v,int));
4580 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4581 function prototypes and stuff, but not '\xHH' hex character constants.
4582 These don't provoke an error unfortunately, instead are silently treated
4583 as 'x'. The following induces an error, until -std is added to get
4584 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4585 array size at least. It's necessary to write '\x00'==0 to get something
4586 that's true only with -std. */
4587 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4589 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4590 inside strings and character constants. */
4592 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4594 int test (int i, double x);
4595 struct s1 {int (*f) (int a);};
4596 struct s2 {int (*f) (double a);};
4597 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4603 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4608 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4609 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4611 CC="$ac_save_CC $ac_arg"
4612 if ac_fn_c_try_compile "$LINENO"; then :
4613 ac_cv_prog_cc_c89=$ac_arg
4615 rm -f core conftest.err conftest.$ac_objext
4616 test "x$ac_cv_prog_cc_c89" != "xno" && break
4618 rm -f conftest.$ac_ext
4623 case "x$ac_cv_prog_cc_c89" in
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4626 $as_echo "none needed" >&6; } ;;
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4629 $as_echo "unsupported" >&6; } ;;
4631 CC="$CC $ac_cv_prog_cc_c89"
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4633 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4635 if test "x$ac_cv_prog_cc_c89" != xno; then :
4640 ac_cpp='$CPP $CPPFLAGS'
4641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4646 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4650 for ac_dir in ../.. "$srcdir"/../..; do
4651 for ac_t in install-sh install.sh shtool; do
4652 if test -f "$ac_dir/$ac_t"; then
4654 ac_install_sh="$ac_aux_dir/$ac_t -c"
4659 if test -z "$ac_aux_dir"; then
4660 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
4663 # These three variables are undocumented and unsupported,
4664 # and are intended to be withdrawn in a future Autoconf release.
4665 # They can cause serious problems if a builder's source tree is in a directory
4666 # whose full name contains unusual characters.
4667 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4668 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4669 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4673 $as_echo_n "checking target system type... " >&6; }
4674 if test "${ac_cv_target+set}" = set; then :
4675 $as_echo_n "(cached) " >&6
4677 if test "x$target_alias" = x; then
4678 ac_cv_target=$ac_cv_host
4680 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4681 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4686 $as_echo "$ac_cv_target" >&6; }
4687 case $ac_cv_target in
4689 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
4691 target=$ac_cv_target
4692 ac_save_IFS=$IFS; IFS='-'
4698 # Remember, the first character of IFS is used to create $*,
4699 # except with old shells:
4702 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
4705 # The aliases save the names the user supplied, while $host etc.
4706 # will get canonicalized.
4707 test -n "$target_alias" &&
4708 test "$program_prefix$program_suffix$program_transform_name" = \
4710 program_prefix=${target_alias}-
4718 LIBC_FATAL_STDERR_=1
4719 export LIBC_FATAL_STDERR_
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
4723 $as_echo_n "checking for unsigned long long int... " >&6; }
4724 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
4725 $as_echo_n "(cached) " >&6
4727 ac_cv_type_unsigned_long_long_int=yes
4728 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4732 /* For now, do not test the preprocessor; as of 2007 there are too many
4733 implementations with broken preprocessors. Perhaps this can
4734 be revisited in 2012. In the meantime, code should not expect
4735 #if to work with literals wider than 32 bits. */
4736 /* Test literals. */
4737 long long int ll = 9223372036854775807ll;
4738 long long int nll = -9223372036854775807LL;
4739 unsigned long long int ull = 18446744073709551615ULL;
4740 /* Test constant expressions. */
4741 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4743 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4749 /* Test availability of runtime routines for shift and division. */
4750 long long int llmax = 9223372036854775807ll;
4751 unsigned long long int ullmax = 18446744073709551615ull;
4752 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4753 | (llmax / ll) | (llmax % ll)
4754 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4755 | (ullmax / ull) | (ullmax % ull));
4761 if ac_fn_c_try_link "$LINENO"; then :
4764 ac_cv_type_unsigned_long_long_int=no
4766 rm -f core conftest.err conftest.$ac_objext \
4767 conftest$ac_exeext conftest.$ac_ext
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
4771 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
4772 if test $ac_cv_type_unsigned_long_long_int = yes; then
4774 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
4781 $as_echo_n "checking for long long int... " >&6; }
4782 if test "${ac_cv_type_long_long_int+set}" = set; then :
4783 $as_echo_n "(cached) " >&6
4785 ac_cv_type_long_long_int=yes
4786 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
4787 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
4788 if test $ac_cv_type_long_long_int = yes; then
4789 if test "$cross_compiling" = yes; then :
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4797 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
4798 # define LLONG_MAX (HALF - 1 + HALF)
4803 long long int n = 1;
4807 long long int m = n << i;
4810 if (LLONG_MAX / 2 < m)
4818 if ac_fn_c_try_run "$LINENO"; then :
4821 ac_cv_type_long_long_int=no
4823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4824 conftest.$ac_objext conftest.beam conftest.$ac_ext
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
4831 $as_echo "$ac_cv_type_long_long_int" >&6; }
4832 if test $ac_cv_type_long_long_int = yes; then
4834 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
4842 for ac_header in $gl_header_list
4844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4845 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4846 eval as_val=\$$as_ac_Header
4847 if test "x$as_val" = x""yes; then :
4848 cat >>confdefs.h <<_ACEOF
4849 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
4863 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
4864 if test "${gl_cv_have_include_next+set}" = set; then :
4865 $as_echo_n "(cached) " >&6
4867 rm -rf conftestd1a conftestd1b conftestd2
4868 mkdir conftestd1a conftestd1b conftestd2
4869 cat <<EOF > conftestd1a/conftest.h
4870 #define DEFINED_IN_CONFTESTD1
4871 #include_next <conftest.h>
4872 #ifdef DEFINED_IN_CONFTESTD2
4875 #error "include_next doesn't work"
4878 cat <<EOF > conftestd1b/conftest.h
4879 #define DEFINED_IN_CONFTESTD1
4881 #include_next <conftest.h>
4882 #ifdef DEFINED_IN_CONFTESTD2
4885 #error "include_next doesn't work"
4888 cat <<EOF > conftestd2/conftest.h
4889 #ifndef DEFINED_IN_CONFTESTD1
4890 #error "include_next test doesn't work"
4892 #define DEFINED_IN_CONFTESTD2
4894 gl_save_CPPFLAGS="$CPPFLAGS"
4895 CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4898 #include <conftest.h>
4900 if ac_fn_c_try_compile "$LINENO"; then :
4901 gl_cv_have_include_next=yes
4903 CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4906 #include <conftest.h>
4908 if ac_fn_c_try_compile "$LINENO"; then :
4909 gl_cv_have_include_next=buggy
4911 gl_cv_have_include_next=no
4913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4917 CPPFLAGS="$gl_save_CPPFLAGS"
4918 rm -rf conftestd1a conftestd1b conftestd2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
4922 $as_echo "$gl_cv_have_include_next" >&6; }
4923 PRAGMA_SYSTEM_HEADER=
4924 if test $gl_cv_have_include_next = yes; then
4925 INCLUDE_NEXT=include_next
4926 INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
4927 if test -n "$GCC"; then
4928 PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
4931 if test $gl_cv_have_include_next = buggy; then
4932 INCLUDE_NEXT=include
4933 INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
4935 INCLUDE_NEXT=include
4936 INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
4943 $as_echo_n "checking whether system header files limit the line length... " >&6; }
4944 if test "${gl_cv_pragma_columns+set}" = set; then :
4945 $as_echo_n "(cached) " >&6
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4956 $EGREP "choke me" >/dev/null 2>&1; then :
4957 gl_cv_pragma_columns=yes
4959 gl_cv_pragma_columns=no
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
4966 $as_echo "$gl_cv_pragma_columns" >&6; }
4967 if test $gl_cv_pragma_columns = yes; then
4968 PRAGMA_COLUMNS="#pragma COLUMNS 10000"
4980 gl_cv_c_multiarch=no
4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4982 /* end confdefs.h. */
4983 #ifndef __APPLE_CC__
4984 not a universal capable compiler
4989 if ac_fn_c_try_compile "$LINENO"; then :
4993 for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
4994 if test -n "$prev"; then
4996 i?86 | x86_64 | ppc | ppc64)
4997 if test -z "$arch" || test "$arch" = "$word"; then
5000 gl_cv_c_multiarch=yes
5006 if test "x$word" = "x-arch"; then
5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014 if test $gl_cv_c_multiarch = yes; then
5015 APPLE_UNIVERSAL_BUILD=1
5017 APPLE_UNIVERSAL_BUILD=0
5024 if test $ac_cv_type_long_long_int = yes; then
5025 HAVE_LONG_LONG_INT=1
5027 HAVE_LONG_LONG_INT=0
5031 if test $ac_cv_type_unsigned_long_long_int = yes; then
5032 HAVE_UNSIGNED_LONG_LONG_INT=1
5034 HAVE_UNSIGNED_LONG_LONG_INT=0
5045 if test $ac_cv_header_wchar_h = yes; then
5052 if test $ac_cv_header_inttypes_h = yes; then
5059 if test $ac_cv_header_sys_types_h = yes; then
5081 if test $gl_cv_have_include_next = yes; then
5082 gl_cv_next_stdint_h='<'stdint.h'>'
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
5085 $as_echo_n "checking absolute name of <stdint.h>... " >&6; }
5086 if test "${gl_cv_next_stdint_h+set}" = set; then :
5087 $as_echo_n "(cached) " >&6
5090 if test $ac_cv_header_stdint_h = yes; then
5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5099 aix*) gl_absname_cpp="$ac_cpp -C" ;;
5100 *) gl_absname_cpp="$ac_cpp" ;;
5105 gl_dirsep_regex='[/\\]'
5108 gl_dirsep_regex='\/'
5111 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
5113 gl_header_literal_regex=`echo 'stdint.h' \
5114 |
sed -e "$gl_make_literal_regex_sed"`
5115 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
5116 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
5121 gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
5122 sed -n "$gl_absolute_header_sed"`'"'
5124 gl_cv_next_stdint_h='<'stdint.h'>'
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
5130 $as_echo "$gl_cv_next_stdint_h" >&6; }
5132 NEXT_STDINT_H=$gl_cv_next_stdint_h
5134 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
5135 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
5136 gl_next_as_first_directive='<'stdint.h'>'
5138 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
5139 gl_next_as_first_directive=$gl_cv_next_stdint_h
5141 NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
5146 if test $ac_cv_header_stdint_h = yes; then
5153 if test $ac_cv_header_stdint_h = yes; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
5155 $as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
5156 if test "${gl_cv_header_working_stdint_h+set}" = set; then :
5157 $as_echo_n "(cached) " >&6
5159 gl_cv_header_working_stdint_h=no
5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5164 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
5166 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
5167 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
5168 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
5172 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5173 included before <wchar.h>. */
5184 int8_t a1 = INT8_MAX;
5185 int8_t a1min = INT8_MIN;
5188 int16_t a2 = INT16_MAX;
5189 int16_t a2min = INT16_MIN;
5192 int32_t a3 = INT32_MAX;
5193 int32_t a3min = INT32_MIN;
5196 int64_t a4 = INT64_MAX;
5197 int64_t a4min = INT64_MIN;
5200 uint8_t b1 = UINT8_MAX;
5202 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
5205 uint16_t b2 = UINT16_MAX;
5208 uint32_t b3 = UINT32_MAX;
5211 uint64_t b4 = UINT64_MAX;
5213 int_least8_t c1 = INT8_C (0x7f);
5214 int_least8_t c1max = INT_LEAST8_MAX;
5215 int_least8_t c1min = INT_LEAST8_MIN;
5216 int_least16_t c2 = INT16_C (0x7fff);
5217 int_least16_t c2max = INT_LEAST16_MAX;
5218 int_least16_t c2min = INT_LEAST16_MIN;
5219 int_least32_t c3 = INT32_C (0x7fffffff);
5220 int_least32_t c3max = INT_LEAST32_MAX;
5221 int_least32_t c3min = INT_LEAST32_MIN;
5222 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
5223 int_least64_t c4max = INT_LEAST64_MAX;
5224 int_least64_t c4min = INT_LEAST64_MIN;
5225 uint_least8_t d1 = UINT8_C (0xff);
5226 uint_least8_t d1max = UINT_LEAST8_MAX;
5227 uint_least16_t d2 = UINT16_C (0xffff);
5228 uint_least16_t d2max = UINT_LEAST16_MAX;
5229 uint_least32_t d3 = UINT32_C (0xffffffff);
5230 uint_least32_t d3max = UINT_LEAST32_MAX;
5231 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
5232 uint_least64_t d4max = UINT_LEAST64_MAX;
5233 int_fast8_t e1 = INT_FAST8_MAX;
5234 int_fast8_t e1min = INT_FAST8_MIN;
5235 int_fast16_t e2 = INT_FAST16_MAX;
5236 int_fast16_t e2min = INT_FAST16_MIN;
5237 int_fast32_t e3 = INT_FAST32_MAX;
5238 int_fast32_t e3min = INT_FAST32_MIN;
5239 int_fast64_t e4 = INT_FAST64_MAX;
5240 int_fast64_t e4min = INT_FAST64_MIN;
5241 uint_fast8_t f1 = UINT_FAST8_MAX;
5242 uint_fast16_t f2 = UINT_FAST16_MAX;
5243 uint_fast32_t f3 = UINT_FAST32_MAX;
5244 uint_fast64_t f4 = UINT_FAST64_MAX;
5246 intptr_t g = INTPTR_MAX;
5247 intptr_t gmin = INTPTR_MIN;
5250 uintptr_t h = UINTPTR_MAX;
5252 intmax_t i = INTMAX_MAX;
5253 uintmax_t j = UINTMAX_MAX;
5255 #include <limits.h> /* for CHAR_BIT */
5256 #define TYPE_MINIMUM(t) \
5257 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
5258 #define TYPE_MAXIMUM(t) \
5259 ((t) ((t) 0 < (t) -1 \
5261 : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
5264 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
5265 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
5267 /* Detect bug in FreeBSD 6.0 / ia64. */
5268 int check_SIG_ATOMIC:
5269 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
5270 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
5272 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
5274 WCHAR_MIN == TYPE_MINIMUM (wchar_t)
5275 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
5277 /* Detect bug in mingw. */
5279 WINT_MIN == TYPE_MINIMUM (wint_t)
5280 && WINT_MAX == TYPE_MAXIMUM (wint_t)
5283 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
5285 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
5287 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
5289 /* Detect bugs in OpenBSD 3.9 stdint.h. */
5291 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
5294 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
5297 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
5300 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
5302 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
5303 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
5304 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
5305 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
5306 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
5307 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
5308 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
5309 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
5310 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
5311 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
5312 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
5323 if ac_fn_c_try_compile "$LINENO"; then :
5324 if test "$cross_compiling" = yes; then :
5325 gl_cv_header_working_stdint_h=yes
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5332 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
5336 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5337 included before <wchar.h>. */
5349 #define MVAL(macro) MVAL1(macro)
5350 #define MVAL1(expression) #expression
5351 static const char *macro_values[] =
5385 for (mv = macro_values; *mv != NULL; mv++)
5387 const char *value = *mv;
5388 /* Test whether it looks like a cast expression. */
5389 if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
5390 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
5391 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
5392 || strncmp (value, "((int)"/*)*/, 6) == 0
5393 || strncmp (value, "((signed short)"/*)*/, 15) == 0
5394 || strncmp (value, "((signed char)"/*)*/, 14) == 0)
5395 return mv - macro_values + 1;
5403 if ac_fn_c_try_run "$LINENO"; then :
5404 gl_cv_header_working_stdint_h=yes
5406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5407 conftest.$ac_objext conftest.beam conftest.$ac_ext
5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
5416 $as_echo "$gl_cv_header_working_stdint_h" >&6; }
5418 if test "$gl_cv_header_working_stdint_h" = yes; then
5421 for ac_header in sys/inttypes.h sys/bitypes.h
5423 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5424 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5425 eval as_val=\$$as_ac_Header
5426 if test "x$as_val" = x""yes; then :
5427 cat >>confdefs.h <<_ACEOF
5428 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5435 if test $ac_cv_header_sys_inttypes_h = yes; then
5436 HAVE_SYS_INTTYPES_H=1
5438 HAVE_SYS_INTTYPES_H=0
5441 if test $ac_cv_header_sys_bitypes_h = yes; then
5442 HAVE_SYS_BITYPES_H=1
5444 HAVE_SYS_BITYPES_H=0
5450 if test $APPLE_UNIVERSAL_BUILD = 0; then
5453 for gltype in ptrdiff_t size_t ; do
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
5455 $as_echo_n "checking for bit size of $gltype... " >&6; }
5456 if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then :
5457 $as_echo_n "(cached) " >&6
5459 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
5460 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5461 included before <wchar.h>. */
5470 #include <limits.h>"; then :
5476 eval gl_cv_bitsizeof_${gltype}=\$result
5479 eval ac_res=\$gl_cv_bitsizeof_${gltype}
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5481 $as_echo "$ac_res" >&6; }
5482 eval result=\$gl_cv_bitsizeof_${gltype}
5483 if test $result = unknown; then
5486 GLTYPE=`echo "$gltype" |
tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
5487 cat >>confdefs.h <<_ACEOF
5488 #define BITSIZEOF_${GLTYPE} $result
5491 eval BITSIZEOF_${GLTYPE}=\$result
5498 for gltype in sig_atomic_t wchar_t wint_t ; do
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
5500 $as_echo_n "checking for bit size of $gltype... " >&6; }
5501 if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then :
5502 $as_echo_n "(cached) " >&6
5504 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
5505 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5506 included before <wchar.h>. */
5515 #include <limits.h>"; then :
5521 eval gl_cv_bitsizeof_${gltype}=\$result
5524 eval ac_res=\$gl_cv_bitsizeof_${gltype}
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5526 $as_echo "$ac_res" >&6; }
5527 eval result=\$gl_cv_bitsizeof_${gltype}
5528 if test $result = unknown; then
5531 GLTYPE=`echo "$gltype" |
tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
5532 cat >>confdefs.h <<_ACEOF
5533 #define BITSIZEOF_${GLTYPE} $result
5536 eval BITSIZEOF_${GLTYPE}=\$result
5542 for gltype in sig_atomic_t wchar_t wint_t ; do
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
5544 $as_echo_n "checking whether $gltype is signed... " >&6; }
5545 if { as_var=gl_cv_type_${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then :
5546 $as_echo_n "(cached) " >&6
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5551 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5552 included before <wchar.h>. */
5561 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
5570 if ac_fn_c_try_compile "$LINENO"; then :
5575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5576 eval gl_cv_type_${gltype}_signed=\$result
5579 eval ac_res=\$gl_cv_type_${gltype}_signed
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5581 $as_echo "$ac_res" >&6; }
5582 eval result=\$gl_cv_type_${gltype}_signed
5583 GLTYPE=`echo $gltype |
tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
5584 if test "$result" = yes; then
5585 cat >>confdefs.h <<_ACEOF
5586 #define HAVE_SIGNED_${GLTYPE} 1
5589 eval HAVE_SIGNED_${GLTYPE}=1
5591 eval HAVE_SIGNED_${GLTYPE}=0
5596 gl_cv_type_ptrdiff_t_signed=yes
5597 gl_cv_type_size_t_signed=no
5598 if test $APPLE_UNIVERSAL_BUILD = 0; then
5601 for gltype in ptrdiff_t size_t ; do
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
5603 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
5604 if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then :
5605 $as_echo_n "(cached) " >&6
5607 eval gl_cv_type_${gltype}_suffix=no
5608 eval result=\$gl_cv_type_${gltype}_signed
5609 if test "$result" = yes; then
5614 for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
5617 l) gltype1='long int';;
5618 ll) gltype1='long long int';;
5619 i64) gltype1='__int64';;
5620 u) gltype1='unsigned int';;
5621 ul) gltype1='unsigned long int';;
5622 ull) gltype1='unsigned long long int';;
5623 ui64)gltype1='unsigned __int64';;
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5628 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5629 included before <wchar.h>. */
5639 extern $gltype1 foo;
5648 if ac_fn_c_try_compile "$LINENO"; then :
5649 eval gl_cv_type_${gltype}_suffix=\$glsuf
5651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5652 eval result=\$gl_cv_type_${gltype}_suffix
5653 test "$result" != no && break
5656 eval ac_res=\$gl_cv_type_${gltype}_suffix
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5658 $as_echo "$ac_res" >&6; }
5659 GLTYPE=`echo $gltype |
tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
5660 eval result=\$gl_cv_type_${gltype}_suffix
5661 test "$result" = no && result=
5662 eval ${GLTYPE}_SUFFIX=\$result
5663 cat >>confdefs.h <<_ACEOF
5664 #define ${GLTYPE}_SUFFIX $result
5673 for gltype in sig_atomic_t wchar_t wint_t ; do
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
5675 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
5676 if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then :
5677 $as_echo_n "(cached) " >&6
5679 eval gl_cv_type_${gltype}_suffix=no
5680 eval result=\$gl_cv_type_${gltype}_signed
5681 if test "$result" = yes; then
5686 for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
5689 l) gltype1='long int';;
5690 ll) gltype1='long long int';;
5691 i64) gltype1='__int64';;
5692 u) gltype1='unsigned int';;
5693 ul) gltype1='unsigned long int';;
5694 ull) gltype1='unsigned long long int';;
5695 ui64)gltype1='unsigned __int64';;
5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5700 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5701 included before <wchar.h>. */
5711 extern $gltype1 foo;
5720 if ac_fn_c_try_compile "$LINENO"; then :
5721 eval gl_cv_type_${gltype}_suffix=\$glsuf
5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5724 eval result=\$gl_cv_type_${gltype}_suffix
5725 test "$result" != no && break
5728 eval ac_res=\$gl_cv_type_${gltype}_suffix
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5730 $as_echo "$ac_res" >&6; }
5731 GLTYPE=`echo $gltype |
tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
5732 eval result=\$gl_cv_type_${gltype}_suffix
5733 test "$result" = no && result=
5734 eval ${GLTYPE}_SUFFIX=\$result
5735 cat >>confdefs.h <<_ACEOF
5736 #define ${GLTYPE}_SUFFIX $result
5743 if test $BITSIZEOF_WINT_T -lt 32; then
5750 if test -n "$STDINT_H"; then
5751 GL_GENERATE_STDINT_H_TRUE=
5752 GL_GENERATE_STDINT_H_FALSE='#'
5754 GL_GENERATE_STDINT_H_TRUE='#'
5755 GL_GENERATE_STDINT_H_FALSE=
5769 HAVE_DECL_IMAXABS=1;
5770 HAVE_DECL_IMAXDIV=1;
5771 HAVE_DECL_STRTOIMAX=1;
5772 HAVE_DECL_STRTOUMAX=1;
5773 REPLACE_STRTOIMAX=0;
5774 INT32_MAX_LT_INTMAX_MAX=1;
5775 INT64_MAX_EQ_LONG_MAX='defined _LP64';
5776 PRI_MACROS_BROKEN=0;
5777 PRIPTR_PREFIX=__PRIPTR_PREFIX;
5778 UINT32_MAX_LT_UINTMAX_MAX=1;
5779 UINT64_MAX_EQ_ULONG_MAX='defined _LP64';
5807 if test $gl_cv_have_include_next = yes; then
5808 gl_cv_next_inttypes_h='<'inttypes.h'>'
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5
5811 $as_echo_n "checking absolute name of <inttypes.h>... " >&6; }
5812 if test "${gl_cv_next_inttypes_h+set}" = set; then :
5813 $as_echo_n "(cached) " >&6
5816 if test $ac_cv_header_inttypes_h = yes; then
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5821 #include <inttypes.h>
5825 aix*) gl_absname_cpp="$ac_cpp -C" ;;
5826 *) gl_absname_cpp="$ac_cpp" ;;
5831 gl_dirsep_regex='[/\\]'
5834 gl_dirsep_regex='\/'
5837 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
5839 gl_header_literal_regex=`echo 'inttypes.h' \
5840 |
sed -e "$gl_make_literal_regex_sed"`
5841 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
5842 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
5847 gl_cv_next_inttypes_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
5848 sed -n "$gl_absolute_header_sed"`'"'
5850 gl_cv_next_inttypes_h='<'inttypes.h'>'
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5
5856 $as_echo "$gl_cv_next_inttypes_h" >&6; }
5858 NEXT_INTTYPES_H=$gl_cv_next_inttypes_h
5860 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
5861 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
5862 gl_next_as_first_directive='<'inttypes.h'>'
5864 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
5865 gl_next_as_first_directive=$gl_cv_next_inttypes_h
5867 NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive
5876 for gl_func in imaxabs imaxdiv strtoimax strtoumax; do
5877 as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" |
$as_tr_sh`
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
5879 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
5880 if { as_var=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then :
5881 $as_echo_n "(cached) " >&6
5883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5885 #include <inttypes.h>
5896 if ac_fn_c_try_compile "$LINENO"; then :
5897 eval "$as_gl_Symbol=yes"
5899 eval "$as_gl_Symbol=no"
5901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5903 eval ac_res=\$$as_gl_Symbol
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5905 $as_echo "$ac_res" >&6; }
5906 eval as_val=\$$as_gl_Symbol
5907 if test "x$as_val" = x""yes; then :
5908 cat >>confdefs.h <<_ACEOF
5909 #define `$as_echo "HAVE_RAW_DECL_$gl_func" |
$as_tr_cpp` 1
5912 eval ac_cv_have_decl_$gl_func=yes
5918 for ac_header in inttypes.h
5920 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
5921 if test "x$ac_cv_header_inttypes_h" = x""yes; then :
5922 cat >>confdefs.h <<_ACEOF
5923 #define HAVE_INTTYPES_H 1
5930 if test $ac_cv_header_inttypes_h = yes; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
5932 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
5933 if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
5934 $as_echo_n "(cached) " >&6
5937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5938 /* end confdefs.h. */
5940 #include <inttypes.h>
5953 if ac_fn_c_try_compile "$LINENO"; then :
5954 gt_cv_inttypes_pri_broken=no
5956 gt_cv_inttypes_pri_broken=yes
5958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
5962 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
5964 if test "$gt_cv_inttypes_pri_broken" = yes; then
5966 cat >>confdefs.h <<_ACEOF
5967 #define PRI_MACROS_BROKEN 1
5985 for ac_func in $gl_func_list
5987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5989 eval as_val=\$$as_ac_var
5990 if test "x$as_val" = x""yes; then :
5991 cat >>confdefs.h <<_ACEOF
5992 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6020 GNULIB_STRCASESTR=0;
6027 GNULIB_MBSCASECMP=0;
6028 GNULIB_MBSNCASECMP=0;
6029 GNULIB_MBSPCASECMP=0;
6030 GNULIB_MBSCASESTR=0;
6037 GNULIB_STRERROR_R=0;
6039 GNULIB_STRVERSCMP=0;
6046 HAVE_DECL_MEMRCHR=1;
6052 HAVE_DECL_STRNDUP=1;
6053 HAVE_DECL_STRNLEN=1;
6057 HAVE_DECL_STRTOK_R=1;
6058 HAVE_DECL_STRERROR_R=1;
6059 HAVE_DECL_STRSIGNAL=1;
6066 REPLACE_STRCASESTR=0;
6067 REPLACE_STRCHRNUL=0;
6069 REPLACE_STRERROR_R=0;
6073 REPLACE_STRSIGNAL=0;
6075 UNDEFINE_STRTOK_R=0;
6081 # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
6082 # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
6083 # irrelevant for anonymous mappings.
6084 ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
6085 if test "x$ac_cv_func_mmap" = x""yes; then :
6092 # Try to allow MAP_ANONYMOUS.
6093 gl_have_mmap_anonymous=no
6094 if test $gl_have_mmap = yes; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
6096 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
6097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6100 #include <sys/mman.h>
6101 #ifdef MAP_ANONYMOUS
6102 I cannot identify this map
6106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6107 $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
6108 gl_have_mmap_anonymous=yes
6112 if test $gl_have_mmap_anonymous != yes; then
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6116 #include <sys/mman.h>
6118 I cannot identify this map
6122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6123 $EGREP "I cannot identify this map" >/dev/null 2>&1; then :
6125 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
6127 gl_have_mmap_anonymous=yes
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
6133 $as_echo "$gl_have_mmap_anonymous" >&6; }
6134 if test $gl_have_mmap_anonymous = yes; then
6136 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
6158 if test $HAVE_MEMCHR = 1; then
6159 # Detect platform-specific bugs in some versions of glibc:
6160 # memchr should not dereference anything with length 0
6161 # http://bugzilla.redhat.com/499689
6162 # memchr should not dereference overestimated length after a match
6163 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
6164 # http://sourceware.org/bugzilla/show_bug.cgi?id=10162
6165 # Assume that memchr works on platforms that lack mprotect.
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
6167 $as_echo_n "checking whether memchr works... " >&6; }
6168 if test "${gl_cv_func_memchr_works+set}" = set; then :
6169 $as_echo_n "(cached) " >&6
6171 if test "$cross_compiling" = yes; then :
6172 gl_cv_func_memchr_works="guessing no"
6174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6180 # include <unistd.h>
6181 # include <sys/types.h>
6182 # include <sys/mman.h>
6194 #if HAVE_SYS_MMAN_H && HAVE_MPROTECT
6195 # if HAVE_MAP_ANONYMOUS
6196 const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
6198 # else /* !HAVE_MAP_ANONYMOUS */
6199 const int flags = MAP_FILE | MAP_PRIVATE;
6200 int fd = open ("/dev/zero", O_RDONLY, 0666);
6204 int pagesize = getpagesize ();
6206 (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
6208 if (two_pages != (char *)(-1)
6209 && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
6210 fence = two_pages + pagesize;
6215 if (memchr (fence, 0, 0))
6217 strcpy (fence - 9, "12345678");
6218 if (memchr (fence - 9, 0, 79) != fence - 1)
6220 if (memchr (fence - 1, 0, 3) != fence - 1)
6229 if ac_fn_c_try_run "$LINENO"; then :
6230 gl_cv_func_memchr_works=yes
6232 gl_cv_func_memchr_works=no
6234 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6235 conftest.$ac_objext conftest.beam conftest.$ac_ext
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
6240 $as_echo "$gl_cv_func_memchr_works" >&6; }
6241 if test "$gl_cv_func_memchr_works" != yes; then
6247 ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
6248 if test "x$ac_cv_have_decl_memmem" = x""yes; then :
6254 cat >>confdefs.h <<_ACEOF
6255 #define HAVE_DECL_MEMMEM $ac_have_decl
6263 for ac_func in memmem
6265 ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem"
6266 if test "x$ac_cv_func_memmem" = x""yes; then :
6267 cat >>confdefs.h <<_ACEOF
6268 #define HAVE_MEMMEM 1
6274 if test $ac_cv_func_memmem = yes; then
6286 if test $ac_cv_have_decl_memmem = no; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works" >&5
6290 $as_echo_n "checking whether memmem works... " >&6; }
6291 if test "${gl_cv_func_memmem_works_always+set}" = set; then :
6292 $as_echo_n "(cached) " >&6
6294 if test "$cross_compiling" = yes; then :
6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6298 #ifdef __GNU_LIBRARY__
6299 #include <features.h>
6300 #if ((__GLIBC__ == 2 && ((__GLIBC_MINOR > 0 && __GLIBC_MINOR__ < 9) \
6301 || __GLIBC_MINOR__ > 12)) \
6302 || (__GLIBC__ > 2)) \
6303 || defined __UCLIBC__
6306 #elif defined __CYGWIN__
6307 #include <cygwin/version.h>
6308 #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
6316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6317 $EGREP "Lucky user" >/dev/null 2>&1; then :
6318 gl_cv_func_memmem_works_always="guessing yes"
6320 gl_cv_func_memmem_works_always="guessing no"
6326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6329 #include <string.h> /* for memmem */
6330 #define P "_EF_BF_BD"
6331 #define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
6332 #define NEEDLE P P P P P
6339 if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
6341 /* Check for empty needle behavior. */
6343 const char *haystack = "AAA";
6344 if (memmem (haystack, 3, NULL, 0) != haystack)
6353 if ac_fn_c_try_run "$LINENO"; then :
6354 gl_cv_func_memmem_works_always=yes
6356 gl_cv_func_memmem_works_always=no
6358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6359 conftest.$ac_objext conftest.beam conftest.$ac_ext
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_always" >&5
6365 $as_echo "$gl_cv_func_memmem_works_always" >&6; }
6366 case "$gl_cv_func_memmem_works_always" in
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
6381 $as_echo_n "checking for wchar_t... " >&6; }
6382 if test "${gt_cv_c_wchar_t+set}" = set; then :
6383 $as_echo_n "(cached) " >&6
6385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6388 wchar_t foo = (wchar_t)'\0';
6397 if ac_fn_c_try_compile "$LINENO"; then :
6402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
6405 $as_echo "$gt_cv_c_wchar_t" >&6; }
6406 if test $gt_cv_c_wchar_t = yes; then
6408 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
6413 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
6414 if test "${ac_cv_c_restrict+set}" = set; then :
6415 $as_echo_n "(cached) " >&6
6418 # The order here caters to the fact that C++ does not require restrict.
6419 for ac_kw in __restrict __restrict__ _Restrict restrict; do
6420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6421 /* end confdefs.h. */
6422 typedef int * int_ptr;
6423 int foo (int_ptr $ac_kw ip) {
6437 if ac_fn_c_try_compile "$LINENO"; then :
6438 ac_cv_c_restrict=$ac_kw
6440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6441 test "$ac_cv_c_restrict" != no && break
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
6446 $as_echo "$ac_cv_c_restrict" >&6; }
6448 case $ac_cv_c_restrict in
6450 no) $as_echo "#define restrict /**/" >>confdefs.h
6452 *) cat >>confdefs.h <<_ACEOF
6453 #define restrict $ac_cv_c_restrict
6469 if test $gl_cv_have_include_next = yes; then
6470 gl_cv_next_string_h='<'string.h'>'
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
6473 $as_echo_n "checking absolute name of <string.h>... " >&6; }
6474 if test "${gl_cv_next_string_h+set}" = set; then :
6475 $as_echo_n "(cached) " >&6
6478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6479 /* end confdefs.h. */
6484 aix*) gl_absname_cpp="$ac_cpp -C" ;;
6485 *) gl_absname_cpp="$ac_cpp" ;;
6490 gl_dirsep_regex='[/\\]'
6493 gl_dirsep_regex='\/'
6496 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
6498 gl_header_literal_regex=`echo 'string.h' \
6499 |
sed -e "$gl_make_literal_regex_sed"`
6500 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
6501 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
6506 gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
6507 sed -n "$gl_absolute_header_sed"`'"'
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
6512 $as_echo "$gl_cv_next_string_h" >&6; }
6514 NEXT_STRING_H=$gl_cv_next_string_h
6516 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
6517 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
6518 gl_next_as_first_directive='<'string.h'>'
6520 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
6521 gl_next_as_first_directive=$gl_cv_next_string_h
6523 NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
6530 for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp; do
6531 as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" |
$as_tr_sh`
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
6533 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
6534 if { as_var=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then :
6535 $as_echo_n "(cached) " >&6
6537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6538 /* end confdefs.h. */
6550 if ac_fn_c_try_compile "$LINENO"; then :
6551 eval "$as_gl_Symbol=yes"
6553 eval "$as_gl_Symbol=no"
6555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6557 eval ac_res=\$$as_gl_Symbol
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6559 $as_echo "$ac_res" >&6; }
6560 eval as_val=\$$as_gl_Symbol
6561 if test "x$as_val" = x""yes; then :
6562 cat >>confdefs.h <<_ACEOF
6563 #define `$as_echo "HAVE_RAW_DECL_$gl_func" |
$as_tr_cpp` 1
6566 eval ac_cv_have_decl_$gl_func=yes
6573 GL_COND_LIBTOOL_TRUE=
6574 GL_COND_LIBTOOL_FALSE='#'
6576 GL_COND_LIBTOOL_TRUE='#'
6577 GL_COND_LIBTOOL_FALSE=
6580 gl_cond_libtool=false
6583 gl_m4_base='import/m4'
6593 gl_source_base='import'
6600 if test -n "$STDINT_H"; then
6603 for glpfx in '' l ll I64; do
6606 l) gltype1='long int';;
6607 ll) gltype1='long long int';;
6608 I64) gltype1='__int64';;
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6613 extern intptr_t foo;
6614 extern $gltype1 foo;
6623 if ac_fn_c_try_compile "$LINENO"; then :
6624 PRIPTR_PREFIX='"'$glpfx'"'
6626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6627 test -n "$PRIPTR_PREFIX" && break
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT32_MAX < INTMAX_MAX" >&5
6634 $as_echo_n "checking whether INT32_MAX < INTMAX_MAX... " >&6; }
6635 if test "${gl_cv_test_INT32_MAX_LT_INTMAX_MAX+set}" = set; then :
6636 $as_echo_n "(cached) " >&6
6638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6639 /* end confdefs.h. */
6640 /* Work also in C++ mode. */
6641 #define __STDC_LIMIT_MACROS 1
6643 /* Work if build is not clean. */
6644 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
6651 #if defined INT32_MAX && defined INTMAX_MAX
6652 #define CONDITION (INT32_MAX < INTMAX_MAX)
6653 #elif HAVE_LONG_LONG_INT
6654 #define CONDITION (sizeof (int) < sizeof (long long int))
6658 int test[CONDITION ? 1 : -1];
6667 if ac_fn_c_try_compile "$LINENO"; then :
6668 gl_cv_test_INT32_MAX_LT_INTMAX_MAX=yes
6670 gl_cv_test_INT32_MAX_LT_INTMAX_MAX=no
6672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&5
6675 $as_echo "$gl_cv_test_INT32_MAX_LT_INTMAX_MAX" >&6; }
6676 if test $gl_cv_test_INT32_MAX_LT_INTMAX_MAX = yes; then
6677 INT32_MAX_LT_INTMAX_MAX=1;
6679 INT32_MAX_LT_INTMAX_MAX=0;
6683 if test $APPLE_UNIVERSAL_BUILD = 0; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether INT64_MAX == LONG_MAX" >&5
6686 $as_echo_n "checking whether INT64_MAX == LONG_MAX... " >&6; }
6687 if test "${gl_cv_test_INT64_MAX_EQ_LONG_MAX+set}" = set; then :
6688 $as_echo_n "(cached) " >&6
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6692 /* Work also in C++ mode. */
6693 #define __STDC_LIMIT_MACROS 1
6695 /* Work if build is not clean. */
6696 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
6703 #if defined INT64_MAX
6704 #define CONDITION (INT64_MAX == LONG_MAX)
6705 #elif HAVE_LONG_LONG_INT
6706 #define CONDITION (sizeof (long long int) == sizeof (long int))
6710 int test[CONDITION ? 1 : -1];
6719 if ac_fn_c_try_compile "$LINENO"; then :
6720 gl_cv_test_INT64_MAX_EQ_LONG_MAX=yes
6722 gl_cv_test_INT64_MAX_EQ_LONG_MAX=no
6724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&5
6727 $as_echo "$gl_cv_test_INT64_MAX_EQ_LONG_MAX" >&6; }
6728 if test $gl_cv_test_INT64_MAX_EQ_LONG_MAX = yes; then
6729 INT64_MAX_EQ_LONG_MAX=1;
6731 INT64_MAX_EQ_LONG_MAX=0;
6736 INT64_MAX_EQ_LONG_MAX=-1
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT32_MAX < UINTMAX_MAX" >&5
6740 $as_echo_n "checking whether UINT32_MAX < UINTMAX_MAX... " >&6; }
6741 if test "${gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX+set}" = set; then :
6742 $as_echo_n "(cached) " >&6
6744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6746 /* Work also in C++ mode. */
6747 #define __STDC_LIMIT_MACROS 1
6749 /* Work if build is not clean. */
6750 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
6757 #if defined UINT32_MAX && defined UINTMAX_MAX
6758 #define CONDITION (UINT32_MAX < UINTMAX_MAX)
6759 #elif HAVE_LONG_LONG_INT
6760 #define CONDITION (sizeof (unsigned int) < sizeof (unsigned long long int))
6764 int test[CONDITION ? 1 : -1];
6773 if ac_fn_c_try_compile "$LINENO"; then :
6774 gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=yes
6776 gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX=no
6778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&5
6781 $as_echo "$gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX" >&6; }
6782 if test $gl_cv_test_UINT32_MAX_LT_UINTMAX_MAX = yes; then
6783 UINT32_MAX_LT_UINTMAX_MAX=1;
6785 UINT32_MAX_LT_UINTMAX_MAX=0;
6789 if test $APPLE_UNIVERSAL_BUILD = 0; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UINT64_MAX == ULONG_MAX" >&5
6792 $as_echo_n "checking whether UINT64_MAX == ULONG_MAX... " >&6; }
6793 if test "${gl_cv_test_UINT64_MAX_EQ_ULONG_MAX+set}" = set; then :
6794 $as_echo_n "(cached) " >&6
6796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6797 /* end confdefs.h. */
6798 /* Work also in C++ mode. */
6799 #define __STDC_LIMIT_MACROS 1
6801 /* Work if build is not clean. */
6802 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H
6809 #if defined UINT64_MAX
6810 #define CONDITION (UINT64_MAX == ULONG_MAX)
6811 #elif HAVE_LONG_LONG_INT
6812 #define CONDITION (sizeof (unsigned long long int) == sizeof (unsigned long int))
6816 int test[CONDITION ? 1 : -1];
6825 if ac_fn_c_try_compile "$LINENO"; then :
6826 gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=yes
6828 gl_cv_test_UINT64_MAX_EQ_ULONG_MAX=no
6830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&5
6833 $as_echo "$gl_cv_test_UINT64_MAX_EQ_ULONG_MAX" >&6; }
6834 if test $gl_cv_test_UINT64_MAX_EQ_ULONG_MAX = yes; then
6835 UINT64_MAX_EQ_ULONG_MAX=1;
6837 UINT64_MAX_EQ_ULONG_MAX=0;
6842 UINT64_MAX_EQ_ULONG_MAX=-1
6848 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
6857 gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext"
6860 for ac_header in bp-sym.h
6862 ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
6863 if test "x$ac_cv_header_bp_sym_h" = x""yes; then :
6864 cat >>confdefs.h <<_ACEOF
6865 #define HAVE_BP_SYM_H 1
6885 $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h
6891 if test $HAVE_DECL_MEMMEM = 1 && test $REPLACE_MEMMEM = 0; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works in linear time" >&5
6893 $as_echo_n "checking whether memmem works in linear time... " >&6; }
6894 if test "${gl_cv_func_memmem_works_fast+set}" = set; then :
6895 $as_echo_n "(cached) " >&6
6897 if test "$cross_compiling" = yes; then :
6898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6899 /* end confdefs.h. */
6901 #include <features.h>
6902 #ifdef __GNU_LIBRARY__
6903 #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9) || (__GLIBC__ > 2)) \
6904 && !defined __UCLIBC__
6909 #include <cygwin/version.h>
6910 #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 0)
6916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6917 $EGREP "Lucky user" >/dev/null 2>&1; then :
6918 gl_cv_func_memmem_works_fast="guessing yes"
6920 gl_cv_func_memmem_works_fast="guessing no"
6926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6929 #include <signal.h> /* for signal */
6930 #include <string.h> /* for memmem */
6931 #include <stdlib.h> /* for malloc */
6932 #include <unistd.h> /* for alarm */
6933 static void quit (int sig) { exit (sig + 128); }
6941 char *haystack = (char *) malloc (2 * m + 1);
6942 char *needle = (char *) malloc (m + 1);
6943 /* Failure to compile this test due to missing alarm is okay,
6944 since all such platforms (mingw) also lack memmem. */
6945 signal (SIGALRM, quit);
6947 /* Check for quadratic performance. */
6948 if (haystack && needle)
6950 memset (haystack, 'A', 2 * m);
6951 haystack[2 * m] = 'B';
6952 memset (needle, 'A', m);
6954 if (!memmem (haystack, 2 * m + 1, needle, m + 1))
6963 if ac_fn_c_try_run "$LINENO"; then :
6964 gl_cv_func_memmem_works_fast=yes
6966 gl_cv_func_memmem_works_fast=no
6968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6969 conftest.$ac_objext conftest.beam conftest.$ac_ext
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_fast" >&5
6975 $as_echo "$gl_cv_func_memmem_works_fast" >&6; }
6976 case "$gl_cv_func_memmem_works_fast" in
6984 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
6993 gl_LIBOBJS="$gl_LIBOBJS memmem.$ac_objext"
7000 for ac_func in memmem
7002 ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem"
7003 if test "x$ac_cv_func_memmem" = x""yes; then :
7004 cat >>confdefs.h <<_ACEOF
7005 #define HAVE_MEMMEM 1
7011 if test $ac_cv_func_memmem = yes; then
7023 if test $ac_cv_have_decl_memmem = no; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works" >&5
7027 $as_echo_n "checking whether memmem works... " >&6; }
7028 if test "${gl_cv_func_memmem_works_always+set}" = set; then :
7029 $as_echo_n "(cached) " >&6
7031 if test "$cross_compiling" = yes; then :
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7035 #ifdef __GNU_LIBRARY__
7036 #include <features.h>
7037 #if ((__GLIBC__ == 2 && ((__GLIBC_MINOR > 0 && __GLIBC_MINOR__ < 9) \
7038 || __GLIBC_MINOR__ > 12)) \
7039 || (__GLIBC__ > 2)) \
7040 || defined __UCLIBC__
7043 #elif defined __CYGWIN__
7044 #include <cygwin/version.h>
7045 #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
7053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7054 $EGREP "Lucky user" >/dev/null 2>&1; then :
7055 gl_cv_func_memmem_works_always="guessing yes"
7057 gl_cv_func_memmem_works_always="guessing no"
7063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7064 /* end confdefs.h. */
7066 #include <string.h> /* for memmem */
7067 #define P "_EF_BF_BD"
7068 #define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
7069 #define NEEDLE P P P P P
7076 if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
7078 /* Check for empty needle behavior. */
7080 const char *haystack = "AAA";
7081 if (memmem (haystack, 3, NULL, 0) != haystack)
7090 if ac_fn_c_try_run "$LINENO"; then :
7091 gl_cv_func_memmem_works_always=yes
7093 gl_cv_func_memmem_works_always=no
7095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7096 conftest.$ac_objext conftest.beam conftest.$ac_ext
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works_always" >&5
7102 $as_echo "$gl_cv_func_memmem_works_always" >&6; }
7103 case "$gl_cv_func_memmem_works_always" in
7112 if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then
7121 gl_LIBOBJS="$gl_LIBOBJS memmem.$ac_objext"
7135 $as_echo "#define GNULIB_TEST_MEMMEM 1" >>confdefs.h
7144 if test $gt_cv_c_wchar_t = no; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
7149 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
7150 if test "${gl_cv_decl_null_works+set}" = set; then :
7151 $as_echo_n "(cached) " >&6
7153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7154 /* end confdefs.h. */
7156 int test[2 * (sizeof NULL == sizeof (void *)) -1];
7166 if ac_fn_c_try_compile "$LINENO"; then :
7167 gl_cv_decl_null_works=yes
7169 gl_cv_decl_null_works=no
7171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
7174 $as_echo "$gl_cv_decl_null_works" >&6; }
7175 if test $gl_cv_decl_null_works = no; then
7180 if test -n "$STDDEF_H"; then
7181 GL_GENERATE_STDDEF_H_TRUE=
7182 GL_GENERATE_STDDEF_H_FALSE='#'
7184 GL_GENERATE_STDDEF_H_TRUE='#'
7185 GL_GENERATE_STDDEF_H_FALSE=
7188 if test -n "$STDDEF_H"; then
7197 if test $gl_cv_have_include_next = yes; then
7198 gl_cv_next_stddef_h='<'stddef.h'>'
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
7201 $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
7202 if test "${gl_cv_next_stddef_h+set}" = set; then :
7203 $as_echo_n "(cached) " >&6
7206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7207 /* end confdefs.h. */
7212 aix*) gl_absname_cpp="$ac_cpp -C" ;;
7213 *) gl_absname_cpp="$ac_cpp" ;;
7218 gl_dirsep_regex='[/\\]'
7221 gl_dirsep_regex='\/'
7224 gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g'
7226 gl_header_literal_regex=`echo 'stddef.h' \
7227 |
sed -e "$gl_make_literal_regex_sed"`
7228 gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{
7229 s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/
7234 gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
7235 sed -n "$gl_absolute_header_sed"`'"'
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
7240 $as_echo "$gl_cv_next_stddef_h" >&6; }
7242 NEXT_STDDEF_H=$gl_cv_next_stddef_h
7244 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
7245 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
7246 gl_next_as_first_directive='<'stddef.h'>'
7248 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
7249 gl_next_as_first_directive=$gl_cv_next_stddef_h
7251 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
7262 # End of code from modules
7283 gl_source_base='tests'
7284 gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL
=C
tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL
=C
sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
7286 gl_module_indicator_condition=$gltests_WITNESS
7296 LIBGNU_LIBDEPS="$gl_libdeps"
7298 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
7302 # We don't use automake, but gnulib does. This line lets us generate
7304 am__api_version='1.11'
7306 # Find a good install program. We prefer a C program (faster),
7307 # so one script is as good as another. But avoid the broken or
7308 # incompatible versions:
7309 # SysV /etc/install, /usr/sbin/install
7310 # SunOS /usr/etc/install
7311 # IRIX /sbin/install
7313 # AmigaOS /C/install, which installs bootblocks on floppy discs
7314 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7315 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7316 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7317 # OS/2's system install, which has a completely different semantic
7318 # ./install, which can be erroneously created by make from ./install.sh.
7319 # Reject install programs that cannot install multiple files.
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
7321 $as_echo_n "checking for a BSD-compatible install... " >&6; }
7322 if test -z "$INSTALL"; then
7323 if test "${ac_cv_path_install+set}" = set; then :
7324 $as_echo_n "(cached) " >&6
7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir=.
7331 # Account for people who put trailing slashes in PATH elements.
7332 case $as_dir/ in #((
7333 ./ | .// | /[cC]/* | \
7334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7335 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
7338 # OSF1 and SCO ODT 3.0 have their own names for install.
7339 # Don't use installbsd from OSF since it installs stuff as root
7341 for ac_prog in ginstall scoinst install; do
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
7344 if test $ac_prog = install &&
7345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7346 # AIX install. It has an incompatible calling convention.
7348 elif test $ac_prog = install &&
7349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7350 # program-specific install script used by HP pwplus--don't use.
7353 rm -rf conftest.one conftest.two conftest.dir
7354 echo one > conftest.one
7355 echo two > conftest.two
7357 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
7358 test -s conftest.one && test -s conftest.two &&
7359 test -s conftest.dir/conftest.one &&
7360 test -s conftest.dir/conftest.two
7362 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7375 rm -rf conftest.one conftest.two conftest.dir
7378 if test "${ac_cv_path_install+set}" = set; then
7379 INSTALL=$ac_cv_path_install
7381 # As a last resort, use the slow shell script. Don't cache a
7382 # value for INSTALL within a source directory, because that will
7383 # break other packages using the cache if that directory is
7384 # removed, or if the value is a relative name.
7385 INSTALL=$ac_install_sh
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
7389 $as_echo "$INSTALL" >&6; }
7391 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7392 # It thinks the first close brace ends the variable substitution.
7393 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
7395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
7397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
7400 $as_echo_n "checking whether build environment is sane... " >&6; }
7403 echo timestamp > conftest.file
7404 # Reject unsafe characters in $srcdir or the absolute working directory
7405 # name. Accept space and tab only in the latter.
7409 *[\\\"\#\$\&\'\`$am_lf]*)
7410 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
7413 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
7414 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
7417 # Do `set' in a subshell so we don't clobber the current shell's
7418 # arguments. Must try -L first in case configure is actually a
7419 # symlink; some systems play weird games with the mod time of symlinks
7420 # (eg FreeBSD returns the mod time of the symlink's containing
7423 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
7424 if test "$*" = "X"; then
7426 set X
`ls -t "$srcdir/configure" conftest.file`
7429 if test "$*" != "X $srcdir/configure conftest.file" \
7430 && test "$*" != "X conftest.file $srcdir/configure"; then
7432 # If neither matched, then we have a broken ls. This can happen
7433 # if, for instance, CONFIG_SHELL is bash and it inherits a
7434 # broken ls alias from the environment. This has actually
7435 # happened. Such a system could not be considered "sane".
7436 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
7437 alias in your environment" "$LINENO" 5
7440 test "$2" = conftest.
file
7446 as_fn_error
"newly created file is older than distributed files!
7447 Check your system clock" "$LINENO" 5
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7450 $as_echo "yes" >&6; }
7451 test "$program_prefix" != NONE
&&
7452 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
7453 # Use a double $ so make ignores it.
7454 test "$program_suffix" != NONE
&&
7455 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
7456 # Double any \ or $.
7457 # By default was `s,x,x', remove it if useless.
7458 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
7459 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
7461 # expand $ac_aux_dir to an absolute path
7462 am_aux_dir
=`cd $ac_aux_dir && pwd`
7464 if test x
"${MISSING+set}" != xset
; then
7467 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
7469 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
7472 # Use eval to expand $SHELL
7473 if eval "$MISSING --run true"; then
7474 am_missing_run
="$MISSING --run "
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
7478 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
7481 if test x
"${install_sh}" != xset
; then
7484 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
7486 install_sh
="\${SHELL} $am_aux_dir/install-sh"
7490 # Installed binaries are usually stripped using `strip' when the user
7491 # run `make install-strip'. However `strip' might not be the right
7492 # tool to use in cross-compilation environments, therefore Automake
7493 # will honor the `STRIP' environment variable to overrule this program.
7494 if test "$cross_compiling" != no
; then
7495 if test -n "$ac_tool_prefix"; then
7496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7497 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7499 $as_echo_n "checking for $ac_word... " >&6; }
7500 if test "${ac_cv_prog_STRIP+set}" = set; then :
7501 $as_echo_n "(cached) " >&6
7503 if test -n "$STRIP"; then
7504 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7510 test -z "$as_dir" && as_dir
=.
7511 for ac_exec_ext
in '' $ac_executable_extensions; do
7512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7513 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523 STRIP
=$ac_cv_prog_STRIP
7524 if test -n "$STRIP"; then
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7526 $as_echo "$STRIP" >&6; }
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7529 $as_echo "no" >&6; }
7534 if test -z "$ac_cv_prog_STRIP"; then
7536 # Extract the first word of "strip", so it can be a program name with args.
7537 set dummy strip
; ac_word
=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7539 $as_echo_n "checking for $ac_word... " >&6; }
7540 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7541 $as_echo_n "(cached) " >&6
7543 if test -n "$ac_ct_STRIP"; then
7544 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7550 test -z "$as_dir" && as_dir
=.
7551 for ac_exec_ext
in '' $ac_executable_extensions; do
7552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7553 ac_cv_prog_ac_ct_STRIP
="strip"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7564 if test -n "$ac_ct_STRIP"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7566 $as_echo "$ac_ct_STRIP" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 $as_echo "no" >&6; }
7572 if test "x$ac_ct_STRIP" = x
; then
7575 case $cross_compiling:$ac_tool_warned in
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7579 ac_tool_warned
=yes ;;
7584 STRIP
="$ac_cv_prog_STRIP"
7588 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
7591 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
7592 if test -z "$MKDIR_P"; then
7593 if test "${ac_cv_path_mkdir+set}" = set; then :
7594 $as_echo_n "(cached) " >&6
7596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7597 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
7600 test -z "$as_dir" && as_dir
=.
7601 for ac_prog
in mkdir gmkdir
; do
7602 for ac_exec_ext
in '' $ac_executable_extensions; do
7603 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
7604 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
7605 'mkdir (GNU coreutils) '* | \
7606 'mkdir (coreutils) '* | \
7607 'mkdir (fileutils) '4.1*)
7608 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
7618 if test "${ac_cv_path_mkdir+set}" = set; then
7619 MKDIR_P
="$ac_cv_path_mkdir -p"
7621 # As a last resort, use the slow shell script. Don't cache a
7622 # value for MKDIR_P within a source directory, because that will
7623 # break other packages using the cache if that directory is
7624 # removed, or if the value is a relative name.
7625 test -d .
/--version && rmdir .
/--version
7626 MKDIR_P
="$ac_install_sh -d"
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
7630 $as_echo "$MKDIR_P" >&6; }
7635 [\\/$
]* | ?
:[\\/]*) ;;
7636 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
7639 for ac_prog
in gawk mawk nawk
awk
7641 # Extract the first word of "$ac_prog", so it can be a program name with args.
7642 set dummy
$ac_prog; ac_word
=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644 $as_echo_n "checking for $ac_word... " >&6; }
7645 if test "${ac_cv_prog_AWK+set}" = set; then :
7646 $as_echo_n "(cached) " >&6
7648 if test -n "$AWK"; then
7649 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
7651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7655 test -z "$as_dir" && as_dir
=.
7656 for ac_exec_ext
in '' $ac_executable_extensions; do
7657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658 ac_cv_prog_AWK
="$ac_prog"
7659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7669 if test -n "$AWK"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
7671 $as_echo "$AWK" >&6; }
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 $as_echo "no" >&6; }
7678 test -n "$AWK" && break
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7682 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7684 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7685 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
7686 $as_echo_n "(cached) " >&6
7688 cat >conftest.
make <<\_ACEOF
7691 @
echo '@@@%%%=$(MAKE)=@@@%%%'
7693 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7694 case `${MAKE-make} -f conftest.make 2>/dev/null` in
7696 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
7698 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
7702 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7704 $as_echo "yes" >&6; }
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7709 SET_MAKE
="MAKE=${MAKE-make}"
7712 rm -rf .tst
2>/dev
/null
7713 mkdir .tst
2>/dev
/null
7714 if test -d .tst
; then
7719 rmdir .tst
2>/dev
/null
7721 DEPDIR
="${am__leading_dot}deps"
7723 ac_config_commands
="$ac_config_commands depfiles"
7726 am_make
=${MAKE-make}
7727 cat > confinc
<< 'END'
7729 @
echo this is the am__doit target
7732 # If we don't find an include directive, just comment out the code.
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
7734 $as_echo_n "checking for style of include used by $am_make... " >&6; }
7738 # First try GNU make style include.
7739 echo "include confinc" > confmf
7740 # Ignore all kinds of additional output from `make'.
7741 case `$am_make -s -f confmf 2> /dev/null` in #(
7742 *the\ am__doit\ target
*)
7748 # Now try BSD make style include.
7749 if test "$am__include" = "#"; then
7750 echo '.include "confinc"' > confmf
7751 case `$am_make -s -f confmf 2> /dev/null` in #(
7752 *the\ am__doit\ target
*)
7753 am__include
=.include
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
7762 $as_echo "$_am_result" >&6; }
7763 rm -f confinc confmf
7765 # Check whether --enable-dependency-tracking was given.
7766 if test "${enable_dependency_tracking+set}" = set; then :
7767 enableval
=$enable_dependency_tracking;
7770 if test "x$enable_dependency_tracking" != xno
; then
7771 am_depcomp
="$ac_aux_dir/depcomp"
7774 if test "x$enable_dependency_tracking" != xno; then
7783 if test "`cd $srcdir && pwd`" != "`pwd`"; then
7784 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
7785 # is not polluted with repeated "-I."
7786 am__isrc
=' -I$(srcdir)'
7787 # test to see if srcdir already configured
7788 if test -f $srcdir/config.status
; then
7789 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
7793 # test whether we have cygpath
7794 if test -z "$CYGPATH_W"; then
7795 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
7796 CYGPATH_W
='cygpath -w'
7803 # Define the identity of the package.
7805 VERSION
=UNUSED-VERSION
7808 # Some tools Automake needs.
7810 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
7813 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
7816 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
7819 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
7822 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
7824 # We need awk for the "check" target. The system "awk" is bad on
7826 # Always define AMTAR for backward compatibility.
7828 AMTAR
=${AMTAR-"${am_missing_run}tar"}
7830 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
7835 depcc
="$CC" am_compiler_list
=
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7838 $as_echo_n "checking dependency style of $depcc... " >&6; }
7839 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
7840 $as_echo_n "(cached) " >&6
7842 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7843 # We make a subdir and do the tests there. Otherwise we can end up
7844 # making bogus files that we don't know about and never remove. For
7845 # instance it was reported that on HP-UX the gcc test will end up
7846 # making a dummy file named `D' -- because `-MD' means `put the output
7849 # Copy depcomp to subdir because otherwise we won't find it if we're
7850 # using a relative directory.
7851 cp "$am_depcomp" conftest.dir
7853 # We will build objects and dependencies in a subdirectory because
7854 # it helps to detect inapplicable dependency modes. For instance
7855 # both Tru64's cc and ICC support -MD to output dependencies as a
7856 # side effect of compilation, but ICC will put the dependencies in
7857 # the current directory while Tru64 will put them in the object
7861 am_cv_CC_dependencies_compiler_type
=none
7862 if test "$am_compiler_list" = ""; then
7863 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7866 case " $depcc " in #(
7867 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
7870 for depmode
in $am_compiler_list; do
7871 # Setup a source with many dependencies, because some compilers
7872 # like to wrap large dependency lists on column 80 (with \), and
7873 # we should not choose a depcomp mode which is confused by this.
7875 # We need to recreate these files for each test, as the compiler may
7876 # overwrite some of them when testing with obscure command lines.
7877 # This happens at least with the AIX C compiler.
7879 for i
in 1 2 3 4 5 6; do
7880 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7881 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7882 # Solaris 8's {/usr,}/bin/sh.
7883 touch sub
/conftst
$i.h
7885 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7887 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7888 # mode. It turns out that the SunPro C++ compiler does not properly
7889 # handle `-M -o', and we need to detect this. Also, some Intel
7890 # versions had trouble with output in subdirs
7891 am__obj
=sub
/conftest.
${OBJEXT-o}
7892 am__minus_obj
="-o $am__obj"
7895 # This depmode causes a compiler race in universal mode.
7896 test "$am__universal" = false ||
continue
7899 # after this tag, mechanisms are not by side-effect, so they'll
7900 # only be used when explicitly requested
7901 if test "x$enable_dependency_tracking" = xyes
; then
7907 msvisualcpp | msvcmsys
)
7908 # This compiler won't grok `-c -o', but also, the minuso test has
7909 # not run yet. These depmodes are late enough in the game, and
7910 # so weak that their functioning should not be impacted.
7911 am__obj
=conftest.
${OBJEXT-o}
7916 if depmode
=$depmode \
7917 source=sub
/conftest.c object
=$am__obj \
7918 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7919 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
7920 >/dev
/null
2>conftest.err
&&
7921 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7922 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7923 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
7924 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7925 # icc doesn't choke on unknown options, it will just issue warnings
7926 # or remarks (even with -Werror). So we grep stderr for any message
7927 # that says an option was ignored or not supported.
7928 # When given -MP, icc 7.0 and 7.1 complain thusly:
7929 # icc: Command line warning: ignoring option '-M'; no argument required
7930 # The diagnosis changed in icc 8.0:
7931 # icc: Command line remark: option '-MP' not supported
7932 if (grep 'ignoring option' conftest.err ||
7933 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7934 am_cv_CC_dependencies_compiler_type
=$depmode
7943 am_cv_CC_dependencies_compiler_type
=none
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
7948 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
7949 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
7952 test "x$enable_dependency_tracking" != xno \
7953 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
7955 am__fastdepCC_FALSE
='#'
7957 am__fastdepCC_TRUE
='#'
7958 am__fastdepCC_FALSE
=
7964 # --------------------- #
7965 # Checks for programs. #
7966 # --------------------- #
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7970 $as_echo_n "checking whether ln -s works... " >&6; }
7972 if test "$LN_S" = "ln -s"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7974 $as_echo "yes" >&6; }
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7977 $as_echo "no, using $LN_S" >&6; }
7980 if test -n "$ac_tool_prefix"; then
7981 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7982 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7986 $as_echo_n "(cached) " >&6
7988 if test -n "$RANLIB"; then
7989 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir
=.
7996 for ac_exec_ext
in '' $ac_executable_extensions; do
7997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7998 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8008 RANLIB
=$ac_cv_prog_RANLIB
8009 if test -n "$RANLIB"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8011 $as_echo "$RANLIB" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8019 if test -z "$ac_cv_prog_RANLIB"; then
8020 ac_ct_RANLIB
=$RANLIB
8021 # Extract the first word of "ranlib", so it can be a program name with args.
8022 set dummy ranlib
; ac_word
=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8026 $as_echo_n "(cached) " >&6
8028 if test -n "$ac_ct_RANLIB"; then
8029 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8035 test -z "$as_dir" && as_dir
=.
8036 for ac_exec_ext
in '' $ac_executable_extensions; do
8037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8038 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8049 if test -n "$ac_ct_RANLIB"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8051 $as_echo "$ac_ct_RANLIB" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8057 if test "x$ac_ct_RANLIB" = x
; then
8060 case $cross_compiling:$ac_tool_warned in
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8064 ac_tool_warned
=yes ;;
8066 RANLIB
=$ac_ct_RANLIB
8069 RANLIB
="$ac_cv_prog_RANLIB"
8073 if test -n "$ac_tool_prefix"; then
8074 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8075 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if test "${ac_cv_prog_AR+set}" = set; then :
8079 $as_echo_n "(cached) " >&6
8081 if test -n "$AR"; then
8082 ac_cv_prog_AR
="$AR" # Let the user override the test.
8084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir
=.
8089 for ac_exec_ext
in '' $ac_executable_extensions; do
8090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8091 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8102 if test -n "$AR"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8104 $as_echo "$AR" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8112 if test -z "$ac_cv_prog_AR"; then
8114 # Extract the first word of "ar", so it can be a program name with args.
8115 set dummy
ar; ac_word
=$2
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8117 $as_echo_n "checking for $ac_word... " >&6; }
8118 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8119 $as_echo_n "(cached) " >&6
8121 if test -n "$ac_ct_AR"; then
8122 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8128 test -z "$as_dir" && as_dir
=.
8129 for ac_exec_ext
in '' $ac_executable_extensions; do
8130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8131 ac_cv_prog_ac_ct_AR
="ar"
8132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8141 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8142 if test -n "$ac_ct_AR"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8144 $as_echo "$ac_ct_AR" >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8150 if test "x$ac_ct_AR" = x
; then
8153 case $cross_compiling:$ac_tool_warned in
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8157 ac_tool_warned
=yes ;;
8166 # ---------------------- #
8167 # Checks for libraries. #
8168 # ---------------------- #
8170 ac_config_files
="$ac_config_files Makefile import/Makefile"
8172 ac_config_commands
="$ac_config_commands default"
8174 cat >confcache
<<\_ACEOF
8175 # This file is a shell script that caches the results of configure
8176 # tests run on this system so they can be shared between configure
8177 # scripts and configure runs, see configure's option --config-cache.
8178 # It is not useful on other systems. If it contains results you don't
8179 # want to keep, you may remove or edit it.
8181 # config.status only pays attention to the cache file if you give it
8182 # the --recheck option to rerun configure.
8184 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8185 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8190 # The following way of writing the cache mishandles newlines in values,
8191 # but we know of no workaround that is simple, portable, and efficient.
8192 # So, we kill variables containing newlines.
8193 # Ultrix sh set writes to stderr and can't be redirected directly,
8194 # and sets the high bit in the cache file unless we assign to the vars.
8196 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8197 eval ac_val
=\$
$ac_var
8201 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8205 _ | IFS | as_nl
) ;; #(
8206 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8207 *) { eval $ac_var=; unset $ac_var;} ;;
8213 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8214 *${as_nl}ac_space
=\
*)
8215 # `set' does not quote correctly, so add quotes: double-quote
8216 # substitution turns \\\\ into \\, and sed turns \\ into \.
8219 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8222 # `set' quotes correctly as required by POSIX, so do not add quotes.
8223 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8232 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8234 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8236 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8237 if test -w "$cache_file"; then
8238 test "x$cache_file" != "x/dev/null" &&
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8240 $as_echo "$as_me: updating cache $cache_file" >&6;}
8241 cat confcache
>$cache_file
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8244 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8249 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8250 # Let make expand exec_prefix.
8251 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8253 DEFS
=-DHAVE_CONFIG_H
8257 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8258 # 1. Remove the extension, and $U if already installed.
8259 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8260 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8261 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8262 # will be set to the directory where LIBOBJS objects are built.
8263 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8264 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8268 LTLIBOBJS
=$ac_ltlibobjs
8271 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8272 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
8273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8275 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
8276 as_fn_error
"conditional \"GL_COND_LIBTOOL\" was never defined.
8277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8279 if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
8280 as_fn_error
"conditional \"GL_GENERATE_STDINT_H\" was never defined.
8281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8283 if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
8284 as_fn_error
"conditional \"GL_GENERATE_STDDEF_H\" was never defined.
8285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8290 if test -n "$gl_LIBOBJS"; then
8291 # Remove the extension.
8292 sed_drop_objext
='s/\.o$//;s/\.obj$//'
8293 for i
in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
8294 gl_libobjs
="$gl_libobjs $i.$ac_objext"
8295 gl_ltlibobjs
="$gl_ltlibobjs $i.lo"
8298 gl_LIBOBJS
=$gl_libobjs
8300 gl_LTLIBOBJS
=$gl_ltlibobjs
8306 if test -n "$gltests_LIBOBJS"; then
8307 # Remove the extension.
8308 sed_drop_objext
='s/\.o$//;s/\.obj$//'
8309 for i
in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
8310 gltests_libobjs
="$gltests_libobjs $i.$ac_objext"
8311 gltests_ltlibobjs
="$gltests_ltlibobjs $i.lo"
8314 gltests_LIBOBJS
=$gltests_libobjs
8316 gltests_LTLIBOBJS
=$gltests_ltlibobjs
8319 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8320 as_fn_error
"conditional \"AMDEP\" was never defined.
8321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8323 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8324 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8327 if test -n "$EXEEXT"; then
8329 am__EXEEXT_FALSE
='#'
8336 : ${CONFIG_STATUS=./config.status}
8338 ac_clean_files_save
=$ac_clean_files
8339 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8341 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8343 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8345 # Generated by $as_me.
8346 # Run this file to recreate the current configuration.
8347 # Compiler output produced by configure, useful for debugging
8348 # configure, is in config.log if it exists.
8354 SHELL=\${CONFIG_SHELL-$SHELL}
8357 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8358 ## -------------------- ##
8359 ## M4sh Initialization. ##
8360 ## -------------------- ##
8362 # Be more Bourne compatible
8363 DUALCASE
=1; export DUALCASE
# for MKS sh
8364 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8367 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8368 # is contrary to our usage. Disable this feature.
8369 alias -g '${1+"$@"}'='"$@"'
8370 setopt NO_GLOB_SUBST
8372 case `(set -o) 2>/dev/null` in #(
8384 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8385 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8387 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8388 # Prefer a ksh shell builtin over an external printf program on Solaris,
8389 # but without wasting forks for bash or zsh.
8390 if test -z "$BASH_VERSION$ZSH_VERSION" \
8391 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8392 as_echo='print
-r --'
8393 as_echo_n='print
-rn --'
8394 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8395 as_echo='printf %s
\n'
8396 as_echo_n='printf %s
'
8398 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8399 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8400 as_echo_n='/usr
/ucb
/echo -n'
8402 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8403 as_echo_n_body='eval
8407 expr "X$arg" : "X\\(.*\\)$as_nl";
8408 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8410 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8412 export as_echo_n_body
8413 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8416 as_echo='sh
-c $as_echo_body as_echo
'
8419 # The user is always right.
8420 if test "${PATH_SEPARATOR+set}" != set; then
8422 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8423 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8430 # We need space, tab and new line, in precisely that order. Quoting is
8431 # there to prevent editors from complaining about space-tab.
8432 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8433 # splitting by setting IFS to empty value.)
8436 # Find who we are. Look in the path if we contain no directory separator.
8438 *[\\/]* ) as_myself=$0 ;;
8439 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8443 test -z "$as_dir" && as_dir=.
8444 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8450 # We did not find ourselves, most probably we were run as `sh COMMAND'
8451 # in which case we are not to be found in the path.
8452 if test "x$as_myself" = x
; then
8455 if test ! -f "$as_myself"; then
8456 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8460 # Unset variables that we do not need and which cause bugs (e.g. in
8461 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8462 # suppresses any "Segmentation fault" message there. '((' could
8463 # trigger a bug in pdksh 5.2.14.
8464 for as_var
in BASH_ENV ENV MAIL MAILPATH
8465 do eval test x\
${$as_var+set} = xset \
8466 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8479 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8482 # as_fn_error ERROR [LINENO LOG_FD]
8483 # ---------------------------------
8484 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8485 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8486 # script with status $?, using 1 if that was 0.
8489 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8491 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8492 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8494 $as_echo "$as_me: error: $1" >&2
8495 as_fn_exit
$as_status
8499 # as_fn_set_status STATUS
8500 # -----------------------
8501 # Set $? to STATUS, without forking.
8505 } # as_fn_set_status
8509 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8519 # Portably unset VAR.
8522 { eval $1=; unset $1;}
8524 as_unset
=as_fn_unset
8525 # as_fn_append VAR VALUE
8526 # ----------------------
8527 # Append the text in VALUE to the end of the definition contained in VAR. Take
8528 # advantage of any shell optimizations that allow amortized linear growth over
8529 # repeated appends, instead of the typical quadratic growth present in naive
8531 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8532 eval 'as_fn_append ()
8543 # as_fn_arith ARG...
8544 # ------------------
8545 # Perform arithmetic evaluation on the ARGs, and store the result in the
8546 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8547 # must be portable across $(()) and expr.
8548 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8549 eval 'as_fn_arith ()
8556 as_val
=`expr "$@" || test $? -eq 1`
8561 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8562 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8568 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8569 as_basename
=basename
8574 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8580 as_me
=`$as_basename -- "$0" ||
8581 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8582 X"$0" : 'X\(//\)$' \| \
8583 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8585 sed '/^.*\/\([^/][^/]*\)\/*$/{
8599 # Avoid depending upon Character Ranges.
8600 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8601 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8602 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8603 as_cr_digits
='0123456789'
8604 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8606 ECHO_C
= ECHO_N
= ECHO_T
=
8607 case `echo -n x` in #(((((
8609 case `echo 'xy\c'` in
8610 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8612 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8619 rm -f conf$$ conf$$.exe conf$$.
file
8620 if test -d conf$$.dir
; then
8621 rm -f conf$$.dir
/conf$$.
file
8624 mkdir conf$$.dir
2>/dev
/null
8626 if (echo >conf$$.
file) 2>/dev
/null
; then
8627 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8629 # ... but there are two gotchas:
8630 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8631 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8632 # In both cases, we have to default to `cp -p'.
8633 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8635 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8643 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8644 rmdir conf$$.dir
2>/dev
/null
8649 # Create "$as_dir" as a directory, including parents if necessary.
8654 -*) as_dir
=.
/$as_dir;;
8656 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8660 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8661 *) as_qdir
=$as_dir;;
8663 as_dirs
="'$as_qdir' $as_dirs"
8664 as_dir
=`$as_dirname -- "$as_dir" ||
8665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8666 X"$as_dir" : 'X\(//\)[^/]' \| \
8667 X"$as_dir" : 'X\(//\)$' \| \
8668 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8669 $as_echo X"$as_dir" |
8670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8687 test -d "$as_dir" && break
8689 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8690 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8694 if mkdir
-p .
2>/dev
/null
; then
8695 as_mkdir_p
='mkdir -p "$as_dir"'
8697 test -d .
/-p && rmdir .
/-p
8701 if test -x / >/dev
/null
2>&1; then
8704 if ls -dL / >/dev
/null
2>&1; then
8711 if test -d "$1"; then
8717 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8718 ???[sx]*):;;*)false;;esac;fi
8722 as_executable_p
=$as_test_x
8724 # Sed expression to map a string onto a valid CPP name.
8725 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8727 # Sed expression to map a string onto a valid variable name.
8728 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8732 ## ----------------------------------- ##
8733 ## Main body of $CONFIG_STATUS script. ##
8734 ## ----------------------------------- ##
8736 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8739 # Save the log message, to keep $0 and so on meaningful, and to
8740 # report actual input values of CONFIG_FILES etc. instead of their
8741 # values after options handling.
8743 This file was extended by $as_me, which was
8744 generated by GNU Autoconf 2.64. Invocation command line was
8746 CONFIG_FILES = $CONFIG_FILES
8747 CONFIG_HEADERS = $CONFIG_HEADERS
8748 CONFIG_LINKS = $CONFIG_LINKS
8749 CONFIG_COMMANDS = $CONFIG_COMMANDS
8752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8757 case $ac_config_files in *"
8758 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8761 case $ac_config_headers in *"
8762 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8767 # Files that config.status was made for.
8768 config_files="$ac_config_files"
8769 config_headers="$ac_config_headers"
8770 config_commands="$ac_config_commands"
8774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8776 \`$as_me' instantiates files and other configuration actions
8777 from templates according to the current configuration. Unless the files
8778 and actions are specified as TAGs, all are instantiated by default.
8780 Usage: $0 [OPTION]... [TAG]...
8782 -h, --help print this help, then exit
8783 -V, --version print version number and configuration settings, then exit
8784 -q, --quiet, --silent
8785 do not print progress messages
8786 -d, --debug don't remove temporary files
8787 --recheck update $as_me by reconfiguring in the same conditions
8788 --file=FILE[:TEMPLATE]
8789 instantiate the configuration file FILE
8790 --header=FILE[:TEMPLATE]
8791 instantiate the configuration header FILE
8793 Configuration files:
8796 Configuration headers:
8799 Configuration commands:
8802 Report bugs to the package provider."
8805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8808 configured by $0, generated by GNU Autoconf 2.64,
8809 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8811 Copyright (C) 2009 Free Software Foundation, Inc.
8812 This config.status script is free software; the Free Software Foundation
8813 gives unlimited permission to copy, distribute and modify it."
8820 test -n "\$AWK" || AWK=awk
8823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8824 # The default lists apply if the user does not specify any file.
8830 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8831 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8842 # Handling of the options.
8843 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8845 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8846 $as_echo "$ac_cs_version"; exit ;;
8847 --debug |
--debu |
--deb |
--de |
--d |
-d )
8849 --file |
--fil |
--fi |
--f )
8852 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8854 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8855 ac_need_defaults
=false
;;
8856 --header |
--heade |
--head |
--hea )
8859 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8861 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8862 ac_need_defaults
=false
;;
8864 # Conflict between --help and --header
8865 as_fn_error
"ambiguous option: \`$1'
8866 Try \`$0 --help' for more information.";;
8867 --help |
--hel |
-h )
8868 $as_echo "$ac_cs_usage"; exit ;;
8869 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8870 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8874 -*) as_fn_error
"unrecognized option: \`$1'
8875 Try \`$0 --help' for more information." ;;
8877 *) as_fn_append ac_config_targets
" $1"
8878 ac_need_defaults
=false
;;
8884 ac_configure_extra_args
=
8886 if $ac_cs_silent; then
8888 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8893 if \$ac_cs_recheck; then
8894 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8896 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8897 CONFIG_SHELL='$SHELL'
8903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8907 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8908 ## Running $as_me. ##
8914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8918 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8924 # Handling of arguments.
8925 for ac_config_target
in $ac_config_targets
8927 case $ac_config_target in
8928 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8929 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8930 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8931 "import/Makefile") CONFIG_FILES
="$CONFIG_FILES import/Makefile" ;;
8932 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8934 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8939 # If the user did not use the arguments to specify the items to instantiate,
8940 # then the envvar interface is used. Set only those that are not.
8941 # We use the long form for the default assignment because of an extremely
8942 # bizarre bug on SunOS 4.1.3.
8943 if $ac_need_defaults; then
8944 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8945 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8946 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8949 # Have a temporary directory for convenience. Make it in the build tree
8950 # simply because there is no reason against having it here, and in addition,
8951 # creating and moving files from /tmp can sometimes cause problems.
8952 # Hook for its removal unless debugging.
8953 # Note that there is a small window in which the directory will not be cleaned:
8954 # after its creation but before its name has been assigned to `$tmp'.
8958 trap 'exit_status=$?
8959 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8961 trap 'as_fn_exit 1' 1 2 13 15
8963 # Create a (secure) tmp directory for tmp files.
8966 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8967 test -n "$tmp" && test -d "$tmp"
8970 tmp
=.
/conf$$
-$RANDOM
8971 (umask 077 && mkdir
"$tmp")
8972 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8974 # Set up the scripts for CONFIG_FILES section.
8975 # No need to generate them if there are no CONFIG_FILES.
8976 # This happens for instance with `./config.status config.h'.
8977 if test -n "$CONFIG_FILES"; then
8980 ac_cr
=`echo X | tr X '\015'`
8981 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8982 # But we know of no other shell where ac_cr would be empty at this
8983 # point, so we can use a bashism as a fallback.
8984 if test "x$ac_cr" = x
; then
8985 eval ac_cr
=\$
\'\\r
\'
8987 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8988 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8994 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8999 echo "cat >conf$$subs.awk <<_ACEOF" &&
9000 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9003 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9004 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9006 for ac_last_try in false false false false false :; do
9007 . ./conf$$subs.sh ||
9008 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9010 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9011 if test $ac_delim_n = $ac_delim_num; then
9013 elif $ac_last_try; then
9014 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9016 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9022 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9026 s/^/S["/; s
/!.
*/"]=/
9036 s/\(.\{148\}\).*/\1/
9038 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9043 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9050 s/\(.\{148\}\).*/\1/
9052 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9056 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9061 ' <conf$$subs.awk | sed '
9066 ' >>$CONFIG_STATUS || ac_write_fail=1
9067 rm -f conf$$subs.awk
9068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9070 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9071 for (key in S) S_is_set[key] = 1
9077 nfields = split(line, field, "@
")
9079 len = length(field[1])
9080 for (i = 2; i < nfields; i++) {
9082 keylen = length(key)
9083 if (S_is_set[key]) {
9085 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9086 len += length(value) + length(field[++i])
9097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9098 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9099 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9102 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9103 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
9106 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9107 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9108 # trailing colons and then remove the whole line if VPATH becomes empty
9109 # (actually we leave an empty line to preserve line numbers).
9110 if test "x
$srcdir" = x.; then
9111 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9115 s/^\([^=]*=[ ]*\):*/\1/
9121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9122 fi # test -n "$CONFIG_FILES"
9124 # Set up the scripts for CONFIG_HEADERS section.
9125 # No need to generate them if there are no CONFIG_HEADERS.
9126 # This happens for instance with `./config.status Makefile'.
9127 if test -n "$CONFIG_HEADERS"; then
9128 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9132 # Transform confdefs.h into an awk script `defines.awk', embedded as
9133 # here-document in config.status, that substitutes the proper values into
9134 # config.h.in to produce config.h.
9136 # Create a delimiter string that does not exist in confdefs.h, to ease
9137 # handling of long lines.
9139 for ac_last_try in false false :; do
9140 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9141 if test -z "$ac_t"; then
9143 elif $ac_last_try; then
9144 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
9146 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9150 # For the awk script, D is an array of macro values keyed by name,
9151 # likewise P contains macro parameters if any. Preserve backslash
9152 # newline sequences.
9154 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9156 s/.\{148\}/&'"$ac_delim"'/g
9159 s/^[ ]*#[ ]*define[ ][ ]*/ /
9166 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9168 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9172 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9173 D["\
1"]=" \
3\\\\\\n
"\\/p
9175 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9180 s/.\{148\}/&'"$ac_delim"'/g
9185 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9188 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9190 ' <confdefs.h | sed '
9191 s/'"$ac_delim"'/"\\\
9192 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9195 for (key in D) D_is_set[key] = 1
9198 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9200 split(line, arg, " ")
9201 if (arg[1] == "#") {
9205 defundef
= substr
(arg
[1], 2)
9208 split(mac1
, mac2
, "(") #)
9210 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9211 if (D_is_set
[macro
]) {
9212 # Preserve the white space surrounding the "#".
9213 print prefix
"define", macro P
[macro
] D
[macro
]
9216 # Replace #undef with comments. This is necessary, for example,
9217 # in the case of _POSIX_SOURCE, which is predefined and required
9218 # on some systems where configure will not decide to define it.
9219 if (defundef
== "undef") {
9220 print
"/*", prefix defundef
, macro
, "*/"
9228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9229 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
9230 fi # test -n "$CONFIG_HEADERS"
9233 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9238 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9240 case $ac_mode$ac_tag in
9242 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
9243 :[FH
]-) ac_tag
=-:-;;
9244 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9261 -) ac_f
="$tmp/stdin";;
9262 *) # Look for the file first in the build tree, then in the source tree
9263 # (if the path is not absolute). The absolute path cannot be DOS-style,
9264 # because $ac_f cannot contain `:'.
9268 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9270 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
9272 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9273 as_fn_append ac_file_inputs
" '$ac_f'"
9276 # Let's still pretend it is `configure' which instantiates (i.e., don't
9277 # use $as_me), people would be surprised to read:
9278 # /* config.h. Generated by config.status. */
9279 configure_input
='Generated from '`
9280 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9282 if test x
"$ac_file" != x-
; then
9283 configure_input
="$ac_file. $configure_input"
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9285 $as_echo "$as_me: creating $ac_file" >&6;}
9287 # Neutralize special characters interpreted by sed in replacement strings.
9288 case $configure_input in #(
9289 *\
&* |
*\|
* |
*\\* )
9290 ac_sed_conf_input
=`$as_echo "$configure_input" |
9291 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9292 *) ac_sed_conf_input
=$configure_input;;
9296 *:-:* |
*:-) cat >"$tmp/stdin" \
9297 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
9302 ac_dir
=`$as_dirname -- "$ac_file" ||
9303 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9304 X"$ac_file" : 'X\(//\)[^/]' \| \
9305 X"$ac_file" : 'X\(//\)$' \| \
9306 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9307 $as_echo X"$ac_file" |
9308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9325 as_dir
="$ac_dir"; as_fn_mkdir_p
9329 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9331 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9332 # A ".." for each directory in $ac_dir_suffix.
9333 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9334 case $ac_top_builddir_sub in
9335 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9336 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9339 ac_abs_top_builddir
=$ac_pwd
9340 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9341 # for backward compatibility:
9342 ac_top_builddir
=$ac_top_build_prefix
9345 .
) # We are building in place.
9347 ac_top_srcdir
=$ac_top_builddir_sub
9348 ac_abs_top_srcdir
=$ac_pwd ;;
9349 [\\/]* | ?
:[\\/]* ) # Absolute name.
9350 ac_srcdir
=$srcdir$ac_dir_suffix;
9351 ac_top_srcdir
=$srcdir
9352 ac_abs_top_srcdir
=$srcdir ;;
9354 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9355 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9356 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9358 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9368 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9369 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9373 [\\/$
]* | ?
:[\\/]* ) ;;
9374 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9379 # If the template does not know about datarootdir, expand it.
9380 # FIXME: This hack should be removed a few years after 2.60.
9381 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9392 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9393 *datarootdir
*) ac_datarootdir_seen
=yes;;
9394 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9396 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9399 ac_datarootdir_hack='
9400 s&@datadir@&$datadir&g
9401 s&@docdir@&$docdir&g
9402 s&@infodir@&$infodir&g
9403 s&@localedir@&$localedir&g
9404 s&@mandir@&$mandir&g
9405 s&\\\${datarootdir}&$datarootdir&g' ;;
9409 # Neutralize VPATH when `$srcdir' = `.'.
9410 # Shell code in configure.ac might set extrasub.
9411 # FIXME: do we really want to maintain this feature?
9412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9413 ac_sed_extra="$ac_vpsub
9416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9418 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9419 s|@configure_input@|
$ac_sed_conf_input|
;t t
9420 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9421 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9422 s
&@srcdir@
&$ac_srcdir&;t t
9423 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9424 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9425 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9426 s
&@builddir@
&$ac_builddir&;t t
9427 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9428 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9429 s
&@INSTALL@
&$ac_INSTALL&;t t
9430 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9431 $ac_datarootdir_hack
9433 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9434 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9436 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9437 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9438 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9440 which seems to be undefined. Please make sure it is defined." >&5
9441 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9442 which seems to be undefined. Please make sure it is defined." >&2;}
9446 -) cat "$tmp/out" && rm -f "$tmp/out";;
9447 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9449 || as_fn_error "could not create $ac_file" "$LINENO" 5
9455 if test x"$ac_file" != x-; then
9457 $as_echo "/* $configure_input */" \
9458 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9459 } >"$tmp/config.h" \
9460 || as_fn_error "could not create $ac_file" "$LINENO" 5
9461 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9463 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9466 mv "$tmp/config.h" "$ac_file" \
9467 || as_fn_error "could not create $ac_file" "$LINENO" 5
9470 $as_echo "/* $configure_input */" \
9471 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9472 || as_fn_error "could not create -" "$LINENO" 5
9474 # Compute "$ac_file"'s index
in $config_headers.
9477 for _am_header
in $config_headers :; do
9479 $_am_arg |
$_am_arg:* )
9482 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9485 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9486 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9487 X"$_am_arg" : 'X\(//\)[^/]' \| \
9488 X"$_am_arg" : 'X\(//\)$' \| \
9489 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9490 $as_echo X"$_am_arg" |
9491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9507 s/.*/./; q'`/stamp-h
$_am_stamp_count
9510 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9511 $as_echo "$as_me: executing $ac_file commands" >&6;}
9516 case $ac_file$ac_mode in
9517 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9518 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9519 # are listed without --file. Let's play safe and only enable the eval
9520 # if we detect the quoting.
9521 case $CONFIG_FILES in
9522 *\'*) eval set x
"$CONFIG_FILES" ;;
9523 *) set x
$CONFIG_FILES ;;
9528 # Strip MF so we end up with the name of the file.
9529 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9530 # Check whether this is an Automake generated Makefile or not.
9531 # We used to match only the files named `Makefile.in', but
9532 # some people rename them; so instead we look at the file content.
9533 # Grep'ing the first line is not enough: some people post-process
9534 # each Makefile.in and add a new line on top of each file to say so.
9535 # Grep'ing the whole file is not good either: AIX grep has a line
9536 # limit of 2048, but all sed's we know have understand at least 4000.
9537 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9538 dirpart
=`$as_dirname -- "$mf" ||
9539 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9540 X"$mf" : 'X\(//\)[^/]' \| \
9541 X"$mf" : 'X\(//\)$' \| \
9542 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9564 # Extract the definition of DEPDIR, am__include, and am__quote
9565 # from the Makefile without running `make'.
9566 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9567 test -z "$DEPDIR" && continue
9568 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9569 test -z "am__include" && continue
9570 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9571 # When using ansi2knr, U may be empty or an underscore; expand it
9572 U
=`sed -n 's/^U = //p' < "$mf"`
9573 # Find all dependency output files, they are included files with
9574 # $(DEPDIR) in their names. We invoke sed twice because it is the
9575 # simplest approach to changing $(DEPDIR) to its actual value in the
9577 for file in `sed -n "
9578 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9579 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9580 # Make sure the directory exists.
9581 test -f "$dirpart/$file" && continue
9582 fdir
=`$as_dirname -- "$file" ||
9583 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9584 X"$file" : 'X\(//\)[^/]' \| \
9585 X"$file" : 'X\(//\)$' \| \
9586 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9605 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9606 # echo "creating $dirpart/$file"
9607 echo '# dummy' > "$dirpart/$file"
9613 case x
$CONFIG_HEADERS in
9614 xconfig.h
:config.
in)
9625 ac_clean_files
=$ac_clean_files_save
9627 test $ac_write_fail = 0 ||
9628 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9631 # configure is writing to config.log, and then calls config.status.
9632 # config.status does its own redirection, appending to config.log.
9633 # Unfortunately, on DOS this fails, as config.log is still kept open
9634 # by configure, so config.status won't be able to write to it; its
9635 # output is simply discarded. So we exec the FD to /dev/null,
9636 # effectively closing config.log, so it can be properly (re)opened and
9637 # appended to by config.status. When coming back to configure, we
9638 # need to make the FD available again.
9639 if test "$no_create" != yes; then
9641 ac_config_status_args
=
9642 test "$silent" = yes &&
9643 ac_config_status_args
="$ac_config_status_args --quiet"
9645 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9647 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9648 # would make configure fail if this is the last instruction.
9649 $ac_cs_success || as_fn_exit $?
9651 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9653 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}