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
="server.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
618 INSTALL_STRIP_PROGRAM
635 NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
671 NEXT_AS_FIRST_DIRECTIVE_STRING_H
681 HAVE_SIGNED_SIG_ATOMIC_T
684 BITSIZEOF_SIG_ATOMIC_T
690 NEXT_AS_FIRST_DIRECTIVE_STDINT_H
694 HAVE_UNSIGNED_LONG_LONG_INT
696 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
699 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
704 APPLE_UNIVERSAL_BUILD
770 GL_COND_LIBTOOL_FALSE
817 MAINTAINER_MODE_FALSE
846 program_transform_name
859 enable_option_checking
860 enable_maintainer_mode
868 enable_inprocess_agent
869 enable_dependency_tracking
871 ac_precious_vars
='build_alias
882 # Initialize some variables set by options.
884 ac_init_version
=false
885 ac_unrecognized_opts
=
887 # The variables have the same names as the options, with
888 # dashes changed to underlines.
896 program_transform_name
=s
,x
,x
,
904 # Installation directory options.
905 # These are left unexpanded so users can "make install exec_prefix=/foo"
906 # and all the variables that are supposed to be based on exec_prefix
907 # by default will actually change.
908 # Use braces instead of parens because sh, perl, etc. also accept them.
909 # (The list follows the same order as the GNU Coding Standards.)
910 bindir
='${exec_prefix}/bin'
911 sbindir
='${exec_prefix}/sbin'
912 libexecdir
='${exec_prefix}/libexec'
913 datarootdir
='${prefix}/share'
914 datadir
='${datarootdir}'
915 sysconfdir
='${prefix}/etc'
916 sharedstatedir
='${prefix}/com'
917 localstatedir
='${prefix}/var'
918 includedir
='${prefix}/include'
919 oldincludedir
='/usr/include'
920 docdir
='${datarootdir}/doc/${PACKAGE}'
921 infodir
='${datarootdir}/info'
926 libdir
='${exec_prefix}/lib'
927 localedir
='${datarootdir}/locale'
928 mandir
='${datarootdir}/man'
934 # If the previous option needs an argument, assign it.
935 if test -n "$ac_prev"; then
936 eval $ac_prev=\
$ac_option
942 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
946 # Accept the important Cygnus configure options, so we can diagnose typos.
948 case $ac_dashdash$ac_option in
952 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
954 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
957 -build |
--build |
--buil |
--bui |
--bu)
958 ac_prev
=build_alias
;;
959 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
960 build_alias
=$ac_optarg ;;
962 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
963 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
964 ac_prev
=cache_file
;;
965 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
966 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
967 cache_file
=$ac_optarg ;;
970 cache_file
=config.cache
;;
972 -datadir |
--datadir |
--datadi |
--datad)
974 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
975 datadir
=$ac_optarg ;;
977 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
978 |
--dataroo |
--dataro |
--datar)
979 ac_prev
=datarootdir
;;
980 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
981 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
982 datarootdir
=$ac_optarg ;;
984 -disable-* |
--disable-*)
985 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
988 as_fn_error
"invalid feature name: $ac_useropt"
989 ac_useropt_orig
=$ac_useropt
990 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991 case $ac_user_opts in
995 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
996 ac_unrecognized_sep
=', ';;
998 eval enable_
$ac_useropt=no
;;
1000 -docdir |
--docdir |
--docdi |
--doc |
--do)
1002 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1003 docdir
=$ac_optarg ;;
1005 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1007 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1008 dvidir
=$ac_optarg ;;
1010 -enable-* |
--enable-*)
1011 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1014 as_fn_error
"invalid feature name: $ac_useropt"
1015 ac_useropt_orig
=$ac_useropt
1016 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in
1019 "enable_
$ac_useropt"
1021 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1022 ac_unrecognized_sep
=', ';;
1024 eval enable_
$ac_useropt=\
$ac_optarg ;;
1026 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1027 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1028 |
--exec |
--exe |
--ex)
1029 ac_prev
=exec_prefix
;;
1030 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1031 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1032 |
--exec=* |
--exe=* |
--ex=*)
1033 exec_prefix
=$ac_optarg ;;
1035 -gas |
--gas |
--ga |
--g)
1036 # Obsolete; use --with-gas.
1039 -help |
--help |
--hel |
--he |
-h)
1040 ac_init_help
=long
;;
1041 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1042 ac_init_help
=recursive
;;
1043 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1044 ac_init_help
=short
;;
1046 -host |
--host |
--hos |
--ho)
1047 ac_prev
=host_alias
;;
1048 -host=* |
--host=* |
--hos=* |
--ho=*)
1049 host_alias
=$ac_optarg ;;
1051 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1053 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1055 htmldir
=$ac_optarg ;;
1057 -includedir |
--includedir |
--includedi |
--included |
--include \
1058 |
--includ |
--inclu |
--incl |
--inc)
1059 ac_prev
=includedir
;;
1060 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1061 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1062 includedir
=$ac_optarg ;;
1064 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1066 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1067 infodir
=$ac_optarg ;;
1069 -libdir |
--libdir |
--libdi |
--libd)
1071 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1072 libdir
=$ac_optarg ;;
1074 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1075 |
--libexe |
--libex |
--libe)
1076 ac_prev
=libexecdir
;;
1077 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1078 |
--libexe=* |
--libex=* |
--libe=*)
1079 libexecdir
=$ac_optarg ;;
1081 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1082 ac_prev
=localedir
;;
1083 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1084 localedir
=$ac_optarg ;;
1086 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1087 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1088 ac_prev
=localstatedir
;;
1089 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1090 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1091 localstatedir
=$ac_optarg ;;
1093 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1095 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1096 mandir
=$ac_optarg ;;
1098 -nfp |
--nfp |
--nf)
1099 # Obsolete; use --without-fp.
1102 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1103 |
--no-cr |
--no-c |
-n)
1106 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1107 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1110 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1111 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1112 |
--oldin |
--oldi |
--old |
--ol |
--o)
1113 ac_prev
=oldincludedir
;;
1114 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1115 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1116 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1117 oldincludedir
=$ac_optarg ;;
1119 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1121 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1122 prefix
=$ac_optarg ;;
1124 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1125 |
--program-pre |
--program-pr |
--program-p)
1126 ac_prev
=program_prefix
;;
1127 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1128 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1129 program_prefix
=$ac_optarg ;;
1131 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1132 |
--program-suf |
--program-su |
--program-s)
1133 ac_prev
=program_suffix
;;
1134 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1135 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1136 program_suffix
=$ac_optarg ;;
1138 -program-transform-name |
--program-transform-name \
1139 |
--program-transform-nam |
--program-transform-na \
1140 |
--program-transform-n |
--program-transform- \
1141 |
--program-transform |
--program-transfor \
1142 |
--program-transfo |
--program-transf \
1143 |
--program-trans |
--program-tran \
1144 |
--progr-tra |
--program-tr |
--program-t)
1145 ac_prev
=program_transform_name
;;
1146 -program-transform-name=* |
--program-transform-name=* \
1147 |
--program-transform-nam=* |
--program-transform-na=* \
1148 |
--program-transform-n=* |
--program-transform-=* \
1149 |
--program-transform=* |
--program-transfor=* \
1150 |
--program-transfo=* |
--program-transf=* \
1151 |
--program-trans=* |
--program-tran=* \
1152 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1153 program_transform_name
=$ac_optarg ;;
1155 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1157 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1158 pdfdir
=$ac_optarg ;;
1160 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1162 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1165 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1166 |
-silent |
--silent |
--silen |
--sile |
--sil)
1169 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1171 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1173 sbindir
=$ac_optarg ;;
1175 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1176 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1177 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1179 ac_prev
=sharedstatedir
;;
1180 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1181 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1182 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1184 sharedstatedir
=$ac_optarg ;;
1186 -site |
--site |
--sit)
1188 -site=* |
--site=* |
--sit=*)
1191 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1193 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1194 srcdir
=$ac_optarg ;;
1196 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1197 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1198 ac_prev
=sysconfdir
;;
1199 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1200 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1201 sysconfdir
=$ac_optarg ;;
1203 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1204 ac_prev
=target_alias
;;
1205 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1206 target_alias
=$ac_optarg ;;
1208 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1211 -version |
--version |
--versio |
--versi |
--vers |
-V)
1212 ac_init_version
=: ;;
1215 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1218 as_fn_error
"invalid package name: $ac_useropt"
1219 ac_useropt_orig
=$ac_useropt
1220 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1221 case $ac_user_opts in
1225 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1226 ac_unrecognized_sep
=', ';;
1228 eval with_
$ac_useropt=\
$ac_optarg ;;
1230 -without-* |
--without-*)
1231 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1234 as_fn_error
"invalid package name: $ac_useropt"
1235 ac_useropt_orig
=$ac_useropt
1236 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1241 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1242 ac_unrecognized_sep
=', ';;
1244 eval with_
$ac_useropt=no
;;
1247 # Obsolete; use --with-x.
1250 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1251 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1252 ac_prev
=x_includes
;;
1253 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1254 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1255 x_includes
=$ac_optarg ;;
1257 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1258 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1259 ac_prev
=x_libraries
;;
1260 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1261 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1262 x_libraries
=$ac_optarg ;;
1264 -*) as_fn_error
"unrecognized option: \`$ac_option'
1265 Try \`$0 --help' for more information."
1269 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1270 # Reject names that are not valid shell variable names.
1271 case $ac_envvar in #(
1272 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1273 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1275 eval $ac_envvar=\
$ac_optarg
1276 export $ac_envvar ;;
1279 # FIXME: should be removed in autoconf 3.0.
1280 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1281 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1282 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1283 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1289 if test -n "$ac_prev"; then
1290 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1291 as_fn_error
"missing argument to $ac_option"
1294 if test -n "$ac_unrecognized_opts"; then
1295 case $enable_option_checking in
1297 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1298 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1302 # Check all directory arguments for consistency.
1303 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1304 datadir sysconfdir sharedstatedir localstatedir includedir \
1305 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1306 libdir localedir mandir
1308 eval ac_val
=\$
$ac_var
1309 # Remove trailing slashes.
1312 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1313 eval $ac_var=\
$ac_val;;
1315 # Be sure to have absolute directory names.
1317 [\\/$
]* | ?
:[\\/]* ) continue;;
1318 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1320 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1323 # There might be people who depend on the old broken behavior: `$host'
1324 # used to hold the argument of --host etc.
1325 # FIXME: To remove some day.
1328 target
=$target_alias
1330 # FIXME: To remove some day.
1331 if test "x$host_alias" != x
; then
1332 if test "x$build_alias" = x
; then
1333 cross_compiling
=maybe
1334 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1335 If a cross compiler is detected then cross compile mode will be used." >&2
1336 elif test "x$build_alias" != "x$host_alias"; then
1342 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1344 test "$silent" = yes && exec 6>/dev
/null
1347 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1348 ac_ls_di
=`ls -di .` &&
1349 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1350 as_fn_error
"working directory cannot be determined"
1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352 as_fn_error
"pwd does not report name of working directory"
1355 # Find the source files, if location was not specified.
1356 if test -z "$srcdir"; then
1357 ac_srcdir_defaulted
=yes
1358 # Try the directory containing this script, then the parent directory.
1359 ac_confdir
=`$as_dirname -- "$as_myself" ||
1360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1361 X"$as_myself" : 'X\(//\)[^/]' \| \
1362 X"$as_myself" : 'X\(//\)$' \| \
1363 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1364 $as_echo X"$as_myself" |
1365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1383 if test ! -r "$srcdir/$ac_unique_file"; then
1387 ac_srcdir_defaulted
=no
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1391 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1393 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1395 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1397 # When building in place, set srcdir=.
1398 if test "$ac_abs_confdir" = "$ac_pwd"; then
1401 # Remove unnecessary trailing slashes from srcdir.
1402 # Double slashes in file names in object file debugging info
1403 # mess up M-x gdb in Emacs.
1405 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1407 for ac_var
in $ac_precious_vars; do
1408 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1409 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1410 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1411 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1415 # Report the --help message.
1417 if test "$ac_init_help" = "long"; then
1418 # Omit some internal or obsolete options to make the list less imposing.
1419 # This message is too long to be a string in the A/UX 3.1 sh.
1421 \`configure' configures this package to adapt to many kinds of systems.
1423 Usage: $0 [OPTION]... [VAR=VALUE]...
1425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1426 VAR=VALUE. See below for descriptions of some of the useful variables.
1428 Defaults for the options are specified in brackets.
1431 -h, --help display this help and exit
1432 --help=short display options specific to this package
1433 --help=recursive display the short help of all the included packages
1434 -V, --version display version information and exit
1435 -q, --quiet, --silent do not print \`checking...' messages
1436 --cache-file=FILE cache test results in FILE [disabled]
1437 -C, --config-cache alias for \`--cache-file=config.cache'
1438 -n, --no-create do not create output files
1439 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1441 Installation directories:
1442 --prefix=PREFIX install architecture-independent files in PREFIX
1443 [$ac_default_prefix]
1444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1447 By default, \`make install' will install all the files in
1448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1450 for instance \`--prefix=\$HOME'.
1452 For better control, use the options below.
1454 Fine tuning of the installation directories:
1455 --bindir=DIR user executables [EPREFIX/bin]
1456 --sbindir=DIR system admin executables [EPREFIX/sbin]
1457 --libexecdir=DIR program executables [EPREFIX/libexec]
1458 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1459 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1460 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1461 --libdir=DIR object code libraries [EPREFIX/lib]
1462 --includedir=DIR C header files [PREFIX/include]
1463 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1464 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1465 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1466 --infodir=DIR info documentation [DATAROOTDIR/info]
1467 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1468 --mandir=DIR man documentation [DATAROOTDIR/man]
1469 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1470 --htmldir=DIR html documentation [DOCDIR]
1471 --dvidir=DIR dvi documentation [DOCDIR]
1472 --pdfdir=DIR pdf documentation [DOCDIR]
1473 --psdir=DIR ps documentation [DOCDIR]
1479 --program-prefix=PREFIX prepend PREFIX to installed program names
1480 --program-suffix=SUFFIX append SUFFIX to installed program names
1481 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1484 --build=BUILD configure
for building on BUILD
[guessed
]
1485 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1486 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1490 if test -n "$ac_init_help"; then
1495 --disable-option-checking ignore unrecognized
--enable/--with options
1496 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1497 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1498 --enable-maintainer-mode enable make rules and dependencies not useful
1499 (and sometimes confusing
) to the casual installer
1500 --enable-werror treat compile warnings as errors
1501 --enable-inprocess-agent
1503 --disable-dependency-tracking speeds up one-time build
1504 --enable-dependency-tracking do not reject slow dependency extractors
1507 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1508 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1509 --with-ust=PATH Specify prefix directory
for the installed UST package
1510 Equivalent to
--with-ust-include=PATH
/include
1511 plus
--with-ust-lib=PATH
/lib
1512 --with-ust-include=PATH Specify directory
for installed UST include files
1513 --with-ust-lib=PATH Specify the directory
for the installed UST library
1514 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1515 --with-bugurl=URL Direct users to URL to report a bug
1516 --with-libthread-db=PATH
1517 use given libthread_db directly
1519 Some influential environment variables
:
1520 CC C compiler
command
1521 CFLAGS C compiler flags
1522 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1523 nonstandard directory
<lib dir
>
1524 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1525 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1526 you have headers
in a nonstandard directory
<include dir
>
1529 Use these variables to override the choices made by
`configure' or to help
1530 it to find libraries and programs with nonstandard names/locations.
1532 Report bugs to the package provider.
1537 if test "$ac_init_help" = "recursive"; then
1538 # If there are subdirs, report their specific --help.
1539 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1540 test -d "$ac_dir" ||
1541 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1546 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1549 # A ".." for each directory in $ac_dir_suffix.
1550 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1551 case $ac_top_builddir_sub in
1552 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1556 ac_abs_top_builddir=$ac_pwd
1557 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1558 # for backward compatibility:
1559 ac_top_builddir=$ac_top_build_prefix
1562 .) # We are building in place.
1564 ac_top_srcdir=$ac_top_builddir_sub
1565 ac_abs_top_srcdir=$ac_pwd ;;
1566 [\\/]* | ?:[\\/]* ) # Absolute name.
1567 ac_srcdir=$srcdir$ac_dir_suffix;
1568 ac_top_srcdir=$srcdir
1569 ac_abs_top_srcdir=$srcdir ;;
1571 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1572 ac_top_srcdir=$ac_top_build_prefix$srcdir
1573 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1575 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1577 cd "$ac_dir" || { ac_status=$?; continue; }
1578 # Check for guested configure.
1579 if test -f "$ac_srcdir/configure.gnu"; then
1581 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1582 elif test -f "$ac_srcdir/configure"; then
1584 $SHELL "$ac_srcdir/configure" --help=recursive
1586 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1588 cd "$ac_pwd" || { ac_status=$?; break; }
1592 test -n "$ac_init_help" && exit $ac_status
1593 if $ac_init_version; then
1596 generated by GNU Autoconf 2.64
1598 Copyright (C) 2009 Free Software Foundation, Inc.
1599 This configure script is free software; the Free Software Foundation
1600 gives unlimited permission to copy, distribute and modify it.
1605 ## ------------------------ ##
1606 ## Autoconf initialization. ##
1607 ## ------------------------ ##
1609 # ac_fn_c_try_compile LINENO
1610 # --------------------------
1611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1612 ac_fn_c_try_compile ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 rm -f conftest.$ac_objext
1616 if { { ac_try="$ac_compile"
1618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1619 *) ac_try_echo
=$ac_try;;
1621 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_compile") 2>conftest.err
1625 if test -s conftest.err
; then
1626 grep -v '^ *+' conftest.err
>conftest.er1
1627 cat conftest.er1
>&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } && {
1632 test -z "$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1634 } && test -s conftest.
$ac_objext; then :
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.
$ac_ext >&5
1642 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1645 } # ac_fn_c_try_compile
1647 # ac_fn_c_try_cpp LINENO
1648 # ----------------------
1649 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1652 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1653 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } >/dev/null && {
1669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1679 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1685 # -------------------------------------------------------
1686 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1687 # the include files in INCLUDES and setting the cache variable VAR
1689 ac_fn_c_check_header_mongrel ()
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1694 $as_echo_n "checking for $2... " >&6; }
1695 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1696 $as_echo_n "(cached) " >&6
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700 $as_echo "$ac_res" >&6; }
1702 # Is the header compilable?
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1704 $as_echo_n "checking $2 usability... " >&6; }
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1710 if ac_fn_c_try_compile "$LINENO"; then :
1711 ac_header_compiler=yes
1713 ac_header_compiler=no
1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1717 $as_echo "$ac_header_compiler" >&6; }
1719 # Is the header present?
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1721 $as_echo_n "checking $2 presence... " >&6; }
1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1726 if ac_fn_c_try_cpp "$LINENO"; then :
1727 ac_header_preproc=yes
1729 ac_header_preproc=no
1731 rm -f conftest.err conftest.$ac_ext
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1733 $as_echo "$ac_header_preproc" >&6; }
1735 # So? What about this header?
1736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1739 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1741 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1745 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1747 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1749 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1751 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1753 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757 $as_echo_n "checking for $2... " >&6; }
1758 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1759 $as_echo_n "(cached) " >&6
1761 eval "$3=\$ac_header_compiler"
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1765 $as_echo "$ac_res" >&6; }
1767 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1769 } # ac_fn_c_check_header_mongrel
1771 # ac_fn_c_try_run LINENO
1772 # ----------------------
1773 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1774 # that executables *can* be run.
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 if { { ac_try="$ac_link"
1780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1781 *) ac_try_echo
=$ac_try;;
1783 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_link") 2>&5
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1789 { { case "(($ac_try" in
1790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_try") 2>&5
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; }; }; then :
1801 $as_echo "$as_me: program exited with status $ac_status" >&5
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1805 ac_retval=$ac_status
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1813 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1814 # -------------------------------------------------------
1815 # Tests whether HEADER exists and can be compiled using the include files in
1816 # INCLUDES, setting the cache variable VAR accordingly.
1817 ac_fn_c_check_header_compile ()
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821 $as_echo_n "checking for $2... " >&6; }
1822 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1823 $as_echo_n "(cached) " >&6
1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1830 if ac_fn_c_try_compile "$LINENO"; then :
1835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 } # ac_fn_c_check_header_compile
1844 # ac_fn_c_try_link LINENO
1845 # -----------------------
1846 # Try to link conftest.$ac_ext, and return whether this succeeded.
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 rm -f conftest.$ac_objext conftest$ac_exeext
1851 if { { ac_try="$ac_link"
1853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1854 *) ac_try_echo
=$ac_try;;
1856 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_link") 2>conftest.err
1860 if test -s conftest.err
; then
1861 grep -v '^ *+' conftest.err
>conftest.er1
1862 cat conftest.er1
>&5
1863 mv -f conftest.er1 conftest.err
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } && {
1867 test -z "$ac_c_werror_flag" ||
1868 test ! -s conftest.err
1869 } && test -s conftest
$ac_exeext && {
1870 test "$cross_compiling" = yes ||
1871 $as_test_x conftest
$ac_exeext
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.
$ac_ext >&5
1880 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1881 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1882 # interfere with the next link command; also delete a directory that is
1883 # left behind by Apple's compiler. We do this before executing the actions.
1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1885 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1888 } # ac_fn_c_try_link
1890 # ac_fn_c_check_func LINENO FUNC VAR
1891 # ----------------------------------
1892 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1893 ac_fn_c_check_func
()
1895 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1897 $as_echo_n "checking for $2... " >&6; }
1898 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1899 $as_echo_n "(cached) " >&6
1901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h. */
1903 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1905 #define $2 innocuous_$2
1907 /* System header to define __stub macros and hopefully few prototypes,
1908 which can conflict with char $2 (); below.
1909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1910 <limits.h> exists even on freestanding compilers. */
1913 # include <limits.h>
1915 # include <assert.h>
1920 /* Override any GCC internal prototype to avoid an error.
1921 Use char because int might match the return type of a GCC
1922 builtin and then its argument prototype would still apply. */
1927 /* The GNU C library defines this for functions which it implements
1928 to always fail with ENOSYS. Some functions are actually named
1929 something starting with __ and the normal name is an alias. */
1930 #if defined __stub_$2 || defined __stub___$2
1942 if ac_fn_c_try_link
"$LINENO"; then :
1947 rm -f core conftest.err conftest.
$ac_objext \
1948 conftest
$ac_exeext conftest.
$ac_ext
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1953 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1955 } # ac_fn_c_check_func
1957 # ac_fn_c_check_decl LINENO SYMBOL VAR
1958 # ------------------------------------
1959 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1960 ac_fn_c_check_decl
()
1962 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1963 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1964 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1966 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1967 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1968 $as_echo_n "(cached) " >&6
1970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1976 #ifndef $as_decl_name
1978 (void) $as_decl_use;
1980 (void) $as_decl_name;
1988 if ac_fn_c_try_compile
"$LINENO"; then :
1993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997 $as_echo "$ac_res" >&6; }
1998 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2000 } # ac_fn_c_check_decl
2002 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2003 # -------------------------------------------
2004 # Tests whether TYPE exists after having included INCLUDES, setting cache
2005 # variable VAR accordingly.
2006 ac_fn_c_check_type
()
2008 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2010 $as_echo_n "checking for $2... " >&6; }
2011 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2012 $as_echo_n "(cached) " >&6
2015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2016 /* end confdefs.h. */
2027 if ac_fn_c_try_compile
"$LINENO"; then :
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2040 if ac_fn_c_try_compile
"$LINENO"; then :
2045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2052 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2054 } # ac_fn_c_check_type
2056 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2057 # --------------------------------------------
2058 # Tries to find the compile-time value of EXPR in a program that includes
2059 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2061 ac_fn_c_compute_int
()
2063 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2064 if test "$cross_compiling" = yes; then
2065 # Depending upon the size, compute the lo and hi bounds.
2066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2072 static int test_array [1 - 2 * !(($2) >= 0)];
2079 if ac_fn_c_try_compile
"$LINENO"; then :
2082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2088 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2095 if ac_fn_c_try_compile
"$LINENO"; then :
2096 ac_hi
=$ac_mid; break
2098 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2099 if test $ac_lo -le $ac_mid; then
2103 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2114 static int test_array [1 - 2 * !(($2) < 0)];
2121 if ac_fn_c_try_compile
"$LINENO"; then :
2124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2125 /* end confdefs.h. */
2130 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2137 if ac_fn_c_try_compile
"$LINENO"; then :
2138 ac_lo
=$ac_mid; break
2140 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2141 if test $ac_mid -le $ac_hi; then
2145 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2155 # Binary search between lo and hi bounds.
2156 while test "x$ac_lo" != "x$ac_hi"; do
2157 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2164 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2171 if ac_fn_c_try_compile
"$LINENO"; then :
2174 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2179 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2186 static long int longval () { return $2; }
2187 static unsigned long int ulongval () { return $2; }
2194 FILE *f = fopen ("conftest.val", "w");
2199 long int i = longval ();
2202 fprintf (f, "%ld", i);
2206 unsigned long int i = ulongval ();
2209 fprintf (f, "%lu", i);
2211 /* Do not output a trailing newline, as this causes \r\n confusion
2212 on some platforms. */
2213 return ferror (f) || fclose (f) != 0;
2219 if ac_fn_c_try_run
"$LINENO"; then :
2220 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2224 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2225 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2229 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2232 } # ac_fn_c_compute_int
2233 cat >config.log
<<_ACEOF
2234 This file contains any messages produced by compilers while
2235 running configure, to aid debugging if configure makes a mistake.
2237 It was created by $as_me, which was
2238 generated by GNU Autoconf 2.64. Invocation command line was
2250 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2251 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2252 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2253 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2254 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2256 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2257 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2259 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2260 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2261 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2262 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2263 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2264 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2265 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir
=.
2274 $as_echo "PATH: $as_dir"
2290 # Keep a trace of the command line.
2291 # Strip out --no-create and --no-recursion so they do not pile up.
2292 # Strip out --silent because we don't want to record it for future runs.
2293 # Also quote any args containing shell meta-characters.
2294 # Make two passes to allow for proper duplicate-argument suppression.
2298 ac_must_keep_next
=false
2304 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2305 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2306 |
-silent |
--silent |
--silen |
--sile |
--sil)
2309 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2312 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2314 as_fn_append ac_configure_args1
" '$ac_arg'"
2315 if test $ac_must_keep_next = true
; then
2316 ac_must_keep_next
=false
# Got value, back to normal.
2319 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2320 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2321 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2322 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2323 case "$ac_configure_args0 " in
2324 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2327 -* ) ac_must_keep_next
=true
;;
2330 as_fn_append ac_configure_args
" '$ac_arg'"
2335 { ac_configure_args0
=; unset ac_configure_args0
;}
2336 { ac_configure_args1
=; unset ac_configure_args1
;}
2338 # When interrupted or exit'd, cleanup temporary files, and complete
2339 # config.log. We remove comments because anyway the quotes in there
2340 # would cause problems or look ugly.
2341 # WARNING: Use '\'' to represent an apostrophe within the trap.
2342 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2343 trap 'exit_status=$?
2344 # Save into config.log some information that might help in debugging.
2349 ## ---------------- ##
2350 ## Cache variables. ##
2351 ## ---------------- ##
2354 # The following way of writing the cache mishandles newlines in values,
2356 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2357 eval ac_val=\$$ac_var
2361 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2362 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2365 _ | IFS | as_nl) ;; #(
2366 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2367 *) { eval $ac_var=; unset $ac_var;} ;;
2372 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2373 *${as_nl}ac_space=\ *)
2375 "s/'\''/'\''\\\\'\'''\''/g;
2376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2387 ## ----------------- ##
2388 ## Output variables. ##
2389 ## ----------------- ##
2392 for ac_var in $ac_subst_vars
2394 eval ac_val=\$$ac_var
2396 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2398 $as_echo "$ac_var='\''$ac_val'\''"
2402 if test -n "$ac_subst_files"; then
2404 ## ------------------- ##
2405 ## File substitutions. ##
2406 ## ------------------- ##
2409 for ac_var
in $ac_subst_files
2411 eval ac_val
=\$
$ac_var
2413 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415 $as_echo "$ac_var='\''$ac_val'\''"
2420 if test -s confdefs.h; then
2430 test "$ac_signal" != 0 &&
2431 $as_echo "$as_me: caught signal $ac_signal"
2432 $as_echo "$as_me: exit $exit_status"
2434 rm -f core *.core core.conftest.* &&
2435 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2438 for ac_signal
in 1 2 13 15; do
2439 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2443 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2444 rm -f -r conftest
* confdefs.h
2446 $as_echo "/* confdefs.h */" > confdefs.h
2448 # Predefined preprocessor variables.
2450 cat >>confdefs.h
<<_ACEOF
2451 #define PACKAGE_NAME "$PACKAGE_NAME"
2454 cat >>confdefs.h
<<_ACEOF
2455 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2458 cat >>confdefs.h
<<_ACEOF
2459 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2462 cat >>confdefs.h
<<_ACEOF
2463 #define PACKAGE_STRING "$PACKAGE_STRING"
2466 cat >>confdefs.h
<<_ACEOF
2467 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2470 cat >>confdefs.h
<<_ACEOF
2471 #define PACKAGE_URL "$PACKAGE_URL"
2475 # Let the site file select an alternate cache file if it wants to.
2476 # Prefer an explicitly selected file to automatically selected ones.
2479 if test -n "$CONFIG_SITE"; then
2480 ac_site_file1
=$CONFIG_SITE
2481 elif test "x$prefix" != xNONE
; then
2482 ac_site_file1
=$prefix/share
/config.site
2483 ac_site_file2
=$prefix/etc
/config.site
2485 ac_site_file1
=$ac_default_prefix/share
/config.site
2486 ac_site_file2
=$ac_default_prefix/etc
/config.site
2488 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2490 test "x$ac_site_file" = xNONE
&& continue
2491 if test -r "$ac_site_file"; then
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2493 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2494 sed 's/^/| /' "$ac_site_file" >&5
2499 if test -r "$cache_file"; then
2500 # Some versions of bash will fail to source /dev/null (special
2501 # files actually), so we avoid doing that.
2502 if test -f "$cache_file"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2504 $as_echo "$as_me: loading cache $cache_file" >&6;}
2506 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2507 *) .
"./$cache_file";;
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2512 $as_echo "$as_me: creating cache $cache_file" >&6;}
2516 gl_header_list
="$gl_header_list sys/mman.h"
2517 gl_func_list
="$gl_func_list mprotect"
2518 gl_func_list
="$gl_func_list memchr"
2519 gl_header_list
="$gl_header_list stddef.h"
2520 gl_header_list
="$gl_header_list stdint.h"
2521 gl_header_list
="$gl_header_list wchar.h"
2522 gl_header_list
="$gl_header_list string.h"
2523 # Check that the precious variables saved in the cache have kept the same
2525 ac_cache_corrupted
=false
2526 for ac_var
in $ac_precious_vars; do
2527 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2528 eval ac_new_set
=\
$ac_env_${ac_var}_set
2529 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2530 eval ac_new_val
=\
$ac_env_${ac_var}_value
2531 case $ac_old_set,$ac_new_set in
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2534 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2535 ac_cache_corrupted
=: ;;
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2538 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2539 ac_cache_corrupted
=: ;;
2542 if test "x$ac_old_val" != "x$ac_new_val"; then
2543 # differences in whitespace do not lead to failure.
2544 ac_old_val_w
=`echo x $ac_old_val`
2545 ac_new_val_w
=`echo x $ac_new_val`
2546 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2548 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2549 ac_cache_corrupted
=:
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2552 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2553 eval $ac_var=\
$ac_old_val
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2556 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2558 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2561 # Pass precious variables to config.status.
2562 if test "$ac_new_set" = set; then
2564 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2565 *) ac_arg
=$ac_var=$ac_new_val ;;
2567 case " $ac_configure_args " in
2568 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2569 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2573 if $ac_cache_corrupted; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2577 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2578 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2580 ## -------------------- ##
2581 ## Main body of script. ##
2582 ## -------------------- ##
2585 ac_cpp
='$CPP $CPPFLAGS'
2586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2594 ac_config_headers
="$ac_config_headers config.h:config.in"
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2599 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2600 # Check whether --enable-maintainer-mode was given.
2601 if test "${enable_maintainer_mode+set}" = set; then :
2602 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2604 USE_MAINTAINER_MODE
=no
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2608 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2609 if test $USE_MAINTAINER_MODE = yes; then
2610 MAINTAINER_MODE_TRUE
=
2611 MAINTAINER_MODE_FALSE
='#'
2613 MAINTAINER_MODE_TRUE
='#'
2614 MAINTAINER_MODE_FALSE
=
2617 MAINT
=$MAINTAINER_MODE_TRUE
2622 ac_cpp
='$CPP $CPPFLAGS'
2623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2626 if test -n "$ac_tool_prefix"; then
2627 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2628 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2630 $as_echo_n "checking for $ac_word... " >&6; }
2631 if test "${ac_cv_prog_CC+set}" = set; then :
2632 $as_echo_n "(cached) " >&6
2634 if test -n "$CC"; then
2635 ac_cv_prog_CC
="$CC" # Let the user override the test.
2637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir
=.
2642 for ac_exec_ext
in '' $ac_executable_extensions; do
2643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 if test -n "$CC"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2657 $as_echo "$CC" >&6; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2660 $as_echo "no" >&6; }
2665 if test -z "$ac_cv_prog_CC"; then
2667 # Extract the first word of "gcc", so it can be a program name with args.
2668 set dummy gcc
; ac_word
=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2672 $as_echo_n "(cached) " >&6
2674 if test -n "$ac_ct_CC"; then
2675 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_ac_ct_CC
="gcc"
2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2695 if test -n "$ac_ct_CC"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2697 $as_echo "$ac_ct_CC" >&6; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2703 if test "x$ac_ct_CC" = x
; then
2706 case $cross_compiling:$ac_tool_warned in
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2710 ac_tool_warned
=yes ;;
2718 if test -z "$CC"; then
2719 if test -n "$ac_tool_prefix"; then
2720 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2721 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if test "${ac_cv_prog_CC+set}" = set; then :
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$CC"; then
2728 ac_cv_prog_CC
="$CC" # Let the user override the test.
2730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir
=.
2735 for ac_exec_ext
in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 if test -n "$CC"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2750 $as_echo "$CC" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2759 if test -z "$CC"; then
2760 # Extract the first word of "cc", so it can be a program name with args.
2761 set dummy cc
; ac_word
=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if test "${ac_cv_prog_CC+set}" = set; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$CC"; then
2768 ac_cv_prog_CC
="$CC" # Let the user override the test.
2771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir
=.
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2779 ac_prog_rejected
=yes
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 if test $ac_prog_rejected = yes; then
2791 # We found a bogon in the path, so make sure we never use it.
2792 set dummy
$ac_cv_prog_CC
2794 if test $# != 0; then
2795 # We chose a different compiler from the bogus one.
2796 # However, it has the same basename, so the bogon will be chosen
2797 # first if we set CC to just the basename; use the full file name.
2799 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2805 if test -n "$CC"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2807 $as_echo "$CC" >&6; }
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810 $as_echo "no" >&6; }
2815 if test -z "$CC"; then
2816 if test -n "$ac_tool_prefix"; then
2817 for ac_prog
in cl.exe
2819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2820 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if test "${ac_cv_prog_CC+set}" = set; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$CC"; then
2827 ac_cv_prog_CC
="$CC" # Let the user override the test.
2829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir
=.
2834 for ac_exec_ext
in '' $ac_executable_extensions; do
2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 if test -n "$CC"; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2849 $as_echo "$CC" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2856 test -n "$CC" && break
2859 if test -z "$CC"; then
2861 for ac_prog
in cl.exe
2863 # Extract the first word of "$ac_prog", so it can be a program name with args.
2864 set dummy
$ac_prog; ac_word
=$2
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866 $as_echo_n "checking for $ac_word... " >&6; }
2867 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2868 $as_echo_n "(cached) " >&6
2870 if test -n "$ac_ct_CC"; then
2871 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir
=.
2878 for ac_exec_ext
in '' $ac_executable_extensions; do
2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880 ac_cv_prog_ac_ct_CC
="$ac_prog"
2881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2891 if test -n "$ac_ct_CC"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2893 $as_echo "$ac_ct_CC" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2900 test -n "$ac_ct_CC" && break
2903 if test "x$ac_ct_CC" = x
; then
2906 case $cross_compiling:$ac_tool_warned in
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2910 ac_tool_warned
=yes ;;
2919 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2921 as_fn_error
"no acceptable C compiler found in \$PATH
2922 See \`config.log' for more details." "$LINENO" 5; }
2924 # Provide some information about the compiler.
2925 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2928 for ac_option
in --version -v -V -qversion; do
2929 { { ac_try
="$ac_compiler $ac_option >&5"
2931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2935 $as_echo "$ac_try_echo"; } >&5
2936 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2938 if test -s conftest.err; then
2940 ... rest of stderr output deleted ...
2941 10q' conftest.err >conftest.er1
2942 cat conftest.er1 >&5
2943 rm -f conftest.er1 conftest.err
2945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2946 test $ac_status = 0; }
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2960 ac_clean_files_save=$ac_clean_files
2961 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2962 # Try to create an executable without -o first, disregard a.out.
2963 # It will help us diagnose broken compilers, and finding out an intuition
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2966 $as_echo_n "checking for C compiler default output file name... " >&6; }
2967 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2969 # The possible output files:
2970 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2973 for ac_file in $ac_files
2976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2977 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2982 if { { ac_try="$ac_link_default"
2984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2985 *) ac_try_echo
=$ac_try;;
2987 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 $as_echo "$ac_try_echo"; } >&5
2989 (eval "$ac_link_default") 2>&5
2991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2992 test $ac_status = 0; }; then :
2993 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2994 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2995 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2996 # so that the user can short-circuit this test for compilers unknown to
2998 for ac_file
in $ac_files ''
3000 test -f "$ac_file" ||
continue
3002 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3005 # We found the default executable, but exeext='' is most
3009 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3011 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3013 # We set ac_cv_exeext here because the later test for it is not
3014 # safe: cross compilers may not add the suffix if given an `-o'
3015 # argument, so we may need to know it at that point already.
3016 # Even if this section looks crufty: it has the advantage of
3023 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3029 $as_echo "$ac_file" >&6; }
3030 if test -z "$ac_file"; then :
3031 $as_echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.
$ac_ext >&5
3034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3036 { as_fn_set_status
77
3037 as_fn_error
"C compiler cannot create executables
3038 See \`config.log' for more details." "$LINENO" 5; }; }
3040 ac_exeext
=$ac_cv_exeext
3042 # Check that the compiler produces executables we can run. If not, either
3043 # the compiler is broken, or we cross compile.
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3045 $as_echo_n "checking whether the C compiler works... " >&6; }
3046 # If not cross compiling, check that we can run a simple program.
3047 if test "$cross_compiling" != yes; then
3048 if { ac_try
='./$ac_file'
3049 { { case "(($ac_try" in
3050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3054 $as_echo "$ac_try_echo"; } >&5
3055 (eval "$ac_try") 2>&5
3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058 test $ac_status = 0; }; }; then
3061 if test "$cross_compiling" = maybe; then
3064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3066 as_fn_error "cannot run C compiled programs.
3067 If you meant to cross compile
, use \
`--host'.
3068 See \`config.log
' for more details." "$LINENO" 5; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3073 $as_echo "yes" >&6; }
3075 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3076 ac_clean_files=$ac_clean_files_save
3077 # Check that the compiler produces executables we can run. If not, either
3078 # the compiler is broken, or we cross compile.
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3080 $as_echo_n "checking whether we are cross compiling... " >&6; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3082 $as_echo "$cross_compiling" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3085 $as_echo_n "checking for suffix of executables... " >&6; }
3086 if { { ac_try="$ac_link"
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3092 $as_echo "$ac_try_echo"; } >&5
3093 (eval "$ac_link") 2>&5
3095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3096 test $ac_status = 0; }; then :
3097 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3098 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3099 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3101 for ac_file
in conftest.exe conftest conftest.
*; do
3102 test -f "$ac_file" ||
continue
3104 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3105 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3113 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3114 See \`config.log' for more details." "$LINENO" 5; }
3116 rm -f conftest
$ac_cv_exeext
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3118 $as_echo "$ac_cv_exeext" >&6; }
3120 rm -f conftest.
$ac_ext
3121 EXEEXT
=$ac_cv_exeext
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3124 $as_echo_n "checking for suffix of object files... " >&6; }
3125 if test "${ac_cv_objext+set}" = set; then :
3126 $as_echo_n "(cached) " >&6
3128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3139 rm -f conftest.o conftest.obj
3140 if { { ac_try
="$ac_compile"
3142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3146 $as_echo "$ac_try_echo"; } >&5
3147 (eval "$ac_compile") 2>&5
3149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3150 test $ac_status = 0; }; then :
3151 for ac_file in conftest.o conftest.obj conftest.*; do
3152 test -f "$ac_file" || continue;
3154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3155 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3160 $as_echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165 as_fn_error "cannot compute suffix of object files
: cannot compile
3166 See \
`config.log' for more details." "$LINENO" 5; }
3168 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3171 $as_echo "$ac_cv_objext" >&6; }
3172 OBJEXT=$ac_cv_objext
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3175 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3176 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3177 $as_echo_n "(cached) " >&6
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3193 if ac_fn_c_try_compile "$LINENO"; then :
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3203 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3204 if test $ac_compiler_gnu = yes; then
3209 ac_test_CFLAGS=${CFLAGS+set}
3210 ac_save_CFLAGS=$CFLAGS
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3212 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3213 if test "${ac_cv_prog_cc_g+set}" = set; then :
3214 $as_echo_n "(cached) " >&6
3216 ac_save_c_werror_flag=$ac_c_werror_flag
3217 ac_c_werror_flag=yes
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3231 if ac_fn_c_try_compile "$LINENO"; then :
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3246 if ac_fn_c_try_compile "$LINENO"; then :
3249 ac_c_werror_flag=$ac_save_c_werror_flag
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3262 if ac_fn_c_try_compile "$LINENO"; then :
3265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 ac_c_werror_flag=$ac_save_c_werror_flag
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3273 $as_echo "$ac_cv_prog_cc_g" >&6; }
3274 if test "$ac_test_CFLAGS" = set; then
3275 CFLAGS=$ac_save_CFLAGS
3276 elif test $ac_cv_prog_cc_g = yes; then
3277 if test "$GCC" = yes; then
3283 if test "$GCC" = yes; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3290 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3291 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3292 $as_echo_n "(cached) " >&6
3294 ac_cv_prog_cc_c89=no
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3300 #include <sys/types.h>
3301 #include <sys/stat.h>
3302 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3303 struct buf { int x; };
3304 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3305 static char *e (p, i)
3311 static char *f (char * (*g) (char **, int), char **p, ...)
3316 s = g (p, va_arg (v,int));
3321 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3322 function prototypes and stuff, but not '\xHH' hex character constants.
3323 These don't provoke an error unfortunately, instead are silently treated
3324 as 'x'. The following induces an error, until -std is added to get
3325 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3326 array size at least. It's necessary to write '\x00'==0 to get something
3327 that's true only with -std. */
3328 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3330 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3331 inside strings and character constants. */
3333 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3335 int test (int i, double x);
3336 struct s1 {int (*f) (int a);};
3337 struct s2 {int (*f) (double a);};
3338 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3344 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3349 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3350 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3352 CC="$ac_save_CC $ac_arg"
3353 if ac_fn_c_try_compile "$LINENO"; then :
3354 ac_cv_prog_cc_c89=$ac_arg
3356 rm -f core conftest.err conftest.$ac_objext
3357 test "x$ac_cv_prog_cc_c89" != "xno" && break
3359 rm -f conftest.$ac_ext
3364 case "x$ac_cv_prog_cc_c89" in
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3367 $as_echo "none needed" >&6; } ;;
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3370 $as_echo "unsupported" >&6; } ;;
3372 CC="$CC $ac_cv_prog_cc_c89"
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3374 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3376 if test "x$ac_cv_prog_cc_c89" != xno; then :
3381 ac_cpp='$CPP $CPPFLAGS'
3382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3386 if test -n "$ac_tool_prefix"; then
3387 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3388 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3390 $as_echo_n "checking for $ac_word... " >&6; }
3391 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3392 $as_echo_n "(cached) " >&6
3394 if test -n "$RANLIB"; then
3395 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401 test -z "$as_dir" && as_dir=.
3402 for ac_exec_ext in '' $ac_executable_extensions; do
3403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3404 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 RANLIB=$ac_cv_prog_RANLIB
3415 if test -n "$RANLIB"; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3417 $as_echo "$RANLIB" >&6; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420 $as_echo "no" >&6; }
3425 if test -z "$ac_cv_prog_RANLIB"; then
3426 ac_ct_RANLIB=$RANLIB
3427 # Extract the first word of "ranlib", so it can be a program name with args.
3428 set dummy ranlib; ac_word=$2
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3430 $as_echo_n "checking for $ac_word... " >&6; }
3431 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3432 $as_echo_n "(cached) " >&6
3434 if test -n "$ac_ct_RANLIB"; then
3435 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 test -z "$as_dir" && as_dir=.
3442 for ac_exec_ext in '' $ac_executable_extensions; do
3443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3444 ac_cv_prog_ac_ct_RANLIB="ranlib"
3445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3454 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3455 if test -n "$ac_ct_RANLIB"; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3457 $as_echo "$ac_ct_RANLIB" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3463 if test "x$ac_ct_RANLIB" = x; then
3466 case $cross_compiling:$ac_tool_warned in
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3470 ac_tool_warned=yes ;;
3472 RANLIB=$ac_ct_RANLIB
3475 RANLIB="$ac_cv_prog_RANLIB"
3479 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3480 for ac_t in install-sh install.sh shtool; do
3481 if test -f "$ac_dir/$ac_t"; then
3483 ac_install_sh="$ac_aux_dir/$ac_t -c"
3488 if test -z "$ac_aux_dir"; then
3489 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3492 # These three variables are undocumented and unsupported,
3493 # and are intended to be withdrawn in a future Autoconf release.
3494 # They can cause serious problems if a builder's source tree is in a directory
3495 # whose full name contains unusual characters.
3496 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3497 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3498 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3501 # Make sure we can run config.sub.
3502 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3503 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3506 $as_echo_n "checking build system type... " >&6; }
3507 if test "${ac_cv_build+set}" = set; then :
3508 $as_echo_n "(cached) " >&6
3510 ac_build_alias=$build_alias
3511 test "x$ac_build_alias" = x &&
3512 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3513 test "x$ac_build_alias" = x &&
3514 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3515 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3516 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3520 $as_echo "$ac_cv_build" >&6; }
3521 case $ac_cv_build in
3523 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3526 ac_save_IFS=$IFS; IFS='-'
3532 # Remember, the first character of IFS is used to create $*,
3533 # except with old shells:
3536 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3540 $as_echo_n "checking host system type... " >&6; }
3541 if test "${ac_cv_host+set}" = set; then :
3542 $as_echo_n "(cached) " >&6
3544 if test "x$host_alias" = x; then
3545 ac_cv_host=$ac_cv_build
3547 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3548 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3553 $as_echo "$ac_cv_host" >&6; }
3556 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3559 ac_save_IFS=$IFS; IFS='-'
3565 # Remember, the first character of IFS is used to create $*,
3566 # except with old shells:
3569 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3574 ac_cpp='$CPP $CPPFLAGS'
3575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3579 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3580 # On Suns, sometimes $CPP names a directory.
3581 if test -n "$CPP" && test -d "$CPP"; then
3584 if test -z "$CPP"; then
3585 if test "${ac_cv_prog_CPP+set}" = set; then :
3586 $as_echo_n "(cached) " >&6
3588 # Double quotes because CPP needs to be expanded
3589 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3592 for ac_c_preproc_warn_flag in '' yes
3594 # Use a header file that comes with gcc, so configuring glibc
3595 # with a fresh cross-compiler works.
3596 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3597 # <limits.h> exists even on freestanding compilers.
3598 # On the NeXT, cc -E runs the code through the compiler's parser,
3599 # not just through cpp. "Syntax error" is here to catch this case.
3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601 /* end confdefs.h. */
3603 # include <limits.h>
3605 # include <assert.h>
3609 if ac_fn_c_try_cpp "$LINENO"; then :
3612 # Broken: fails on valid input.
3615 rm -f conftest.err conftest.$ac_ext
3617 # OK, works on sane cases. Now check whether nonexistent headers
3618 # can be detected and how.
3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3621 #include <ac_nonexistent.h>
3623 if ac_fn_c_try_cpp "$LINENO"; then :
3624 # Broken: success on invalid input.
3627 # Passes both tests.
3631 rm -f conftest.err conftest.$ac_ext
3634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3635 rm -f conftest.err conftest.
$ac_ext
3636 if $ac_preproc_ok; then :
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3649 $as_echo "$CPP" >&6; }
3651 for ac_c_preproc_warn_flag
in '' yes
3653 # Use a header file that comes with gcc, so configuring glibc
3654 # with a fresh cross-compiler works.
3655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3656 # <limits.h> exists even on freestanding compilers.
3657 # On the NeXT, cc -E runs the code through the compiler's parser,
3658 # not just through cpp. "Syntax error" is here to catch this case.
3659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3662 # include <limits.h>
3664 # include <assert.h>
3668 if ac_fn_c_try_cpp
"$LINENO"; then :
3671 # Broken: fails on valid input.
3674 rm -f conftest.err conftest.
$ac_ext
3676 # OK, works on sane cases. Now check whether nonexistent headers
3677 # can be detected and how.
3678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3680 #include <ac_nonexistent.h>
3682 if ac_fn_c_try_cpp
"$LINENO"; then :
3683 # Broken: success on invalid input.
3686 # Passes both tests.
3690 rm -f conftest.err conftest.
$ac_ext
3693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3694 rm -f conftest.err conftest.
$ac_ext
3695 if $ac_preproc_ok; then :
3698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3700 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3701 See \`config.log' for more details." "$LINENO" 5; }
3705 ac_cpp
='$CPP $CPPFLAGS'
3706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3712 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3713 if test "${ac_cv_path_GREP+set}" = set; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -z "$GREP"; then
3717 ac_path_GREP_found
=false
3718 # Loop through the user's path and test for each of PROGNAME-LIST
3719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3720 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3723 test -z "$as_dir" && as_dir
=.
3724 for ac_prog
in grep ggrep
; do
3725 for ac_exec_ext
in '' $ac_executable_extensions; do
3726 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3728 # Check for GNU ac_path_GREP and select it if it is found.
3729 # Check for GNU $ac_path_GREP
3730 case `"$ac_path_GREP" --version 2>&1` in
3732 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3735 $as_echo_n 0123456789 >"conftest.in"
3738 cat "conftest.in" "conftest.in" >"conftest.tmp"
3739 mv "conftest.tmp" "conftest.in"
3740 cp "conftest.in" "conftest.nl"
3741 $as_echo 'GREP' >> "conftest.nl"
3742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3743 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3744 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3746 # Best one so far, save it but keep looking for a better one
3747 ac_cv_path_GREP
="$ac_path_GREP"
3748 ac_path_GREP_max
=$ac_count
3750 # 10*(2^10) chars as input seems more than enough
3751 test $ac_count -gt 10 && break
3753 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3756 $ac_path_GREP_found && break 3
3761 if test -z "$ac_cv_path_GREP"; then
3762 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3765 ac_cv_path_GREP
=$GREP
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3770 $as_echo "$ac_cv_path_GREP" >&6; }
3771 GREP
="$ac_cv_path_GREP"
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3775 $as_echo_n "checking for egrep... " >&6; }
3776 if test "${ac_cv_path_EGREP+set}" = set; then :
3777 $as_echo_n "(cached) " >&6
3779 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3780 then ac_cv_path_EGREP
="$GREP -E"
3782 if test -z "$EGREP"; then
3783 ac_path_EGREP_found
=false
3784 # Loop through the user's path and test for each of PROGNAME-LIST
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3786 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_prog
in egrep; do
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3793 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3794 # Check for GNU ac_path_EGREP and select it if it is found.
3795 # Check for GNU $ac_path_EGREP
3796 case `"$ac_path_EGREP" --version 2>&1` in
3798 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3801 $as_echo_n 0123456789 >"conftest.in"
3804 cat "conftest.in" "conftest.in" >"conftest.tmp"
3805 mv "conftest.tmp" "conftest.in"
3806 cp "conftest.in" "conftest.nl"
3807 $as_echo 'EGREP' >> "conftest.nl"
3808 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3809 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3810 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3811 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3812 # Best one so far, save it but keep looking for a better one
3813 ac_cv_path_EGREP
="$ac_path_EGREP"
3814 ac_path_EGREP_max
=$ac_count
3816 # 10*(2^10) chars as input seems more than enough
3817 test $ac_count -gt 10 && break
3819 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3822 $ac_path_EGREP_found && break 3
3827 if test -z "$ac_cv_path_EGREP"; then
3828 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3831 ac_cv_path_EGREP
=$EGREP
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3837 $as_echo "$ac_cv_path_EGREP" >&6; }
3838 EGREP
="$ac_cv_path_EGREP"
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3842 $as_echo_n "checking for ANSI C header files... " >&6; }
3843 if test "${ac_cv_header_stdc+set}" = set; then :
3844 $as_echo_n "(cached) " >&6
3846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3861 if ac_fn_c_try_compile
"$LINENO"; then :
3862 ac_cv_header_stdc
=yes
3864 ac_cv_header_stdc
=no
3866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3868 if test $ac_cv_header_stdc = yes; then
3869 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3876 $EGREP "memchr" >/dev
/null
2>&1; then :
3879 ac_cv_header_stdc
=no
3885 if test $ac_cv_header_stdc = yes; then
3886 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3893 $EGREP "free" >/dev
/null
2>&1; then :
3896 ac_cv_header_stdc
=no
3902 if test $ac_cv_header_stdc = yes; then
3903 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3904 if test "$cross_compiling" = yes; then :
3907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3911 #if ((' ' & 0x0FF) == 0x020)
3912 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3913 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3915 # define ISLOWER(c) \
3916 (('a' <= (c) && (c) <= 'i') \
3917 || ('j' <= (c) && (c) <= 'r') \
3918 || ('s' <= (c) && (c) <= 'z'))
3919 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3922 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3927 for (i = 0; i < 256; i++)
3928 if (XOR (islower (i), ISLOWER (i))
3929 || toupper (i) != TOUPPER (i))
3934 if ac_fn_c_try_run
"$LINENO"; then :
3937 ac_cv_header_stdc
=no
3939 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3940 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3946 $as_echo "$ac_cv_header_stdc" >&6; }
3947 if test $ac_cv_header_stdc = yes; then
3949 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3953 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3954 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3955 inttypes.h stdint.h unistd.h
3957 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3958 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3960 eval as_val
=\$
$as_ac_Header
3961 if test "x$as_val" = x
""yes; then :
3962 cat >>confdefs.h
<<_ACEOF
3963 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3974 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3975 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3982 if test "$MINIX" = yes; then
3984 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3987 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3990 $as_echo "#define _MINIX 1" >>confdefs.h
3997 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4004 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4005 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4006 $as_echo_n "(cached) " >&6
4008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4011 # define __EXTENSIONS__ 1
4012 $ac_includes_default
4021 if ac_fn_c_try_compile
"$LINENO"; then :
4022 ac_cv_safe_to_define___extensions__
=yes
4024 ac_cv_safe_to_define___extensions__
=no
4026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4029 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4030 test $ac_cv_safe_to_define___extensions__ = yes &&
4031 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4033 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4035 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4037 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4039 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4050 # Code from module arg-nonnull:
4051 # Code from module c++defs:
4052 # Code from module extensions:
4054 # Code from module include_next:
4055 # Code from module memchr:
4056 # Code from module memmem:
4057 # Code from module memmem-simple:
4058 # Code from module multiarch:
4059 # Code from module stddef:
4060 # Code from module stdint:
4061 # Code from module string:
4062 # Code from module warn-on-use:
4063 # Code from module wchar:
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4068 $as_echo_n "checking target system type... " >&6; }
4069 if test "${ac_cv_target+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 if test "x$target_alias" = x
; then
4073 ac_cv_target
=$ac_cv_host
4075 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4076 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4081 $as_echo "$ac_cv_target" >&6; }
4082 case $ac_cv_target in
4084 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
4086 target
=$ac_cv_target
4087 ac_save_IFS
=$IFS; IFS
='-'
4093 # Remember, the first character of IFS is used to create $*,
4094 # except with old shells:
4097 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4100 # The aliases save the names the user supplied, while $host etc.
4101 # will get canonicalized.
4102 test -n "$target_alias" &&
4103 test "$program_prefix$program_suffix$program_transform_name" = \
4105 program_prefix
=${target_alias}-
4108 # Find a good install program. We prefer a C program (faster),
4109 # so one script is as good as another. But avoid the broken or
4110 # incompatible versions:
4111 # SysV /etc/install, /usr/sbin/install
4112 # SunOS /usr/etc/install
4113 # IRIX /sbin/install
4115 # AmigaOS /C/install, which installs bootblocks on floppy discs
4116 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4117 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4118 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4119 # OS/2's system install, which has a completely different semantic
4120 # ./install, which can be erroneously created by make from ./install.sh.
4121 # Reject install programs that cannot install multiple files.
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4123 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4124 if test -z "$INSTALL"; then
4125 if test "${ac_cv_path_install+set}" = set; then :
4126 $as_echo_n "(cached) " >&6
4128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir
=.
4133 # Account for people who put trailing slashes in PATH elements.
4134 case $as_dir/ in #((
4135 .
/ | .
// |
/[cC
]/* | \
4136 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4137 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4140 # OSF1 and SCO ODT 3.0 have their own names for install.
4141 # Don't use installbsd from OSF since it installs stuff as root
4143 for ac_prog
in ginstall scoinst
install; do
4144 for ac_exec_ext
in '' $ac_executable_extensions; do
4145 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4146 if test $ac_prog = install &&
4147 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4148 # AIX install. It has an incompatible calling convention.
4150 elif test $ac_prog = install &&
4151 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4152 # program-specific install script used by HP pwplus--don't use.
4155 rm -rf conftest.one conftest.two conftest.dir
4156 echo one
> conftest.one
4157 echo two
> conftest.two
4159 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4160 test -s conftest.one
&& test -s conftest.two
&&
4161 test -s conftest.dir
/conftest.one
&&
4162 test -s conftest.dir
/conftest.two
4164 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4177 rm -rf conftest.one conftest.two conftest.dir
4180 if test "${ac_cv_path_install+set}" = set; then
4181 INSTALL
=$ac_cv_path_install
4183 # As a last resort, use the slow shell script. Don't cache a
4184 # value for INSTALL within a source directory, because that will
4185 # break other packages using the cache if that directory is
4186 # removed, or if the value is a relative name.
4187 INSTALL
=$ac_install_sh
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4191 $as_echo "$INSTALL" >&6; }
4193 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4194 # It thinks the first close brace ends the variable substitution.
4195 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4197 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4199 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4202 test "$program_prefix" != NONE
&&
4203 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4204 # Use a double $ so make ignores it.
4205 test "$program_suffix" != NONE
&&
4206 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4207 # Double any \ or $.
4208 # By default was `s,x,x', remove it if useless.
4209 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4210 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4214 $as_echo_n "checking for ANSI C header files... " >&6; }
4215 if test "${ac_cv_header_stdc+set}" = set; then :
4216 $as_echo_n "(cached) " >&6
4218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4233 if ac_fn_c_try_compile
"$LINENO"; then :
4234 ac_cv_header_stdc
=yes
4236 ac_cv_header_stdc
=no
4238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4240 if test $ac_cv_header_stdc = yes; then
4241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4248 $EGREP "memchr" >/dev
/null
2>&1; then :
4251 ac_cv_header_stdc
=no
4257 if test $ac_cv_header_stdc = yes; then
4258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4265 $EGREP "free" >/dev
/null
2>&1; then :
4268 ac_cv_header_stdc
=no
4274 if test $ac_cv_header_stdc = yes; then
4275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4276 if test "$cross_compiling" = yes; then :
4279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4283 #if ((' ' & 0x0FF) == 0x020)
4284 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4285 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4287 # define ISLOWER(c) \
4288 (('a' <= (c) && (c) <= 'i') \
4289 || ('j' <= (c) && (c) <= 'r') \
4290 || ('s' <= (c) && (c) <= 'z'))
4291 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4294 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4299 for (i = 0; i < 256; i++)
4300 if (XOR (islower (i), ISLOWER (i))
4301 || toupper (i) != TOUPPER (i))
4306 if ac_fn_c_try_run
"$LINENO"; then :
4309 ac_cv_header_stdc
=no
4311 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4312 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4318 $as_echo "$ac_cv_header_stdc" >&6; }
4319 if test $ac_cv_header_stdc = yes; then
4321 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4326 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4327 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4329 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4330 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
4331 $as_echo_n "(cached) " >&6
4333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335 #include <sys/types.h>
4347 if ac_fn_c_try_compile
"$LINENO"; then :
4348 eval "$as_ac_Header=yes"
4350 eval "$as_ac_Header=no"
4352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4354 eval ac_res
=\$
$as_ac_Header
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4356 $as_echo "$ac_res" >&6; }
4357 eval as_val
=\$
$as_ac_Header
4358 if test "x$as_val" = x
""yes; then :
4359 cat >>confdefs.h
<<_ACEOF
4360 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4363 ac_header_dirent
=$ac_hdr; break
4367 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4368 if test $ac_header_dirent = dirent.h
; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4370 $as_echo_n "checking for library containing opendir... " >&6; }
4371 if test "${ac_cv_search_opendir+set}" = set; then :
4372 $as_echo_n "(cached) " >&6
4374 ac_func_search_save_LIBS
=$LIBS
4375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4378 /* Override any GCC internal prototype to avoid an error.
4379 Use char because int might match the return type of a GCC
4380 builtin and then its argument prototype would still apply. */
4393 for ac_lib
in '' dir
; do
4394 if test -z "$ac_lib"; then
4395 ac_res
="none required"
4398 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4400 if ac_fn_c_try_link
"$LINENO"; then :
4401 ac_cv_search_opendir
=$ac_res
4403 rm -f core conftest.err conftest.
$ac_objext \
4405 if test "${ac_cv_search_opendir+set}" = set; then :
4409 if test "${ac_cv_search_opendir+set}" = set; then :
4412 ac_cv_search_opendir
=no
4415 LIBS
=$ac_func_search_save_LIBS
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4418 $as_echo "$ac_cv_search_opendir" >&6; }
4419 ac_res
=$ac_cv_search_opendir
4420 if test "$ac_res" != no
; then :
4421 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4427 $as_echo_n "checking for library containing opendir... " >&6; }
4428 if test "${ac_cv_search_opendir+set}" = set; then :
4429 $as_echo_n "(cached) " >&6
4431 ac_func_search_save_LIBS
=$LIBS
4432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4435 /* Override any GCC internal prototype to avoid an error.
4436 Use char because int might match the return type of a GCC
4437 builtin and then its argument prototype would still apply. */
4450 for ac_lib
in '' x
; do
4451 if test -z "$ac_lib"; then
4452 ac_res
="none required"
4455 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4457 if ac_fn_c_try_link
"$LINENO"; then :
4458 ac_cv_search_opendir
=$ac_res
4460 rm -f core conftest.err conftest.
$ac_objext \
4462 if test "${ac_cv_search_opendir+set}" = set; then :
4466 if test "${ac_cv_search_opendir+set}" = set; then :
4469 ac_cv_search_opendir
=no
4472 LIBS
=$ac_func_search_save_LIBS
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4475 $as_echo "$ac_cv_search_opendir" >&6; }
4476 ac_res
=$ac_cv_search_opendir
4477 if test "$ac_res" != no
; then :
4478 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4485 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4486 # for constant arguments. Useless!
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4488 $as_echo_n "checking for working alloca.h... " >&6; }
4489 if test "${ac_cv_working_alloca_h+set}" = set; then :
4490 $as_echo_n "(cached) " >&6
4492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4498 char *p = (char *) alloca (2 * sizeof (int));
4504 if ac_fn_c_try_link
"$LINENO"; then :
4505 ac_cv_working_alloca_h
=yes
4507 ac_cv_working_alloca_h
=no
4509 rm -f core conftest.err conftest.
$ac_objext \
4510 conftest
$ac_exeext conftest.
$ac_ext
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4513 $as_echo "$ac_cv_working_alloca_h" >&6; }
4514 if test $ac_cv_working_alloca_h = yes; then
4516 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4521 $as_echo_n "checking for alloca... " >&6; }
4522 if test "${ac_cv_func_alloca_works+set}" = set; then :
4523 $as_echo_n "(cached) " >&6
4525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4528 # define alloca __builtin_alloca
4531 # include <malloc.h>
4532 # define alloca _alloca
4534 # ifdef HAVE_ALLOCA_H
4535 # include <alloca.h>
4540 # ifndef alloca /* predefined by HP cc +Olibcalls */
4551 char *p = (char *) alloca (1);
4557 if ac_fn_c_try_link
"$LINENO"; then :
4558 ac_cv_func_alloca_works
=yes
4560 ac_cv_func_alloca_works
=no
4562 rm -f core conftest.err conftest.
$ac_objext \
4563 conftest
$ac_exeext conftest.
$ac_ext
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4566 $as_echo "$ac_cv_func_alloca_works" >&6; }
4568 if test $ac_cv_func_alloca_works = yes; then
4570 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4573 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4574 # that cause trouble. Some versions do not even contain alloca or
4575 # contain a buggy version. If you still want to use their alloca,
4576 # use ar to extract alloca.o from them instead of compiling alloca.c.
4578 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
4580 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4584 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4585 if test "${ac_cv_os_cray+set}" = set; then :
4586 $as_echo_n "(cached) " >&6
4588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4590 #if defined CRAY && ! defined CRAY2
4597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4598 $EGREP "webecray" >/dev
/null
2>&1; then :
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4607 $as_echo "$ac_cv_os_cray" >&6; }
4608 if test $ac_cv_os_cray = yes; then
4609 for ac_func
in _getb67 GETB67 getb67
; do
4610 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4611 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4612 eval as_val
=\$
$as_ac_var
4613 if test "x$as_val" = x
""yes; then :
4615 cat >>confdefs.h
<<_ACEOF
4616 #define CRAY_STACKSEG_END $ac_func
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4626 $as_echo_n "checking stack direction for C alloca... " >&6; }
4627 if test "${ac_cv_c_stack_direction+set}" = set; then :
4628 $as_echo_n "(cached) " >&6
4630 if test "$cross_compiling" = yes; then :
4631 ac_cv_c_stack_direction
=0
4633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635 $ac_includes_default
4637 find_stack_direction ()
4639 static char *addr = 0;
4644 return find_stack_direction ();
4647 return (&dummy > addr) ? 1 : -1;
4653 return find_stack_direction () < 0;
4656 if ac_fn_c_try_run
"$LINENO"; then :
4657 ac_cv_c_stack_direction
=1
4659 ac_cv_c_stack_direction
=-1
4661 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4662 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4667 $as_echo "$ac_cv_c_stack_direction" >&6; }
4668 cat >>confdefs.h
<<_ACEOF
4669 #define STACK_DIRECTION $ac_cv_c_stack_direction
4676 # Check for the 'make' the user wants to use.
4679 # Extract the first word of "$ac_prog", so it can be a program name with args.
4680 set dummy
$ac_prog; ac_word
=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if test "${ac_cv_prog_MAKE+set}" = set; then :
4684 $as_echo_n "(cached) " >&6
4686 if test -n "$MAKE"; then
4687 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir
=.
4694 for ac_exec_ext
in '' $ac_executable_extensions; do
4695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4696 ac_cv_prog_MAKE
="$ac_prog"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 MAKE
=$ac_cv_prog_MAKE
4707 if test -n "$MAKE"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4709 $as_echo "$MAKE" >&6; }
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4716 test -n "$MAKE" && break
4720 for ac_header
in sgtty.h termio.h termios.h sys
/reg.h string.h proc_service.h sys
/procfs.h thread_db.h linux
/elf.h stdlib.h unistd.h errno.h fcntl.h signal.h sys
/file.h malloc.h sys
/ioctl.h netinet
/in.h sys
/socket.h netdb.h netinet
/tcp.h arpa
/inet.h sys
/wait.h sys
/un.h
4722 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4723 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4724 eval as_val
=\$
$as_ac_Header
4725 if test "x$as_val" = x
""yes; then :
4726 cat >>confdefs.h
<<_ACEOF
4727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4734 for ac_func
in pread pwrite pread64 readlink
4736 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4737 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4738 eval as_val
=\$
$as_ac_var
4739 if test "x$as_val" = x
""yes; then :
4740 cat >>confdefs.h
<<_ACEOF
4741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4747 for ac_func
in vasprintf vsnprintf
4749 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4750 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4751 eval as_val
=\$
$as_ac_var
4752 if test "x$as_val" = x
""yes; then :
4753 cat >>confdefs.h
<<_ACEOF
4754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4758 case " $LIBOBJS " in
4759 *" $ac_func.$ac_objext "* ) ;;
4760 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
4774 # Check whether --with-ust was given.
4775 if test "${with_ust+set}" = set; then :
4780 # Check whether --with-ust_include was given.
4781 if test "${with_ust_include+set}" = set; then :
4782 withval
=$with_ust_include;
4786 # Check whether --with-ust_lib was given.
4787 if test "${with_ust_lib+set}" = set; then :
4788 withval
=$with_ust_lib;
4802 ustlibs
="-L$with_ust/lib -lust"
4803 ustinc
="-I$with_ust/include "
4806 if test "x$with_ust_include" != x
; then
4807 ustinc
="-I$with_ust_include "
4809 if test "x$with_ust_lib" != x
; then
4810 ustlibs
="-L$with_ust_lib -lust"
4813 if test "x$with_ust" != "xno"; then
4814 saved_CFLAGS
="$CFLAGS"
4815 CFLAGS
="$CFLAGS $ustinc"
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ust" >&5
4817 $as_echo_n "checking for ust... " >&6; }
4818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h. */
4821 #define CONFIG_UST_GDB_INTEGRATION
4822 #include <ust/ust.h>
4832 if ac_fn_c_try_compile
"$LINENO"; then :
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4834 $as_echo "yes" >&6; };
4835 $as_echo "#define HAVE_UST 1" >>confdefs.h
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }; ustlibs
= ; ustinc
=
4841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4842 CFLAGS
="$saved_CFLAGS"
4845 # Flags needed for UST
4849 # Check whether --enable-werror was given.
4850 if test "${enable_werror+set}" = set; then :
4851 enableval
=$enable_werror; case "${enableval}" in
4852 yes | y
) ERROR_ON_WARNING
="yes" ;;
4853 no | n
) ERROR_ON_WARNING
="no" ;;
4854 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
4859 # Enable -Werror by default when using gcc
4860 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4861 ERROR_ON_WARNING
=yes
4865 if test "${ERROR_ON_WARNING}" = yes ; then
4866 WERROR_CFLAGS
="-Werror"
4869 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
4870 -Wformat-nonliteral -Wno-char-subscripts"
4873 if test "x$GCC" = xyes
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
4876 $as_echo_n "checking compiler warning flags... " >&6; }
4877 # Separate out the -Werror flag as some files just cannot be
4878 # compiled with it enabled.
4879 for w
in ${build_warnings}; do
4881 -Werr*) WERROR_CFLAGS
=-Werror ;;
4882 *) # Check that GCC accepts it
4883 saved_CFLAGS
="$CFLAGS"
4885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4896 if ac_fn_c_try_compile
"$LINENO"; then :
4897 WARN_CFLAGS
="${WARN_CFLAGS} $w"
4899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4900 CFLAGS
="$saved_CFLAGS"
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
4904 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
4911 for ac_func in dladdr
4913 ac_fn_c_check_func "$LINENO" "dladdr
" "ac_cv_func_dladdr
"
4914 if test "x
$ac_cv_func_dladdr" = x""yes; then :
4915 cat >>confdefs.h <<_ACEOF
4916 #define HAVE_DLADDR 1
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for errno
" >&5
4926 $as_echo_n "checking
for errno...
" >&6; }
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4936 static int x; x = errno;
4941 if ac_fn_c_try_link "$LINENO"; then :
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes - in errno.h
" >&5
4943 $as_echo "yes - in errno.h
" >&6; };
4944 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
4947 rm -f core conftest.err conftest.
$ac_objext \
4948 conftest
$ac_exeext conftest.
$ac_ext
4949 if test $have_errno = no
; then
4950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4959 extern int errno; static int x; x = errno;
4964 if ac_fn_c_try_link
"$LINENO"; then :
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - must define" >&5
4966 $as_echo "yes - must define" >&6; };
4967 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
4969 $as_echo "#define MUST_DEFINE_ERRNO 1" >>confdefs.h
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4975 rm -f core conftest.err conftest.
$ac_objext \
4976 conftest
$ac_exeext conftest.
$ac_ext
4979 ac_fn_c_check_decl
"$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
4980 if test "x$ac_cv_have_decl_strerror" = x
""yes; then :
4986 cat >>confdefs.h
<<_ACEOF
4987 #define HAVE_DECL_STRERROR $ac_have_decl
4989 ac_fn_c_check_decl
"$LINENO" "perror" "ac_cv_have_decl_perror" "$ac_includes_default"
4990 if test "x$ac_cv_have_decl_perror" = x
""yes; then :
4996 cat >>confdefs.h
<<_ACEOF
4997 #define HAVE_DECL_PERROR $ac_have_decl
4999 ac_fn_c_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
5000 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
5006 cat >>confdefs.h
<<_ACEOF
5007 #define HAVE_DECL_MEMMEM $ac_have_decl
5009 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
5010 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
5016 cat >>confdefs.h
<<_ACEOF
5017 #define HAVE_DECL_VASPRINTF $ac_have_decl
5019 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
5020 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
5026 cat >>confdefs.h
<<_ACEOF
5027 #define HAVE_DECL_VSNPRINTF $ac_have_decl
5031 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
5032 #include <sys/socket.h>
5035 if test "x$ac_cv_type_socklen_t" = x
""yes; then :
5037 cat >>confdefs.h
<<_ACEOF
5038 #define HAVE_SOCKLEN_T 1
5045 ac_fn_c_check_type
"$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h>
5048 if test "x$ac_cv_type_Elf32_auxv_t" = x
""yes; then :
5050 cat >>confdefs.h
<<_ACEOF
5051 #define HAVE_ELF32_AUXV_T 1
5056 ac_fn_c_check_type
"$LINENO" "Elf64_auxv_t" "ac_cv_type_Elf64_auxv_t" "#include <elf.h>
5059 if test "x$ac_cv_type_Elf64_auxv_t" = x
""yes; then :
5061 cat >>confdefs.h
<<_ACEOF
5062 #define HAVE_ELF64_AUXV_T 1
5071 # Check whether --with-pkgversion was given.
5072 if test "${with_pkgversion+set}" = set; then :
5073 withval
=$with_pkgversion; case "$withval" in
5074 yes) as_fn_error
"package version not specified" "$LINENO" 5 ;;
5076 *) PKGVERSION
="($withval) " ;;
5087 # Check whether --with-bugurl was given.
5088 if test "${with_bugurl+set}" = set; then :
5089 withval
=$with_bugurl; case "$withval" in
5090 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
5093 *) BUGURL
="$withval"
5097 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
5107 REPORT_BUGS_TO
="<$BUGURL>"
5108 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
5115 cat >>confdefs.h
<<_ACEOF
5116 #define PKGVERSION "$PKGVERSION"
5120 cat >>confdefs.h
<<_ACEOF
5121 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
5125 # Check for various supplementary target information (beyond the
5126 # triplet) which might affect the choices in configure.srv.
5128 i
[34567]86-*-linux*)
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for x86-64" >&5
5130 $as_echo_n "checking if building for x86-64... " >&6; }
5131 if test "${gdb_cv_i386_is_x86_64+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5134 save_CPPFLAGS
="$CPPFLAGS"
5135 CPPFLAGS
="$CPPFLAGS $CFLAGS"
5136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5145 $EGREP "got it" >/dev
/null
2>&1; then :
5146 gdb_cv_i386_is_x86_64
=yes
5148 gdb_cv_i386_is_x86_64
=no
5152 CPPFLAGS
="$save_CPPFLAGS"
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_i386_is_x86_64" >&5
5155 $as_echo "$gdb_cv_i386_is_x86_64" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for Coldfire" >&5
5159 $as_echo_n "checking if building for Coldfire... " >&6; }
5160 if test "${gdb_cv_m68k_is_coldfire+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5163 save_CPPFLAGS
="$CPPFLAGS"
5164 CPPFLAGS
="$CPPFLAGS $CFLAGS"
5165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5168 #ifdef __mcoldfire__
5173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5174 $EGREP "got it" >/dev
/null
2>&1; then :
5175 gdb_cv_m68k_is_coldfire
=yes
5177 gdb_cv_m68k_is_coldfire
=no
5181 CPPFLAGS
="$save_CPPFLAGS"
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_m68k_is_coldfire" >&5
5184 $as_echo "$gdb_cv_m68k_is_coldfire" >&6; }
5188 .
${srcdir}/configure.srv
5190 if test "${srv_mingwce}" = "yes"; then
5192 elif test "${srv_mingw}" = "yes"; then
5193 LIBS
="$LIBS -lws2_32"
5194 elif test "${srv_qnx}" = "yes"; then
5195 LIBS
="$LIBS -lsocket"
5196 elif test "${srv_lynxos}" = "yes"; then
5197 LIBS
="$LIBS -lnetinet"
5200 if test "${srv_mingw}" = "yes"; then
5202 $as_echo "#define USE_WIN32API 1" >>confdefs.h
5206 if test "${srv_linux_usrregs}" = "yes"; then
5208 $as_echo "#define HAVE_LINUX_USRREGS 1" >>confdefs.h
5212 if test "${srv_linux_regsets}" = "yes"; then
5214 $as_echo "#define HAVE_LINUX_REGSETS 1" >>confdefs.h
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETREGS" >&5
5218 $as_echo_n "checking for PTRACE_GETREGS... " >&6; }
5219 if test "${gdbsrv_cv_have_ptrace_getregs+set}" = set; then :
5220 $as_echo_n "(cached) " >&6
5222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5224 #include <sys/ptrace.h>
5233 if ac_fn_c_try_compile
"$LINENO"; then :
5234 gdbsrv_cv_have_ptrace_getregs
=yes
5236 gdbsrv_cv_have_ptrace_getregs
=no
5238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getregs" >&5
5242 $as_echo "$gdbsrv_cv_have_ptrace_getregs" >&6; }
5243 if test "${gdbsrv_cv_have_ptrace_getregs}" = "yes"; then
5245 $as_echo "#define HAVE_PTRACE_GETREGS 1" >>confdefs.h
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETFPXREGS" >&5
5250 $as_echo_n "checking for PTRACE_GETFPXREGS... " >&6; }
5251 if test "${gdbsrv_cv_have_ptrace_getfpxregs+set}" = set; then :
5252 $as_echo_n "(cached) " >&6
5254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5256 #include <sys/ptrace.h>
5265 if ac_fn_c_try_compile
"$LINENO"; then :
5266 gdbsrv_cv_have_ptrace_getfpxregs
=yes
5268 gdbsrv_cv_have_ptrace_getfpxregs
=no
5270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getfpxregs" >&5
5274 $as_echo "$gdbsrv_cv_have_ptrace_getfpxregs" >&6; }
5275 if test "${gdbsrv_cv_have_ptrace_getfpxregs}" = "yes"; then
5277 $as_echo "#define HAVE_PTRACE_GETFPXREGS 1" >>confdefs.h
5282 if test "$ac_cv_header_sys_procfs_h" = yes; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in sys/procfs.h" >&5
5284 $as_echo_n "checking for lwpid_t in sys/procfs.h... " >&6; }
5285 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then :
5286 $as_echo_n "(cached) " >&6
5288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5292 /* Needed for new procfs interface on sparc-solaris. */
5293 #define _STRUCTURED_PROC 1
5294 #include <sys/procfs.h>
5303 if ac_fn_c_try_compile
"$LINENO"; then :
5304 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
5306 bfd_cv_have_sys_procfs_type_lwpid_t
=no
5309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5312 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
5314 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
5318 $as_echo "$bfd_cv_have_sys_procfs_type_lwpid_t" >&6; }
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in sys/procfs.h" >&5
5321 $as_echo_n "checking for psaddr_t in sys/procfs.h... " >&6; }
5322 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then :
5323 $as_echo_n "(cached) " >&6
5325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5329 /* Needed for new procfs interface on sparc-solaris. */
5330 #define _STRUCTURED_PROC 1
5331 #include <sys/procfs.h>
5340 if ac_fn_c_try_compile
"$LINENO"; then :
5341 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
5343 bfd_cv_have_sys_procfs_type_psaddr_t
=no
5346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5349 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
5351 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
5355 $as_echo "$bfd_cv_have_sys_procfs_type_psaddr_t" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prgregset_t in sys/procfs.h" >&5
5358 $as_echo_n "checking for prgregset_t in sys/procfs.h... " >&6; }
5359 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5366 /* Needed for new procfs interface on sparc-solaris. */
5367 #define _STRUCTURED_PROC 1
5368 #include <sys/procfs.h>
5377 if ac_fn_c_try_compile
"$LINENO"; then :
5378 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
5380 bfd_cv_have_sys_procfs_type_prgregset_t
=no
5383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5386 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
5388 $as_echo "#define HAVE_PRGREGSET_T 1" >>confdefs.h
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
5392 $as_echo "$bfd_cv_have_sys_procfs_type_prgregset_t" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_fpregset_t in sys/procfs.h" >&5
5395 $as_echo_n "checking for elf_fpregset_t in sys/procfs.h... " >&6; }
5396 if test "${bfd_cv_have_sys_procfs_type_elf_fpregset_t+set}" = set; then :
5397 $as_echo_n "(cached) " >&6
5399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5403 /* Needed for new procfs interface on sparc-solaris. */
5404 #define _STRUCTURED_PROC 1
5405 #include <sys/procfs.h>
5414 if ac_fn_c_try_compile
"$LINENO"; then :
5415 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=yes
5417 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=no
5420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5423 if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then
5425 $as_echo "#define HAVE_ELF_FPREGSET_T 1" >>confdefs.h
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&5
5429 $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
5435 $as_echo_n "checking for dlopen in -ldl... " >&6; }
5436 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
5437 $as_echo_n "(cached) " >&6
5439 ac_check_lib_save_LIBS
=$LIBS
5441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5442 /* end confdefs.h. */
5444 /* Override any GCC internal prototype to avoid an error.
5445 Use char because int might match the return type of a GCC
5446 builtin and then its argument prototype would still apply. */
5459 if ac_fn_c_try_link
"$LINENO"; then :
5460 ac_cv_lib_dl_dlopen
=yes
5462 ac_cv_lib_dl_dlopen
=no
5464 rm -f core conftest.err conftest.
$ac_objext \
5465 conftest
$ac_exeext conftest.
$ac_ext
5466 LIBS
=$ac_check_lib_save_LIBS
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
5469 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
5470 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
5471 cat >>confdefs.h
<<_ACEOF
5472 #define HAVE_LIBDL 1
5481 srv_thread_depfiles
=
5485 if test "$srv_linux_thread_db" = "yes"; then
5486 if test "$ac_cv_lib_dl_dlopen" = "yes"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the dynamic export flag" >&5
5489 $as_echo_n "checking for the dynamic export flag... " >&6; }
5490 old_LDFLAGS
="$LDFLAGS"
5491 # Older GNU ld supports --export-dynamic but --dynamic-list may not be
5493 RDYNAMIC
="-Wl,--dynamic-list=${srcdir}/proc-service.list"
5494 LDFLAGS
="$LDFLAGS $RDYNAMIC"
5495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5506 if ac_fn_c_try_link
"$LINENO"; then :
5507 found
="-Wl,--dynamic-list"
5508 RDYNAMIC
='-Wl,--dynamic-list=$(srcdir)/proc-service.list'
5510 RDYNAMIC
="-rdynamic"
5511 LDFLAGS
="$old_LDFLAGS $RDYNAMIC"
5512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5523 if ac_fn_c_try_link
"$LINENO"; then :
5529 rm -f core conftest.err conftest.
$ac_objext \
5530 conftest
$ac_exeext conftest.
$ac_ext
5532 rm -f core conftest.err conftest.
$ac_objext \
5533 conftest
$ac_exeext conftest.
$ac_ext
5535 LDFLAGS
="$old_LDFLAGS"
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
5537 $as_echo "$found" >&6; }
5539 srv_libs
="-lthread_db"
5542 srv_thread_depfiles
="thread-db.o proc-service.o"
5543 USE_THREAD_DB
="-DUSE_THREAD_DB"
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TD_VERSION" >&5
5545 $as_echo_n "checking for TD_VERSION... " >&6; }
5546 if test "${gdbsrv_cv_have_td_version+set}" = set; then :
5547 $as_echo_n "(cached) " >&6
5549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5551 #include <thread_db.h>
5560 if ac_fn_c_try_compile
"$LINENO"; then :
5561 gdbsrv_cv_have_td_version
=yes
5563 gdbsrv_cv_have_td_version
=no
5565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_td_version" >&5
5568 $as_echo "$gdbsrv_cv_have_td_version" >&6; }
5569 if test $gdbsrv_cv_have_td_version = yes; then
5571 $as_echo "#define HAVE_TD_VERSION 1" >>confdefs.h
5577 # Check whether --with-libthread-db was given.
5578 if test "${with_libthread_db+set}" = set; then :
5579 withval
=$with_libthread_db; srv_libthread_db_path
="${withval}"
5580 srv_libs
="$srv_libthread_db_path"
5585 if test "$srv_libs" != "" -a "$srv_libs" != "-ldl"; then
5587 $as_echo "#define USE_LIBTHREAD_DB_DIRECTLY 1" >>confdefs.h
5591 if test "$srv_xmlfiles" != ""; then
5592 srv_xmlbuiltin
="xml-builtin.o"
5594 $as_echo "#define USE_XML 1" >>confdefs.h
5597 tmp_xmlfiles
=$srv_xmlfiles
5599 for f
in $tmp_xmlfiles; do
5600 srv_xmlfiles
="$srv_xmlfiles \$(XML_DIR)/$f"
5604 GDBSERVER_DEPFILES
="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles"
5605 GDBSERVER_LIBS
="$srv_libs"
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
5608 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
5609 if test "${gdbsrv_cv_have_sync_builtins+set}" = set; then :
5610 $as_echo_n "(cached) " >&6
5613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5614 /* end confdefs.h. */
5619 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
5624 if ac_fn_c_try_link
"$LINENO"; then :
5625 gdbsrv_cv_have_sync_builtins
=yes
5627 gdbsrv_cv_have_sync_builtins
=no
5629 rm -f core conftest.err conftest.
$ac_objext \
5630 conftest
$ac_exeext conftest.
$ac_ext
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_sync_builtins" >&5
5633 $as_echo "$gdbsrv_cv_have_sync_builtins" >&6; }
5634 if test $gdbsrv_cv_have_sync_builtins = yes; then
5636 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
5640 saved_cflags
="$CFLAGS"
5641 CFLAGS
="$CFLAGS -fvisibility=hidden"
5642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5653 if ac_fn_c_try_compile
"$LINENO"; then :
5654 gdbsrv_cv_have_visibility_hidden
=yes
5656 gdbsrv_cv_have_visibility_hidden
=no
5658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5659 CFLAGS
="$saved_cflags"
5661 ac_fn_c_check_decl
"$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include <sys/personality.h>
5663 if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = x
""yes; then :
5669 cat >>confdefs.h
<<_ACEOF
5670 #define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
5674 if test "$cross_compiling" = yes; then :
5675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5677 #include <sys/personality.h>
5682 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
5683 # define ADDR_NO_RANDOMIZE 0x0040000
5685 /* Test the flag could be set and stays set. */
5686 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
5687 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
5693 if ac_fn_c_try_link
"$LINENO"; then :
5694 gdbsrv_cv_have_personality
=true
5696 gdbsrv_cv_have_personality
=false
5698 rm -f core conftest.err conftest.
$ac_objext \
5699 conftest
$ac_exeext conftest.
$ac_ext
5701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5703 #include <sys/personality.h>
5708 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
5709 # define ADDR_NO_RANDOMIZE 0x0040000
5711 /* Test the flag could be set and stays set. */
5712 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
5713 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
5719 if ac_fn_c_try_run
"$LINENO"; then :
5720 gdbsrv_cv_have_personality
=true
5722 gdbsrv_cv_have_personality
=false
5724 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5725 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5728 if $gdbsrv_cv_have_personality
5731 $as_echo "#define HAVE_PERSONALITY 1" >>confdefs.h
5739 # check whether to enable the inprocess agent
5740 if test "$ipa_obj" != "" \
5741 -a "$gdbsrv_cv_have_sync_builtins" = yes \
5742 -a "$gdbsrv_cv_have_visibility_hidden" = yes; then
5748 # Check whether --enable-inprocess-agent was given.
5749 if test "${enable_inprocess_agent+set}" = set; then :
5750 enableval
=$enable_inprocess_agent; case "$enableval" in
5751 yes) want_ipa
=true
;;
5752 no
) want_ipa
=false
;;
5753 *) as_fn_error
"bad value $enableval for inprocess-agent" "$LINENO" 5 ;;
5762 IPA_DEPFILES
="$ipa_obj"
5763 extra_libraries
="$extra_libraries libinproctrace.so"
5765 as_fn_error
"inprocess agent not supported for this target" "$LINENO" 5
5781 LIBC_FATAL_STDERR_
=1
5782 export LIBC_FATAL_STDERR_
5788 for ac_header
in $gl_header_list
5790 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5791 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5792 eval as_val
=\$
$as_ac_Header
5793 if test "x$as_val" = x
""yes; then :
5794 cat >>confdefs.h
<<_ACEOF
5795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5810 for ac_func
in $gl_func_list
5812 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5813 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5814 eval as_val
=\$
$as_ac_var
5815 if test "x$as_val" = x
""yes; then :
5816 cat >>confdefs.h
<<_ACEOF
5817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5843 GNULIB_STRCASESTR
=0;
5850 GNULIB_MBSCASECMP
=0;
5851 GNULIB_MBSNCASECMP
=0;
5852 GNULIB_MBSPCASECMP
=0;
5853 GNULIB_MBSCASESTR
=0;
5861 GNULIB_STRVERSCMP
=0;
5866 HAVE_DECL_MEMRCHR
=1;
5872 HAVE_DECL_STRNDUP
=1;
5873 HAVE_DECL_STRNLEN
=1;
5877 HAVE_DECL_STRTOK_R
=1;
5878 HAVE_DECL_STRSIGNAL
=1;
5885 REPLACE_STRCASESTR
=0;
5890 REPLACE_STRSIGNAL
=0;
5892 UNDEFINE_STRTOK_R
=0;
5906 # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
5907 # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
5908 # irrelevant for anonymous mappings.
5909 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
5910 if test "x$ac_cv_func_mmap" = x
""yes; then :
5917 # Try to allow MAP_ANONYMOUS.
5918 gl_have_mmap_anonymous
=no
5919 if test $gl_have_mmap = yes; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
5921 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
5922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5925 #include <sys/mman.h>
5926 #ifdef MAP_ANONYMOUS
5927 I cant identify this map.
5931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5932 $EGREP "I cant identify this map." >/dev
/null
2>&1; then :
5933 gl_have_mmap_anonymous
=yes
5937 if test $gl_have_mmap_anonymous != yes; then
5938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5939 /* end confdefs.h. */
5941 #include <sys/mman.h>
5943 I cant identify this map.
5947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5948 $EGREP "I cant identify this map." >/dev
/null
2>&1; then :
5950 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
5952 gl_have_mmap_anonymous
=yes
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
5958 $as_echo "$gl_have_mmap_anonymous" >&6; }
5959 if test $gl_have_mmap_anonymous = yes; then
5961 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
5989 if test $ac_cv_func_memchr = yes; then
5990 # Detect platform-specific bugs in some versions of glibc:
5991 # memchr should not dereference anything with length 0
5992 # http://bugzilla.redhat.com/499689
5993 # memchr should not dereference overestimated length after a match
5994 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
5995 # http://sourceware.org/bugzilla/show_bug.cgi?id=10162
5996 # Assume that memchr works on platforms that lack mprotect.
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
5998 $as_echo_n "checking whether memchr works... " >&6; }
5999 if test "${gl_cv_func_memchr_works+set}" = set; then :
6000 $as_echo_n "(cached) " >&6
6002 if test "$cross_compiling" = yes; then :
6003 gl_cv_func_memchr_works
="guessing no"
6005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6011 # include <unistd.h>
6012 # include <sys/types.h>
6013 # include <sys/mman.h>
6024 #if HAVE_SYS_MMAN_H && HAVE_MPROTECT
6025 # if HAVE_MAP_ANONYMOUS
6026 const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
6028 # else /* !HAVE_MAP_ANONYMOUS */
6029 const int flags = MAP_FILE | MAP_PRIVATE;
6030 int fd = open ("/dev/zero", O_RDONLY, 0666);
6034 int pagesize = getpagesize ();
6036 (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
6038 if (two_pages != (char *)(-1)
6039 && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
6040 fence = two_pages + pagesize;
6045 if (memchr (fence, 0, 0))
6047 strcpy (fence - 9, "12345678");
6048 if (memchr (fence - 9, 0, 79) != fence - 1)
6057 if ac_fn_c_try_run
"$LINENO"; then :
6058 gl_cv_func_memchr_works
=yes
6060 gl_cv_func_memchr_works
=no
6062 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6063 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
6068 $as_echo "$gl_cv_func_memchr_works" >&6; }
6069 if test "$gl_cv_func_memchr_works" != yes; then
6075 if test $HAVE_MEMCHR = 0 ||
test $REPLACE_MEMCHR = 1; then
6084 gl_LIBOBJS
="$gl_LIBOBJS memchr.$ac_objext"
6087 for ac_header
in bp-sym.h
6089 ac_fn_c_check_header_mongrel
"$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
6090 if test "x$ac_cv_header_bp_sym_h" = x
""yes; then :
6091 cat >>confdefs.h
<<_ACEOF
6092 #define HAVE_BP_SYM_H 1
6103 ac_fn_c_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
6104 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
6110 cat >>confdefs.h
<<_ACEOF
6111 #define HAVE_DECL_MEMMEM $ac_have_decl
6127 for ac_func
in memmem
6129 ac_fn_c_check_func
"$LINENO" "memmem" "ac_cv_func_memmem"
6130 if test "x$ac_cv_func_memmem" = x
""yes; then :
6131 cat >>confdefs.h
<<_ACEOF
6132 #define HAVE_MEMMEM 1
6137 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
6150 if test $ac_cv_have_decl_memmem = no
; then
6156 gl_cv_c_multiarch
=no
6157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6158 /* end confdefs.h. */
6159 #ifndef __APPLE_CC__
6160 not a universal capable compiler
6165 if ac_fn_c_try_compile
"$LINENO"; then :
6169 for word
in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
6170 if test -n "$prev"; then
6172 i?
86 | x86_64 | ppc | ppc64
)
6173 if test -z "$arch" ||
test "$arch" = "$word"; then
6176 gl_cv_c_multiarch
=yes
6182 if test "x$word" = "x-arch"; then
6189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6190 if test $gl_cv_c_multiarch = yes; then
6192 $as_echo "#define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6194 APPLE_UNIVERSAL_BUILD
=1
6196 APPLE_UNIVERSAL_BUILD
=0
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
6207 $as_echo_n "checking for wchar_t... " >&6; }
6208 if test "${gt_cv_c_wchar_t+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6212 /* end confdefs.h. */
6214 wchar_t foo = (wchar_t)'\0';
6223 if ac_fn_c_try_compile
"$LINENO"; then :
6228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
6231 $as_echo "$gt_cv_c_wchar_t" >&6; }
6232 if test $gt_cv_c_wchar_t = yes; then
6234 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
6241 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
6242 if test "${gl_cv_have_include_next+set}" = set; then :
6243 $as_echo_n "(cached) " >&6
6245 rm -rf conftestd1a conftestd1b conftestd2
6246 mkdir conftestd1a conftestd1b conftestd2
6247 cat <<EOF > conftestd1a/conftest.h
6248 #define DEFINED_IN_CONFTESTD1
6249 #include_next <conftest.h>
6250 #ifdef DEFINED_IN_CONFTESTD2
6253 #error "include_next doesn't work"
6256 cat <<EOF > conftestd1b/conftest.h
6257 #define DEFINED_IN_CONFTESTD1
6259 #include_next <conftest.h>
6260 #ifdef DEFINED_IN_CONFTESTD2
6263 #error "include_next doesn't work"
6266 cat <<EOF > conftestd2/conftest.h
6267 #ifndef DEFINED_IN_CONFTESTD1
6268 #error "include_next test doesn't work"
6270 #define DEFINED_IN_CONFTESTD2
6272 gl_save_CPPFLAGS
="$CPPFLAGS"
6273 CPPFLAGS
="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
6274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6276 #include <conftest.h>
6278 if ac_fn_c_try_compile
"$LINENO"; then :
6279 gl_cv_have_include_next
=yes
6281 CPPFLAGS
="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
6282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6284 #include <conftest.h>
6286 if ac_fn_c_try_compile
"$LINENO"; then :
6287 gl_cv_have_include_next
=buggy
6289 gl_cv_have_include_next
=no
6291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6295 CPPFLAGS
="$gl_save_CPPFLAGS"
6296 rm -rf conftestd1a conftestd1b conftestd2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
6300 $as_echo "$gl_cv_have_include_next" >&6; }
6301 PRAGMA_SYSTEM_HEADER
=
6302 if test $gl_cv_have_include_next = yes; then
6303 INCLUDE_NEXT
=include_next
6304 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
=include_next
6305 if test -n "$GCC"; then
6306 PRAGMA_SYSTEM_HEADER
='#pragma GCC system_header'
6309 if test $gl_cv_have_include_next = buggy
; then
6310 INCLUDE_NEXT
=include
6311 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
=include_next
6313 INCLUDE_NEXT
=include
6314 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
=include
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
6328 $as_echo_n "checking for long long int... " >&6; }
6329 if test "${ac_cv_type_long_long_int+set}" = set; then :
6330 $as_echo_n "(cached) " >&6
6332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6335 /* For now, do not test the preprocessor; as of 2007 there are too many
6336 implementations with broken preprocessors. Perhaps this can
6337 be revisited in 2012. In the meantime, code should not expect
6338 #if to work with literals wider than 32 bits. */
6339 /* Test literals. */
6340 long long int ll = 9223372036854775807ll;
6341 long long int nll = -9223372036854775807LL;
6342 unsigned long long int ull = 18446744073709551615ULL;
6343 /* Test constant expressions. */
6344 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
6346 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
6352 /* Test availability of runtime routines for shift and division. */
6353 long long int llmax = 9223372036854775807ll;
6354 unsigned long long int ullmax = 18446744073709551615ull;
6355 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
6356 | (llmax / ll) | (llmax % ll)
6357 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
6358 | (ullmax / ull) | (ullmax % ull));
6364 if ac_fn_c_try_link
"$LINENO"; then :
6365 if test "$cross_compiling" = yes; then :
6366 ac_cv_type_long_long_int
=yes
6368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6369 /* end confdefs.h. */
6373 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
6374 # define LLONG_MAX (HALF - 1 + HALF)
6379 long long int n = 1;
6383 long long int m = n << i;
6386 if (LLONG_MAX / 2 < m)
6394 if ac_fn_c_try_run
"$LINENO"; then :
6395 ac_cv_type_long_long_int
=yes
6397 ac_cv_type_long_long_int
=no
6399 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6400 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6404 ac_cv_type_long_long_int
=no
6406 rm -f core conftest.err conftest.
$ac_objext \
6407 conftest
$ac_exeext conftest.
$ac_ext
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
6410 $as_echo "$ac_cv_type_long_long_int" >&6; }
6411 if test $ac_cv_type_long_long_int = yes; then
6413 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
6419 $as_echo_n "checking for unsigned long long int... " >&6; }
6420 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
6421 $as_echo_n "(cached) " >&6
6423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6426 /* For now, do not test the preprocessor; as of 2007 there are too many
6427 implementations with broken preprocessors. Perhaps this can
6428 be revisited in 2012. In the meantime, code should not expect
6429 #if to work with literals wider than 32 bits. */
6430 /* Test literals. */
6431 long long int ll = 9223372036854775807ll;
6432 long long int nll = -9223372036854775807LL;
6433 unsigned long long int ull = 18446744073709551615ULL;
6434 /* Test constant expressions. */
6435 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
6437 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
6443 /* Test availability of runtime routines for shift and division. */
6444 long long int llmax = 9223372036854775807ll;
6445 unsigned long long int ullmax = 18446744073709551615ull;
6446 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
6447 | (llmax / ll) | (llmax % ll)
6448 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
6449 | (ullmax / ull) | (ullmax % ull));
6455 if ac_fn_c_try_link
"$LINENO"; then :
6456 ac_cv_type_unsigned_long_long_int
=yes
6458 ac_cv_type_unsigned_long_long_int
=no
6460 rm -f core conftest.err conftest.
$ac_objext \
6461 conftest
$ac_exeext conftest.
$ac_ext
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
6464 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
6465 if test $ac_cv_type_unsigned_long_long_int = yes; then
6467 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
6482 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
6483 if test "${ac_cv_c_restrict+set}" = set; then :
6484 $as_echo_n "(cached) " >&6
6487 # The order here caters to the fact that C++ does not require restrict.
6488 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
6489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6491 typedef int * int_ptr;
6492 int foo (int_ptr $ac_kw ip) {
6506 if ac_fn_c_try_compile
"$LINENO"; then :
6507 ac_cv_c_restrict
=$ac_kw
6509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6510 test "$ac_cv_c_restrict" != no
&& break
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
6515 $as_echo "$ac_cv_c_restrict" >&6; }
6517 case $ac_cv_c_restrict in
6519 no
) $as_echo "#define restrict /**/" >>confdefs.h
6521 *) cat >>confdefs.h
<<_ACEOF
6522 #define restrict $ac_cv_c_restrict
6547 if test $gl_cv_have_include_next = yes; then
6548 gl_cv_next_string_h
='<'string.h
'>'
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
6551 $as_echo_n "checking absolute name of <string.h>... " >&6; }
6552 if test "${gl_cv_next_string_h+set}" = set; then :
6553 $as_echo_n "(cached) " >&6
6556 if test $ac_cv_header_string_h = yes; then
6557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6558 /* end confdefs.h. */
6563 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
6564 *) gl_absname_cpp
="$ac_cpp" ;;
6566 gl_cv_next_string_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
6567 sed -n '\#/string.h#{
6568 s#.*"\(.*/string.h\)".*#\1#
6574 gl_cv_next_string_h
='<'string.h
'>'
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
6579 $as_echo "$gl_cv_next_string_h" >&6; }
6581 NEXT_STRING_H
=$gl_cv_next_string_h
6583 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
6584 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
6585 gl_next_as_first_directive
='<'string.h
'>'
6587 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
6588 gl_next_as_first_directive
=$gl_cv_next_string_h
6590 NEXT_AS_FIRST_DIRECTIVE_STRING_H
=$gl_next_as_first_directive
6596 for gl_func
in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strsignal strverscmp
; do
6597 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
6599 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
6600 if { as_var
=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then :
6601 $as_echo_n "(cached) " >&6
6603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6616 if ac_fn_c_try_compile
"$LINENO"; then :
6617 eval "$as_gl_Symbol=yes"
6619 eval "$as_gl_Symbol=no"
6621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6623 eval ac_res
=\$
$as_gl_Symbol
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6625 $as_echo "$ac_res" >&6; }
6626 eval as_val
=\$
$as_gl_Symbol
6627 if test "x$as_val" = x
""yes; then :
6628 cat >>confdefs.h
<<_ACEOF
6629 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
6632 eval ac_cv_have_decl_
$gl_func=yes
6644 GNULIB_MBSNRTOWCS
=0;
6647 GNULIB_WCSNRTOMBS
=0;
6659 HAVE_DECL_WCWIDTH
=1;
6660 REPLACE_MBSTATE_T
=0;
6666 REPLACE_MBSRTOWCS
=0;
6667 REPLACE_MBSNRTOWCS
=0;
6669 REPLACE_WCSRTOMBS
=0;
6670 REPLACE_WCSNRTOMBS
=0;
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
6675 $as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
6676 if test "${gl_cv_header_wchar_h_correct_inline+set}" = set; then :
6677 $as_echo_n "(cached) " >&6
6679 gl_cv_header_wchar_h_correct_inline
=yes
6680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6683 #define wcstod renamed_wcstod
6685 extern int zero (void);
6686 int main () { return zero(); }
6689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6690 (eval $ac_compile) 2>&5
6692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6693 test $ac_status = 0; }; then
6694 mv conftest.
$ac_objext conftest1.
$ac_objext
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6698 #define wcstod renamed_wcstod
6700 int zero (void) { return 0; }
6703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6704 (eval $ac_compile) 2>&5
6706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6707 test $ac_status = 0; }; then
6708 mv conftest.
$ac_objext conftest2.
$ac_objext
6709 if $CC -o conftest
$ac_exeext $CFLAGS $LDFLAGS conftest1.
$ac_objext conftest2.
$ac_objext $LIBS >&5 2>&1; then
6712 gl_cv_header_wchar_h_correct_inline
=no
6716 rm -f conftest1.
$ac_objext conftest2.
$ac_objext conftest
$ac_exeext
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
6720 $as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
6721 if test $gl_cv_header_wchar_h_correct_inline = no
; then
6722 as_fn_error
"<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
6723 This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
6724 C99 mode. You have four options:
6725 - Add the flag -fgnu89-inline to CC and reconfigure, or
6726 - Fix your include files, using parts of
6727 <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
6728 - Use a gcc version older than 4.3, or
6729 - Don't use the flags -std=c99 or -std=gnu99.
6730 Configuration aborted." "$LINENO" 5
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
6735 $as_echo_n "checking for wint_t... " >&6; }
6736 if test "${gt_cv_c_wint_t+set}" = set; then :
6737 $as_echo_n "(cached) " >&6
6739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6742 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
6744 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
6745 before <wchar.h>. */
6750 wint_t foo = (wchar_t)'\0';
6759 if ac_fn_c_try_compile
"$LINENO"; then :
6764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
6767 $as_echo "$gt_cv_c_wint_t" >&6; }
6768 if test $gt_cv_c_wint_t = yes; then
6770 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
6776 GL_COND_LIBTOOL_TRUE
=
6777 GL_COND_LIBTOOL_FALSE
='#'
6779 GL_COND_LIBTOOL_TRUE
='#'
6780 GL_COND_LIBTOOL_FALSE
=
6783 gl_cond_libtool
=false
6786 gl_m4_base
='gnulib/m4'
6796 gl_source_base
='gnulib'
6797 # Code from module arg-nonnull:
6798 # Code from module c++defs:
6799 # Code from module extensions:
6800 # Code from module include_next:
6801 # Code from module memchr:
6810 $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h
6814 # Code from module memmem:
6817 if test $ac_cv_have_decl_memmem = yes; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works in linear time" >&5
6819 $as_echo_n "checking whether memmem works in linear time... " >&6; }
6820 if test "${gl_cv_func_memmem_works+set}" = set; then :
6821 $as_echo_n "(cached) " >&6
6823 if test "$cross_compiling" = yes; then :
6824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6825 /* end confdefs.h. */
6827 #include <features.h>
6828 #ifdef __GNU_LIBRARY__
6829 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9) || (__GLIBC__ > 2)
6834 #include <cygwin/version.h>
6835 #if CYGWIN_VERSION_DLL_MAJOR >= 1007
6841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6842 $EGREP "Lucky user" >/dev
/null
2>&1; then :
6843 gl_cv_func_memmem_works
=yes
6845 gl_cv_func_memmem_works
="guessing no"
6851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6854 #include <signal.h> /* for signal */
6855 #include <string.h> /* for memmem */
6856 #include <stdlib.h> /* for malloc */
6857 #include <unistd.h> /* for alarm */
6863 char *haystack = (char *) malloc (2 * m + 1);
6864 char *needle = (char *) malloc (m + 1);
6866 /* Failure to compile this test due to missing alarm is okay,
6867 since all such platforms (mingw) also lack memmem. */
6868 signal (SIGALRM, SIG_DFL);
6870 /* Check for quadratic performance. */
6871 if (haystack && needle)
6873 memset (haystack, 'A', 2 * m);
6874 haystack[2 * m] = 'B';
6875 memset (needle, 'A', m);
6877 result = memmem (haystack, 2 * m + 1, needle, m + 1);
6879 /* Check for empty needle behavior. */
6880 return !result || !memmem ("a", 1, 0, 0);
6885 if ac_fn_c_try_run
"$LINENO"; then :
6886 gl_cv_func_memmem_works
=yes
6888 gl_cv_func_memmem_works
=no
6890 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6891 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works" >&5
6897 $as_echo "$gl_cv_func_memmem_works" >&6; }
6898 if test "$gl_cv_func_memmem_works" != yes; then
6908 gl_LIBOBJS
="$gl_LIBOBJS memmem.$ac_objext"
6913 # Code from module memmem-simple:
6926 for ac_func
in memmem
6928 ac_fn_c_check_func
"$LINENO" "memmem" "ac_cv_func_memmem"
6929 if test "x$ac_cv_func_memmem" = x
""yes; then :
6930 cat >>confdefs.h
<<_ACEOF
6931 #define HAVE_MEMMEM 1
6936 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
6949 if test $ac_cv_have_decl_memmem = no
; then
6961 $as_echo "#define GNULIB_TEST_MEMMEM 1" >>confdefs.h
6965 # Code from module multiarch:
6967 # Code from module stddef:
6971 if test $gt_cv_c_wchar_t = no
; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
6976 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
6977 if test "${gl_cv_decl_null_works+set}" = set; then :
6978 $as_echo_n "(cached) " >&6
6980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6981 /* end confdefs.h. */
6983 int test[2 * (sizeof NULL == sizeof (void *)) -1];
6993 if ac_fn_c_try_compile
"$LINENO"; then :
6994 gl_cv_decl_null_works
=yes
6996 gl_cv_decl_null_works
=no
6998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
7001 $as_echo "$gl_cv_decl_null_works" >&6; }
7002 if test $gl_cv_decl_null_works = no
; then
7006 if test -n "$STDDEF_H"; then
7019 if test $gl_cv_have_include_next = yes; then
7020 gl_cv_next_stddef_h
='<'stddef.h
'>'
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
7023 $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
7024 if test "${gl_cv_next_stddef_h+set}" = set; then :
7025 $as_echo_n "(cached) " >&6
7028 if test $ac_cv_header_stddef_h = yes; then
7029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7035 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
7036 *) gl_absname_cpp
="$ac_cpp" ;;
7038 gl_cv_next_stddef_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
7039 sed -n '\#/stddef.h#{
7040 s#.*"\(.*/stddef.h\)".*#\1#
7046 gl_cv_next_stddef_h
='<'stddef.h
'>'
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
7051 $as_echo "$gl_cv_next_stddef_h" >&6; }
7053 NEXT_STDDEF_H
=$gl_cv_next_stddef_h
7055 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
7056 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
7057 gl_next_as_first_directive
='<'stddef.h
'>'
7059 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
7060 gl_next_as_first_directive
=$gl_cv_next_stddef_h
7062 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
=$gl_next_as_first_directive
7068 # Code from module stdint:
7072 if test $ac_cv_type_long_long_int = yes; then
7073 HAVE_LONG_LONG_INT
=1
7075 HAVE_LONG_LONG_INT
=0
7079 if test $ac_cv_type_unsigned_long_long_int = yes; then
7080 HAVE_UNSIGNED_LONG_LONG_INT
=1
7082 HAVE_UNSIGNED_LONG_LONG_INT
=0
7086 if test $ac_cv_header_inttypes_h = yes; then
7093 if test $ac_cv_header_sys_types_h = yes; then
7112 if test $gl_cv_have_include_next = yes; then
7113 gl_cv_next_stdint_h
='<'stdint.h
'>'
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
7116 $as_echo_n "checking absolute name of <stdint.h>... " >&6; }
7117 if test "${gl_cv_next_stdint_h+set}" = set; then :
7118 $as_echo_n "(cached) " >&6
7121 if test $ac_cv_header_stdint_h = yes; then
7122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7128 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
7129 *) gl_absname_cpp
="$ac_cpp" ;;
7131 gl_cv_next_stdint_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
7132 sed -n '\#/stdint.h#{
7133 s#.*"\(.*/stdint.h\)".*#\1#
7139 gl_cv_next_stdint_h
='<'stdint.h
'>'
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
7144 $as_echo "$gl_cv_next_stdint_h" >&6; }
7146 NEXT_STDINT_H
=$gl_cv_next_stdint_h
7148 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
7149 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
7150 gl_next_as_first_directive
='<'stdint.h
'>'
7152 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
7153 gl_next_as_first_directive
=$gl_cv_next_stdint_h
7155 NEXT_AS_FIRST_DIRECTIVE_STDINT_H
=$gl_next_as_first_directive
7159 if test $ac_cv_header_stdint_h = yes; then
7166 if test $ac_cv_header_stdint_h = yes; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
7168 $as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
7169 if test "${gl_cv_header_working_stdint_h+set}" = set; then :
7170 $as_echo_n "(cached) " >&6
7172 gl_cv_header_working_stdint_h
=no
7173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7174 /* end confdefs.h. */
7177 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
7178 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
7179 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
7181 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
7182 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
7183 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
7187 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7188 included before <wchar.h>. */
7199 int8_t a1 = INT8_MAX;
7200 int8_t a1min = INT8_MIN;
7203 int16_t a2 = INT16_MAX;
7204 int16_t a2min = INT16_MIN;
7207 int32_t a3 = INT32_MAX;
7208 int32_t a3min = INT32_MIN;
7211 int64_t a4 = INT64_MAX;
7212 int64_t a4min = INT64_MIN;
7215 uint8_t b1 = UINT8_MAX;
7217 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
7220 uint16_t b2 = UINT16_MAX;
7223 uint32_t b3 = UINT32_MAX;
7226 uint64_t b4 = UINT64_MAX;
7228 int_least8_t c1 = INT8_C (0x7f);
7229 int_least8_t c1max = INT_LEAST8_MAX;
7230 int_least8_t c1min = INT_LEAST8_MIN;
7231 int_least16_t c2 = INT16_C (0x7fff);
7232 int_least16_t c2max = INT_LEAST16_MAX;
7233 int_least16_t c2min = INT_LEAST16_MIN;
7234 int_least32_t c3 = INT32_C (0x7fffffff);
7235 int_least32_t c3max = INT_LEAST32_MAX;
7236 int_least32_t c3min = INT_LEAST32_MIN;
7237 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
7238 int_least64_t c4max = INT_LEAST64_MAX;
7239 int_least64_t c4min = INT_LEAST64_MIN;
7240 uint_least8_t d1 = UINT8_C (0xff);
7241 uint_least8_t d1max = UINT_LEAST8_MAX;
7242 uint_least16_t d2 = UINT16_C (0xffff);
7243 uint_least16_t d2max = UINT_LEAST16_MAX;
7244 uint_least32_t d3 = UINT32_C (0xffffffff);
7245 uint_least32_t d3max = UINT_LEAST32_MAX;
7246 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
7247 uint_least64_t d4max = UINT_LEAST64_MAX;
7248 int_fast8_t e1 = INT_FAST8_MAX;
7249 int_fast8_t e1min = INT_FAST8_MIN;
7250 int_fast16_t e2 = INT_FAST16_MAX;
7251 int_fast16_t e2min = INT_FAST16_MIN;
7252 int_fast32_t e3 = INT_FAST32_MAX;
7253 int_fast32_t e3min = INT_FAST32_MIN;
7254 int_fast64_t e4 = INT_FAST64_MAX;
7255 int_fast64_t e4min = INT_FAST64_MIN;
7256 uint_fast8_t f1 = UINT_FAST8_MAX;
7257 uint_fast16_t f2 = UINT_FAST16_MAX;
7258 uint_fast32_t f3 = UINT_FAST32_MAX;
7259 uint_fast64_t f4 = UINT_FAST64_MAX;
7261 intptr_t g = INTPTR_MAX;
7262 intptr_t gmin = INTPTR_MIN;
7265 uintptr_t h = UINTPTR_MAX;
7267 intmax_t i = INTMAX_MAX;
7268 uintmax_t j = UINTMAX_MAX;
7270 #include <limits.h> /* for CHAR_BIT */
7271 #define TYPE_MINIMUM(t) \
7272 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
7273 #define TYPE_MAXIMUM(t) \
7274 ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
7277 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
7278 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
7280 /* Detect bug in FreeBSD 6.0 / ia64. */
7281 int check_SIG_ATOMIC:
7282 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
7283 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
7285 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
7287 WCHAR_MIN == TYPE_MINIMUM (wchar_t)
7288 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
7290 /* Detect bug in mingw. */
7292 WINT_MIN == TYPE_MINIMUM (wint_t)
7293 && WINT_MAX == TYPE_MAXIMUM (wint_t)
7296 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
7298 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
7300 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
7302 /* Detect bugs in OpenBSD 3.9 stdint.h. */
7304 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
7307 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
7310 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
7313 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
7315 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
7316 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
7317 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
7318 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
7319 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
7320 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
7321 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
7322 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
7323 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
7324 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
7325 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
7336 if ac_fn_c_try_compile
"$LINENO"; then :
7337 if test "$cross_compiling" = yes; then :
7338 gl_cv_header_working_stdint_h
=yes
7341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7342 /* end confdefs.h. */
7345 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
7346 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
7347 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
7351 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7352 included before <wchar.h>. */
7364 #define MVAL(macro) MVAL1(macro)
7365 #define MVAL1(expression) #expression
7366 static const char *macro_values[] =
7400 for (mv = macro_values; *mv != NULL; mv++)
7402 const char *value = *mv;
7403 /* Test whether it looks like a cast expression. */
7404 if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
7405 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
7406 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
7407 || strncmp (value, "((int)"/*)*/, 6) == 0
7408 || strncmp (value, "((signed short)"/*)*/, 15) == 0
7409 || strncmp (value, "((signed char)"/*)*/, 14) == 0)
7418 if ac_fn_c_try_run
"$LINENO"; then :
7419 gl_cv_header_working_stdint_h
=yes
7421 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7422 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
7431 $as_echo "$gl_cv_header_working_stdint_h" >&6; }
7433 if test "$gl_cv_header_working_stdint_h" = yes; then
7436 for ac_header
in sys
/inttypes.h sys
/bitypes.h
7438 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7439 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7440 eval as_val
=\$
$as_ac_Header
7441 if test "x$as_val" = x
""yes; then :
7442 cat >>confdefs.h
<<_ACEOF
7443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7450 if test $ac_cv_header_sys_inttypes_h = yes; then
7451 HAVE_SYS_INTTYPES_H
=1
7453 HAVE_SYS_INTTYPES_H
=0
7456 if test $ac_cv_header_sys_bitypes_h = yes; then
7457 HAVE_SYS_BITYPES_H
=1
7459 HAVE_SYS_BITYPES_H
=0
7473 if test $APPLE_UNIVERSAL_BUILD = 0; then
7476 for gltype
in ptrdiff_t size_t
; do
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
7478 $as_echo_n "checking for bit size of $gltype... " >&6; }
7479 if { as_var
=gl_cv_bitsizeof_
${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then :
7480 $as_echo_n "(cached) " >&6
7482 if ac_fn_c_compute_int
"$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
7483 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7484 included before <wchar.h>. */
7493 #include <limits.h>"; then :
7499 eval gl_cv_bitsizeof_
${gltype}=\
$result
7502 eval ac_res
=\
$gl_cv_bitsizeof_${gltype}
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7504 $as_echo "$ac_res" >&6; }
7505 eval result
=\
$gl_cv_bitsizeof_${gltype}
7506 if test $result = unknown
; then
7509 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7510 cat >>confdefs.h
<<_ACEOF
7511 #define BITSIZEOF_${GLTYPE} $result
7514 eval BITSIZEOF_
${GLTYPE}=\
$result
7521 for gltype
in sig_atomic_t wchar_t wint_t
; do
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
7523 $as_echo_n "checking for bit size of $gltype... " >&6; }
7524 if { as_var
=gl_cv_bitsizeof_
${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then :
7525 $as_echo_n "(cached) " >&6
7527 if ac_fn_c_compute_int
"$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
7528 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7529 included before <wchar.h>. */
7538 #include <limits.h>"; then :
7544 eval gl_cv_bitsizeof_
${gltype}=\
$result
7547 eval ac_res
=\
$gl_cv_bitsizeof_${gltype}
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7549 $as_echo "$ac_res" >&6; }
7550 eval result
=\
$gl_cv_bitsizeof_${gltype}
7551 if test $result = unknown
; then
7554 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7555 cat >>confdefs.h
<<_ACEOF
7556 #define BITSIZEOF_${GLTYPE} $result
7559 eval BITSIZEOF_
${GLTYPE}=\
$result
7565 for gltype
in sig_atomic_t wchar_t wint_t
; do
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
7567 $as_echo_n "checking whether $gltype is signed... " >&6; }
7568 if { as_var
=gl_cv_type_
${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then :
7569 $as_echo_n "(cached) " >&6
7571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7572 /* end confdefs.h. */
7574 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7575 included before <wchar.h>. */
7584 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
7593 if ac_fn_c_try_compile
"$LINENO"; then :
7598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7599 eval gl_cv_type_
${gltype}_signed
=\
$result
7602 eval ac_res
=\
$gl_cv_type_${gltype}_signed
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7604 $as_echo "$ac_res" >&6; }
7605 eval result
=\
$gl_cv_type_${gltype}_signed
7606 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7607 if test "$result" = yes; then
7608 cat >>confdefs.h
<<_ACEOF
7609 #define HAVE_SIGNED_${GLTYPE} 1
7612 eval HAVE_SIGNED_
${GLTYPE}=1
7614 eval HAVE_SIGNED_
${GLTYPE}=0
7619 gl_cv_type_ptrdiff_t_signed
=yes
7620 gl_cv_type_size_t_signed
=no
7621 if test $APPLE_UNIVERSAL_BUILD = 0; then
7624 for gltype
in ptrdiff_t size_t
; do
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
7626 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
7627 if { as_var
=gl_cv_type_
${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then :
7628 $as_echo_n "(cached) " >&6
7630 eval gl_cv_type_
${gltype}_suffix
=no
7631 eval result
=\
$gl_cv_type_${gltype}_signed
7632 if test "$result" = yes; then
7637 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
7640 l
) gltype1
='long int';;
7641 ll
) gltype1
='long long int';;
7642 i64
) gltype1
='__int64';;
7643 u
) gltype1
='unsigned int';;
7644 ul
) gltype1
='unsigned long int';;
7645 ull
) gltype1
='unsigned long long int';;
7646 ui64
)gltype1
='unsigned __int64';;
7648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7651 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7652 included before <wchar.h>. */
7662 extern $gltype1 foo;
7671 if ac_fn_c_try_compile
"$LINENO"; then :
7672 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
7674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7675 eval result
=\
$gl_cv_type_${gltype}_suffix
7676 test "$result" != no
&& break
7679 eval ac_res
=\
$gl_cv_type_${gltype}_suffix
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7681 $as_echo "$ac_res" >&6; }
7682 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7683 eval result
=\
$gl_cv_type_${gltype}_suffix
7684 test "$result" = no
&& result
=
7685 eval ${GLTYPE}_SUFFIX
=\
$result
7686 cat >>confdefs.h
<<_ACEOF
7687 #define ${GLTYPE}_SUFFIX $result
7696 for gltype
in sig_atomic_t wchar_t wint_t
; do
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
7698 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
7699 if { as_var
=gl_cv_type_
${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then :
7700 $as_echo_n "(cached) " >&6
7702 eval gl_cv_type_
${gltype}_suffix
=no
7703 eval result
=\
$gl_cv_type_${gltype}_signed
7704 if test "$result" = yes; then
7709 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
7712 l
) gltype1
='long int';;
7713 ll
) gltype1
='long long int';;
7714 i64
) gltype1
='__int64';;
7715 u
) gltype1
='unsigned int';;
7716 ul
) gltype1
='unsigned long int';;
7717 ull
) gltype1
='unsigned long long int';;
7718 ui64
)gltype1
='unsigned __int64';;
7720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7723 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7724 included before <wchar.h>. */
7734 extern $gltype1 foo;
7743 if ac_fn_c_try_compile
"$LINENO"; then :
7744 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
7746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7747 eval result
=\
$gl_cv_type_${gltype}_suffix
7748 test "$result" != no
&& break
7751 eval ac_res
=\
$gl_cv_type_${gltype}_suffix
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7753 $as_echo "$ac_res" >&6; }
7754 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7755 eval result
=\
$gl_cv_type_${gltype}_suffix
7756 test "$result" = no
&& result
=
7757 eval ${GLTYPE}_SUFFIX
=\
$result
7758 cat >>confdefs.h
<<_ACEOF
7759 #define ${GLTYPE}_SUFFIX $result
7770 # Code from module string:
7774 # Code from module warn-on-use:
7775 # Code from module wchar:
7798 if test $gl_cv_have_include_next = yes; then
7799 gl_cv_next_wchar_h
='<'wchar.h
'>'
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
7802 $as_echo_n "checking absolute name of <wchar.h>... " >&6; }
7803 if test "${gl_cv_next_wchar_h+set}" = set; then :
7804 $as_echo_n "(cached) " >&6
7807 if test $ac_cv_header_wchar_h = yes; then
7808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7814 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
7815 *) gl_absname_cpp
="$ac_cpp" ;;
7817 gl_cv_next_wchar_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
7818 sed -n '\#/wchar.h#{
7819 s#.*"\(.*/wchar.h\)".*#\1#
7825 gl_cv_next_wchar_h
='<'wchar.h
'>'
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
7830 $as_echo "$gl_cv_next_wchar_h" >&6; }
7832 NEXT_WCHAR_H
=$gl_cv_next_wchar_h
7834 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
7835 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
7836 gl_next_as_first_directive
='<'wchar.h
'>'
7838 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
7839 gl_next_as_first_directive
=$gl_cv_next_wchar_h
7841 NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
=$gl_next_as_first_directive
7845 if test $ac_cv_header_wchar_h = yes; then
7853 if test $gt_cv_c_wint_t = yes; then
7861 for gl_func
in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth
; do
7862 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
7864 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
7865 if { as_var
=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then :
7866 $as_echo_n "(cached) " >&6
7868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7871 /* Some systems require additional headers. */
7873 # include <stddef.h>
7888 if ac_fn_c_try_compile
"$LINENO"; then :
7889 eval "$as_gl_Symbol=yes"
7891 eval "$as_gl_Symbol=no"
7893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7895 eval ac_res
=\$
$as_gl_Symbol
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7897 $as_echo "$ac_res" >&6; }
7898 eval as_val
=\$
$as_gl_Symbol
7899 if test "x$as_val" = x
""yes; then :
7900 cat >>confdefs.h
<<_ACEOF
7901 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
7904 eval ac_cv_have_decl_
$gl_func=yes
7909 # Code from module dummy:
7910 # End of code from modules
7931 gl_source_base
='tests'
7932 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
7934 gl_module_indicator_condition
=$gltests_WITNESS
7944 LIBGNU_LIBDEPS
="$gl_libdeps"
7946 LIBGNU_LTLIBDEPS
="$gl_ltlibdeps"
7949 # GDBserver does not use automake, but gnulib does. This line lets
7950 # us generate its Makefile.in.
7951 am__api_version
='1.11'
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
7954 $as_echo_n "checking whether build environment is sane... " >&6; }
7957 echo timestamp
> conftest.
file
7958 # Reject unsafe characters in $srcdir or the absolute working directory
7959 # name. Accept space and tab only in the latter.
7963 *[\\\"\
#\$\&\'\`$am_lf]*)
7964 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
7967 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
7968 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
7971 # Do `set' in a subshell so we don't clobber the current shell's
7972 # arguments. Must try -L first in case configure is actually a
7973 # symlink; some systems play weird games with the mod time of symlinks
7974 # (eg FreeBSD returns the mod time of the symlink's containing
7977 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
7978 if test "$*" = "X"; then
7980 set X
`ls -t "$srcdir/configure" conftest.file`
7983 if test "$*" != "X $srcdir/configure conftest.file" \
7984 && test "$*" != "X conftest.file $srcdir/configure"; then
7986 # If neither matched, then we have a broken ls. This can happen
7987 # if, for instance, CONFIG_SHELL is bash and it inherits a
7988 # broken ls alias from the environment. This has actually
7989 # happened. Such a system could not be considered "sane".
7990 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
7991 alias in your environment" "$LINENO" 5
7994 test "$2" = conftest.
file
8000 as_fn_error
"newly created file is older than distributed files!
8001 Check your system clock" "$LINENO" 5
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8004 $as_echo "yes" >&6; }
8005 # expand $ac_aux_dir to an absolute path
8006 am_aux_dir
=`cd $ac_aux_dir && pwd`
8008 if test x
"${MISSING+set}" != xset
; then
8011 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
8013 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
8016 # Use eval to expand $SHELL
8017 if eval "$MISSING --run true"; then
8018 am_missing_run
="$MISSING --run "
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
8022 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
8025 if test x
"${install_sh}" != xset
; then
8028 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
8030 install_sh
="\${SHELL} $am_aux_dir/install-sh"
8034 # Installed binaries are usually stripped using `strip' when the user
8035 # run `make install-strip'. However `strip' might not be the right
8036 # tool to use in cross-compilation environments, therefore Automake
8037 # will honor the `STRIP' environment variable to overrule this program.
8038 if test "$cross_compiling" != no
; then
8039 if test -n "$ac_tool_prefix"; then
8040 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8041 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8043 $as_echo_n "checking for $ac_word... " >&6; }
8044 if test "${ac_cv_prog_STRIP+set}" = set; then :
8045 $as_echo_n "(cached) " >&6
8047 if test -n "$STRIP"; then
8048 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8054 test -z "$as_dir" && as_dir
=.
8055 for ac_exec_ext
in '' $ac_executable_extensions; do
8056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8057 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 STRIP
=$ac_cv_prog_STRIP
8068 if test -n "$STRIP"; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8070 $as_echo "$STRIP" >&6; }
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8073 $as_echo "no" >&6; }
8078 if test -z "$ac_cv_prog_STRIP"; then
8080 # Extract the first word of "strip", so it can be a program name with args.
8081 set dummy strip
; ac_word
=$2
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8083 $as_echo_n "checking for $ac_word... " >&6; }
8084 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8085 $as_echo_n "(cached) " >&6
8087 if test -n "$ac_ct_STRIP"; then
8088 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8094 test -z "$as_dir" && as_dir
=.
8095 for ac_exec_ext
in '' $ac_executable_extensions; do
8096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8097 ac_cv_prog_ac_ct_STRIP
="strip"
8098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8107 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8108 if test -n "$ac_ct_STRIP"; then
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8110 $as_echo "$ac_ct_STRIP" >&6; }
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8116 if test "x$ac_ct_STRIP" = x
; then
8119 case $cross_compiling:$ac_tool_warned in
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8123 ac_tool_warned
=yes ;;
8128 STRIP
="$ac_cv_prog_STRIP"
8132 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
8135 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
8136 if test -z "$MKDIR_P"; then
8137 if test "${ac_cv_path_mkdir+set}" = set; then :
8138 $as_echo_n "(cached) " >&6
8140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8141 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
8144 test -z "$as_dir" && as_dir
=.
8145 for ac_prog
in mkdir gmkdir
; do
8146 for ac_exec_ext
in '' $ac_executable_extensions; do
8147 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
8148 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
8149 'mkdir (GNU coreutils) '* | \
8150 'mkdir (coreutils) '* | \
8151 'mkdir (fileutils) '4.1*)
8152 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
8162 if test "${ac_cv_path_mkdir+set}" = set; then
8163 MKDIR_P
="$ac_cv_path_mkdir -p"
8165 # As a last resort, use the slow shell script. Don't cache a
8166 # value for MKDIR_P within a source directory, because that will
8167 # break other packages using the cache if that directory is
8168 # removed, or if the value is a relative name.
8169 test -d .
/--version && rmdir .
/--version
8170 MKDIR_P
="$ac_install_sh -d"
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
8174 $as_echo "$MKDIR_P" >&6; }
8179 [\\/$
]* | ?
:[\\/]*) ;;
8180 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
8183 for ac_prog
in gawk mawk nawk
awk
8185 # Extract the first word of "$ac_prog", so it can be a program name with args.
8186 set dummy
$ac_prog; ac_word
=$2
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8188 $as_echo_n "checking for $ac_word... " >&6; }
8189 if test "${ac_cv_prog_AWK+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8192 if test -n "$AWK"; then
8193 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
8195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8199 test -z "$as_dir" && as_dir
=.
8200 for ac_exec_ext
in '' $ac_executable_extensions; do
8201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8202 ac_cv_prog_AWK
="$ac_prog"
8203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8213 if test -n "$AWK"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
8215 $as_echo "$AWK" >&6; }
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8222 test -n "$AWK" && break
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8226 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8228 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8229 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
8230 $as_echo_n "(cached) " >&6
8232 cat >conftest.
make <<\_ACEOF
8235 @
echo '@@@%%%=$(MAKE)=@@@%%%'
8237 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8238 case `${MAKE-make} -f conftest.make 2>/dev/null` in
8240 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
8242 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
8246 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8248 $as_echo "yes" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8252 $as_echo "no" >&6; }
8253 SET_MAKE
="MAKE=${MAKE-make}"
8256 rm -rf .tst
2>/dev
/null
8257 mkdir .tst
2>/dev
/null
8258 if test -d .tst
; then
8263 rmdir .tst
2>/dev
/null
8265 DEPDIR
="${am__leading_dot}deps"
8267 ac_config_commands
="$ac_config_commands depfiles"
8270 am_make
=${MAKE-make}
8271 cat > confinc
<< 'END'
8273 @
echo this is the am__doit target
8276 # If we don't find an include directive, just comment out the code.
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
8278 $as_echo_n "checking for style of include used by $am_make... " >&6; }
8282 # First try GNU make style include.
8283 echo "include confinc" > confmf
8284 # Ignore all kinds of additional output from `make'.
8285 case `$am_make -s -f confmf 2> /dev/null` in #(
8286 *the\ am__doit\ target
*)
8292 # Now try BSD make style include.
8293 if test "$am__include" = "#"; then
8294 echo '.include "confinc"' > confmf
8295 case `$am_make -s -f confmf 2> /dev/null` in #(
8296 *the\ am__doit\ target
*)
8297 am__include
=.include
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
8306 $as_echo "$_am_result" >&6; }
8307 rm -f confinc confmf
8309 # Check whether --enable-dependency-tracking was given.
8310 if test "${enable_dependency_tracking+set}" = set; then :
8311 enableval
=$enable_dependency_tracking;
8314 if test "x$enable_dependency_tracking" != xno
; then
8315 am_depcomp
="$ac_aux_dir/depcomp"
8318 if test "x$enable_dependency_tracking" != xno; then
8327 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8328 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8329 # is not polluted with repeated "-I."
8330 am__isrc
=' -I$(srcdir)'
8331 # test to see if srcdir already configured
8332 if test -f $srcdir/config.status
; then
8333 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8337 # test whether we have cygpath
8338 if test -z "$CYGPATH_W"; then
8339 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
8340 CYGPATH_W
='cygpath -w'
8347 # Define the identity of the package.
8349 VERSION
=UNUSED-VERSION
8352 # Some tools Automake needs.
8354 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8357 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
8360 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8363 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
8366 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
8368 # We need awk for the "check" target. The system "awk" is bad on
8370 # Always define AMTAR for backward compatibility.
8372 AMTAR
=${AMTAR-"${am_missing_run}tar"}
8374 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
8379 depcc
="$CC" am_compiler_list
=
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8382 $as_echo_n "checking dependency style of $depcc... " >&6; }
8383 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
8384 $as_echo_n "(cached) " >&6
8386 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8387 # We make a subdir and do the tests there. Otherwise we can end up
8388 # making bogus files that we don't know about and never remove. For
8389 # instance it was reported that on HP-UX the gcc test will end up
8390 # making a dummy file named `D' -- because `-MD' means `put the output
8393 # Copy depcomp to subdir because otherwise we won't find it if we're
8394 # using a relative directory.
8395 cp "$am_depcomp" conftest.dir
8397 # We will build objects and dependencies in a subdirectory because
8398 # it helps to detect inapplicable dependency modes. For instance
8399 # both Tru64's cc and ICC support -MD to output dependencies as a
8400 # side effect of compilation, but ICC will put the dependencies in
8401 # the current directory while Tru64 will put them in the object
8405 am_cv_CC_dependencies_compiler_type
=none
8406 if test "$am_compiler_list" = ""; then
8407 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8410 case " $depcc " in #(
8411 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
8414 for depmode
in $am_compiler_list; do
8415 # Setup a source with many dependencies, because some compilers
8416 # like to wrap large dependency lists on column 80 (with \), and
8417 # we should not choose a depcomp mode which is confused by this.
8419 # We need to recreate these files for each test, as the compiler may
8420 # overwrite some of them when testing with obscure command lines.
8421 # This happens at least with the AIX C compiler.
8423 for i
in 1 2 3 4 5 6; do
8424 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
8425 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8426 # Solaris 8's {/usr,}/bin/sh.
8427 touch sub
/conftst
$i.h
8429 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8431 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8432 # mode. It turns out that the SunPro C++ compiler does not properly
8433 # handle `-M -o', and we need to detect this. Also, some Intel
8434 # versions had trouble with output in subdirs
8435 am__obj
=sub
/conftest.
${OBJEXT-o}
8436 am__minus_obj
="-o $am__obj"
8439 # This depmode causes a compiler race in universal mode.
8440 test "$am__universal" = false ||
continue
8443 # after this tag, mechanisms are not by side-effect, so they'll
8444 # only be used when explicitly requested
8445 if test "x$enable_dependency_tracking" = xyes
; then
8451 msvisualcpp | msvcmsys
)
8452 # This compiler won't grok `-c -o', but also, the minuso test has
8453 # not run yet. These depmodes are late enough in the game, and
8454 # so weak that their functioning should not be impacted.
8455 am__obj
=conftest.
${OBJEXT-o}
8460 if depmode
=$depmode \
8461 source=sub
/conftest.c object
=$am__obj \
8462 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
8463 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
8464 >/dev
/null
2>conftest.err
&&
8465 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
8466 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
8467 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
8468 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
8469 # icc doesn't choke on unknown options, it will just issue warnings
8470 # or remarks (even with -Werror). So we grep stderr for any message
8471 # that says an option was ignored or not supported.
8472 # When given -MP, icc 7.0 and 7.1 complain thusly:
8473 # icc: Command line warning: ignoring option '-M'; no argument required
8474 # The diagnosis changed in icc 8.0:
8475 # icc: Command line remark: option '-MP' not supported
8476 if (grep 'ignoring option' conftest.err ||
8477 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
8478 am_cv_CC_dependencies_compiler_type
=$depmode
8487 am_cv_CC_dependencies_compiler_type
=none
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
8492 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
8493 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
8496 test "x$enable_dependency_tracking" != xno \
8497 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
8499 am__fastdepCC_FALSE
='#'
8501 am__fastdepCC_TRUE
='#'
8502 am__fastdepCC_FALSE
=
8509 if test x
"$STDINT_H" != x
; then
8510 GNULIB_STDINT_H
=gnulib
/$STDINT_H
8514 ac_config_files
="$ac_config_files Makefile gnulib/Makefile:${srcdir}/../gnulib/Makefile.in"
8516 ac_config_commands
="$ac_config_commands default"
8518 cat >confcache
<<\_ACEOF
8519 # This file is a shell script that caches the results of configure
8520 # tests run on this system so they can be shared between configure
8521 # scripts and configure runs, see configure's option --config-cache.
8522 # It is not useful on other systems. If it contains results you don't
8523 # want to keep, you may remove or edit it.
8525 # config.status only pays attention to the cache file if you give it
8526 # the --recheck option to rerun configure.
8528 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8529 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8534 # The following way of writing the cache mishandles newlines in values,
8535 # but we know of no workaround that is simple, portable, and efficient.
8536 # So, we kill variables containing newlines.
8537 # Ultrix sh set writes to stderr and can't be redirected directly,
8538 # and sets the high bit in the cache file unless we assign to the vars.
8540 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8541 eval ac_val
=\$
$ac_var
8545 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8546 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8549 _ | IFS | as_nl
) ;; #(
8550 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8551 *) { eval $ac_var=; unset $ac_var;} ;;
8557 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8558 *${as_nl}ac_space
=\
*)
8559 # `set' does not quote correctly, so add quotes: double-quote
8560 # substitution turns \\\\ into \\, and sed turns \\ into \.
8563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8566 # `set' quotes correctly as required by POSIX, so do not add quotes.
8567 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8576 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8578 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8580 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8581 if test -w "$cache_file"; then
8582 test "x$cache_file" != "x/dev/null" &&
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8584 $as_echo "$as_me: updating cache $cache_file" >&6;}
8585 cat confcache
>$cache_file
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8588 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8593 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8594 # Let make expand exec_prefix.
8595 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8597 DEFS
=-DHAVE_CONFIG_H
8601 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8602 # 1. Remove the extension, and $U if already installed.
8603 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8604 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8605 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8606 # will be set to the directory where LIBOBJS objects are built.
8607 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8608 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8612 LTLIBOBJS
=$ac_ltlibobjs
8615 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8616 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
8617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8619 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
8620 as_fn_error
"conditional \"GL_COND_LIBTOOL\" was never defined.
8621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8626 if test -n "$gl_LIBOBJS"; then
8627 # Remove the extension.
8628 sed_drop_objext
='s/\.o$//;s/\.obj$//'
8629 for i
in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
8630 gl_libobjs
="$gl_libobjs $i.$ac_objext"
8631 gl_ltlibobjs
="$gl_ltlibobjs $i.lo"
8634 gl_LIBOBJS
=$gl_libobjs
8636 gl_LTLIBOBJS
=$gl_ltlibobjs
8642 if test -n "$gltests_LIBOBJS"; then
8643 # Remove the extension.
8644 sed_drop_objext
='s/\.o$//;s/\.obj$//'
8645 for i
in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
8646 gltests_libobjs
="$gltests_libobjs $i.$ac_objext"
8647 gltests_ltlibobjs
="$gltests_ltlibobjs $i.lo"
8650 gltests_LIBOBJS
=$gltests_libobjs
8652 gltests_LTLIBOBJS
=$gltests_ltlibobjs
8655 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8656 as_fn_error
"conditional \"AMDEP\" was never defined.
8657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8659 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8660 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8663 if test -n "$EXEEXT"; then
8665 am__EXEEXT_FALSE
='#'
8672 : ${CONFIG_STATUS=./config.status}
8674 ac_clean_files_save
=$ac_clean_files
8675 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8677 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8679 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8681 # Generated by $as_me.
8682 # Run this file to recreate the current configuration.
8683 # Compiler output produced by configure, useful for debugging
8684 # configure, is in config.log if it exists.
8690 SHELL=\${CONFIG_SHELL-$SHELL}
8693 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8694 ## -------------------- ##
8695 ## M4sh Initialization. ##
8696 ## -------------------- ##
8698 # Be more Bourne compatible
8699 DUALCASE
=1; export DUALCASE
# for MKS sh
8700 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8703 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8704 # is contrary to our usage. Disable this feature.
8705 alias -g '${1+"$@"}'='"$@"'
8706 setopt NO_GLOB_SUBST
8708 case `(set -o) 2>/dev/null` in #(
8720 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8721 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8722 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8723 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8724 # Prefer a ksh shell builtin over an external printf program on Solaris,
8725 # but without wasting forks for bash or zsh.
8726 if test -z "$BASH_VERSION$ZSH_VERSION" \
8727 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8728 as_echo='print
-r --'
8729 as_echo_n='print
-rn --'
8730 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8731 as_echo='printf %s
\n'
8732 as_echo_n='printf %s
'
8734 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8735 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8736 as_echo_n='/usr
/ucb
/echo -n'
8738 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8739 as_echo_n_body='eval
8743 expr "X$arg" : "X\\(.*\\)$as_nl";
8744 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8746 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8748 export as_echo_n_body
8749 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8752 as_echo='sh
-c $as_echo_body as_echo
'
8755 # The user is always right.
8756 if test "${PATH_SEPARATOR+set}" != set; then
8758 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8759 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8766 # We need space, tab and new line, in precisely that order. Quoting is
8767 # there to prevent editors from complaining about space-tab.
8768 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8769 # splitting by setting IFS to empty value.)
8772 # Find who we are. Look in the path if we contain no directory separator.
8774 *[\\/]* ) as_myself=$0 ;;
8775 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8779 test -z "$as_dir" && as_dir=.
8780 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8786 # We did not find ourselves, most probably we were run as `sh COMMAND'
8787 # in which case we are not to be found in the path.
8788 if test "x$as_myself" = x
; then
8791 if test ! -f "$as_myself"; then
8792 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8796 # Unset variables that we do not need and which cause bugs (e.g. in
8797 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8798 # suppresses any "Segmentation fault" message there. '((' could
8799 # trigger a bug in pdksh 5.2.14.
8800 for as_var
in BASH_ENV ENV MAIL MAILPATH
8801 do eval test x\
${$as_var+set} = xset \
8802 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8815 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8818 # as_fn_error ERROR [LINENO LOG_FD]
8819 # ---------------------------------
8820 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8821 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8822 # script with status $?, using 1 if that was 0.
8825 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8827 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8828 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8830 $as_echo "$as_me: error: $1" >&2
8831 as_fn_exit
$as_status
8835 # as_fn_set_status STATUS
8836 # -----------------------
8837 # Set $? to STATUS, without forking.
8841 } # as_fn_set_status
8845 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8855 # Portably unset VAR.
8858 { eval $1=; unset $1;}
8860 as_unset
=as_fn_unset
8861 # as_fn_append VAR VALUE
8862 # ----------------------
8863 # Append the text in VALUE to the end of the definition contained in VAR. Take
8864 # advantage of any shell optimizations that allow amortized linear growth over
8865 # repeated appends, instead of the typical quadratic growth present in naive
8867 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8868 eval 'as_fn_append ()
8879 # as_fn_arith ARG...
8880 # ------------------
8881 # Perform arithmetic evaluation on the ARGs, and store the result in the
8882 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8883 # must be portable across $(()) and expr.
8884 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8885 eval 'as_fn_arith ()
8892 as_val
=`expr "$@" || test $? -eq 1`
8897 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8898 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8904 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8905 as_basename
=basename
8910 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8916 as_me
=`$as_basename -- "$0" ||
8917 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8918 X"$0" : 'X\(//\)$' \| \
8919 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8921 sed '/^.*\/\([^/][^/]*\)\/*$/{
8935 # Avoid depending upon Character Ranges.
8936 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8937 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8938 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8939 as_cr_digits
='0123456789'
8940 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8942 ECHO_C
= ECHO_N
= ECHO_T
=
8943 case `echo -n x` in #(((((
8945 case `echo 'xy\c'` in
8946 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8948 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8955 rm -f conf$$ conf$$.exe conf$$.
file
8956 if test -d conf$$.dir
; then
8957 rm -f conf$$.dir
/conf$$.
file
8960 mkdir conf$$.dir
2>/dev
/null
8962 if (echo >conf$$.
file) 2>/dev
/null
; then
8963 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8965 # ... but there are two gotchas:
8966 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8967 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8968 # In both cases, we have to default to `cp -p'.
8969 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8971 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8979 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8980 rmdir conf$$.dir
2>/dev
/null
8985 # Create "$as_dir" as a directory, including parents if necessary.
8990 -*) as_dir
=.
/$as_dir;;
8992 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8996 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8997 *) as_qdir
=$as_dir;;
8999 as_dirs
="'$as_qdir' $as_dirs"
9000 as_dir
=`$as_dirname -- "$as_dir" ||
9001 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9002 X"$as_dir" : 'X\(//\)[^/]' \| \
9003 X"$as_dir" : 'X\(//\)$' \| \
9004 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9005 $as_echo X"$as_dir" |
9006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9023 test -d "$as_dir" && break
9025 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9026 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
9030 if mkdir
-p .
2>/dev
/null
; then
9031 as_mkdir_p
='mkdir -p "$as_dir"'
9033 test -d .
/-p && rmdir .
/-p
9037 if test -x / >/dev
/null
2>&1; then
9040 if ls -dL / >/dev
/null
2>&1; then
9047 if test -d "$1"; then
9053 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9054 ???[sx]*):;;*)false;;esac;fi
9058 as_executable_p
=$as_test_x
9060 # Sed expression to map a string onto a valid CPP name.
9061 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9063 # Sed expression to map a string onto a valid variable name.
9064 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9068 ## ----------------------------------- ##
9069 ## Main body of $CONFIG_STATUS script. ##
9070 ## ----------------------------------- ##
9072 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
9074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9075 # Save the log message, to keep $0 and so on meaningful, and to
9076 # report actual input values of CONFIG_FILES etc. instead of their
9077 # values after options handling.
9079 This file was extended by $as_me, which was
9080 generated by GNU Autoconf 2.64. Invocation command line was
9082 CONFIG_FILES = $CONFIG_FILES
9083 CONFIG_HEADERS = $CONFIG_HEADERS
9084 CONFIG_LINKS = $CONFIG_LINKS
9085 CONFIG_COMMANDS = $CONFIG_COMMANDS
9088 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9093 case $ac_config_files in *"
9094 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9097 case $ac_config_headers in *"
9098 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9103 # Files that config.status was made for.
9104 config_files="$ac_config_files"
9105 config_headers="$ac_config_headers"
9106 config_commands="$ac_config_commands"
9110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9112 \`$as_me' instantiates files and other configuration actions
9113 from templates according to the current configuration. Unless the files
9114 and actions are specified as TAGs, all are instantiated by default.
9116 Usage: $0 [OPTION]... [TAG]...
9118 -h, --help print this help, then exit
9119 -V, --version print version number and configuration settings, then exit
9120 -q, --quiet, --silent
9121 do not print progress messages
9122 -d, --debug don't remove temporary files
9123 --recheck update $as_me by reconfiguring in the same conditions
9124 --file=FILE[:TEMPLATE]
9125 instantiate the configuration file FILE
9126 --header=FILE[:TEMPLATE]
9127 instantiate the configuration header FILE
9129 Configuration files:
9132 Configuration headers:
9135 Configuration commands:
9138 Report bugs to the package provider."
9141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9144 configured by $0, generated by GNU Autoconf 2.64,
9145 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9147 Copyright (C) 2009 Free Software Foundation, Inc.
9148 This config.status script is free software; the Free Software Foundation
9149 gives unlimited permission to copy, distribute and modify it."
9156 test -n "\$AWK" || AWK=awk
9159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9160 # The default lists apply if the user does not specify any file.
9166 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9167 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9178 # Handling of the options.
9179 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9181 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9182 $as_echo "$ac_cs_version"; exit ;;
9183 --debug |
--debu |
--deb |
--de |
--d |
-d )
9185 --file |
--fil |
--fi |
--f )
9188 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9190 as_fn_append CONFIG_FILES
" '$ac_optarg'"
9191 ac_need_defaults
=false
;;
9192 --header |
--heade |
--head |
--hea )
9195 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9197 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
9198 ac_need_defaults
=false
;;
9200 # Conflict between --help and --header
9201 as_fn_error
"ambiguous option: \`$1'
9202 Try \`$0 --help' for more information.";;
9203 --help |
--hel |
-h )
9204 $as_echo "$ac_cs_usage"; exit ;;
9205 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9206 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9210 -*) as_fn_error
"unrecognized option: \`$1'
9211 Try \`$0 --help' for more information." ;;
9213 *) as_fn_append ac_config_targets
" $1"
9214 ac_need_defaults
=false
;;
9220 ac_configure_extra_args
=
9222 if $ac_cs_silent; then
9224 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9229 if \$ac_cs_recheck; then
9230 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9232 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9233 CONFIG_SHELL='$SHELL'
9239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9243 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9244 ## Running $as_me. ##
9250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9254 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9260 # Handling of arguments.
9261 for ac_config_target
in $ac_config_targets
9263 case $ac_config_target in
9264 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
9265 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9266 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9267 "gnulib/Makefile") CONFIG_FILES
="$CONFIG_FILES gnulib/Makefile:${srcdir}/../gnulib/Makefile.in" ;;
9268 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9270 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9275 # If the user did not use the arguments to specify the items to instantiate,
9276 # then the envvar interface is used. Set only those that are not.
9277 # We use the long form for the default assignment because of an extremely
9278 # bizarre bug on SunOS 4.1.3.
9279 if $ac_need_defaults; then
9280 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9281 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9282 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9285 # Have a temporary directory for convenience. Make it in the build tree
9286 # simply because there is no reason against having it here, and in addition,
9287 # creating and moving files from /tmp can sometimes cause problems.
9288 # Hook for its removal unless debugging.
9289 # Note that there is a small window in which the directory will not be cleaned:
9290 # after its creation but before its name has been assigned to `$tmp'.
9294 trap 'exit_status=$?
9295 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9297 trap 'as_fn_exit 1' 1 2 13 15
9299 # Create a (secure) tmp directory for tmp files.
9302 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9303 test -n "$tmp" && test -d "$tmp"
9306 tmp
=.
/conf$$
-$RANDOM
9307 (umask 077 && mkdir
"$tmp")
9308 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
9310 # Set up the scripts for CONFIG_FILES section.
9311 # No need to generate them if there are no CONFIG_FILES.
9312 # This happens for instance with `./config.status config.h'.
9313 if test -n "$CONFIG_FILES"; then
9316 ac_cr
=`echo X | tr X '\015'`
9317 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9318 # But we know of no other shell where ac_cr would be empty at this
9319 # point, so we can use a bashism as a fallback.
9320 if test "x$ac_cr" = x
; then
9321 eval ac_cr
=\$
\'\\r
\'
9323 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9324 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9330 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9335 echo "cat >conf$$subs.awk <<_ACEOF" &&
9336 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9339 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9340 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9342 for ac_last_try in false false false false false :; do
9343 . ./conf$$subs.sh ||
9344 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9346 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9347 if test $ac_delim_n = $ac_delim_num; then
9349 elif $ac_last_try; then
9350 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9352 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9358 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9362 s/^/S["/; s
/!.
*/"]=/
9372 s/\(.\{148\}\).*/\1/
9374 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9379 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9386 s/\(.\{148\}\).*/\1/
9388 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9392 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9397 ' <conf$$subs.awk | sed '
9402 ' >>$CONFIG_STATUS || ac_write_fail=1
9403 rm -f conf$$subs.awk
9404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9406 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9407 for (key in S) S_is_set[key] = 1
9413 nfields = split(line, field, "@
")
9415 len = length(field[1])
9416 for (i = 2; i < nfields; i++) {
9418 keylen = length(key)
9419 if (S_is_set[key]) {
9421 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9422 len += length(value) + length(field[++i])
9433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9434 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9435 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9438 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9439 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
9442 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9443 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9444 # trailing colons and then remove the whole line if VPATH becomes empty
9445 # (actually we leave an empty line to preserve line numbers).
9446 if test "x
$srcdir" = x.; then
9447 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9451 s/^\([^=]*=[ ]*\):*/\1/
9457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9458 fi # test -n "$CONFIG_FILES"
9460 # Set up the scripts for CONFIG_HEADERS section.
9461 # No need to generate them if there are no CONFIG_HEADERS.
9462 # This happens for instance with `./config.status Makefile'.
9463 if test -n "$CONFIG_HEADERS"; then
9464 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9468 # Transform confdefs.h into an awk script `defines.awk', embedded as
9469 # here-document in config.status, that substitutes the proper values into
9470 # config.h.in to produce config.h.
9472 # Create a delimiter string that does not exist in confdefs.h, to ease
9473 # handling of long lines.
9475 for ac_last_try in false false :; do
9476 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9477 if test -z "$ac_t"; then
9479 elif $ac_last_try; then
9480 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
9482 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9486 # For the awk script, D is an array of macro values keyed by name,
9487 # likewise P contains macro parameters if any. Preserve backslash
9488 # newline sequences.
9490 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9492 s/.\{148\}/&'"$ac_delim"'/g
9495 s/^[ ]*#[ ]*define[ ][ ]*/ /
9502 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9504 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9508 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9509 D["\
1"]=" \
3\\\\\\n
"\\/p
9511 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9516 s/.\{148\}/&'"$ac_delim"'/g
9521 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9524 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9526 ' <confdefs.h | sed '
9527 s/'"$ac_delim"'/"\\\
9528 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9531 for (key in D) D_is_set[key] = 1
9534 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9536 split(line, arg, " ")
9537 if (arg[1] == "#") {
9541 defundef
= substr
(arg
[1], 2)
9544 split(mac1
, mac2
, "(") #)
9546 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9547 if (D_is_set
[macro
]) {
9548 # Preserve the white space surrounding the "#".
9549 print prefix
"define", macro P
[macro
] D
[macro
]
9552 # Replace #undef with comments. This is necessary, for example,
9553 # in the case of _POSIX_SOURCE, which is predefined and required
9554 # on some systems where configure will not decide to define it.
9555 if (defundef
== "undef") {
9556 print
"/*", prefix defundef
, macro
, "*/"
9564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9565 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
9566 fi # test -n "$CONFIG_HEADERS"
9569 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9574 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9576 case $ac_mode$ac_tag in
9578 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
9579 :[FH
]-) ac_tag
=-:-;;
9580 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9597 -) ac_f
="$tmp/stdin";;
9598 *) # Look for the file first in the build tree, then in the source tree
9599 # (if the path is not absolute). The absolute path cannot be DOS-style,
9600 # because $ac_f cannot contain `:'.
9604 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9606 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
9608 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9609 as_fn_append ac_file_inputs
" '$ac_f'"
9612 # Let's still pretend it is `configure' which instantiates (i.e., don't
9613 # use $as_me), people would be surprised to read:
9614 # /* config.h. Generated by config.status. */
9615 configure_input
='Generated from '`
9616 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9618 if test x
"$ac_file" != x-
; then
9619 configure_input
="$ac_file. $configure_input"
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9621 $as_echo "$as_me: creating $ac_file" >&6;}
9623 # Neutralize special characters interpreted by sed in replacement strings.
9624 case $configure_input in #(
9625 *\
&* |
*\|
* |
*\\* )
9626 ac_sed_conf_input
=`$as_echo "$configure_input" |
9627 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9628 *) ac_sed_conf_input
=$configure_input;;
9632 *:-:* |
*:-) cat >"$tmp/stdin" \
9633 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
9638 ac_dir
=`$as_dirname -- "$ac_file" ||
9639 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9640 X"$ac_file" : 'X\(//\)[^/]' \| \
9641 X"$ac_file" : 'X\(//\)$' \| \
9642 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9643 $as_echo X"$ac_file" |
9644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9661 as_dir
="$ac_dir"; as_fn_mkdir_p
9665 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9667 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9668 # A ".." for each directory in $ac_dir_suffix.
9669 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9670 case $ac_top_builddir_sub in
9671 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9672 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9675 ac_abs_top_builddir
=$ac_pwd
9676 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9677 # for backward compatibility:
9678 ac_top_builddir
=$ac_top_build_prefix
9681 .
) # We are building in place.
9683 ac_top_srcdir
=$ac_top_builddir_sub
9684 ac_abs_top_srcdir
=$ac_pwd ;;
9685 [\\/]* | ?
:[\\/]* ) # Absolute name.
9686 ac_srcdir
=$srcdir$ac_dir_suffix;
9687 ac_top_srcdir
=$srcdir
9688 ac_abs_top_srcdir
=$srcdir ;;
9690 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9691 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9692 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9694 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9704 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9705 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9709 [\\/$
]* | ?
:[\\/]* ) ;;
9710 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9715 # If the template does not know about datarootdir, expand it.
9716 # FIXME: This hack should be removed a few years after 2.60.
9717 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9728 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9729 *datarootdir
*) ac_datarootdir_seen
=yes;;
9730 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9732 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9735 ac_datarootdir_hack='
9736 s&@datadir@&$datadir&g
9737 s&@docdir@&$docdir&g
9738 s&@infodir@&$infodir&g
9739 s&@localedir@&$localedir&g
9740 s&@mandir@&$mandir&g
9741 s&\\\${datarootdir}&$datarootdir&g' ;;
9745 # Neutralize VPATH when `$srcdir' = `.'.
9746 # Shell code in configure.ac might set extrasub.
9747 # FIXME: do we really want to maintain this feature?
9748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9749 ac_sed_extra="$ac_vpsub
9752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9754 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9755 s|@configure_input@|
$ac_sed_conf_input|
;t t
9756 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9757 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9758 s
&@srcdir@
&$ac_srcdir&;t t
9759 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9760 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9761 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9762 s
&@builddir@
&$ac_builddir&;t t
9763 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9764 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9765 s
&@INSTALL@
&$ac_INSTALL&;t t
9766 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9767 $ac_datarootdir_hack
9769 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9770 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9772 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9773 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9774 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9776 which seems to be undefined. Please make sure it is defined." >&5
9777 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9778 which seems to be undefined. Please make sure it is defined." >&2;}
9782 -) cat "$tmp/out" && rm -f "$tmp/out";;
9783 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9785 || as_fn_error "could not create $ac_file" "$LINENO" 5
9791 if test x"$ac_file" != x-; then
9793 $as_echo "/* $configure_input */" \
9794 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9795 } >"$tmp/config.h" \
9796 || as_fn_error "could not create $ac_file" "$LINENO" 5
9797 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9799 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9802 mv "$tmp/config.h" "$ac_file" \
9803 || as_fn_error "could not create $ac_file" "$LINENO" 5
9806 $as_echo "/* $configure_input */" \
9807 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9808 || as_fn_error "could not create -" "$LINENO" 5
9810 # Compute "$ac_file"'s index
in $config_headers.
9813 for _am_header
in $config_headers :; do
9815 $_am_arg |
$_am_arg:* )
9818 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9821 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9822 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9823 X"$_am_arg" : 'X\(//\)[^/]' \| \
9824 X"$_am_arg" : 'X\(//\)$' \| \
9825 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9826 $as_echo X"$_am_arg" |
9827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9843 s/.*/./; q'`/stamp-h
$_am_stamp_count
9846 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9847 $as_echo "$as_me: executing $ac_file commands" >&6;}
9852 case $ac_file$ac_mode in
9853 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9854 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9855 # are listed without --file. Let's play safe and only enable the eval
9856 # if we detect the quoting.
9857 case $CONFIG_FILES in
9858 *\'*) eval set x
"$CONFIG_FILES" ;;
9859 *) set x
$CONFIG_FILES ;;
9864 # Strip MF so we end up with the name of the file.
9865 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9866 # Check whether this is an Automake generated Makefile or not.
9867 # We used to match only the files named `Makefile.in', but
9868 # some people rename them; so instead we look at the file content.
9869 # Grep'ing the first line is not enough: some people post-process
9870 # each Makefile.in and add a new line on top of each file to say so.
9871 # Grep'ing the whole file is not good either: AIX grep has a line
9872 # limit of 2048, but all sed's we know have understand at least 4000.
9873 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9874 dirpart
=`$as_dirname -- "$mf" ||
9875 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9876 X"$mf" : 'X\(//\)[^/]' \| \
9877 X"$mf" : 'X\(//\)$' \| \
9878 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9900 # Extract the definition of DEPDIR, am__include, and am__quote
9901 # from the Makefile without running `make'.
9902 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9903 test -z "$DEPDIR" && continue
9904 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9905 test -z "am__include" && continue
9906 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9907 # When using ansi2knr, U may be empty or an underscore; expand it
9908 U
=`sed -n 's/^U = //p' < "$mf"`
9909 # Find all dependency output files, they are included files with
9910 # $(DEPDIR) in their names. We invoke sed twice because it is the
9911 # simplest approach to changing $(DEPDIR) to its actual value in the
9913 for file in `sed -n "
9914 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9915 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9916 # Make sure the directory exists.
9917 test -f "$dirpart/$file" && continue
9918 fdir
=`$as_dirname -- "$file" ||
9919 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9920 X"$file" : 'X\(//\)[^/]' \| \
9921 X"$file" : 'X\(//\)$' \| \
9922 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9941 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9942 # echo "creating $dirpart/$file"
9943 echo '# dummy' > "$dirpart/$file"
9948 "default":C
) case x
$CONFIG_HEADERS in
9949 xconfig.h
:config.
in)
9960 ac_clean_files
=$ac_clean_files_save
9962 test $ac_write_fail = 0 ||
9963 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9966 # configure is writing to config.log, and then calls config.status.
9967 # config.status does its own redirection, appending to config.log.
9968 # Unfortunately, on DOS this fails, as config.log is still kept open
9969 # by configure, so config.status won't be able to write to it; its
9970 # output is simply discarded. So we exec the FD to /dev/null,
9971 # effectively closing config.log, so it can be properly (re)opened and
9972 # appended to by config.status. When coming back to configure, we
9973 # need to make the FD available again.
9974 if test "$no_create" != yes; then
9976 ac_config_status_args
=
9977 test "$silent" = yes &&
9978 ac_config_status_args
="$ac_config_status_args --quiet"
9980 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9982 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9983 # would make configure fail if this is the last instruction.
9984 $ac_cs_success || as_fn_exit $?
9986 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9988 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}