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; }
5433 if test "$bfd_cv_have_sys_procfs_type_lwpid_t" != yes; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in thread_db.h" >&5
5435 $as_echo_n "checking for lwpid_t in thread_db.h... " >&6; }
5436 if test "${gdbserver_cv_have_thread_db_type_lwpid_t+set}" = set; then :
5437 $as_echo_n "(cached) " >&6
5439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5440 /* end confdefs.h. */
5442 #include <thread_db.h>
5451 if ac_fn_c_try_compile
"$LINENO"; then :
5452 gdbserver_cv_have_thread_db_type_lwpid_t
=yes
5454 gdbserver_cv_have_thread_db_type_lwpid_t
=no
5457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5460 if test $gdbserver_cv_have_thread_db_type_lwpid_t = yes; then
5462 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_lwpid_t" >&5
5466 $as_echo "$gdbserver_cv_have_thread_db_type_lwpid_t" >&6; }
5470 if test "$bfd_cv_have_sys_procfs_type_psaddr_t" != yes; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in thread_db.h" >&5
5472 $as_echo_n "checking for psaddr_t in thread_db.h... " >&6; }
5473 if test "${gdbserver_cv_have_thread_db_type_psaddr_t+set}" = set; then :
5474 $as_echo_n "(cached) " >&6
5476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5477 /* end confdefs.h. */
5479 #include <thread_db.h>
5488 if ac_fn_c_try_compile
"$LINENO"; then :
5489 gdbserver_cv_have_thread_db_type_psaddr_t
=yes
5491 gdbserver_cv_have_thread_db_type_psaddr_t
=no
5494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5497 if test $gdbserver_cv_have_thread_db_type_psaddr_t = yes; then
5499 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_psaddr_t" >&5
5503 $as_echo "$gdbserver_cv_have_thread_db_type_psaddr_t" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
5509 $as_echo_n "checking for dlopen in -ldl... " >&6; }
5510 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
5511 $as_echo_n "(cached) " >&6
5513 ac_check_lib_save_LIBS
=$LIBS
5515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5516 /* end confdefs.h. */
5518 /* Override any GCC internal prototype to avoid an error.
5519 Use char because int might match the return type of a GCC
5520 builtin and then its argument prototype would still apply. */
5533 if ac_fn_c_try_link
"$LINENO"; then :
5534 ac_cv_lib_dl_dlopen
=yes
5536 ac_cv_lib_dl_dlopen
=no
5538 rm -f core conftest.err conftest.
$ac_objext \
5539 conftest
$ac_exeext conftest.
$ac_ext
5540 LIBS
=$ac_check_lib_save_LIBS
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
5543 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
5544 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
5545 cat >>confdefs.h
<<_ACEOF
5546 #define HAVE_LIBDL 1
5555 srv_thread_depfiles
=
5559 if test "$srv_linux_thread_db" = "yes"; then
5560 if test "$ac_cv_lib_dl_dlopen" = "yes"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the dynamic export flag" >&5
5563 $as_echo_n "checking for the dynamic export flag... " >&6; }
5564 old_LDFLAGS
="$LDFLAGS"
5565 # Older GNU ld supports --export-dynamic but --dynamic-list may not be
5567 RDYNAMIC
="-Wl,--dynamic-list=${srcdir}/proc-service.list"
5568 LDFLAGS
="$LDFLAGS $RDYNAMIC"
5569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5580 if ac_fn_c_try_link
"$LINENO"; then :
5581 found
="-Wl,--dynamic-list"
5582 RDYNAMIC
='-Wl,--dynamic-list=$(srcdir)/proc-service.list'
5584 RDYNAMIC
="-rdynamic"
5585 LDFLAGS
="$old_LDFLAGS $RDYNAMIC"
5586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h. */
5597 if ac_fn_c_try_link
"$LINENO"; then :
5603 rm -f core conftest.err conftest.
$ac_objext \
5604 conftest
$ac_exeext conftest.
$ac_ext
5606 rm -f core conftest.err conftest.
$ac_objext \
5607 conftest
$ac_exeext conftest.
$ac_ext
5609 LDFLAGS
="$old_LDFLAGS"
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
5611 $as_echo "$found" >&6; }
5613 srv_libs
="-lthread_db"
5616 srv_thread_depfiles
="thread-db.o proc-service.o"
5617 USE_THREAD_DB
="-DUSE_THREAD_DB"
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TD_VERSION" >&5
5619 $as_echo_n "checking for TD_VERSION... " >&6; }
5620 if test "${gdbsrv_cv_have_td_version+set}" = set; then :
5621 $as_echo_n "(cached) " >&6
5623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5625 #include <thread_db.h>
5634 if ac_fn_c_try_compile
"$LINENO"; then :
5635 gdbsrv_cv_have_td_version
=yes
5637 gdbsrv_cv_have_td_version
=no
5639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_td_version" >&5
5642 $as_echo "$gdbsrv_cv_have_td_version" >&6; }
5643 if test $gdbsrv_cv_have_td_version = yes; then
5645 $as_echo "#define HAVE_TD_VERSION 1" >>confdefs.h
5651 # Check whether --with-libthread-db was given.
5652 if test "${with_libthread_db+set}" = set; then :
5653 withval
=$with_libthread_db; srv_libthread_db_path
="${withval}"
5654 srv_libs
="$srv_libthread_db_path"
5659 if test "$srv_libs" != "" -a "$srv_libs" != "-ldl"; then
5661 $as_echo "#define USE_LIBTHREAD_DB_DIRECTLY 1" >>confdefs.h
5665 if test "$srv_xmlfiles" != ""; then
5666 srv_xmlbuiltin
="xml-builtin.o"
5668 $as_echo "#define USE_XML 1" >>confdefs.h
5671 tmp_xmlfiles
=$srv_xmlfiles
5673 for f
in $tmp_xmlfiles; do
5674 srv_xmlfiles
="$srv_xmlfiles \$(XML_DIR)/$f"
5678 GDBSERVER_DEPFILES
="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles"
5679 GDBSERVER_LIBS
="$srv_libs"
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
5682 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
5683 if test "${gdbsrv_cv_have_sync_builtins+set}" = set; then :
5684 $as_echo_n "(cached) " >&6
5687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5693 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
5698 if ac_fn_c_try_link
"$LINENO"; then :
5699 gdbsrv_cv_have_sync_builtins
=yes
5701 gdbsrv_cv_have_sync_builtins
=no
5703 rm -f core conftest.err conftest.
$ac_objext \
5704 conftest
$ac_exeext conftest.
$ac_ext
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_sync_builtins" >&5
5707 $as_echo "$gdbsrv_cv_have_sync_builtins" >&6; }
5708 if test $gdbsrv_cv_have_sync_builtins = yes; then
5710 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
5714 saved_cflags
="$CFLAGS"
5715 CFLAGS
="$CFLAGS -fvisibility=hidden"
5716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5727 if ac_fn_c_try_compile
"$LINENO"; then :
5728 gdbsrv_cv_have_visibility_hidden
=yes
5730 gdbsrv_cv_have_visibility_hidden
=no
5732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5733 CFLAGS
="$saved_cflags"
5735 ac_fn_c_check_decl
"$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include <sys/personality.h>
5737 if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = x
""yes; then :
5743 cat >>confdefs.h
<<_ACEOF
5744 #define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
5748 if test "$cross_compiling" = yes; then :
5749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5751 #include <sys/personality.h>
5756 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
5757 # define ADDR_NO_RANDOMIZE 0x0040000
5759 /* Test the flag could be set and stays set. */
5760 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
5761 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
5767 if ac_fn_c_try_link
"$LINENO"; then :
5768 gdbsrv_cv_have_personality
=true
5770 gdbsrv_cv_have_personality
=false
5772 rm -f core conftest.err conftest.
$ac_objext \
5773 conftest
$ac_exeext conftest.
$ac_ext
5775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5776 /* end confdefs.h. */
5777 #include <sys/personality.h>
5782 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
5783 # define ADDR_NO_RANDOMIZE 0x0040000
5785 /* Test the flag could be set and stays set. */
5786 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
5787 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
5793 if ac_fn_c_try_run
"$LINENO"; then :
5794 gdbsrv_cv_have_personality
=true
5796 gdbsrv_cv_have_personality
=false
5798 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5799 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5802 if $gdbsrv_cv_have_personality
5805 $as_echo "#define HAVE_PERSONALITY 1" >>confdefs.h
5813 # check whether to enable the inprocess agent
5814 if test "$ipa_obj" != "" \
5815 -a "$gdbsrv_cv_have_sync_builtins" = yes \
5816 -a "$gdbsrv_cv_have_visibility_hidden" = yes; then
5822 # Check whether --enable-inprocess-agent was given.
5823 if test "${enable_inprocess_agent+set}" = set; then :
5824 enableval
=$enable_inprocess_agent; case "$enableval" in
5825 yes) want_ipa
=true
;;
5826 no
) want_ipa
=false
;;
5827 *) as_fn_error
"bad value $enableval for inprocess-agent" "$LINENO" 5 ;;
5836 IPA_DEPFILES
="$ipa_obj"
5837 extra_libraries
="$extra_libraries libinproctrace.so"
5839 as_fn_error
"inprocess agent not supported for this target" "$LINENO" 5
5855 LIBC_FATAL_STDERR_
=1
5856 export LIBC_FATAL_STDERR_
5862 for ac_header
in $gl_header_list
5864 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5865 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5866 eval as_val
=\$
$as_ac_Header
5867 if test "x$as_val" = x
""yes; then :
5868 cat >>confdefs.h
<<_ACEOF
5869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5884 for ac_func
in $gl_func_list
5886 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5887 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5888 eval as_val
=\$
$as_ac_var
5889 if test "x$as_val" = x
""yes; then :
5890 cat >>confdefs.h
<<_ACEOF
5891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5917 GNULIB_STRCASESTR
=0;
5924 GNULIB_MBSCASECMP
=0;
5925 GNULIB_MBSNCASECMP
=0;
5926 GNULIB_MBSPCASECMP
=0;
5927 GNULIB_MBSCASESTR
=0;
5935 GNULIB_STRVERSCMP
=0;
5940 HAVE_DECL_MEMRCHR
=1;
5946 HAVE_DECL_STRNDUP
=1;
5947 HAVE_DECL_STRNLEN
=1;
5951 HAVE_DECL_STRTOK_R
=1;
5952 HAVE_DECL_STRSIGNAL
=1;
5959 REPLACE_STRCASESTR
=0;
5964 REPLACE_STRSIGNAL
=0;
5966 UNDEFINE_STRTOK_R
=0;
5980 # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
5981 # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
5982 # irrelevant for anonymous mappings.
5983 ac_fn_c_check_func
"$LINENO" "mmap" "ac_cv_func_mmap"
5984 if test "x$ac_cv_func_mmap" = x
""yes; then :
5991 # Try to allow MAP_ANONYMOUS.
5992 gl_have_mmap_anonymous
=no
5993 if test $gl_have_mmap = yes; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
5995 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
5996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
5999 #include <sys/mman.h>
6000 #ifdef MAP_ANONYMOUS
6001 I cant identify this map.
6005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6006 $EGREP "I cant identify this map." >/dev
/null
2>&1; then :
6007 gl_have_mmap_anonymous
=yes
6011 if test $gl_have_mmap_anonymous != yes; then
6012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6013 /* end confdefs.h. */
6015 #include <sys/mman.h>
6017 I cant identify this map.
6021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6022 $EGREP "I cant identify this map." >/dev
/null
2>&1; then :
6024 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
6026 gl_have_mmap_anonymous
=yes
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
6032 $as_echo "$gl_have_mmap_anonymous" >&6; }
6033 if test $gl_have_mmap_anonymous = yes; then
6035 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
6063 if test $ac_cv_func_memchr = yes; then
6064 # Detect platform-specific bugs in some versions of glibc:
6065 # memchr should not dereference anything with length 0
6066 # http://bugzilla.redhat.com/499689
6067 # memchr should not dereference overestimated length after a match
6068 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
6069 # http://sourceware.org/bugzilla/show_bug.cgi?id=10162
6070 # Assume that memchr works on platforms that lack mprotect.
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
6072 $as_echo_n "checking whether memchr works... " >&6; }
6073 if test "${gl_cv_func_memchr_works+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6076 if test "$cross_compiling" = yes; then :
6077 gl_cv_func_memchr_works
="guessing no"
6079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6085 # include <unistd.h>
6086 # include <sys/types.h>
6087 # include <sys/mman.h>
6098 #if HAVE_SYS_MMAN_H && HAVE_MPROTECT
6099 # if HAVE_MAP_ANONYMOUS
6100 const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
6102 # else /* !HAVE_MAP_ANONYMOUS */
6103 const int flags = MAP_FILE | MAP_PRIVATE;
6104 int fd = open ("/dev/zero", O_RDONLY, 0666);
6108 int pagesize = getpagesize ();
6110 (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
6112 if (two_pages != (char *)(-1)
6113 && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
6114 fence = two_pages + pagesize;
6119 if (memchr (fence, 0, 0))
6121 strcpy (fence - 9, "12345678");
6122 if (memchr (fence - 9, 0, 79) != fence - 1)
6131 if ac_fn_c_try_run
"$LINENO"; then :
6132 gl_cv_func_memchr_works
=yes
6134 gl_cv_func_memchr_works
=no
6136 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6137 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
6142 $as_echo "$gl_cv_func_memchr_works" >&6; }
6143 if test "$gl_cv_func_memchr_works" != yes; then
6149 if test $HAVE_MEMCHR = 0 ||
test $REPLACE_MEMCHR = 1; then
6158 gl_LIBOBJS
="$gl_LIBOBJS memchr.$ac_objext"
6161 for ac_header
in bp-sym.h
6163 ac_fn_c_check_header_mongrel
"$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
6164 if test "x$ac_cv_header_bp_sym_h" = x
""yes; then :
6165 cat >>confdefs.h
<<_ACEOF
6166 #define HAVE_BP_SYM_H 1
6177 ac_fn_c_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
6178 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
6184 cat >>confdefs.h
<<_ACEOF
6185 #define HAVE_DECL_MEMMEM $ac_have_decl
6201 for ac_func
in memmem
6203 ac_fn_c_check_func
"$LINENO" "memmem" "ac_cv_func_memmem"
6204 if test "x$ac_cv_func_memmem" = x
""yes; then :
6205 cat >>confdefs.h
<<_ACEOF
6206 #define HAVE_MEMMEM 1
6211 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
6224 if test $ac_cv_have_decl_memmem = no
; then
6230 gl_cv_c_multiarch
=no
6231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6232 /* end confdefs.h. */
6233 #ifndef __APPLE_CC__
6234 not a universal capable compiler
6239 if ac_fn_c_try_compile
"$LINENO"; then :
6243 for word
in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
6244 if test -n "$prev"; then
6246 i?
86 | x86_64 | ppc | ppc64
)
6247 if test -z "$arch" ||
test "$arch" = "$word"; then
6250 gl_cv_c_multiarch
=yes
6256 if test "x$word" = "x-arch"; then
6263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6264 if test $gl_cv_c_multiarch = yes; then
6266 $as_echo "#define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6268 APPLE_UNIVERSAL_BUILD
=1
6270 APPLE_UNIVERSAL_BUILD
=0
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
6281 $as_echo_n "checking for wchar_t... " >&6; }
6282 if test "${gt_cv_c_wchar_t+set}" = set; then :
6283 $as_echo_n "(cached) " >&6
6285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6288 wchar_t foo = (wchar_t)'\0';
6297 if ac_fn_c_try_compile
"$LINENO"; then :
6302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
6305 $as_echo "$gt_cv_c_wchar_t" >&6; }
6306 if test $gt_cv_c_wchar_t = yes; then
6308 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
6315 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
6316 if test "${gl_cv_have_include_next+set}" = set; then :
6317 $as_echo_n "(cached) " >&6
6319 rm -rf conftestd1a conftestd1b conftestd2
6320 mkdir conftestd1a conftestd1b conftestd2
6321 cat <<EOF > conftestd1a/conftest.h
6322 #define DEFINED_IN_CONFTESTD1
6323 #include_next <conftest.h>
6324 #ifdef DEFINED_IN_CONFTESTD2
6327 #error "include_next doesn't work"
6330 cat <<EOF > conftestd1b/conftest.h
6331 #define DEFINED_IN_CONFTESTD1
6333 #include_next <conftest.h>
6334 #ifdef DEFINED_IN_CONFTESTD2
6337 #error "include_next doesn't work"
6340 cat <<EOF > conftestd2/conftest.h
6341 #ifndef DEFINED_IN_CONFTESTD1
6342 #error "include_next test doesn't work"
6344 #define DEFINED_IN_CONFTESTD2
6346 gl_save_CPPFLAGS
="$CPPFLAGS"
6347 CPPFLAGS
="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
6348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6349 /* end confdefs.h. */
6350 #include <conftest.h>
6352 if ac_fn_c_try_compile
"$LINENO"; then :
6353 gl_cv_have_include_next
=yes
6355 CPPFLAGS
="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
6356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <conftest.h>
6360 if ac_fn_c_try_compile
"$LINENO"; then :
6361 gl_cv_have_include_next
=buggy
6363 gl_cv_have_include_next
=no
6365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6369 CPPFLAGS
="$gl_save_CPPFLAGS"
6370 rm -rf conftestd1a conftestd1b conftestd2
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
6374 $as_echo "$gl_cv_have_include_next" >&6; }
6375 PRAGMA_SYSTEM_HEADER
=
6376 if test $gl_cv_have_include_next = yes; then
6377 INCLUDE_NEXT
=include_next
6378 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
=include_next
6379 if test -n "$GCC"; then
6380 PRAGMA_SYSTEM_HEADER
='#pragma GCC system_header'
6383 if test $gl_cv_have_include_next = buggy
; then
6384 INCLUDE_NEXT
=include
6385 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
=include_next
6387 INCLUDE_NEXT
=include
6388 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
=include
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
6402 $as_echo_n "checking for long long int... " >&6; }
6403 if test "${ac_cv_type_long_long_int+set}" = set; then :
6404 $as_echo_n "(cached) " >&6
6406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h. */
6409 /* For now, do not test the preprocessor; as of 2007 there are too many
6410 implementations with broken preprocessors. Perhaps this can
6411 be revisited in 2012. In the meantime, code should not expect
6412 #if to work with literals wider than 32 bits. */
6413 /* Test literals. */
6414 long long int ll = 9223372036854775807ll;
6415 long long int nll = -9223372036854775807LL;
6416 unsigned long long int ull = 18446744073709551615ULL;
6417 /* Test constant expressions. */
6418 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
6420 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
6426 /* Test availability of runtime routines for shift and division. */
6427 long long int llmax = 9223372036854775807ll;
6428 unsigned long long int ullmax = 18446744073709551615ull;
6429 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
6430 | (llmax / ll) | (llmax % ll)
6431 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
6432 | (ullmax / ull) | (ullmax % ull));
6438 if ac_fn_c_try_link
"$LINENO"; then :
6439 if test "$cross_compiling" = yes; then :
6440 ac_cv_type_long_long_int
=yes
6442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6443 /* end confdefs.h. */
6447 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
6448 # define LLONG_MAX (HALF - 1 + HALF)
6453 long long int n = 1;
6457 long long int m = n << i;
6460 if (LLONG_MAX / 2 < m)
6468 if ac_fn_c_try_run
"$LINENO"; then :
6469 ac_cv_type_long_long_int
=yes
6471 ac_cv_type_long_long_int
=no
6473 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6474 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6478 ac_cv_type_long_long_int
=no
6480 rm -f core conftest.err conftest.
$ac_objext \
6481 conftest
$ac_exeext conftest.
$ac_ext
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
6484 $as_echo "$ac_cv_type_long_long_int" >&6; }
6485 if test $ac_cv_type_long_long_int = yes; then
6487 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
6493 $as_echo_n "checking for unsigned long long int... " >&6; }
6494 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
6495 $as_echo_n "(cached) " >&6
6497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6500 /* For now, do not test the preprocessor; as of 2007 there are too many
6501 implementations with broken preprocessors. Perhaps this can
6502 be revisited in 2012. In the meantime, code should not expect
6503 #if to work with literals wider than 32 bits. */
6504 /* Test literals. */
6505 long long int ll = 9223372036854775807ll;
6506 long long int nll = -9223372036854775807LL;
6507 unsigned long long int ull = 18446744073709551615ULL;
6508 /* Test constant expressions. */
6509 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
6511 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
6517 /* Test availability of runtime routines for shift and division. */
6518 long long int llmax = 9223372036854775807ll;
6519 unsigned long long int ullmax = 18446744073709551615ull;
6520 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
6521 | (llmax / ll) | (llmax % ll)
6522 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
6523 | (ullmax / ull) | (ullmax % ull));
6529 if ac_fn_c_try_link
"$LINENO"; then :
6530 ac_cv_type_unsigned_long_long_int
=yes
6532 ac_cv_type_unsigned_long_long_int
=no
6534 rm -f core conftest.err conftest.
$ac_objext \
6535 conftest
$ac_exeext conftest.
$ac_ext
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
6538 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
6539 if test $ac_cv_type_unsigned_long_long_int = yes; then
6541 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
6556 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
6557 if test "${ac_cv_c_restrict+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6561 # The order here caters to the fact that C++ does not require restrict.
6562 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
6563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6565 typedef int * int_ptr;
6566 int foo (int_ptr $ac_kw ip) {
6580 if ac_fn_c_try_compile
"$LINENO"; then :
6581 ac_cv_c_restrict
=$ac_kw
6583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6584 test "$ac_cv_c_restrict" != no
&& break
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
6589 $as_echo "$ac_cv_c_restrict" >&6; }
6591 case $ac_cv_c_restrict in
6593 no
) $as_echo "#define restrict /**/" >>confdefs.h
6595 *) cat >>confdefs.h
<<_ACEOF
6596 #define restrict $ac_cv_c_restrict
6621 if test $gl_cv_have_include_next = yes; then
6622 gl_cv_next_string_h
='<'string.h
'>'
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
6625 $as_echo_n "checking absolute name of <string.h>... " >&6; }
6626 if test "${gl_cv_next_string_h+set}" = set; then :
6627 $as_echo_n "(cached) " >&6
6630 if test $ac_cv_header_string_h = yes; then
6631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6637 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
6638 *) gl_absname_cpp
="$ac_cpp" ;;
6640 gl_cv_next_string_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
6641 sed -n '\#/string.h#{
6642 s#.*"\(.*/string.h\)".*#\1#
6648 gl_cv_next_string_h
='<'string.h
'>'
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
6653 $as_echo "$gl_cv_next_string_h" >&6; }
6655 NEXT_STRING_H
=$gl_cv_next_string_h
6657 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
6658 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
6659 gl_next_as_first_directive
='<'string.h
'>'
6661 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
6662 gl_next_as_first_directive
=$gl_cv_next_string_h
6664 NEXT_AS_FIRST_DIRECTIVE_STRING_H
=$gl_next_as_first_directive
6670 for gl_func
in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strsignal strverscmp
; do
6671 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
6673 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
6674 if { as_var
=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then :
6675 $as_echo_n "(cached) " >&6
6677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6678 /* end confdefs.h. */
6690 if ac_fn_c_try_compile
"$LINENO"; then :
6691 eval "$as_gl_Symbol=yes"
6693 eval "$as_gl_Symbol=no"
6695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6697 eval ac_res
=\$
$as_gl_Symbol
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6699 $as_echo "$ac_res" >&6; }
6700 eval as_val
=\$
$as_gl_Symbol
6701 if test "x$as_val" = x
""yes; then :
6702 cat >>confdefs.h
<<_ACEOF
6703 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
6706 eval ac_cv_have_decl_
$gl_func=yes
6718 GNULIB_MBSNRTOWCS
=0;
6721 GNULIB_WCSNRTOMBS
=0;
6733 HAVE_DECL_WCWIDTH
=1;
6734 REPLACE_MBSTATE_T
=0;
6740 REPLACE_MBSRTOWCS
=0;
6741 REPLACE_MBSNRTOWCS
=0;
6743 REPLACE_WCSRTOMBS
=0;
6744 REPLACE_WCSNRTOMBS
=0;
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
6749 $as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
6750 if test "${gl_cv_header_wchar_h_correct_inline+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6753 gl_cv_header_wchar_h_correct_inline
=yes
6754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6757 #define wcstod renamed_wcstod
6759 extern int zero (void);
6760 int main () { return zero(); }
6763 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6764 (eval $ac_compile) 2>&5
6766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6767 test $ac_status = 0; }; then
6768 mv conftest.
$ac_objext conftest1.
$ac_objext
6769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6770 /* end confdefs.h. */
6772 #define wcstod renamed_wcstod
6774 int zero (void) { return 0; }
6777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6778 (eval $ac_compile) 2>&5
6780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6781 test $ac_status = 0; }; then
6782 mv conftest.
$ac_objext conftest2.
$ac_objext
6783 if $CC -o conftest
$ac_exeext $CFLAGS $LDFLAGS conftest1.
$ac_objext conftest2.
$ac_objext $LIBS >&5 2>&1; then
6786 gl_cv_header_wchar_h_correct_inline
=no
6790 rm -f conftest1.
$ac_objext conftest2.
$ac_objext conftest
$ac_exeext
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
6794 $as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
6795 if test $gl_cv_header_wchar_h_correct_inline = no
; then
6796 as_fn_error
"<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
6797 This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
6798 C99 mode. You have four options:
6799 - Add the flag -fgnu89-inline to CC and reconfigure, or
6800 - Fix your include files, using parts of
6801 <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
6802 - Use a gcc version older than 4.3, or
6803 - Don't use the flags -std=c99 or -std=gnu99.
6804 Configuration aborted." "$LINENO" 5
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
6809 $as_echo_n "checking for wint_t... " >&6; }
6810 if test "${gt_cv_c_wint_t+set}" = set; then :
6811 $as_echo_n "(cached) " >&6
6813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6814 /* end confdefs.h. */
6816 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
6818 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
6819 before <wchar.h>. */
6824 wint_t foo = (wchar_t)'\0';
6833 if ac_fn_c_try_compile
"$LINENO"; then :
6838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
6841 $as_echo "$gt_cv_c_wint_t" >&6; }
6842 if test $gt_cv_c_wint_t = yes; then
6844 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
6850 GL_COND_LIBTOOL_TRUE
=
6851 GL_COND_LIBTOOL_FALSE
='#'
6853 GL_COND_LIBTOOL_TRUE
='#'
6854 GL_COND_LIBTOOL_FALSE
=
6857 gl_cond_libtool
=false
6860 gl_m4_base
='gnulib/m4'
6870 gl_source_base
='gnulib'
6871 # Code from module arg-nonnull:
6872 # Code from module c++defs:
6873 # Code from module extensions:
6874 # Code from module include_next:
6875 # Code from module memchr:
6884 $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h
6888 # Code from module memmem:
6891 if test $ac_cv_have_decl_memmem = yes; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works in linear time" >&5
6893 $as_echo_n "checking whether memmem works in linear time... " >&6; }
6894 if test "${gl_cv_func_memmem_works+set}" = set; then :
6895 $as_echo_n "(cached) " >&6
6897 if test "$cross_compiling" = yes; then :
6898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6899 /* end confdefs.h. */
6901 #include <features.h>
6902 #ifdef __GNU_LIBRARY__
6903 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9) || (__GLIBC__ > 2)
6908 #include <cygwin/version.h>
6909 #if CYGWIN_VERSION_DLL_MAJOR >= 1007
6915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6916 $EGREP "Lucky user" >/dev
/null
2>&1; then :
6917 gl_cv_func_memmem_works
=yes
6919 gl_cv_func_memmem_works
="guessing no"
6925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6926 /* end confdefs.h. */
6928 #include <signal.h> /* for signal */
6929 #include <string.h> /* for memmem */
6930 #include <stdlib.h> /* for malloc */
6931 #include <unistd.h> /* for alarm */
6937 char *haystack = (char *) malloc (2 * m + 1);
6938 char *needle = (char *) malloc (m + 1);
6940 /* Failure to compile this test due to missing alarm is okay,
6941 since all such platforms (mingw) also lack memmem. */
6942 signal (SIGALRM, SIG_DFL);
6944 /* Check for quadratic performance. */
6945 if (haystack && needle)
6947 memset (haystack, 'A', 2 * m);
6948 haystack[2 * m] = 'B';
6949 memset (needle, 'A', m);
6951 result = memmem (haystack, 2 * m + 1, needle, m + 1);
6953 /* Check for empty needle behavior. */
6954 return !result || !memmem ("a", 1, 0, 0);
6959 if ac_fn_c_try_run
"$LINENO"; then :
6960 gl_cv_func_memmem_works
=yes
6962 gl_cv_func_memmem_works
=no
6964 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6965 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works" >&5
6971 $as_echo "$gl_cv_func_memmem_works" >&6; }
6972 if test "$gl_cv_func_memmem_works" != yes; then
6982 gl_LIBOBJS
="$gl_LIBOBJS memmem.$ac_objext"
6987 # Code from module memmem-simple:
7000 for ac_func
in memmem
7002 ac_fn_c_check_func
"$LINENO" "memmem" "ac_cv_func_memmem"
7003 if test "x$ac_cv_func_memmem" = x
""yes; then :
7004 cat >>confdefs.h
<<_ACEOF
7005 #define HAVE_MEMMEM 1
7010 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
7023 if test $ac_cv_have_decl_memmem = no
; then
7035 $as_echo "#define GNULIB_TEST_MEMMEM 1" >>confdefs.h
7039 # Code from module multiarch:
7041 # Code from module stddef:
7045 if test $gt_cv_c_wchar_t = no
; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
7050 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
7051 if test "${gl_cv_decl_null_works+set}" = set; then :
7052 $as_echo_n "(cached) " >&6
7054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7055 /* end confdefs.h. */
7057 int test[2 * (sizeof NULL == sizeof (void *)) -1];
7067 if ac_fn_c_try_compile
"$LINENO"; then :
7068 gl_cv_decl_null_works
=yes
7070 gl_cv_decl_null_works
=no
7072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
7075 $as_echo "$gl_cv_decl_null_works" >&6; }
7076 if test $gl_cv_decl_null_works = no
; then
7080 if test -n "$STDDEF_H"; then
7093 if test $gl_cv_have_include_next = yes; then
7094 gl_cv_next_stddef_h
='<'stddef.h
'>'
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
7097 $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
7098 if test "${gl_cv_next_stddef_h+set}" = set; then :
7099 $as_echo_n "(cached) " >&6
7102 if test $ac_cv_header_stddef_h = yes; then
7103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7109 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
7110 *) gl_absname_cpp
="$ac_cpp" ;;
7112 gl_cv_next_stddef_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
7113 sed -n '\#/stddef.h#{
7114 s#.*"\(.*/stddef.h\)".*#\1#
7120 gl_cv_next_stddef_h
='<'stddef.h
'>'
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
7125 $as_echo "$gl_cv_next_stddef_h" >&6; }
7127 NEXT_STDDEF_H
=$gl_cv_next_stddef_h
7129 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
7130 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
7131 gl_next_as_first_directive
='<'stddef.h
'>'
7133 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
7134 gl_next_as_first_directive
=$gl_cv_next_stddef_h
7136 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
=$gl_next_as_first_directive
7142 # Code from module stdint:
7146 if test $ac_cv_type_long_long_int = yes; then
7147 HAVE_LONG_LONG_INT
=1
7149 HAVE_LONG_LONG_INT
=0
7153 if test $ac_cv_type_unsigned_long_long_int = yes; then
7154 HAVE_UNSIGNED_LONG_LONG_INT
=1
7156 HAVE_UNSIGNED_LONG_LONG_INT
=0
7160 if test $ac_cv_header_inttypes_h = yes; then
7167 if test $ac_cv_header_sys_types_h = yes; then
7186 if test $gl_cv_have_include_next = yes; then
7187 gl_cv_next_stdint_h
='<'stdint.h
'>'
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
7190 $as_echo_n "checking absolute name of <stdint.h>... " >&6; }
7191 if test "${gl_cv_next_stdint_h+set}" = set; then :
7192 $as_echo_n "(cached) " >&6
7195 if test $ac_cv_header_stdint_h = yes; then
7196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7197 /* end confdefs.h. */
7202 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
7203 *) gl_absname_cpp
="$ac_cpp" ;;
7205 gl_cv_next_stdint_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
7206 sed -n '\#/stdint.h#{
7207 s#.*"\(.*/stdint.h\)".*#\1#
7213 gl_cv_next_stdint_h
='<'stdint.h
'>'
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
7218 $as_echo "$gl_cv_next_stdint_h" >&6; }
7220 NEXT_STDINT_H
=$gl_cv_next_stdint_h
7222 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
7223 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
7224 gl_next_as_first_directive
='<'stdint.h
'>'
7226 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
7227 gl_next_as_first_directive
=$gl_cv_next_stdint_h
7229 NEXT_AS_FIRST_DIRECTIVE_STDINT_H
=$gl_next_as_first_directive
7233 if test $ac_cv_header_stdint_h = yes; then
7240 if test $ac_cv_header_stdint_h = yes; then
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
7242 $as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
7243 if test "${gl_cv_header_working_stdint_h+set}" = set; then :
7244 $as_echo_n "(cached) " >&6
7246 gl_cv_header_working_stdint_h
=no
7247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7248 /* end confdefs.h. */
7251 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
7252 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
7253 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
7255 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
7256 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
7257 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
7261 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7262 included before <wchar.h>. */
7273 int8_t a1 = INT8_MAX;
7274 int8_t a1min = INT8_MIN;
7277 int16_t a2 = INT16_MAX;
7278 int16_t a2min = INT16_MIN;
7281 int32_t a3 = INT32_MAX;
7282 int32_t a3min = INT32_MIN;
7285 int64_t a4 = INT64_MAX;
7286 int64_t a4min = INT64_MIN;
7289 uint8_t b1 = UINT8_MAX;
7291 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
7294 uint16_t b2 = UINT16_MAX;
7297 uint32_t b3 = UINT32_MAX;
7300 uint64_t b4 = UINT64_MAX;
7302 int_least8_t c1 = INT8_C (0x7f);
7303 int_least8_t c1max = INT_LEAST8_MAX;
7304 int_least8_t c1min = INT_LEAST8_MIN;
7305 int_least16_t c2 = INT16_C (0x7fff);
7306 int_least16_t c2max = INT_LEAST16_MAX;
7307 int_least16_t c2min = INT_LEAST16_MIN;
7308 int_least32_t c3 = INT32_C (0x7fffffff);
7309 int_least32_t c3max = INT_LEAST32_MAX;
7310 int_least32_t c3min = INT_LEAST32_MIN;
7311 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
7312 int_least64_t c4max = INT_LEAST64_MAX;
7313 int_least64_t c4min = INT_LEAST64_MIN;
7314 uint_least8_t d1 = UINT8_C (0xff);
7315 uint_least8_t d1max = UINT_LEAST8_MAX;
7316 uint_least16_t d2 = UINT16_C (0xffff);
7317 uint_least16_t d2max = UINT_LEAST16_MAX;
7318 uint_least32_t d3 = UINT32_C (0xffffffff);
7319 uint_least32_t d3max = UINT_LEAST32_MAX;
7320 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
7321 uint_least64_t d4max = UINT_LEAST64_MAX;
7322 int_fast8_t e1 = INT_FAST8_MAX;
7323 int_fast8_t e1min = INT_FAST8_MIN;
7324 int_fast16_t e2 = INT_FAST16_MAX;
7325 int_fast16_t e2min = INT_FAST16_MIN;
7326 int_fast32_t e3 = INT_FAST32_MAX;
7327 int_fast32_t e3min = INT_FAST32_MIN;
7328 int_fast64_t e4 = INT_FAST64_MAX;
7329 int_fast64_t e4min = INT_FAST64_MIN;
7330 uint_fast8_t f1 = UINT_FAST8_MAX;
7331 uint_fast16_t f2 = UINT_FAST16_MAX;
7332 uint_fast32_t f3 = UINT_FAST32_MAX;
7333 uint_fast64_t f4 = UINT_FAST64_MAX;
7335 intptr_t g = INTPTR_MAX;
7336 intptr_t gmin = INTPTR_MIN;
7339 uintptr_t h = UINTPTR_MAX;
7341 intmax_t i = INTMAX_MAX;
7342 uintmax_t j = UINTMAX_MAX;
7344 #include <limits.h> /* for CHAR_BIT */
7345 #define TYPE_MINIMUM(t) \
7346 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
7347 #define TYPE_MAXIMUM(t) \
7348 ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
7351 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
7352 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
7354 /* Detect bug in FreeBSD 6.0 / ia64. */
7355 int check_SIG_ATOMIC:
7356 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
7357 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
7359 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
7361 WCHAR_MIN == TYPE_MINIMUM (wchar_t)
7362 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
7364 /* Detect bug in mingw. */
7366 WINT_MIN == TYPE_MINIMUM (wint_t)
7367 && WINT_MAX == TYPE_MAXIMUM (wint_t)
7370 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
7372 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
7374 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
7376 /* Detect bugs in OpenBSD 3.9 stdint.h. */
7378 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
7381 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
7384 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
7387 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
7389 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
7390 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
7391 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
7392 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
7393 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
7394 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
7395 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
7396 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
7397 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
7398 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
7399 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
7410 if ac_fn_c_try_compile
"$LINENO"; then :
7411 if test "$cross_compiling" = yes; then :
7412 gl_cv_header_working_stdint_h
=yes
7415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7416 /* end confdefs.h. */
7419 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
7420 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
7421 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
7425 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7426 included before <wchar.h>. */
7438 #define MVAL(macro) MVAL1(macro)
7439 #define MVAL1(expression) #expression
7440 static const char *macro_values[] =
7474 for (mv = macro_values; *mv != NULL; mv++)
7476 const char *value = *mv;
7477 /* Test whether it looks like a cast expression. */
7478 if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
7479 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
7480 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
7481 || strncmp (value, "((int)"/*)*/, 6) == 0
7482 || strncmp (value, "((signed short)"/*)*/, 15) == 0
7483 || strncmp (value, "((signed char)"/*)*/, 14) == 0)
7492 if ac_fn_c_try_run
"$LINENO"; then :
7493 gl_cv_header_working_stdint_h
=yes
7495 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7496 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
7505 $as_echo "$gl_cv_header_working_stdint_h" >&6; }
7507 if test "$gl_cv_header_working_stdint_h" = yes; then
7510 for ac_header
in sys
/inttypes.h sys
/bitypes.h
7512 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7513 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7514 eval as_val
=\$
$as_ac_Header
7515 if test "x$as_val" = x
""yes; then :
7516 cat >>confdefs.h
<<_ACEOF
7517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7524 if test $ac_cv_header_sys_inttypes_h = yes; then
7525 HAVE_SYS_INTTYPES_H
=1
7527 HAVE_SYS_INTTYPES_H
=0
7530 if test $ac_cv_header_sys_bitypes_h = yes; then
7531 HAVE_SYS_BITYPES_H
=1
7533 HAVE_SYS_BITYPES_H
=0
7547 if test $APPLE_UNIVERSAL_BUILD = 0; then
7550 for gltype
in ptrdiff_t size_t
; do
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
7552 $as_echo_n "checking for bit size of $gltype... " >&6; }
7553 if { as_var
=gl_cv_bitsizeof_
${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then :
7554 $as_echo_n "(cached) " >&6
7556 if ac_fn_c_compute_int
"$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
7557 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7558 included before <wchar.h>. */
7567 #include <limits.h>"; then :
7573 eval gl_cv_bitsizeof_
${gltype}=\
$result
7576 eval ac_res
=\
$gl_cv_bitsizeof_${gltype}
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7578 $as_echo "$ac_res" >&6; }
7579 eval result
=\
$gl_cv_bitsizeof_${gltype}
7580 if test $result = unknown
; then
7583 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7584 cat >>confdefs.h
<<_ACEOF
7585 #define BITSIZEOF_${GLTYPE} $result
7588 eval BITSIZEOF_
${GLTYPE}=\
$result
7595 for gltype
in sig_atomic_t wchar_t wint_t
; do
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
7597 $as_echo_n "checking for bit size of $gltype... " >&6; }
7598 if { as_var
=gl_cv_bitsizeof_
${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then :
7599 $as_echo_n "(cached) " >&6
7601 if ac_fn_c_compute_int
"$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
7602 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7603 included before <wchar.h>. */
7612 #include <limits.h>"; then :
7618 eval gl_cv_bitsizeof_
${gltype}=\
$result
7621 eval ac_res
=\
$gl_cv_bitsizeof_${gltype}
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7623 $as_echo "$ac_res" >&6; }
7624 eval result
=\
$gl_cv_bitsizeof_${gltype}
7625 if test $result = unknown
; then
7628 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7629 cat >>confdefs.h
<<_ACEOF
7630 #define BITSIZEOF_${GLTYPE} $result
7633 eval BITSIZEOF_
${GLTYPE}=\
$result
7639 for gltype
in sig_atomic_t wchar_t wint_t
; do
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
7641 $as_echo_n "checking whether $gltype is signed... " >&6; }
7642 if { as_var
=gl_cv_type_
${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then :
7643 $as_echo_n "(cached) " >&6
7645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7646 /* end confdefs.h. */
7648 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7649 included before <wchar.h>. */
7658 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
7667 if ac_fn_c_try_compile
"$LINENO"; then :
7672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7673 eval gl_cv_type_
${gltype}_signed
=\
$result
7676 eval ac_res
=\
$gl_cv_type_${gltype}_signed
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7678 $as_echo "$ac_res" >&6; }
7679 eval result
=\
$gl_cv_type_${gltype}_signed
7680 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7681 if test "$result" = yes; then
7682 cat >>confdefs.h
<<_ACEOF
7683 #define HAVE_SIGNED_${GLTYPE} 1
7686 eval HAVE_SIGNED_
${GLTYPE}=1
7688 eval HAVE_SIGNED_
${GLTYPE}=0
7693 gl_cv_type_ptrdiff_t_signed
=yes
7694 gl_cv_type_size_t_signed
=no
7695 if test $APPLE_UNIVERSAL_BUILD = 0; then
7698 for gltype
in ptrdiff_t size_t
; do
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
7700 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
7701 if { as_var
=gl_cv_type_
${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then :
7702 $as_echo_n "(cached) " >&6
7704 eval gl_cv_type_
${gltype}_suffix
=no
7705 eval result
=\
$gl_cv_type_${gltype}_signed
7706 if test "$result" = yes; then
7711 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
7714 l
) gltype1
='long int';;
7715 ll
) gltype1
='long long int';;
7716 i64
) gltype1
='__int64';;
7717 u
) gltype1
='unsigned int';;
7718 ul
) gltype1
='unsigned long int';;
7719 ull
) gltype1
='unsigned long long int';;
7720 ui64
)gltype1
='unsigned __int64';;
7722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7725 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7726 included before <wchar.h>. */
7736 extern $gltype1 foo;
7745 if ac_fn_c_try_compile
"$LINENO"; then :
7746 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
7748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7749 eval result
=\
$gl_cv_type_${gltype}_suffix
7750 test "$result" != no
&& break
7753 eval ac_res
=\
$gl_cv_type_${gltype}_suffix
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7755 $as_echo "$ac_res" >&6; }
7756 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7757 eval result
=\
$gl_cv_type_${gltype}_suffix
7758 test "$result" = no
&& result
=
7759 eval ${GLTYPE}_SUFFIX
=\
$result
7760 cat >>confdefs.h
<<_ACEOF
7761 #define ${GLTYPE}_SUFFIX $result
7770 for gltype
in sig_atomic_t wchar_t wint_t
; do
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
7772 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
7773 if { as_var
=gl_cv_type_
${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then :
7774 $as_echo_n "(cached) " >&6
7776 eval gl_cv_type_
${gltype}_suffix
=no
7777 eval result
=\
$gl_cv_type_${gltype}_signed
7778 if test "$result" = yes; then
7783 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
7786 l
) gltype1
='long int';;
7787 ll
) gltype1
='long long int';;
7788 i64
) gltype1
='__int64';;
7789 u
) gltype1
='unsigned int';;
7790 ul
) gltype1
='unsigned long int';;
7791 ull
) gltype1
='unsigned long long int';;
7792 ui64
)gltype1
='unsigned __int64';;
7794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7797 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
7798 included before <wchar.h>. */
7808 extern $gltype1 foo;
7817 if ac_fn_c_try_compile
"$LINENO"; then :
7818 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
7820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7821 eval result
=\
$gl_cv_type_${gltype}_suffix
7822 test "$result" != no
&& break
7825 eval ac_res
=\
$gl_cv_type_${gltype}_suffix
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7827 $as_echo "$ac_res" >&6; }
7828 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
7829 eval result
=\
$gl_cv_type_${gltype}_suffix
7830 test "$result" = no
&& result
=
7831 eval ${GLTYPE}_SUFFIX
=\
$result
7832 cat >>confdefs.h
<<_ACEOF
7833 #define ${GLTYPE}_SUFFIX $result
7844 # Code from module string:
7848 # Code from module warn-on-use:
7849 # Code from module wchar:
7872 if test $gl_cv_have_include_next = yes; then
7873 gl_cv_next_wchar_h
='<'wchar.h
'>'
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
7876 $as_echo_n "checking absolute name of <wchar.h>... " >&6; }
7877 if test "${gl_cv_next_wchar_h+set}" = set; then :
7878 $as_echo_n "(cached) " >&6
7881 if test $ac_cv_header_wchar_h = yes; then
7882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7883 /* end confdefs.h. */
7888 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
7889 *) gl_absname_cpp
="$ac_cpp" ;;
7891 gl_cv_next_wchar_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
7892 sed -n '\#/wchar.h#{
7893 s#.*"\(.*/wchar.h\)".*#\1#
7899 gl_cv_next_wchar_h
='<'wchar.h
'>'
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
7904 $as_echo "$gl_cv_next_wchar_h" >&6; }
7906 NEXT_WCHAR_H
=$gl_cv_next_wchar_h
7908 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
7909 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
7910 gl_next_as_first_directive
='<'wchar.h
'>'
7912 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
7913 gl_next_as_first_directive
=$gl_cv_next_wchar_h
7915 NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
=$gl_next_as_first_directive
7919 if test $ac_cv_header_wchar_h = yes; then
7927 if test $gt_cv_c_wint_t = yes; then
7935 for gl_func
in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth
; do
7936 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
7938 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
7939 if { as_var
=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then :
7940 $as_echo_n "(cached) " >&6
7942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7943 /* end confdefs.h. */
7945 /* Some systems require additional headers. */
7947 # include <stddef.h>
7962 if ac_fn_c_try_compile
"$LINENO"; then :
7963 eval "$as_gl_Symbol=yes"
7965 eval "$as_gl_Symbol=no"
7967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7969 eval ac_res
=\$
$as_gl_Symbol
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7971 $as_echo "$ac_res" >&6; }
7972 eval as_val
=\$
$as_gl_Symbol
7973 if test "x$as_val" = x
""yes; then :
7974 cat >>confdefs.h
<<_ACEOF
7975 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
7978 eval ac_cv_have_decl_
$gl_func=yes
7983 # Code from module dummy:
7984 # End of code from modules
8005 gl_source_base
='tests'
8006 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
8008 gl_module_indicator_condition
=$gltests_WITNESS
8018 LIBGNU_LIBDEPS
="$gl_libdeps"
8020 LIBGNU_LTLIBDEPS
="$gl_ltlibdeps"
8023 # GDBserver does not use automake, but gnulib does. This line lets
8024 # us generate its Makefile.in.
8025 am__api_version
='1.11'
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
8028 $as_echo_n "checking whether build environment is sane... " >&6; }
8031 echo timestamp
> conftest.
file
8032 # Reject unsafe characters in $srcdir or the absolute working directory
8033 # name. Accept space and tab only in the latter.
8037 *[\\\"\
#\$\&\'\`$am_lf]*)
8038 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
8041 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
8042 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
8045 # Do `set' in a subshell so we don't clobber the current shell's
8046 # arguments. Must try -L first in case configure is actually a
8047 # symlink; some systems play weird games with the mod time of symlinks
8048 # (eg FreeBSD returns the mod time of the symlink's containing
8051 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
8052 if test "$*" = "X"; then
8054 set X
`ls -t "$srcdir/configure" conftest.file`
8057 if test "$*" != "X $srcdir/configure conftest.file" \
8058 && test "$*" != "X conftest.file $srcdir/configure"; then
8060 # If neither matched, then we have a broken ls. This can happen
8061 # if, for instance, CONFIG_SHELL is bash and it inherits a
8062 # broken ls alias from the environment. This has actually
8063 # happened. Such a system could not be considered "sane".
8064 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
8065 alias in your environment" "$LINENO" 5
8068 test "$2" = conftest.
file
8074 as_fn_error
"newly created file is older than distributed files!
8075 Check your system clock" "$LINENO" 5
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8078 $as_echo "yes" >&6; }
8079 # expand $ac_aux_dir to an absolute path
8080 am_aux_dir
=`cd $ac_aux_dir && pwd`
8082 if test x
"${MISSING+set}" != xset
; then
8085 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
8087 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
8090 # Use eval to expand $SHELL
8091 if eval "$MISSING --run true"; then
8092 am_missing_run
="$MISSING --run "
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
8096 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
8099 if test x
"${install_sh}" != xset
; then
8102 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
8104 install_sh
="\${SHELL} $am_aux_dir/install-sh"
8108 # Installed binaries are usually stripped using `strip' when the user
8109 # run `make install-strip'. However `strip' might not be the right
8110 # tool to use in cross-compilation environments, therefore Automake
8111 # will honor the `STRIP' environment variable to overrule this program.
8112 if test "$cross_compiling" != no
; then
8113 if test -n "$ac_tool_prefix"; then
8114 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8115 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8117 $as_echo_n "checking for $ac_word... " >&6; }
8118 if test "${ac_cv_prog_STRIP+set}" = set; then :
8119 $as_echo_n "(cached) " >&6
8121 if test -n "$STRIP"; then
8122 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8128 test -z "$as_dir" && as_dir
=.
8129 for ac_exec_ext
in '' $ac_executable_extensions; do
8130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8131 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
8132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8141 STRIP
=$ac_cv_prog_STRIP
8142 if test -n "$STRIP"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8144 $as_echo "$STRIP" >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8152 if test -z "$ac_cv_prog_STRIP"; then
8154 # Extract the first word of "strip", so it can be a program name with args.
8155 set dummy strip
; ac_word
=$2
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8157 $as_echo_n "checking for $ac_word... " >&6; }
8158 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8159 $as_echo_n "(cached) " >&6
8161 if test -n "$ac_ct_STRIP"; then
8162 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
8164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8168 test -z "$as_dir" && as_dir
=.
8169 for ac_exec_ext
in '' $ac_executable_extensions; do
8170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8171 ac_cv_prog_ac_ct_STRIP
="strip"
8172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8181 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
8182 if test -n "$ac_ct_STRIP"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8184 $as_echo "$ac_ct_STRIP" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo "no" >&6; }
8190 if test "x$ac_ct_STRIP" = x
; then
8193 case $cross_compiling:$ac_tool_warned in
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8197 ac_tool_warned
=yes ;;
8202 STRIP
="$ac_cv_prog_STRIP"
8206 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
8209 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
8210 if test -z "$MKDIR_P"; then
8211 if test "${ac_cv_path_mkdir+set}" = set; then :
8212 $as_echo_n "(cached) " >&6
8214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8215 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
8218 test -z "$as_dir" && as_dir
=.
8219 for ac_prog
in mkdir gmkdir
; do
8220 for ac_exec_ext
in '' $ac_executable_extensions; do
8221 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
8222 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
8223 'mkdir (GNU coreutils) '* | \
8224 'mkdir (coreutils) '* | \
8225 'mkdir (fileutils) '4.1*)
8226 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
8236 if test "${ac_cv_path_mkdir+set}" = set; then
8237 MKDIR_P
="$ac_cv_path_mkdir -p"
8239 # As a last resort, use the slow shell script. Don't cache a
8240 # value for MKDIR_P within a source directory, because that will
8241 # break other packages using the cache if that directory is
8242 # removed, or if the value is a relative name.
8243 test -d .
/--version && rmdir .
/--version
8244 MKDIR_P
="$ac_install_sh -d"
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
8248 $as_echo "$MKDIR_P" >&6; }
8253 [\\/$
]* | ?
:[\\/]*) ;;
8254 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
8257 for ac_prog
in gawk mawk nawk
awk
8259 # Extract the first word of "$ac_prog", so it can be a program name with args.
8260 set dummy
$ac_prog; ac_word
=$2
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8262 $as_echo_n "checking for $ac_word... " >&6; }
8263 if test "${ac_cv_prog_AWK+set}" = set; then :
8264 $as_echo_n "(cached) " >&6
8266 if test -n "$AWK"; then
8267 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
8269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8273 test -z "$as_dir" && as_dir
=.
8274 for ac_exec_ext
in '' $ac_executable_extensions; do
8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8276 ac_cv_prog_AWK
="$ac_prog"
8277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 if test -n "$AWK"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
8289 $as_echo "$AWK" >&6; }
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8296 test -n "$AWK" && break
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8300 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8302 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8303 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
8304 $as_echo_n "(cached) " >&6
8306 cat >conftest.
make <<\_ACEOF
8309 @
echo '@@@%%%=$(MAKE)=@@@%%%'
8311 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8312 case `${MAKE-make} -f conftest.make 2>/dev/null` in
8314 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
8316 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
8320 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8322 $as_echo "yes" >&6; }
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8326 $as_echo "no" >&6; }
8327 SET_MAKE
="MAKE=${MAKE-make}"
8330 rm -rf .tst
2>/dev
/null
8331 mkdir .tst
2>/dev
/null
8332 if test -d .tst
; then
8337 rmdir .tst
2>/dev
/null
8339 DEPDIR
="${am__leading_dot}deps"
8341 ac_config_commands
="$ac_config_commands depfiles"
8344 am_make
=${MAKE-make}
8345 cat > confinc
<< 'END'
8347 @
echo this is the am__doit target
8350 # If we don't find an include directive, just comment out the code.
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
8352 $as_echo_n "checking for style of include used by $am_make... " >&6; }
8356 # First try GNU make style include.
8357 echo "include confinc" > confmf
8358 # Ignore all kinds of additional output from `make'.
8359 case `$am_make -s -f confmf 2> /dev/null` in #(
8360 *the\ am__doit\ target
*)
8366 # Now try BSD make style include.
8367 if test "$am__include" = "#"; then
8368 echo '.include "confinc"' > confmf
8369 case `$am_make -s -f confmf 2> /dev/null` in #(
8370 *the\ am__doit\ target
*)
8371 am__include
=.include
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
8380 $as_echo "$_am_result" >&6; }
8381 rm -f confinc confmf
8383 # Check whether --enable-dependency-tracking was given.
8384 if test "${enable_dependency_tracking+set}" = set; then :
8385 enableval
=$enable_dependency_tracking;
8388 if test "x$enable_dependency_tracking" != xno
; then
8389 am_depcomp
="$ac_aux_dir/depcomp"
8392 if test "x$enable_dependency_tracking" != xno; then
8401 if test "`cd $srcdir && pwd`" != "`pwd`"; then
8402 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8403 # is not polluted with repeated "-I."
8404 am__isrc
=' -I$(srcdir)'
8405 # test to see if srcdir already configured
8406 if test -f $srcdir/config.status
; then
8407 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8411 # test whether we have cygpath
8412 if test -z "$CYGPATH_W"; then
8413 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
8414 CYGPATH_W
='cygpath -w'
8421 # Define the identity of the package.
8423 VERSION
=UNUSED-VERSION
8426 # Some tools Automake needs.
8428 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8431 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
8434 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8437 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
8440 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
8442 # We need awk for the "check" target. The system "awk" is bad on
8444 # Always define AMTAR for backward compatibility.
8446 AMTAR
=${AMTAR-"${am_missing_run}tar"}
8448 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
8453 depcc
="$CC" am_compiler_list
=
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8456 $as_echo_n "checking dependency style of $depcc... " >&6; }
8457 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
8458 $as_echo_n "(cached) " >&6
8460 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8461 # We make a subdir and do the tests there. Otherwise we can end up
8462 # making bogus files that we don't know about and never remove. For
8463 # instance it was reported that on HP-UX the gcc test will end up
8464 # making a dummy file named `D' -- because `-MD' means `put the output
8467 # Copy depcomp to subdir because otherwise we won't find it if we're
8468 # using a relative directory.
8469 cp "$am_depcomp" conftest.dir
8471 # We will build objects and dependencies in a subdirectory because
8472 # it helps to detect inapplicable dependency modes. For instance
8473 # both Tru64's cc and ICC support -MD to output dependencies as a
8474 # side effect of compilation, but ICC will put the dependencies in
8475 # the current directory while Tru64 will put them in the object
8479 am_cv_CC_dependencies_compiler_type
=none
8480 if test "$am_compiler_list" = ""; then
8481 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8484 case " $depcc " in #(
8485 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
8488 for depmode
in $am_compiler_list; do
8489 # Setup a source with many dependencies, because some compilers
8490 # like to wrap large dependency lists on column 80 (with \), and
8491 # we should not choose a depcomp mode which is confused by this.
8493 # We need to recreate these files for each test, as the compiler may
8494 # overwrite some of them when testing with obscure command lines.
8495 # This happens at least with the AIX C compiler.
8497 for i
in 1 2 3 4 5 6; do
8498 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
8499 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8500 # Solaris 8's {/usr,}/bin/sh.
8501 touch sub
/conftst
$i.h
8503 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8505 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8506 # mode. It turns out that the SunPro C++ compiler does not properly
8507 # handle `-M -o', and we need to detect this. Also, some Intel
8508 # versions had trouble with output in subdirs
8509 am__obj
=sub
/conftest.
${OBJEXT-o}
8510 am__minus_obj
="-o $am__obj"
8513 # This depmode causes a compiler race in universal mode.
8514 test "$am__universal" = false ||
continue
8517 # after this tag, mechanisms are not by side-effect, so they'll
8518 # only be used when explicitly requested
8519 if test "x$enable_dependency_tracking" = xyes
; then
8525 msvisualcpp | msvcmsys
)
8526 # This compiler won't grok `-c -o', but also, the minuso test has
8527 # not run yet. These depmodes are late enough in the game, and
8528 # so weak that their functioning should not be impacted.
8529 am__obj
=conftest.
${OBJEXT-o}
8534 if depmode
=$depmode \
8535 source=sub
/conftest.c object
=$am__obj \
8536 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
8537 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
8538 >/dev
/null
2>conftest.err
&&
8539 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
8540 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
8541 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
8542 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
8543 # icc doesn't choke on unknown options, it will just issue warnings
8544 # or remarks (even with -Werror). So we grep stderr for any message
8545 # that says an option was ignored or not supported.
8546 # When given -MP, icc 7.0 and 7.1 complain thusly:
8547 # icc: Command line warning: ignoring option '-M'; no argument required
8548 # The diagnosis changed in icc 8.0:
8549 # icc: Command line remark: option '-MP' not supported
8550 if (grep 'ignoring option' conftest.err ||
8551 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
8552 am_cv_CC_dependencies_compiler_type
=$depmode
8561 am_cv_CC_dependencies_compiler_type
=none
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
8566 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
8567 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
8570 test "x$enable_dependency_tracking" != xno \
8571 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
8573 am__fastdepCC_FALSE
='#'
8575 am__fastdepCC_TRUE
='#'
8576 am__fastdepCC_FALSE
=
8583 if test x
"$STDINT_H" != x
; then
8584 GNULIB_STDINT_H
=gnulib
/$STDINT_H
8588 ac_config_files
="$ac_config_files Makefile gnulib/Makefile:${srcdir}/../gnulib/Makefile.in"
8590 ac_config_commands
="$ac_config_commands default"
8592 cat >confcache
<<\_ACEOF
8593 # This file is a shell script that caches the results of configure
8594 # tests run on this system so they can be shared between configure
8595 # scripts and configure runs, see configure's option --config-cache.
8596 # It is not useful on other systems. If it contains results you don't
8597 # want to keep, you may remove or edit it.
8599 # config.status only pays attention to the cache file if you give it
8600 # the --recheck option to rerun configure.
8602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8608 # The following way of writing the cache mishandles newlines in values,
8609 # but we know of no workaround that is simple, portable, and efficient.
8610 # So, we kill variables containing newlines.
8611 # Ultrix sh set writes to stderr and can't be redirected directly,
8612 # and sets the high bit in the cache file unless we assign to the vars.
8614 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8615 eval ac_val
=\$
$ac_var
8619 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8620 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8623 _ | IFS | as_nl
) ;; #(
8624 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8625 *) { eval $ac_var=; unset $ac_var;} ;;
8631 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8632 *${as_nl}ac_space
=\
*)
8633 # `set' does not quote correctly, so add quotes: double-quote
8634 # substitution turns \\\\ into \\, and sed turns \\ into \.
8637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8640 # `set' quotes correctly as required by POSIX, so do not add quotes.
8641 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8650 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8652 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8654 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8655 if test -w "$cache_file"; then
8656 test "x$cache_file" != "x/dev/null" &&
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8658 $as_echo "$as_me: updating cache $cache_file" >&6;}
8659 cat confcache
>$cache_file
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8662 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8667 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8668 # Let make expand exec_prefix.
8669 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8671 DEFS
=-DHAVE_CONFIG_H
8675 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8676 # 1. Remove the extension, and $U if already installed.
8677 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8678 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8679 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8680 # will be set to the directory where LIBOBJS objects are built.
8681 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8682 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8686 LTLIBOBJS
=$ac_ltlibobjs
8689 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8690 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
8691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8693 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
8694 as_fn_error
"conditional \"GL_COND_LIBTOOL\" was never defined.
8695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8700 if test -n "$gl_LIBOBJS"; then
8701 # Remove the extension.
8702 sed_drop_objext
='s/\.o$//;s/\.obj$//'
8703 for i
in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
8704 gl_libobjs
="$gl_libobjs $i.$ac_objext"
8705 gl_ltlibobjs
="$gl_ltlibobjs $i.lo"
8708 gl_LIBOBJS
=$gl_libobjs
8710 gl_LTLIBOBJS
=$gl_ltlibobjs
8716 if test -n "$gltests_LIBOBJS"; then
8717 # Remove the extension.
8718 sed_drop_objext
='s/\.o$//;s/\.obj$//'
8719 for i
in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
8720 gltests_libobjs
="$gltests_libobjs $i.$ac_objext"
8721 gltests_ltlibobjs
="$gltests_ltlibobjs $i.lo"
8724 gltests_LIBOBJS
=$gltests_libobjs
8726 gltests_LTLIBOBJS
=$gltests_ltlibobjs
8729 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8730 as_fn_error
"conditional \"AMDEP\" was never defined.
8731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8733 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8734 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8737 if test -n "$EXEEXT"; then
8739 am__EXEEXT_FALSE
='#'
8746 : ${CONFIG_STATUS=./config.status}
8748 ac_clean_files_save
=$ac_clean_files
8749 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8751 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8753 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8755 # Generated by $as_me.
8756 # Run this file to recreate the current configuration.
8757 # Compiler output produced by configure, useful for debugging
8758 # configure, is in config.log if it exists.
8764 SHELL=\${CONFIG_SHELL-$SHELL}
8767 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8768 ## -------------------- ##
8769 ## M4sh Initialization. ##
8770 ## -------------------- ##
8772 # Be more Bourne compatible
8773 DUALCASE
=1; export DUALCASE
# for MKS sh
8774 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8777 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8778 # is contrary to our usage. Disable this feature.
8779 alias -g '${1+"$@"}'='"$@"'
8780 setopt NO_GLOB_SUBST
8782 case `(set -o) 2>/dev/null` in #(
8794 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8795 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8797 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8798 # Prefer a ksh shell builtin over an external printf program on Solaris,
8799 # but without wasting forks for bash or zsh.
8800 if test -z "$BASH_VERSION$ZSH_VERSION" \
8801 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8802 as_echo='print
-r --'
8803 as_echo_n='print
-rn --'
8804 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8805 as_echo='printf %s
\n'
8806 as_echo_n='printf %s
'
8808 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8809 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8810 as_echo_n='/usr
/ucb
/echo -n'
8812 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8813 as_echo_n_body='eval
8817 expr "X$arg" : "X\\(.*\\)$as_nl";
8818 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8820 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8822 export as_echo_n_body
8823 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8826 as_echo='sh
-c $as_echo_body as_echo
'
8829 # The user is always right.
8830 if test "${PATH_SEPARATOR+set}" != set; then
8832 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8833 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8840 # We need space, tab and new line, in precisely that order. Quoting is
8841 # there to prevent editors from complaining about space-tab.
8842 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8843 # splitting by setting IFS to empty value.)
8846 # Find who we are. Look in the path if we contain no directory separator.
8848 *[\\/]* ) as_myself=$0 ;;
8849 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 test -z "$as_dir" && as_dir=.
8854 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8860 # We did not find ourselves, most probably we were run as `sh COMMAND'
8861 # in which case we are not to be found in the path.
8862 if test "x$as_myself" = x
; then
8865 if test ! -f "$as_myself"; then
8866 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8870 # Unset variables that we do not need and which cause bugs (e.g. in
8871 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8872 # suppresses any "Segmentation fault" message there. '((' could
8873 # trigger a bug in pdksh 5.2.14.
8874 for as_var
in BASH_ENV ENV MAIL MAILPATH
8875 do eval test x\
${$as_var+set} = xset \
8876 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8889 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8892 # as_fn_error ERROR [LINENO LOG_FD]
8893 # ---------------------------------
8894 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8895 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8896 # script with status $?, using 1 if that was 0.
8899 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8901 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8902 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8904 $as_echo "$as_me: error: $1" >&2
8905 as_fn_exit
$as_status
8909 # as_fn_set_status STATUS
8910 # -----------------------
8911 # Set $? to STATUS, without forking.
8915 } # as_fn_set_status
8919 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8929 # Portably unset VAR.
8932 { eval $1=; unset $1;}
8934 as_unset
=as_fn_unset
8935 # as_fn_append VAR VALUE
8936 # ----------------------
8937 # Append the text in VALUE to the end of the definition contained in VAR. Take
8938 # advantage of any shell optimizations that allow amortized linear growth over
8939 # repeated appends, instead of the typical quadratic growth present in naive
8941 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8942 eval 'as_fn_append ()
8953 # as_fn_arith ARG...
8954 # ------------------
8955 # Perform arithmetic evaluation on the ARGs, and store the result in the
8956 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8957 # must be portable across $(()) and expr.
8958 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8959 eval 'as_fn_arith ()
8966 as_val
=`expr "$@" || test $? -eq 1`
8971 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8972 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8978 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8979 as_basename
=basename
8984 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8990 as_me
=`$as_basename -- "$0" ||
8991 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8992 X"$0" : 'X\(//\)$' \| \
8993 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8995 sed '/^.*\/\([^/][^/]*\)\/*$/{
9009 # Avoid depending upon Character Ranges.
9010 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9011 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9012 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9013 as_cr_digits
='0123456789'
9014 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9016 ECHO_C
= ECHO_N
= ECHO_T
=
9017 case `echo -n x` in #(((((
9019 case `echo 'xy\c'` in
9020 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9022 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
9029 rm -f conf$$ conf$$.exe conf$$.
file
9030 if test -d conf$$.dir
; then
9031 rm -f conf$$.dir
/conf$$.
file
9034 mkdir conf$$.dir
2>/dev
/null
9036 if (echo >conf$$.
file) 2>/dev
/null
; then
9037 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9039 # ... but there are two gotchas:
9040 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9041 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9042 # In both cases, we have to default to `cp -p'.
9043 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9045 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9053 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9054 rmdir conf$$.dir
2>/dev
/null
9059 # Create "$as_dir" as a directory, including parents if necessary.
9064 -*) as_dir
=.
/$as_dir;;
9066 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
9070 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9071 *) as_qdir
=$as_dir;;
9073 as_dirs
="'$as_qdir' $as_dirs"
9074 as_dir
=`$as_dirname -- "$as_dir" ||
9075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9076 X"$as_dir" : 'X\(//\)[^/]' \| \
9077 X"$as_dir" : 'X\(//\)$' \| \
9078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9079 $as_echo X"$as_dir" |
9080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9097 test -d "$as_dir" && break
9099 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9100 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
9104 if mkdir
-p .
2>/dev
/null
; then
9105 as_mkdir_p
='mkdir -p "$as_dir"'
9107 test -d .
/-p && rmdir .
/-p
9111 if test -x / >/dev
/null
2>&1; then
9114 if ls -dL / >/dev
/null
2>&1; then
9121 if test -d "$1"; then
9127 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9128 ???[sx]*):;;*)false;;esac;fi
9132 as_executable_p
=$as_test_x
9134 # Sed expression to map a string onto a valid CPP name.
9135 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9137 # Sed expression to map a string onto a valid variable name.
9138 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9142 ## ----------------------------------- ##
9143 ## Main body of $CONFIG_STATUS script. ##
9144 ## ----------------------------------- ##
9146 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
9148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9149 # Save the log message, to keep $0 and so on meaningful, and to
9150 # report actual input values of CONFIG_FILES etc. instead of their
9151 # values after options handling.
9153 This file was extended by $as_me, which was
9154 generated by GNU Autoconf 2.64. Invocation command line was
9156 CONFIG_FILES = $CONFIG_FILES
9157 CONFIG_HEADERS = $CONFIG_HEADERS
9158 CONFIG_LINKS = $CONFIG_LINKS
9159 CONFIG_COMMANDS = $CONFIG_COMMANDS
9162 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9167 case $ac_config_files in *"
9168 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9171 case $ac_config_headers in *"
9172 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9177 # Files that config.status was made for.
9178 config_files="$ac_config_files"
9179 config_headers="$ac_config_headers"
9180 config_commands="$ac_config_commands"
9184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9186 \`$as_me' instantiates files and other configuration actions
9187 from templates according to the current configuration. Unless the files
9188 and actions are specified as TAGs, all are instantiated by default.
9190 Usage: $0 [OPTION]... [TAG]...
9192 -h, --help print this help, then exit
9193 -V, --version print version number and configuration settings, then exit
9194 -q, --quiet, --silent
9195 do not print progress messages
9196 -d, --debug don't remove temporary files
9197 --recheck update $as_me by reconfiguring in the same conditions
9198 --file=FILE[:TEMPLATE]
9199 instantiate the configuration file FILE
9200 --header=FILE[:TEMPLATE]
9201 instantiate the configuration header FILE
9203 Configuration files:
9206 Configuration headers:
9209 Configuration commands:
9212 Report bugs to the package provider."
9215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9218 configured by $0, generated by GNU Autoconf 2.64,
9219 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9221 Copyright (C) 2009 Free Software Foundation, Inc.
9222 This config.status script is free software; the Free Software Foundation
9223 gives unlimited permission to copy, distribute and modify it."
9230 test -n "\$AWK" || AWK=awk
9233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9234 # The default lists apply if the user does not specify any file.
9240 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9241 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9252 # Handling of the options.
9253 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9255 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9256 $as_echo "$ac_cs_version"; exit ;;
9257 --debug |
--debu |
--deb |
--de |
--d |
-d )
9259 --file |
--fil |
--fi |
--f )
9262 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9264 as_fn_append CONFIG_FILES
" '$ac_optarg'"
9265 ac_need_defaults
=false
;;
9266 --header |
--heade |
--head |
--hea )
9269 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9271 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
9272 ac_need_defaults
=false
;;
9274 # Conflict between --help and --header
9275 as_fn_error
"ambiguous option: \`$1'
9276 Try \`$0 --help' for more information.";;
9277 --help |
--hel |
-h )
9278 $as_echo "$ac_cs_usage"; exit ;;
9279 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9280 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9284 -*) as_fn_error
"unrecognized option: \`$1'
9285 Try \`$0 --help' for more information." ;;
9287 *) as_fn_append ac_config_targets
" $1"
9288 ac_need_defaults
=false
;;
9294 ac_configure_extra_args
=
9296 if $ac_cs_silent; then
9298 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9303 if \$ac_cs_recheck; then
9304 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9306 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9307 CONFIG_SHELL='$SHELL'
9313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9317 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9318 ## Running $as_me. ##
9324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9328 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9334 # Handling of arguments.
9335 for ac_config_target
in $ac_config_targets
9337 case $ac_config_target in
9338 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
9339 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9340 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9341 "gnulib/Makefile") CONFIG_FILES
="$CONFIG_FILES gnulib/Makefile:${srcdir}/../gnulib/Makefile.in" ;;
9342 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9344 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9349 # If the user did not use the arguments to specify the items to instantiate,
9350 # then the envvar interface is used. Set only those that are not.
9351 # We use the long form for the default assignment because of an extremely
9352 # bizarre bug on SunOS 4.1.3.
9353 if $ac_need_defaults; then
9354 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9355 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9356 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9359 # Have a temporary directory for convenience. Make it in the build tree
9360 # simply because there is no reason against having it here, and in addition,
9361 # creating and moving files from /tmp can sometimes cause problems.
9362 # Hook for its removal unless debugging.
9363 # Note that there is a small window in which the directory will not be cleaned:
9364 # after its creation but before its name has been assigned to `$tmp'.
9368 trap 'exit_status=$?
9369 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9371 trap 'as_fn_exit 1' 1 2 13 15
9373 # Create a (secure) tmp directory for tmp files.
9376 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9377 test -n "$tmp" && test -d "$tmp"
9380 tmp
=.
/conf$$
-$RANDOM
9381 (umask 077 && mkdir
"$tmp")
9382 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
9384 # Set up the scripts for CONFIG_FILES section.
9385 # No need to generate them if there are no CONFIG_FILES.
9386 # This happens for instance with `./config.status config.h'.
9387 if test -n "$CONFIG_FILES"; then
9390 ac_cr
=`echo X | tr X '\015'`
9391 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9392 # But we know of no other shell where ac_cr would be empty at this
9393 # point, so we can use a bashism as a fallback.
9394 if test "x$ac_cr" = x
; then
9395 eval ac_cr
=\$
\'\\r
\'
9397 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9398 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9404 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9409 echo "cat >conf$$subs.awk <<_ACEOF" &&
9410 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9413 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9414 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9416 for ac_last_try in false false false false false :; do
9417 . ./conf$$subs.sh ||
9418 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9420 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9421 if test $ac_delim_n = $ac_delim_num; then
9423 elif $ac_last_try; then
9424 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9426 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9432 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9436 s/^/S["/; s
/!.
*/"]=/
9446 s/\(.\{148\}\).*/\1/
9448 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9453 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9460 s/\(.\{148\}\).*/\1/
9462 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9466 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9471 ' <conf$$subs.awk | sed '
9476 ' >>$CONFIG_STATUS || ac_write_fail=1
9477 rm -f conf$$subs.awk
9478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9480 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9481 for (key in S) S_is_set[key] = 1
9487 nfields = split(line, field, "@
")
9489 len = length(field[1])
9490 for (i = 2; i < nfields; i++) {
9492 keylen = length(key)
9493 if (S_is_set[key]) {
9495 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9496 len += length(value) + length(field[++i])
9507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9508 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9509 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9512 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9513 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
9516 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9517 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9518 # trailing colons and then remove the whole line if VPATH becomes empty
9519 # (actually we leave an empty line to preserve line numbers).
9520 if test "x
$srcdir" = x.; then
9521 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9525 s/^\([^=]*=[ ]*\):*/\1/
9531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9532 fi # test -n "$CONFIG_FILES"
9534 # Set up the scripts for CONFIG_HEADERS section.
9535 # No need to generate them if there are no CONFIG_HEADERS.
9536 # This happens for instance with `./config.status Makefile'.
9537 if test -n "$CONFIG_HEADERS"; then
9538 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9542 # Transform confdefs.h into an awk script `defines.awk', embedded as
9543 # here-document in config.status, that substitutes the proper values into
9544 # config.h.in to produce config.h.
9546 # Create a delimiter string that does not exist in confdefs.h, to ease
9547 # handling of long lines.
9549 for ac_last_try in false false :; do
9550 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9551 if test -z "$ac_t"; then
9553 elif $ac_last_try; then
9554 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
9556 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9560 # For the awk script, D is an array of macro values keyed by name,
9561 # likewise P contains macro parameters if any. Preserve backslash
9562 # newline sequences.
9564 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9566 s/.\{148\}/&'"$ac_delim"'/g
9569 s/^[ ]*#[ ]*define[ ][ ]*/ /
9576 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9578 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9582 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9583 D["\
1"]=" \
3\\\\\\n
"\\/p
9585 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9590 s/.\{148\}/&'"$ac_delim"'/g
9595 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9598 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9600 ' <confdefs.h | sed '
9601 s/'"$ac_delim"'/"\\\
9602 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9605 for (key in D) D_is_set[key] = 1
9608 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9610 split(line, arg, " ")
9611 if (arg[1] == "#") {
9615 defundef
= substr
(arg
[1], 2)
9618 split(mac1
, mac2
, "(") #)
9620 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9621 if (D_is_set
[macro
]) {
9622 # Preserve the white space surrounding the "#".
9623 print prefix
"define", macro P
[macro
] D
[macro
]
9626 # Replace #undef with comments. This is necessary, for example,
9627 # in the case of _POSIX_SOURCE, which is predefined and required
9628 # on some systems where configure will not decide to define it.
9629 if (defundef
== "undef") {
9630 print
"/*", prefix defundef
, macro
, "*/"
9638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9639 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
9640 fi # test -n "$CONFIG_HEADERS"
9643 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9648 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9650 case $ac_mode$ac_tag in
9652 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
9653 :[FH
]-) ac_tag
=-:-;;
9654 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9671 -) ac_f
="$tmp/stdin";;
9672 *) # Look for the file first in the build tree, then in the source tree
9673 # (if the path is not absolute). The absolute path cannot be DOS-style,
9674 # because $ac_f cannot contain `:'.
9678 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9680 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
9682 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9683 as_fn_append ac_file_inputs
" '$ac_f'"
9686 # Let's still pretend it is `configure' which instantiates (i.e., don't
9687 # use $as_me), people would be surprised to read:
9688 # /* config.h. Generated by config.status. */
9689 configure_input
='Generated from '`
9690 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9692 if test x
"$ac_file" != x-
; then
9693 configure_input
="$ac_file. $configure_input"
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9695 $as_echo "$as_me: creating $ac_file" >&6;}
9697 # Neutralize special characters interpreted by sed in replacement strings.
9698 case $configure_input in #(
9699 *\
&* |
*\|
* |
*\\* )
9700 ac_sed_conf_input
=`$as_echo "$configure_input" |
9701 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9702 *) ac_sed_conf_input
=$configure_input;;
9706 *:-:* |
*:-) cat >"$tmp/stdin" \
9707 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
9712 ac_dir
=`$as_dirname -- "$ac_file" ||
9713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9714 X"$ac_file" : 'X\(//\)[^/]' \| \
9715 X"$ac_file" : 'X\(//\)$' \| \
9716 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9717 $as_echo X"$ac_file" |
9718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9735 as_dir
="$ac_dir"; as_fn_mkdir_p
9739 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9741 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9742 # A ".." for each directory in $ac_dir_suffix.
9743 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9744 case $ac_top_builddir_sub in
9745 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9746 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9749 ac_abs_top_builddir
=$ac_pwd
9750 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9751 # for backward compatibility:
9752 ac_top_builddir
=$ac_top_build_prefix
9755 .
) # We are building in place.
9757 ac_top_srcdir
=$ac_top_builddir_sub
9758 ac_abs_top_srcdir
=$ac_pwd ;;
9759 [\\/]* | ?
:[\\/]* ) # Absolute name.
9760 ac_srcdir
=$srcdir$ac_dir_suffix;
9761 ac_top_srcdir
=$srcdir
9762 ac_abs_top_srcdir
=$srcdir ;;
9764 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9765 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9766 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9768 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9778 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9779 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9783 [\\/$
]* | ?
:[\\/]* ) ;;
9784 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9789 # If the template does not know about datarootdir, expand it.
9790 # FIXME: This hack should be removed a few years after 2.60.
9791 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9802 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9803 *datarootdir
*) ac_datarootdir_seen
=yes;;
9804 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9806 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9809 ac_datarootdir_hack='
9810 s&@datadir@&$datadir&g
9811 s&@docdir@&$docdir&g
9812 s&@infodir@&$infodir&g
9813 s&@localedir@&$localedir&g
9814 s&@mandir@&$mandir&g
9815 s&\\\${datarootdir}&$datarootdir&g' ;;
9819 # Neutralize VPATH when `$srcdir' = `.'.
9820 # Shell code in configure.ac might set extrasub.
9821 # FIXME: do we really want to maintain this feature?
9822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9823 ac_sed_extra="$ac_vpsub
9826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9828 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9829 s|@configure_input@|
$ac_sed_conf_input|
;t t
9830 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9831 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9832 s
&@srcdir@
&$ac_srcdir&;t t
9833 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9834 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9835 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9836 s
&@builddir@
&$ac_builddir&;t t
9837 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9838 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9839 s
&@INSTALL@
&$ac_INSTALL&;t t
9840 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9841 $ac_datarootdir_hack
9843 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9844 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9846 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9847 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9848 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9850 which seems to be undefined. Please make sure it is defined." >&5
9851 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9852 which seems to be undefined. Please make sure it is defined." >&2;}
9856 -) cat "$tmp/out" && rm -f "$tmp/out";;
9857 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9859 || as_fn_error "could not create $ac_file" "$LINENO" 5
9865 if test x"$ac_file" != x-; then
9867 $as_echo "/* $configure_input */" \
9868 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9869 } >"$tmp/config.h" \
9870 || as_fn_error "could not create $ac_file" "$LINENO" 5
9871 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9873 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9876 mv "$tmp/config.h" "$ac_file" \
9877 || as_fn_error "could not create $ac_file" "$LINENO" 5
9880 $as_echo "/* $configure_input */" \
9881 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9882 || as_fn_error "could not create -" "$LINENO" 5
9884 # Compute "$ac_file"'s index
in $config_headers.
9887 for _am_header
in $config_headers :; do
9889 $_am_arg |
$_am_arg:* )
9892 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9895 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9896 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9897 X"$_am_arg" : 'X\(//\)[^/]' \| \
9898 X"$_am_arg" : 'X\(//\)$' \| \
9899 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9900 $as_echo X"$_am_arg" |
9901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9917 s/.*/./; q'`/stamp-h
$_am_stamp_count
9920 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9921 $as_echo "$as_me: executing $ac_file commands" >&6;}
9926 case $ac_file$ac_mode in
9927 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9928 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9929 # are listed without --file. Let's play safe and only enable the eval
9930 # if we detect the quoting.
9931 case $CONFIG_FILES in
9932 *\'*) eval set x
"$CONFIG_FILES" ;;
9933 *) set x
$CONFIG_FILES ;;
9938 # Strip MF so we end up with the name of the file.
9939 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9940 # Check whether this is an Automake generated Makefile or not.
9941 # We used to match only the files named `Makefile.in', but
9942 # some people rename them; so instead we look at the file content.
9943 # Grep'ing the first line is not enough: some people post-process
9944 # each Makefile.in and add a new line on top of each file to say so.
9945 # Grep'ing the whole file is not good either: AIX grep has a line
9946 # limit of 2048, but all sed's we know have understand at least 4000.
9947 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9948 dirpart
=`$as_dirname -- "$mf" ||
9949 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9950 X"$mf" : 'X\(//\)[^/]' \| \
9951 X"$mf" : 'X\(//\)$' \| \
9952 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9974 # Extract the definition of DEPDIR, am__include, and am__quote
9975 # from the Makefile without running `make'.
9976 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9977 test -z "$DEPDIR" && continue
9978 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9979 test -z "am__include" && continue
9980 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9981 # When using ansi2knr, U may be empty or an underscore; expand it
9982 U
=`sed -n 's/^U = //p' < "$mf"`
9983 # Find all dependency output files, they are included files with
9984 # $(DEPDIR) in their names. We invoke sed twice because it is the
9985 # simplest approach to changing $(DEPDIR) to its actual value in the
9987 for file in `sed -n "
9988 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9989 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9990 # Make sure the directory exists.
9991 test -f "$dirpart/$file" && continue
9992 fdir
=`$as_dirname -- "$file" ||
9993 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9994 X"$file" : 'X\(//\)[^/]' \| \
9995 X"$file" : 'X\(//\)$' \| \
9996 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10002 /^X\(\/\/\)[^/].*/{
10015 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
10016 # echo "creating $dirpart/$file"
10017 echo '# dummy' > "$dirpart/$file"
10022 "default":C
) case x
$CONFIG_HEADERS in
10023 xconfig.h
:config.
in)
10034 ac_clean_files
=$ac_clean_files_save
10036 test $ac_write_fail = 0 ||
10037 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
10040 # configure is writing to config.log, and then calls config.status.
10041 # config.status does its own redirection, appending to config.log.
10042 # Unfortunately, on DOS this fails, as config.log is still kept open
10043 # by configure, so config.status won't be able to write to it; its
10044 # output is simply discarded. So we exec the FD to /dev/null,
10045 # effectively closing config.log, so it can be properly (re)opened and
10046 # appended to by config.status. When coming back to configure, we
10047 # need to make the FD available again.
10048 if test "$no_create" != yes; then
10050 ac_config_status_args
=
10051 test "$silent" = yes &&
10052 ac_config_status_args
="$ac_config_status_args --quiet"
10054 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10056 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10057 # would make configure fail if this is the last instruction.
10058 $ac_cs_success || as_fn_exit $?
10060 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10062 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}