2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for cpplib .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: gcc-bugs@gcc.gnu.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='cpplib'
582 PACKAGE_TARNAME
='cpplib'
584 PACKAGE_STRING
='cpplib '
585 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
588 ac_unique_file
="ucnid.h"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
719 program_transform_name
732 enable_option_checking
739 enable_maintainer_mode
741 enable_canonical_system_headers
745 enable_valgrind_annotations
747 ac_precious_vars
='build_alias
761 # Initialize some variables set by options.
763 ac_init_version
=false
764 ac_unrecognized_opts
=
766 # The variables have the same names as the options, with
767 # dashes changed to underlines.
775 program_transform_name
=s
,x
,x
,
783 # Installation directory options.
784 # These are left unexpanded so users can "make install exec_prefix=/foo"
785 # and all the variables that are supposed to be based on exec_prefix
786 # by default will actually change.
787 # Use braces instead of parens because sh, perl, etc. also accept them.
788 # (The list follows the same order as the GNU Coding Standards.)
789 bindir
='${exec_prefix}/bin'
790 sbindir
='${exec_prefix}/sbin'
791 libexecdir
='${exec_prefix}/libexec'
792 datarootdir
='${prefix}/share'
793 datadir
='${datarootdir}'
794 sysconfdir
='${prefix}/etc'
795 sharedstatedir
='${prefix}/com'
796 localstatedir
='${prefix}/var'
797 includedir
='${prefix}/include'
798 oldincludedir
='/usr/include'
799 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
800 infodir
='${datarootdir}/info'
805 libdir
='${exec_prefix}/lib'
806 localedir
='${datarootdir}/locale'
807 mandir
='${datarootdir}/man'
813 # If the previous option needs an argument, assign it.
814 if test -n "$ac_prev"; then
815 eval $ac_prev=\
$ac_option
821 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826 # Accept the important Cygnus configure options, so we can diagnose typos.
828 case $ac_dashdash$ac_option in
832 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
834 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
837 -build |
--build |
--buil |
--bui |
--bu)
838 ac_prev
=build_alias
;;
839 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
840 build_alias
=$ac_optarg ;;
842 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
843 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
844 ac_prev
=cache_file
;;
845 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
846 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
847 cache_file
=$ac_optarg ;;
850 cache_file
=config.cache
;;
852 -datadir |
--datadir |
--datadi |
--datad)
854 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
855 datadir
=$ac_optarg ;;
857 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
858 |
--dataroo |
--dataro |
--datar)
859 ac_prev
=datarootdir
;;
860 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
861 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
862 datarootdir
=$ac_optarg ;;
864 -disable-* |
--disable-*)
865 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
866 # Reject names that are not valid shell variable names.
867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
868 as_fn_error $?
"invalid feature name: $ac_useropt"
869 ac_useropt_orig
=$ac_useropt
870 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
871 case $ac_user_opts in
875 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
876 ac_unrecognized_sep
=', ';;
878 eval enable_
$ac_useropt=no
;;
880 -docdir |
--docdir |
--docdi |
--doc |
--do)
882 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
885 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
887 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
890 -enable-* |
--enable-*)
891 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
894 as_fn_error $?
"invalid feature name: $ac_useropt"
895 ac_useropt_orig
=$ac_useropt
896 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897 case $ac_user_opts in
901 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
902 ac_unrecognized_sep
=', ';;
904 eval enable_
$ac_useropt=\
$ac_optarg ;;
906 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
907 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
908 |
--exec |
--exe |
--ex)
909 ac_prev
=exec_prefix
;;
910 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
911 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
912 |
--exec=* |
--exe=* |
--ex=*)
913 exec_prefix
=$ac_optarg ;;
915 -gas |
--gas |
--ga |
--g)
916 # Obsolete; use --with-gas.
919 -help |
--help |
--hel |
--he |
-h)
921 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
922 ac_init_help
=recursive
;;
923 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
924 ac_init_help
=short
;;
926 -host |
--host |
--hos |
--ho)
927 ac_prev
=host_alias
;;
928 -host=* |
--host=* |
--hos=* |
--ho=*)
929 host_alias
=$ac_optarg ;;
931 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
933 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
935 htmldir
=$ac_optarg ;;
937 -includedir |
--includedir |
--includedi |
--included |
--include \
938 |
--includ |
--inclu |
--incl |
--inc)
939 ac_prev
=includedir
;;
940 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
941 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
942 includedir
=$ac_optarg ;;
944 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
946 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
947 infodir
=$ac_optarg ;;
949 -libdir |
--libdir |
--libdi |
--libd)
951 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
954 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
955 |
--libexe |
--libex |
--libe)
956 ac_prev
=libexecdir
;;
957 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
958 |
--libexe=* |
--libex=* |
--libe=*)
959 libexecdir
=$ac_optarg ;;
961 -localedir |
--localedir |
--localedi |
--localed |
--locale)
963 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
964 localedir
=$ac_optarg ;;
966 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
967 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
968 ac_prev
=localstatedir
;;
969 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
970 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
971 localstatedir
=$ac_optarg ;;
973 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
975 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
979 # Obsolete; use --without-fp.
982 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
983 |
--no-cr |
--no-c |
-n)
986 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
987 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
990 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
991 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
992 |
--oldin |
--oldi |
--old |
--ol |
--o)
993 ac_prev
=oldincludedir
;;
994 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
995 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
996 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
997 oldincludedir
=$ac_optarg ;;
999 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1001 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1002 prefix
=$ac_optarg ;;
1004 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1005 |
--program-pre |
--program-pr |
--program-p)
1006 ac_prev
=program_prefix
;;
1007 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1008 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1009 program_prefix
=$ac_optarg ;;
1011 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1012 |
--program-suf |
--program-su |
--program-s)
1013 ac_prev
=program_suffix
;;
1014 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1015 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1016 program_suffix
=$ac_optarg ;;
1018 -program-transform-name |
--program-transform-name \
1019 |
--program-transform-nam |
--program-transform-na \
1020 |
--program-transform-n |
--program-transform- \
1021 |
--program-transform |
--program-transfor \
1022 |
--program-transfo |
--program-transf \
1023 |
--program-trans |
--program-tran \
1024 |
--progr-tra |
--program-tr |
--program-t)
1025 ac_prev
=program_transform_name
;;
1026 -program-transform-name=* |
--program-transform-name=* \
1027 |
--program-transform-nam=* |
--program-transform-na=* \
1028 |
--program-transform-n=* |
--program-transform-=* \
1029 |
--program-transform=* |
--program-transfor=* \
1030 |
--program-transfo=* |
--program-transf=* \
1031 |
--program-trans=* |
--program-tran=* \
1032 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1033 program_transform_name
=$ac_optarg ;;
1035 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1037 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1038 pdfdir
=$ac_optarg ;;
1040 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1042 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1045 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1046 |
-silent |
--silent |
--silen |
--sile |
--sil)
1049 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1051 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1053 sbindir
=$ac_optarg ;;
1055 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1056 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1057 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1059 ac_prev
=sharedstatedir
;;
1060 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1061 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1062 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1064 sharedstatedir
=$ac_optarg ;;
1066 -site |
--site |
--sit)
1068 -site=* |
--site=* |
--sit=*)
1071 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1073 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1074 srcdir
=$ac_optarg ;;
1076 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1077 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1078 ac_prev
=sysconfdir
;;
1079 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1080 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1081 sysconfdir
=$ac_optarg ;;
1083 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1084 ac_prev
=target_alias
;;
1085 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1086 target_alias
=$ac_optarg ;;
1088 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1091 -version |
--version |
--versio |
--versi |
--vers |
-V)
1092 ac_init_version
=: ;;
1095 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1098 as_fn_error $?
"invalid package name: $ac_useropt"
1099 ac_useropt_orig
=$ac_useropt
1100 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1105 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1106 ac_unrecognized_sep
=', ';;
1108 eval with_
$ac_useropt=\
$ac_optarg ;;
1110 -without-* |
--without-*)
1111 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error $?
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=no
;;
1127 # Obsolete; use --with-x.
1130 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1131 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1132 ac_prev
=x_includes
;;
1133 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1134 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1135 x_includes
=$ac_optarg ;;
1137 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1138 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1139 ac_prev
=x_libraries
;;
1140 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1141 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1142 x_libraries
=$ac_optarg ;;
1144 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1145 Try \`$0 --help' for more information"
1149 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 case $ac_envvar in #(
1152 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1153 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1155 eval $ac_envvar=\
$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1162 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1169 if test -n "$ac_prev"; then
1170 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1171 as_fn_error $?
"missing argument to $ac_option"
1174 if test -n "$ac_unrecognized_opts"; then
1175 case $enable_option_checking in
1177 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1178 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1182 # Check all directory arguments for consistency.
1183 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1184 datadir sysconfdir sharedstatedir localstatedir includedir \
1185 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1186 libdir localedir mandir
1188 eval ac_val
=\$
$ac_var
1189 # Remove trailing slashes.
1192 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1193 eval $ac_var=\
$ac_val;;
1195 # Be sure to have absolute directory names.
1197 [\\/$
]* | ?
:[\\/]* ) continue;;
1198 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1200 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1203 # There might be people who depend on the old broken behavior: `$host'
1204 # used to hold the argument of --host etc.
1205 # FIXME: To remove some day.
1208 target
=$target_alias
1210 # FIXME: To remove some day.
1211 if test "x$host_alias" != x
; then
1212 if test "x$build_alias" = x
; then
1213 cross_compiling
=maybe
1214 elif test "x$build_alias" != "x$host_alias"; then
1220 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1222 test "$silent" = yes && exec 6>/dev
/null
1225 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1226 ac_ls_di
=`ls -di .` &&
1227 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1228 as_fn_error $?
"working directory cannot be determined"
1229 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230 as_fn_error $?
"pwd does not report name of working directory"
1233 # Find the source files, if location was not specified.
1234 if test -z "$srcdir"; then
1235 ac_srcdir_defaulted
=yes
1236 # Try the directory containing this script, then the parent directory.
1237 ac_confdir
=`$as_dirname -- "$as_myself" ||
1238 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1239 X"$as_myself" : 'X\(//\)[^/]' \| \
1240 X"$as_myself" : 'X\(//\)$' \| \
1241 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1242 $as_echo X"$as_myself" |
1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1265 ac_srcdir_defaulted
=no
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1269 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1271 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1275 # When building in place, set srcdir=.
1276 if test "$ac_abs_confdir" = "$ac_pwd"; then
1279 # Remove unnecessary trailing slashes from srcdir.
1280 # Double slashes in file names in object file debugging info
1281 # mess up M-x gdb in Emacs.
1283 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1285 for ac_var
in $ac_precious_vars; do
1286 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1287 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1288 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1289 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1293 # Report the --help message.
1295 if test "$ac_init_help" = "long"; then
1296 # Omit some internal or obsolete options to make the list less imposing.
1297 # This message is too long to be a string in the A/UX 3.1 sh.
1299 \`configure' configures cpplib to adapt to many kinds of systems.
1301 Usage: $0 [OPTION]... [VAR=VALUE]...
1303 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1304 VAR=VALUE. See below for descriptions of some of the useful variables.
1306 Defaults for the options are specified in brackets.
1309 -h, --help display this help and exit
1310 --help=short display options specific to this package
1311 --help=recursive display the short help of all the included packages
1312 -V, --version display version information and exit
1313 -q, --quiet, --silent do not print \`checking ...' messages
1314 --cache-file=FILE cache test results in FILE [disabled]
1315 -C, --config-cache alias for \`--cache-file=config.cache'
1316 -n, --no-create do not create output files
1317 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1319 Installation directories:
1320 --prefix=PREFIX install architecture-independent files in PREFIX
1321 [$ac_default_prefix]
1322 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1325 By default, \`make install' will install all the files in
1326 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1327 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1328 for instance \`--prefix=\$HOME'.
1330 For better control, use the options below.
1332 Fine tuning of the installation directories:
1333 --bindir=DIR user executables [EPREFIX/bin]
1334 --sbindir=DIR system admin executables [EPREFIX/sbin]
1335 --libexecdir=DIR program executables [EPREFIX/libexec]
1336 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1337 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1338 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1339 --libdir=DIR object code libraries [EPREFIX/lib]
1340 --includedir=DIR C header files [PREFIX/include]
1341 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1342 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1343 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1344 --infodir=DIR info documentation [DATAROOTDIR/info]
1345 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1346 --mandir=DIR man documentation [DATAROOTDIR/man]
1347 --docdir=DIR documentation root [DATAROOTDIR/doc/cpplib]
1348 --htmldir=DIR html documentation [DOCDIR]
1349 --dvidir=DIR dvi documentation [DOCDIR]
1350 --pdfdir=DIR pdf documentation [DOCDIR]
1351 --psdir=DIR ps documentation [DOCDIR]
1357 --build=BUILD configure
for building on BUILD
[guessed
]
1358 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1359 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive
) echo "Configuration of cpplib :";;
1370 --disable-option-checking ignore unrecognized
--enable/--with options
1371 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1372 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1373 --disable-largefile omit support
for large files
1374 --enable-werror-always enable -Werror despite compiler version
1375 --disable-rpath do not hardcode runtime library paths
1376 --enable-maintainer-mode enable rules only needed by maintainers
1377 --enable-checking[=LIST
]
1378 enable expensive run-time checks. With LIST
, enable
1379 only specific categories of checks. Categories are
:
1380 yes,no
,all
,none
,release. Flags are
: misc
,valgrind or
1382 --enable-canonical-system-headers
1383 enable or disable system headers canonicalization
1384 --enable-host-shared build
host code as shared libraries
1385 --enable-host-pie build
host code as PIE
1386 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1387 --enable-valgrind-annotations
1388 enable valgrind runtime interaction
1391 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1392 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1393 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1394 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1395 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1396 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1398 Some influential environment variables:
1399 CC C compiler command
1400 CFLAGS C compiler flags
1401 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1402 nonstandard directory <lib dir>
1403 LIBS libraries to pass to the linker, e.g. -l<library>
1404 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1405 you have headers in a nonstandard directory <include dir>
1406 CXX C++ compiler command
1407 CXXFLAGS C++ compiler flags
1410 Use these variables to override the choices made by `configure' or to
help
1411 it to
find libraries and programs with nonstandard names
/locations.
1413 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
1418 if test "$ac_init_help" = "recursive"; then
1419 # If there are subdirs, report their specific --help.
1420 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1421 test -d "$ac_dir" ||
1422 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1427 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1429 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1430 # A ".." for each directory in $ac_dir_suffix.
1431 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1432 case $ac_top_builddir_sub in
1433 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1434 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1437 ac_abs_top_builddir
=$ac_pwd
1438 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1439 # for backward compatibility:
1440 ac_top_builddir
=$ac_top_build_prefix
1443 .
) # We are building in place.
1445 ac_top_srcdir
=$ac_top_builddir_sub
1446 ac_abs_top_srcdir
=$ac_pwd ;;
1447 [\\/]* | ?
:[\\/]* ) # Absolute name.
1448 ac_srcdir
=$srcdir$ac_dir_suffix;
1449 ac_top_srcdir
=$srcdir
1450 ac_abs_top_srcdir
=$srcdir ;;
1452 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1453 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1454 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1456 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1458 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1459 # Check for guested configure.
1460 if test -f "$ac_srcdir/configure.gnu"; then
1462 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463 elif test -f "$ac_srcdir/configure"; then
1465 $SHELL "$ac_srcdir/configure" --help=recursive
1467 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1473 test -n "$ac_init_help" && exit $ac_status
1474 if $ac_init_version; then
1477 generated by GNU Autoconf
2.69
1479 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1480 This configure
script is free software
; the Free Software Foundation
1481 gives unlimited permission to copy
, distribute and modify it.
1486 ## ------------------------ ##
1487 ## Autoconf initialization. ##
1488 ## ------------------------ ##
1490 # ac_fn_c_try_compile LINENO
1491 # --------------------------
1492 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1493 ac_fn_c_try_compile
()
1495 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1496 rm -f conftest.
$ac_objext
1497 if { { ac_try
="$ac_compile"
1499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1500 *) ac_try_echo=$ac_try;;
1502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503 $as_echo "$ac_try_echo"; } >&5
1504 (eval "$ac_compile") 2>conftest.err
1506 if test -s conftest.err; then
1507 grep -v '^ *+' conftest.err >conftest.er1
1508 cat conftest.er1 >&5
1509 mv -f conftest.er1 conftest.err
1511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512 test $ac_status = 0; } && {
1513 test -z "$ac_c_werror_flag" ||
1514 test ! -s conftest.err
1515 } && test -s conftest.$ac_objext; then :
1518 $as_echo "$as_me: failed program was:" >&5
1519 sed 's/^/| /' conftest.$ac_ext >&5
1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524 as_fn_set_status $ac_retval
1526 } # ac_fn_c_try_compile
1528 # ac_fn_cxx_try_compile LINENO
1529 # ----------------------------
1530 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1531 ac_fn_cxx_try_compile ()
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 rm -f conftest.$ac_objext
1535 if { { ac_try="$ac_compile"
1537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1538 *) ac_try_echo
=$ac_try;;
1540 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541 $as_echo "$ac_try_echo"; } >&5
1542 (eval "$ac_compile") 2>conftest.err
1544 if test -s conftest.err
; then
1545 grep -v '^ *+' conftest.err
>conftest.er1
1546 cat conftest.er1
>&5
1547 mv -f conftest.er1 conftest.err
1549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550 test $ac_status = 0; } && {
1551 test -z "$ac_cxx_werror_flag" ||
1552 test ! -s conftest.err
1553 } && test -s conftest.
$ac_objext; then :
1556 $as_echo "$as_me: failed program was:" >&5
1557 sed 's/^/| /' conftest.
$ac_ext >&5
1561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562 as_fn_set_status
$ac_retval
1564 } # ac_fn_cxx_try_compile
1566 # ac_fn_c_try_cpp LINENO
1567 # ----------------------
1568 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1571 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1572 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } > conftest.i && {
1588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1589 test ! -s conftest.err
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 as_fn_set_status $ac_retval
1603 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1604 # -------------------------------------------------------
1605 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1606 # the include files in INCLUDES and setting the cache variable VAR
1608 ac_fn_c_check_header_mongrel ()
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 if eval \${$3+:} false; then :
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if eval \${$3+:} false; then :
1615 $as_echo_n "(cached) " >&6
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1621 # Is the header compilable?
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1623 $as_echo_n "checking $2 usability... " >&6; }
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1629 if ac_fn_c_try_compile "$LINENO"; then :
1630 ac_header_compiler=yes
1632 ac_header_compiler=no
1634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1636 $as_echo "$ac_header_compiler" >&6; }
1638 # Is the header present?
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1640 $as_echo_n "checking $2 presence... " >&6; }
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1645 if ac_fn_c_try_cpp "$LINENO"; then :
1646 ac_header_preproc=yes
1648 ac_header_preproc=no
1650 rm -f conftest.err conftest.i conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1652 $as_echo "$ac_header_preproc" >&6; }
1654 # So? What about this header?
1655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1658 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1664 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1666 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1668 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1670 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1672 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1673 ( $as_echo "## ----------------------------------- ##
1674 ## Report this to gcc-bugs@gcc.gnu.org ##
1675 ## ----------------------------------- ##"
1676 ) | sed "s/^/$as_me: WARNING: /" >&2
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if eval \${$3+:} false; then :
1682 $as_echo_n "(cached) " >&6
1684 eval "$3=\$ac_header_compiler"
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 } # ac_fn_c_check_header_mongrel
1694 # ac_fn_c_try_run LINENO
1695 # ----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697 # that executables *can* be run.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_link"
1703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1704 *) ac_try_echo
=$ac_try;;
1706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>&5
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1712 { { case "(($ac_try" in
1713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_try") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; }; }; then :
1724 $as_echo "$as_me: program exited with status $ac_status" >&5
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1728 ac_retval=$ac_status
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 as_fn_set_status $ac_retval
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if eval \${$3+:} false; then :
1746 $as_echo_n "(cached) " >&6
1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1753 if ac_fn_c_try_compile "$LINENO"; then :
1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 } # ac_fn_c_check_header_compile
1767 # ac_fn_c_try_link LINENO
1768 # -----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded.
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 rm -f conftest.$ac_objext conftest$ac_exeext
1774 if { { ac_try="$ac_link"
1776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1777 *) ac_try_echo
=$ac_try;;
1779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>conftest.err
1783 if test -s conftest.err
; then
1784 grep -v '^ *+' conftest.err
>conftest.er1
1785 cat conftest.er1
>&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && {
1790 test -z "$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1792 } && test -s conftest
$ac_exeext && {
1793 test "$cross_compiling" = yes ||
1794 test -x conftest
$ac_exeext
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.
$ac_ext >&5
1803 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1804 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1805 # interfere with the next link command; also delete a directory that is
1806 # left behind by Apple's compiler. We do this before executing the actions.
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 as_fn_set_status
$ac_retval
1811 } # ac_fn_c_try_link
1813 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1814 # -------------------------------------------
1815 # Tests whether TYPE exists after having included INCLUDES, setting cache
1816 # variable VAR accordingly.
1817 ac_fn_c_check_type
()
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 eval \
${$3+:} false
; then :
1823 $as_echo_n "(cached) " >&6
1826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1838 if ac_fn_c_try_compile
"$LINENO"; then :
1839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1840 /* end confdefs.h. */
1851 if ac_fn_c_try_compile
"$LINENO"; then :
1856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; }
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 } # ac_fn_c_check_type
1867 # ac_fn_c_find_uintX_t LINENO BITS VAR
1868 # ------------------------------------
1869 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1871 ac_fn_c_find_uintX_t
()
1873 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1875 $as_echo_n "checking for uint$2_t... " >&6; }
1876 if eval \
${$3+:} false
; then :
1877 $as_echo_n "(cached) " >&6
1880 # Order is important - never check a type that is potentially smaller
1881 # than half of the expected target width.
1882 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1883 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1886 $ac_includes_default
1890 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1892 return test_array [0];
1898 if ac_fn_c_try_compile
"$LINENO"; then :
1903 eval "$3=\$ac_type" ;;
1906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1907 if eval test \"x\$
"$3"\" = x
"no"; then :
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 } # ac_fn_c_find_uintX_t
1921 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1922 # --------------------------------------------
1923 # Tries to find the compile-time value of EXPR in a program that includes
1924 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1926 ac_fn_c_compute_int
()
1928 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1929 if test "$cross_compiling" = yes; then
1930 # Depending upon the size, compute the lo and hi bounds.
1931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1937 static int test_array [1 - 2 * !(($2) >= 0)];
1939 return test_array [0];
1945 if ac_fn_c_try_compile
"$LINENO"; then :
1948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1954 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1956 return test_array [0];
1962 if ac_fn_c_try_compile
"$LINENO"; then :
1963 ac_hi
=$ac_mid; break
1965 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1966 if test $ac_lo -le $ac_mid; then
1970 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1981 static int test_array [1 - 2 * !(($2) < 0)];
1983 return test_array [0];
1989 if ac_fn_c_try_compile
"$LINENO"; then :
1992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1998 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2000 return test_array [0];
2006 if ac_fn_c_try_compile
"$LINENO"; then :
2007 ac_lo
=$ac_mid; break
2009 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2010 if test $ac_mid -le $ac_hi; then
2014 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2024 # Binary search between lo and hi bounds.
2025 while test "x$ac_lo" != "x$ac_hi"; do
2026 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2033 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2035 return test_array [0];
2041 if ac_fn_c_try_compile
"$LINENO"; then :
2044 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2049 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2056 static long int longval () { return $2; }
2057 static unsigned long int ulongval () { return $2; }
2064 FILE *f = fopen ("conftest.val", "w");
2069 long int i = longval ();
2072 fprintf (f, "%ld", i);
2076 unsigned long int i = ulongval ();
2079 fprintf (f, "%lu", i);
2081 /* Do not output a trailing newline, as this causes \r\n confusion
2082 on some platforms. */
2083 return ferror (f) || fclose (f) != 0;
2089 if ac_fn_c_try_run
"$LINENO"; then :
2090 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2094 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2095 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2100 as_fn_set_status
$ac_retval
2102 } # ac_fn_c_compute_int
2104 # ac_fn_c_check_func LINENO FUNC VAR
2105 # ----------------------------------
2106 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2107 ac_fn_c_check_func
()
2109 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111 $as_echo_n "checking for $2... " >&6; }
2112 if eval \
${$3+:} false
; then :
2113 $as_echo_n "(cached) " >&6
2115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2116 /* end confdefs.h. */
2117 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2119 #define $2 innocuous_$2
2121 /* System header to define __stub macros and hopefully few prototypes,
2122 which can conflict with char $2 (); below.
2123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2124 <limits.h> exists even on freestanding compilers. */
2127 # include <limits.h>
2129 # include <assert.h>
2134 /* Override any GCC internal prototype to avoid an error.
2135 Use char because int might match the return type of a GCC
2136 builtin and then its argument prototype would still apply. */
2141 /* The GNU C library defines this for functions which it implements
2142 to always fail with ENOSYS. Some functions are actually named
2143 something starting with __ and the normal name is an alias. */
2144 #if defined __stub_$2 || defined __stub___$2
2156 if ac_fn_c_try_link
"$LINENO"; then :
2161 rm -f core conftest.err conftest.
$ac_objext \
2162 conftest
$ac_exeext conftest.
$ac_ext
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2166 $as_echo "$ac_res" >&6; }
2167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169 } # ac_fn_c_check_func
2171 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2172 # ---------------------------------------------
2173 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2175 ac_fn_c_check_decl
()
2177 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2178 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2179 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2181 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2182 if eval \
${$3+:} false
; then :
2183 $as_echo_n "(cached) " >&6
2185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2191 #ifndef $as_decl_name
2193 (void) $as_decl_use;
2195 (void) $as_decl_name;
2203 if ac_fn_c_try_compile
"$LINENO"; then :
2208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212 $as_echo "$ac_res" >&6; }
2213 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2215 } # ac_fn_c_check_decl
2217 # ac_fn_cxx_try_link LINENO
2218 # -------------------------
2219 # Try to link conftest.$ac_ext, and return whether this succeeded.
2220 ac_fn_cxx_try_link
()
2222 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2223 rm -f conftest.
$ac_objext conftest
$ac_exeext
2224 if { { ac_try
="$ac_link"
2226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2227 *) ac_try_echo=$ac_try;;
2229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2230 $as_echo "$ac_try_echo"; } >&5
2231 (eval "$ac_link") 2>conftest.err
2233 if test -s conftest.err; then
2234 grep -v '^ *+' conftest.err >conftest.er1
2235 cat conftest.er1 >&5
2236 mv -f conftest.er1 conftest.err
2238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2239 test $ac_status = 0; } && {
2240 test -z "$ac_cxx_werror_flag" ||
2241 test ! -s conftest.err
2242 } && test -s conftest$ac_exeext && {
2243 test "$cross_compiling" = yes ||
2244 test -x conftest$ac_exeext
2248 $as_echo "$as_me: failed program was:" >&5
2249 sed 's/^/| /' conftest.$ac_ext >&5
2253 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2254 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2255 # interfere with the next link command; also delete a directory that is
2256 # left behind by Apple's compiler. We do this before executing the actions.
2257 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2258 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2259 as_fn_set_status $ac_retval
2261 } # ac_fn_cxx_try_link
2262 cat >config.log <<_ACEOF
2263 This file contains any messages produced by compilers while
2264 running configure, to aid debugging if configure makes a mistake.
2266 It was created by cpplib $as_me , which was
2267 generated by GNU Autoconf 2.69. Invocation command line was
2279 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2280 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2281 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2282 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2283 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2285 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2286 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2288 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2289 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2290 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2291 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2292 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2293 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2294 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 $as_echo "PATH: $as_dir"
2319 # Keep a trace of the command line.
2320 # Strip out --no-create and --no-recursion so they do not pile up.
2321 # Strip out --silent because we don't want to record it for future runs.
2322 # Also quote any args containing shell meta-characters.
2323 # Make two passes to allow for proper duplicate-argument suppression.
2327 ac_must_keep_next=false
2333 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2334 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2335 | -silent | --silent | --silen | --sile | --sil)
2338 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2341 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2343 as_fn_append ac_configure_args1 " '$ac_arg'"
2344 if test $ac_must_keep_next = true; then
2345 ac_must_keep_next=false # Got value, back to normal.
2348 *=* | --config-cache | -C | -disable-* | --disable-* \
2349 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2350 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2351 | -with-* | --with-* | -without-* | --without-* | --x)
2352 case "$ac_configure_args0 " in
2353 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2356 -* ) ac_must_keep_next=true ;;
2359 as_fn_append ac_configure_args " '$ac_arg'"
2364 { ac_configure_args0=; unset ac_configure_args0;}
2365 { ac_configure_args1=; unset ac_configure_args1;}
2367 # When interrupted or exit'd, cleanup temporary files, and complete
2368 # config.log. We remove comments because anyway the quotes in there
2369 # would cause problems or look ugly.
2370 # WARNING: Use '\'' to represent an apostrophe within the trap.
2371 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2372 trap 'exit_status=$?
2373 # Save into config.log some information that might help in debugging.
2377 $as_echo "## ---------------- ##
2378 ## Cache variables. ##
2379 ## ---------------- ##"
2381 # The following way of writing the cache mishandles newlines in values,
2383 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2384 eval ac_val=\$$ac_var
2388 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2389 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2392 _ | IFS | as_nl) ;; #(
2393 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2394 *) { eval $ac_var=; unset $ac_var;} ;;
2399 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2400 *${as_nl}ac_space=\ *)
2402 "s/'\''/'\''\\\\'\'''\''/g;
2403 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2406 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2413 $as_echo "## ----------------- ##
2414 ## Output variables. ##
2415 ## ----------------- ##"
2417 for ac_var in $ac_subst_vars
2419 eval ac_val=\$$ac_var
2421 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2423 $as_echo "$ac_var='\''$ac_val'\''"
2427 if test -n "$ac_subst_files"; then
2428 $as_echo "## ------------------- ##
2429 ## File substitutions. ##
2430 ## ------------------- ##"
2432 for ac_var in $ac_subst_files
2434 eval ac_val=\$$ac_var
2436 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2438 $as_echo "$ac_var='\''$ac_val'\''"
2443 if test -s confdefs.h; then
2444 $as_echo "## ----------- ##
2451 test "$ac_signal" != 0 &&
2452 $as_echo "$as_me: caught signal $ac_signal"
2453 $as_echo "$as_me: exit $exit_status"
2455 rm -f core *.core core.conftest.* &&
2456 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2459 for ac_signal in 1 2 13 15; do
2460 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2464 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2465 rm -f -r conftest* confdefs.h
2467 $as_echo "/* confdefs.h */" > confdefs.h
2469 # Predefined preprocessor variables.
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_NAME "$PACKAGE_NAME"
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_STRING "$PACKAGE_STRING"
2487 cat >>confdefs.h <<_ACEOF
2488 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2491 cat >>confdefs.h <<_ACEOF
2492 #define PACKAGE_URL "$PACKAGE_URL"
2496 # Let the site file select an alternate cache file if it wants to.
2497 # Prefer an explicitly selected file to automatically selected ones.
2500 if test -n "$CONFIG_SITE"; then
2501 # We do not want a PATH search for config.site.
2502 case $CONFIG_SITE in #((
2503 -*) ac_site_file1=./$CONFIG_SITE;;
2504 */*) ac_site_file1=$CONFIG_SITE;;
2505 *) ac_site_file1=./$CONFIG_SITE;;
2507 elif test "x$prefix" != xNONE; then
2508 ac_site_file1=$prefix/share/config.site
2509 ac_site_file2=$prefix/etc/config.site
2511 ac_site_file1=$ac_default_prefix/share/config.site
2512 ac_site_file2=$ac_default_prefix/etc/config.site
2514 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2516 test "x$ac_site_file" = xNONE && continue
2517 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2519 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2520 sed 's/^/| /' "$ac_site_file" >&5
2522 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2524 as_fn_error $? "failed to load site
script $ac_site_file
2525 See \
`config.log' for more details" "$LINENO" 5; }
2529 if test -r "$cache_file"; then
2530 # Some versions of bash will fail to source /dev/null (special files
2531 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2532 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2534 $as_echo "$as_me: loading cache $cache_file" >&6;}
2536 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2537 *) . "./$cache_file";;
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2542 $as_echo "$as_me: creating cache $cache_file" >&6;}
2546 # Check that the precious variables saved in the cache have kept the same
2548 ac_cache_corrupted=false
2549 for ac_var in $ac_precious_vars; do
2550 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2551 eval ac_new_set=\$ac_env_${ac_var}_set
2552 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2553 eval ac_new_val=\$ac_env_${ac_var}_value
2554 case $ac_old_set,$ac_new_set in
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2557 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2558 ac_cache_corrupted=: ;;
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2561 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2562 ac_cache_corrupted=: ;;
2565 if test "x$ac_old_val" != "x$ac_new_val"; then
2566 # differences in whitespace do not lead to failure.
2567 ac_old_val_w=`echo x
$ac_old_val`
2568 ac_new_val_w=`echo x
$ac_new_val`
2569 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2571 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2572 ac_cache_corrupted=:
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2575 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2576 eval $ac_var=\$ac_old_val
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2579 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2581 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2584 # Pass precious variables to config.status.
2585 if test "$ac_new_set" = set; then
2587 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2588 *) ac_arg=$ac_var=$ac_new_val ;;
2590 case " $ac_configure_args " in
2591 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2592 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2596 if $ac_cache_corrupted; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2600 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2601 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2603 ## -------------------- ##
2604 ## Main body of script. ##
2605 ## -------------------- ##
2608 ac_cpp='$CPP $CPPFLAGS'
2609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2617 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2618 if test -f "$ac_dir/install-sh"; then
2620 ac_install_sh="$ac_aux_dir/install-sh -c"
2622 elif test -f "$ac_dir/install.sh"; then
2624 ac_install_sh="$ac_aux_dir/install.sh -c"
2626 elif test -f "$ac_dir/shtool"; then
2628 ac_install_sh="$ac_aux_dir/shtool install -c"
2632 if test -z "$ac_aux_dir"; then
2633 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2636 # These three variables are undocumented and unsupported,
2637 # and are intended to be withdrawn in a future Autoconf release.
2638 # They can cause serious problems if a builder's source tree is in a directory
2639 # whose full name contains unusual characters.
2640 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2641 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2642 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2645 # Make sure we can run config.sub.
2646 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2647 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2650 $as_echo_n "checking build system type... " >&6; }
2651 if ${ac_cv_build+:} false; then :
2652 $as_echo_n "(cached) " >&6
2654 ac_build_alias=$build_alias
2655 test "x$ac_build_alias" = x &&
2656 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2657 test "x$ac_build_alias" = x &&
2658 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2659 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2660 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2664 $as_echo "$ac_cv_build" >&6; }
2665 case $ac_cv_build in
2667 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2670 ac_save_IFS=$IFS; IFS='-'
2676 # Remember, the first character of IFS is used to create $*,
2677 # except with old shells:
2680 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2684 $as_echo_n "checking host system type... " >&6; }
2685 if ${ac_cv_host+:} false; then :
2686 $as_echo_n "(cached) " >&6
2688 if test "x$host_alias" = x; then
2689 ac_cv_host=$ac_cv_build
2691 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2692 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2697 $as_echo "$ac_cv_host" >&6; }
2700 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2703 ac_save_IFS=$IFS; IFS='-'
2709 # Remember, the first character of IFS is used to create $*,
2710 # except with old shells:
2713 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2717 $as_echo_n "checking target system type... " >&6; }
2718 if ${ac_cv_target+:} false; then :
2719 $as_echo_n "(cached) " >&6
2721 if test "x$target_alias" = x; then
2722 ac_cv_target=$ac_cv_host
2724 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2725 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2730 $as_echo "$ac_cv_target" >&6; }
2731 case $ac_cv_target in
2733 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2735 target=$ac_cv_target
2736 ac_save_IFS=$IFS; IFS='-'
2742 # Remember, the first character of IFS is used to create $*,
2743 # except with old shells:
2746 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2749 # The aliases save the names the user supplied, while $host etc.
2750 # will get canonicalized.
2751 test -n "$target_alias" &&
2752 test "$program_prefix$program_suffix$program_transform_name" = \
2754 program_prefix=${target_alias}-
2757 # Checks for programs.
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2759 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2761 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2762 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 cat >conftest.make <<\_ACEOF
2768 @echo '@@@%%%=$(MAKE)=@@@%%%'
2770 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2771 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2773 eval ac_cv_prog_make_${ac_make}_set=yes;;
2775 eval ac_cv_prog_make_${ac_make}_set=no;;
2779 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2781 $as_echo "yes" >&6; }
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2785 $as_echo "no" >&6; }
2786 SET_MAKE="MAKE=${MAKE-make}"
2789 # Find a good install program. We prefer a C program (faster),
2790 # so one script is as good as another. But avoid the broken or
2791 # incompatible versions:
2792 # SysV /etc/install, /usr/sbin/install
2793 # SunOS /usr/etc/install
2794 # IRIX /sbin/install
2796 # AmigaOS /C/install, which installs bootblocks on floppy discs
2797 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2800 # OS/2's system install, which has a completely different semantic
2801 # ./install, which can be erroneously created by make from ./install.sh.
2802 # Reject install programs that cannot install multiple files.
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2804 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2805 if test -z "$INSTALL"; then
2806 if ${ac_cv_path_install+:} false; then :
2807 $as_echo_n "(cached) " >&6
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 # Account for people who put trailing slashes in PATH elements.
2815 case $as_dir/ in #((
2816 ./ | .// | /[cC]/* | \
2817 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2818 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2821 # OSF1 and SCO ODT 3.0 have their own names for install.
2822 # Don't use installbsd from OSF since it installs stuff as root
2824 for ac_prog in ginstall scoinst install; do
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2827 if test $ac_prog = install &&
2828 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2829 # AIX install. It has an incompatible calling convention.
2831 elif test $ac_prog = install &&
2832 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2833 # program-specific install script used by HP pwplus--don't use.
2836 rm -rf conftest.one conftest.two conftest.dir
2837 echo one > conftest.one
2838 echo two > conftest.two
2840 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2841 test -s conftest.one && test -s conftest.two &&
2842 test -s conftest.dir/conftest.one &&
2843 test -s conftest.dir/conftest.two
2845 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2858 rm -rf conftest.one conftest.two conftest.dir
2861 if test "${ac_cv_path_install+set}" = set; then
2862 INSTALL=$ac_cv_path_install
2864 # As a last resort, use the slow shell script. Don't cache a
2865 # value for INSTALL within a source directory, because that will
2866 # break other packages using the cache if that directory is
2867 # removed, or if the value is a relative name.
2868 INSTALL=$ac_install_sh
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2872 $as_echo "$INSTALL" >&6; }
2874 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2875 # It thinks the first close brace ends the variable substitution.
2876 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2878 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2880 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2883 ac_cpp='$CPP $CPPFLAGS'
2884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2887 if test -n "$ac_tool_prefix"; then
2888 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2889 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2891 $as_echo_n "checking for $ac_word... " >&6; }
2892 if ${ac_cv_prog_CC+:} false; then :
2893 $as_echo_n "(cached) " >&6
2895 if test -n "$CC"; then
2896 ac_cv_prog_CC="$CC" # Let the user override the test.
2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 test -z "$as_dir" && as_dir=.
2903 for ac_exec_ext in '' $ac_executable_extensions; do
2904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2905 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2916 if test -n "$CC"; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2918 $as_echo "$CC" >&6; }
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2926 if test -z "$ac_cv_prog_CC"; then
2928 # Extract the first word of "gcc", so it can be a program name with args.
2929 set dummy gcc; ac_word=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$ac_ct_CC"; then
2936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_ac_ct_CC="gcc"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2956 if test -n "$ac_ct_CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2958 $as_echo "$ac_ct_CC" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2964 if test "x$ac_ct_CC" = x; then
2967 case $cross_compiling:$ac_tool_warned in
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2971 ac_tool_warned=yes ;;
2979 if test -z "$CC"; then
2980 if test -n "$ac_tool_prefix"; then
2981 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2982 set dummy ${ac_tool_prefix}cc; ac_word=$2
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984 $as_echo_n "checking for $ac_word... " >&6; }
2985 if ${ac_cv_prog_CC+:} false; then :
2986 $as_echo_n "(cached) " >&6
2988 if test -n "$CC"; then
2989 ac_cv_prog_CC="$CC" # Let the user override the test.
2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2995 test -z "$as_dir" && as_dir=.
2996 for ac_exec_ext in '' $ac_executable_extensions; do
2997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2998 ac_cv_prog_CC="${ac_tool_prefix}cc"
2999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 if test -n "$CC"; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3011 $as_echo "$CC" >&6; }
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014 $as_echo "no" >&6; }
3020 if test -z "$CC"; then
3021 # Extract the first word of "cc", so it can be a program name with args.
3022 set dummy cc; ac_word=$2
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3024 $as_echo_n "checking for $ac_word... " >&6; }
3025 if ${ac_cv_prog_CC+:} false; then :
3026 $as_echo_n "(cached) " >&6
3028 if test -n "$CC"; then
3029 ac_cv_prog_CC="$CC" # Let the user override the test.
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3040 ac_prog_rejected=yes
3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 if test $ac_prog_rejected = yes; then
3052 # We found a bogon in the path, so make sure we never use it.
3053 set dummy $ac_cv_prog_CC
3055 if test $# != 0; then
3056 # We chose a different compiler from the bogus one.
3057 # However, it has the same basename, so the bogon will be chosen
3058 # first if we set CC to just the basename; use the full file name.
3060 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3066 if test -n "$CC"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3076 if test -z "$CC"; then
3077 if test -n "$ac_tool_prefix"; then
3078 for ac_prog in cl.exe
3080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083 $as_echo_n "checking for $ac_word... " >&6; }
3084 if ${ac_cv_prog_CC+:} false; then :
3085 $as_echo_n "(cached) " >&6
3087 if test -n "$CC"; then
3088 ac_cv_prog_CC="$CC" # Let the user override the test.
3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 test -z "$as_dir" && as_dir=.
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3097 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 if test -n "$CC"; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3110 $as_echo "$CC" >&6; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3117 test -n "$CC" && break
3120 if test -z "$CC"; then
3122 for ac_prog in cl.exe
3124 # Extract the first word of "$ac_prog", so it can be a program name with args.
3125 set dummy $ac_prog; ac_word=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3129 $as_echo_n "(cached) " >&6
3131 if test -n "$ac_ct_CC"; then
3132 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3138 test -z "$as_dir" && as_dir=.
3139 for ac_exec_ext in '' $ac_executable_extensions; do
3140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141 ac_cv_prog_ac_ct_CC="$ac_prog"
3142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3152 if test -n "$ac_ct_CC"; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3154 $as_echo "$ac_ct_CC" >&6; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3157 $as_echo "no" >&6; }
3161 test -n "$ac_ct_CC" && break
3164 if test "x$ac_ct_CC" = x; then
3167 case $cross_compiling:$ac_tool_warned in
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3171 ac_tool_warned=yes ;;
3180 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3182 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3183 See \
`config.log' for more details" "$LINENO" 5; }
3185 # Provide some information about the compiler.
3186 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3189 for ac_option in --version -v -V -qversion; do
3190 { { ac_try="$ac_compiler $ac_option >&5"
3192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3193 *) ac_try_echo
=$ac_try;;
3195 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3199 if test -s conftest.err
; then
3201 ... rest of stderr output deleted ...
3202 10q' conftest.err
>conftest.er1
3203 cat conftest.er1
>&5
3205 rm -f conftest.er1 conftest.err
3206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3207 test $ac_status = 0; }
3210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3221 ac_clean_files_save
=$ac_clean_files
3222 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3223 # Try to create an executable without -o first, disregard a.out.
3224 # It will help us diagnose broken compilers, and finding out an intuition
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3227 $as_echo_n "checking whether the C compiler works... " >&6; }
3228 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3230 # The possible output files:
3231 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3234 for ac_file
in $ac_files
3237 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3238 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3243 if { { ac_try
="$ac_link_default"
3245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250 (eval "$ac_link_default") 2>&5
3252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3253 test $ac_status = 0; }; then :
3254 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3255 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3256 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3257 # so that the user can short-circuit this test for compilers unknown to
3259 for ac_file in $ac_files ''
3261 test -f "$ac_file" || continue
3263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3266 # We found the default executable, but exeext='' is most
3270 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3272 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3274 # We set ac_cv_exeext here because the later test for it is not
3275 # safe: cross compilers may not add the suffix if given an `-o'
3276 # argument, so we may need to know it at that point already.
3277 # Even if this section looks crufty: it has the advantage of
3284 test "$ac_cv_exeext" = no && ac_cv_exeext=
3289 if test -z "$ac_file"; then :
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3292 $as_echo "$as_me: failed program was:" >&5
3293 sed 's
/^
/|
/' conftest.$ac_ext >&5
3295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3297 as_fn_error 77 "C compiler cannot create executables
3298 See \`config.log
' for more details" "$LINENO" 5; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3301 $as_echo "yes" >&6; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3304 $as_echo_n "checking for C compiler default output file name... " >&6; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3306 $as_echo "$ac_file" >&6; }
3307 ac_exeext=$ac_cv_exeext
3309 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3310 ac_clean_files=$ac_clean_files_save
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3312 $as_echo_n "checking for suffix of executables... " >&6; }
3313 if { { ac_try="$ac_link"
3315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3316 *) ac_try_echo=$ac_try;;
3318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3319 $as_echo "$ac_try_echo"; } >&5
3320 (eval "$ac_link") 2>&5
3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323 test $ac_status = 0; }; then :
3324 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3325 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3326 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3328 for ac_file
in conftest.exe conftest conftest.
*; do
3329 test -f "$ac_file" ||
continue
3331 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3332 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3340 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3341 See \`config.log' for more details" "$LINENO" 5; }
3343 rm -f conftest conftest
$ac_cv_exeext
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3345 $as_echo "$ac_cv_exeext" >&6; }
3347 rm -f conftest.
$ac_ext
3348 EXEEXT
=$ac_cv_exeext
3350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3356 FILE *f = fopen ("conftest.out", "w");
3357 return ferror (f) || fclose (f) != 0;
3363 ac_clean_files
="$ac_clean_files conftest.out"
3364 # Check that the compiler produces executables we can run. If not, either
3365 # the compiler is broken, or we cross compile.
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3367 $as_echo_n "checking whether we are cross compiling... " >&6; }
3368 if test "$cross_compiling" != yes; then
3369 { { ac_try
="$ac_link"
3371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3372 *) ac_try_echo=$ac_try;;
3374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3375 $as_echo "$ac_try_echo"; } >&5
3376 (eval "$ac_link") 2>&5
3378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3379 test $ac_status = 0; }
3380 if { ac_try='./conftest$ac_cv_exeext'
3381 { { case "(($ac_try" in
3382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3383 *) ac_try_echo
=$ac_try;;
3385 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3386 $as_echo "$ac_try_echo"; } >&5
3387 (eval "$ac_try") 2>&5
3389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3390 test $ac_status = 0; }; }; then
3393 if test "$cross_compiling" = maybe
; then
3396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398 as_fn_error $?
"cannot run C compiled programs.
3399 If you meant to cross compile, use \`--host'.
3400 See \`config.log' for more details" "$LINENO" 5; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3405 $as_echo "$cross_compiling" >&6; }
3407 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3408 ac_clean_files
=$ac_clean_files_save
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3410 $as_echo_n "checking for suffix of object files... " >&6; }
3411 if ${ac_cv_objext+:} false
; then :
3412 $as_echo_n "(cached) " >&6
3414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3425 rm -f conftest.o conftest.obj
3426 if { { ac_try
="$ac_compile"
3428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3429 *) ac_try_echo=$ac_try;;
3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433 (eval "$ac_compile") 2>&5
3435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436 test $ac_status = 0; }; then :
3437 for ac_file in conftest.o conftest.obj conftest.*; do
3438 test -f "$ac_file" || continue;
3440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3441 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3446 $as_echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3452 See \
`config.log' for more details" "$LINENO" 5; }
3454 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3457 $as_echo "$ac_cv_objext" >&6; }
3458 OBJEXT=$ac_cv_objext
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3461 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3462 if ${ac_cv_c_compiler_gnu+:} false; then :
3463 $as_echo_n "(cached) " >&6
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3479 if ac_fn_c_try_compile "$LINENO"; then :
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3489 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3490 if test $ac_compiler_gnu = yes; then
3495 ac_test_CFLAGS=${CFLAGS+set}
3496 ac_save_CFLAGS=$CFLAGS
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3498 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3499 if ${ac_cv_prog_cc_g+:} false; then :
3500 $as_echo_n "(cached) " >&6
3502 ac_save_c_werror_flag=$ac_c_werror_flag
3503 ac_c_werror_flag=yes
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3517 if ac_fn_c_try_compile "$LINENO"; then :
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_c_try_compile "$LINENO"; then :
3535 ac_c_werror_flag=$ac_save_c_werror_flag
3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538 /* end confdefs.h. */
3548 if ac_fn_c_try_compile "$LINENO"; then :
3551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3556 ac_c_werror_flag=$ac_save_c_werror_flag
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3559 $as_echo "$ac_cv_prog_cc_g" >&6; }
3560 if test "$ac_test_CFLAGS" = set; then
3561 CFLAGS=$ac_save_CFLAGS
3562 elif test $ac_cv_prog_cc_g = yes; then
3563 if test "$GCC" = yes; then
3569 if test "$GCC" = yes; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3576 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3577 if ${ac_cv_prog_cc_c89+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 ac_cv_prog_cc_c89=no
3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3587 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3588 struct buf { int x; };
3589 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3590 static char *e (p, i)
3596 static char *f (char * (*g) (char **, int), char **p, ...)
3601 s = g (p, va_arg (v,int));
3606 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3607 function prototypes and stuff, but not '\xHH' hex character constants.
3608 These don't provoke an error unfortunately, instead are silently treated
3609 as 'x'. The following induces an error, until -std is added to get
3610 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3611 array size at least. It's necessary to write '\x00'==0 to get something
3612 that's true only with -std. */
3613 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3615 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3616 inside strings and character constants. */
3618 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3620 int test (int i, double x);
3621 struct s1 {int (*f) (int a);};
3622 struct s2 {int (*f) (double a);};
3623 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3629 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3634 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3635 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3637 CC="$ac_save_CC $ac_arg"
3638 if ac_fn_c_try_compile "$LINENO"; then :
3639 ac_cv_prog_cc_c89=$ac_arg
3641 rm -f core conftest.err conftest.$ac_objext
3642 test "x$ac_cv_prog_cc_c89" != "xno" && break
3644 rm -f conftest.$ac_ext
3649 case "x$ac_cv_prog_cc_c89" in
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3652 $as_echo "none needed" >&6; } ;;
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3655 $as_echo "unsupported" >&6; } ;;
3657 CC="$CC $ac_cv_prog_cc_c89"
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3659 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3661 if test "x$ac_cv_prog_cc_c89" != xno; then :
3666 ac_cpp='$CPP $CPPFLAGS'
3667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3672 ac_cpp='$CXXCPP $CPPFLAGS'
3673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3676 if test -z "$CXX"; then
3677 if test -n "$CCC"; then
3680 if test -n "$ac_tool_prefix"; then
3681 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if ${ac_cv_prog_CXX+:} false; then :
3688 $as_echo_n "(cached) " >&6
3690 if test -n "$CXX"; then
3691 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 test -z "$as_dir" && as_dir=.
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3700 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3711 if test -n "$CXX"; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3713 $as_echo "$CXX" >&6; }
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3720 test -n "$CXX" && break
3723 if test -z "$CXX"; then
3725 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3727 # Extract the first word of "$ac_prog", so it can be a program name with args.
3728 set dummy $ac_prog; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3732 $as_echo_n "(cached) " >&6
3734 if test -n "$ac_ct_CXX"; then
3735 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3744 ac_cv_prog_ac_ct_CXX="$ac_prog"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3755 if test -n "$ac_ct_CXX"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3757 $as_echo "$ac_ct_CXX" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3764 test -n "$ac_ct_CXX" && break
3767 if test "x$ac_ct_CXX" = x; then
3770 case $cross_compiling:$ac_tool_warned in
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3774 ac_tool_warned=yes ;;
3782 # Provide some information about the compiler.
3783 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3786 for ac_option in --version -v -V -qversion; do
3787 { { ac_try="$ac_compiler $ac_option >&5"
3789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3790 *) ac_try_echo
=$ac_try;;
3792 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
3794 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3796 if test -s conftest.err
; then
3798 ... rest of stderr output deleted ...
3799 10q' conftest.err
>conftest.er1
3800 cat conftest.er1
>&5
3802 rm -f conftest.er1 conftest.err
3803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804 test $ac_status = 0; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3808 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3809 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3810 $as_echo_n "(cached) " >&6
3812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3826 if ac_fn_cxx_try_compile
"$LINENO"; then :
3831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3832 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3836 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3837 if test $ac_compiler_gnu = yes; then
3842 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3843 ac_save_CXXFLAGS
=$CXXFLAGS
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3845 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3846 if ${ac_cv_prog_cxx_g+:} false
; then :
3847 $as_echo_n "(cached) " >&6
3849 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3850 ac_cxx_werror_flag
=yes
3853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3864 if ac_fn_cxx_try_compile
"$LINENO"; then :
3865 ac_cv_prog_cxx_g
=yes
3868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3879 if ac_fn_cxx_try_compile
"$LINENO"; then :
3882 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3895 if ac_fn_cxx_try_compile
"$LINENO"; then :
3896 ac_cv_prog_cxx_g
=yes
3898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3903 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3906 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3907 if test "$ac_test_CXXFLAGS" = set; then
3908 CXXFLAGS
=$ac_save_CXXFLAGS
3909 elif test $ac_cv_prog_cxx_g = yes; then
3910 if test "$GXX" = yes; then
3916 if test "$GXX" = yes; then
3923 ac_cpp
='$CPP $CPPFLAGS'
3924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3928 if test -n "$ac_tool_prefix"; then
3929 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3930 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_RANLIB+:} false
; then :
3934 $as_echo_n "(cached) " >&6
3936 if test -n "$RANLIB"; then
3937 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir
=.
3944 for ac_exec_ext
in '' $ac_executable_extensions; do
3945 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 RANLIB
=$ac_cv_prog_RANLIB
3957 if test -n "$RANLIB"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3959 $as_echo "$RANLIB" >&6; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3967 if test -z "$ac_cv_prog_RANLIB"; then
3968 ac_ct_RANLIB
=$RANLIB
3969 # Extract the first word of "ranlib", so it can be a program name with args.
3970 set dummy ranlib
; ac_word
=$2
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3972 $as_echo_n "checking for $ac_word... " >&6; }
3973 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3974 $as_echo_n "(cached) " >&6
3976 if test -n "$ac_ct_RANLIB"; then
3977 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3983 test -z "$as_dir" && as_dir
=.
3984 for ac_exec_ext
in '' $ac_executable_extensions; do
3985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3986 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3997 if test -n "$ac_ct_RANLIB"; then
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3999 $as_echo "$ac_ct_RANLIB" >&6; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4002 $as_echo "no" >&6; }
4005 if test "x$ac_ct_RANLIB" = x
; then
4008 case $cross_compiling:$ac_tool_warned in
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4012 ac_tool_warned
=yes ;;
4014 RANLIB
=$ac_ct_RANLIB
4017 RANLIB
="$ac_cv_prog_RANLIB"
4020 if test -n "$ac_tool_prefix"; then
4021 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4022 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_AR+:} false
; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$AR"; then
4029 ac_cv_prog_AR
="$AR" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 if test -n "$AR"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4051 $as_echo "$AR" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4059 if test -z "$ac_cv_prog_AR"; then
4061 # Extract the first word of "ar", so it can be a program name with args.
4062 set dummy
ar; ac_word
=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4066 $as_echo_n "(cached) " >&6
4068 if test -n "$ac_ct_AR"; then
4069 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir
=.
4076 for ac_exec_ext
in '' $ac_executable_extensions; do
4077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_ac_ct_AR
="ar"
4079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4089 if test -n "$ac_ct_AR"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4091 $as_echo "$ac_ct_AR" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4097 if test "x$ac_ct_AR" = x
; then
4100 case $cross_compiling:$ac_tool_warned in
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4104 ac_tool_warned
=yes ;;
4115 ac_cpp
='$CPP $CPPFLAGS'
4116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4120 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4121 # On Suns, sometimes $CPP names a directory.
4122 if test -n "$CPP" && test -d "$CPP"; then
4125 if test -z "$CPP"; then
4126 if ${ac_cv_prog_CPP+:} false
; then :
4127 $as_echo_n "(cached) " >&6
4129 # Double quotes because CPP needs to be expanded
4130 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4133 for ac_c_preproc_warn_flag
in '' yes
4135 # Use a header file that comes with gcc, so configuring glibc
4136 # with a fresh cross-compiler works.
4137 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4138 # <limits.h> exists even on freestanding compilers.
4139 # On the NeXT, cc -E runs the code through the compiler's parser,
4140 # not just through cpp. "Syntax error" is here to catch this case.
4141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4144 # include <limits.h>
4146 # include <assert.h>
4150 if ac_fn_c_try_cpp
"$LINENO"; then :
4153 # Broken: fails on valid input.
4156 rm -f conftest.err conftest.i conftest.
$ac_ext
4158 # OK, works on sane cases. Now check whether nonexistent headers
4159 # can be detected and how.
4160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4162 #include <ac_nonexistent.h>
4164 if ac_fn_c_try_cpp
"$LINENO"; then :
4165 # Broken: success on invalid input.
4168 # Passes both tests.
4172 rm -f conftest.err conftest.i conftest.
$ac_ext
4175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4176 rm -f conftest.i conftest.err conftest.
$ac_ext
4177 if $ac_preproc_ok; then :
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4190 $as_echo "$CPP" >&6; }
4192 for ac_c_preproc_warn_flag
in '' yes
4194 # Use a header file that comes with gcc, so configuring glibc
4195 # with a fresh cross-compiler works.
4196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4197 # <limits.h> exists even on freestanding compilers.
4198 # On the NeXT, cc -E runs the code through the compiler's parser,
4199 # not just through cpp. "Syntax error" is here to catch this case.
4200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4203 # include <limits.h>
4205 # include <assert.h>
4209 if ac_fn_c_try_cpp
"$LINENO"; then :
4212 # Broken: fails on valid input.
4215 rm -f conftest.err conftest.i conftest.
$ac_ext
4217 # OK, works on sane cases. Now check whether nonexistent headers
4218 # can be detected and how.
4219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4221 #include <ac_nonexistent.h>
4223 if ac_fn_c_try_cpp
"$LINENO"; then :
4224 # Broken: success on invalid input.
4227 # Passes both tests.
4231 rm -f conftest.err conftest.i conftest.
$ac_ext
4234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4235 rm -f conftest.i conftest.err conftest.
$ac_ext
4236 if $ac_preproc_ok; then :
4239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4241 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4242 See \`config.log' for more details" "$LINENO" 5; }
4246 ac_cpp
='$CPP $CPPFLAGS'
4247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4253 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4254 if ${ac_cv_path_GREP+:} false
; then :
4255 $as_echo_n "(cached) " >&6
4257 if test -z "$GREP"; then
4258 ac_path_GREP_found
=false
4259 # Loop through the user's path and test for each of PROGNAME-LIST
4260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4261 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4264 test -z "$as_dir" && as_dir
=.
4265 for ac_prog
in grep ggrep
; do
4266 for ac_exec_ext
in '' $ac_executable_extensions; do
4267 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4268 as_fn_executable_p
"$ac_path_GREP" ||
continue
4269 # Check for GNU ac_path_GREP and select it if it is found.
4270 # Check for GNU $ac_path_GREP
4271 case `"$ac_path_GREP" --version 2>&1` in
4273 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4276 $as_echo_n 0123456789 >"conftest.in"
4279 cat "conftest.in" "conftest.in" >"conftest.tmp"
4280 mv "conftest.tmp" "conftest.in"
4281 cp "conftest.in" "conftest.nl"
4282 $as_echo 'GREP' >> "conftest.nl"
4283 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4284 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4285 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4286 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4287 # Best one so far, save it but keep looking for a better one
4288 ac_cv_path_GREP
="$ac_path_GREP"
4289 ac_path_GREP_max
=$ac_count
4291 # 10*(2^10) chars as input seems more than enough
4292 test $ac_count -gt 10 && break
4294 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4297 $ac_path_GREP_found && break 3
4302 if test -z "$ac_cv_path_GREP"; then
4303 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4306 ac_cv_path_GREP
=$GREP
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4311 $as_echo "$ac_cv_path_GREP" >&6; }
4312 GREP
="$ac_cv_path_GREP"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4316 $as_echo_n "checking for egrep... " >&6; }
4317 if ${ac_cv_path_EGREP+:} false
; then :
4318 $as_echo_n "(cached) " >&6
4320 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4321 then ac_cv_path_EGREP
="$GREP -E"
4323 if test -z "$EGREP"; then
4324 ac_path_EGREP_found
=false
4325 # Loop through the user's path and test for each of PROGNAME-LIST
4326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4327 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4330 test -z "$as_dir" && as_dir
=.
4331 for ac_prog
in egrep; do
4332 for ac_exec_ext
in '' $ac_executable_extensions; do
4333 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4334 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4335 # Check for GNU ac_path_EGREP and select it if it is found.
4336 # Check for GNU $ac_path_EGREP
4337 case `"$ac_path_EGREP" --version 2>&1` in
4339 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4342 $as_echo_n 0123456789 >"conftest.in"
4345 cat "conftest.in" "conftest.in" >"conftest.tmp"
4346 mv "conftest.tmp" "conftest.in"
4347 cp "conftest.in" "conftest.nl"
4348 $as_echo 'EGREP' >> "conftest.nl"
4349 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4350 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4351 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4352 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4353 # Best one so far, save it but keep looking for a better one
4354 ac_cv_path_EGREP
="$ac_path_EGREP"
4355 ac_path_EGREP_max
=$ac_count
4357 # 10*(2^10) chars as input seems more than enough
4358 test $ac_count -gt 10 && break
4360 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4363 $ac_path_EGREP_found && break 3
4368 if test -z "$ac_cv_path_EGREP"; then
4369 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4372 ac_cv_path_EGREP
=$EGREP
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4378 $as_echo "$ac_cv_path_EGREP" >&6; }
4379 EGREP
="$ac_cv_path_EGREP"
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4383 $as_echo_n "checking for ANSI C header files... " >&6; }
4384 if ${ac_cv_header_stdc+:} false
; then :
4385 $as_echo_n "(cached) " >&6
4387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4388 /* end confdefs.h. */
4402 if ac_fn_c_try_compile
"$LINENO"; then :
4403 ac_cv_header_stdc
=yes
4405 ac_cv_header_stdc
=no
4407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4409 if test $ac_cv_header_stdc = yes; then
4410 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4417 $EGREP "memchr" >/dev
/null
2>&1; then :
4420 ac_cv_header_stdc
=no
4426 if test $ac_cv_header_stdc = yes; then
4427 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4434 $EGREP "free" >/dev
/null
2>&1; then :
4437 ac_cv_header_stdc
=no
4443 if test $ac_cv_header_stdc = yes; then
4444 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4445 if test "$cross_compiling" = yes; then :
4448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4452 #if ((' ' & 0x0FF) == 0x020)
4453 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4454 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4456 # define ISLOWER(c) \
4457 (('a' <= (c) && (c) <= 'i') \
4458 || ('j' <= (c) && (c) <= 'r') \
4459 || ('s' <= (c) && (c) <= 'z'))
4460 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4463 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4468 for (i = 0; i < 256; i++)
4469 if (XOR (islower (i), ISLOWER (i))
4470 || toupper (i) != TOUPPER (i))
4475 if ac_fn_c_try_run
"$LINENO"; then :
4478 ac_cv_header_stdc
=no
4480 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4481 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4487 $as_echo "$ac_cv_header_stdc" >&6; }
4488 if test $ac_cv_header_stdc = yes; then
4490 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4494 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4495 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4496 inttypes.h stdint.h unistd.h
4498 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4499 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4501 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4502 cat >>confdefs.h
<<_ACEOF
4503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4512 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4513 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4520 if test "$MINIX" = yes; then
4522 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4525 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4528 $as_echo "#define _MINIX 1" >>confdefs.h
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4534 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4535 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4536 $as_echo_n "(cached) " >&6
4538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4541 # define __EXTENSIONS__ 1
4542 $ac_includes_default
4551 if ac_fn_c_try_compile
"$LINENO"; then :
4552 ac_cv_safe_to_define___extensions__
=yes
4554 ac_cv_safe_to_define___extensions__
=no
4556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4559 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4560 test $ac_cv_safe_to_define___extensions__ = yes &&
4561 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4563 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4565 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4567 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4569 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4572 # Check whether --enable-largefile was given.
4573 if test "${enable_largefile+set}" = set; then :
4574 enableval
=$enable_largefile;
4577 if test "$enable_largefile" != no
; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4580 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4581 if ${ac_cv_sys_largefile_CC+:} false
; then :
4582 $as_echo_n "(cached) " >&6
4584 ac_cv_sys_largefile_CC
=no
4585 if test "$GCC" != yes; then
4588 # IRIX 6.2 and later do not support large files by default,
4589 # so use the C compiler's -n32 option if that helps.
4590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4592 #include <sys/types.h>
4593 /* Check that off_t can represent 2**63 - 1 correctly.
4594 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4595 since some C++ compilers masquerading as C compilers
4596 incorrectly reject 9223372036854775807. */
4597 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4598 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4599 && LARGE_OFF_T % 2147483647 == 1)
4609 if ac_fn_c_try_compile
"$LINENO"; then :
4612 rm -f core conftest.err conftest.
$ac_objext
4614 if ac_fn_c_try_compile
"$LINENO"; then :
4615 ac_cv_sys_largefile_CC
=' -n32'; break
4617 rm -f core conftest.err conftest.
$ac_objext
4621 rm -f conftest.
$ac_ext
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4625 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4626 if test "$ac_cv_sys_largefile_CC" != no
; then
4627 CC
=$CC$ac_cv_sys_largefile_CC
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4631 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4632 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4633 $as_echo_n "(cached) " >&6
4636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4638 #include <sys/types.h>
4639 /* Check that off_t can represent 2**63 - 1 correctly.
4640 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4641 since some C++ compilers masquerading as C compilers
4642 incorrectly reject 9223372036854775807. */
4643 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4644 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4645 && LARGE_OFF_T % 2147483647 == 1)
4655 if ac_fn_c_try_compile
"$LINENO"; then :
4656 ac_cv_sys_file_offset_bits
=no
; break
4658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4661 #define _FILE_OFFSET_BITS 64
4662 #include <sys/types.h>
4663 /* Check that off_t can represent 2**63 - 1 correctly.
4664 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4665 since some C++ compilers masquerading as C compilers
4666 incorrectly reject 9223372036854775807. */
4667 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4668 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4669 && LARGE_OFF_T % 2147483647 == 1)
4679 if ac_fn_c_try_compile
"$LINENO"; then :
4680 ac_cv_sys_file_offset_bits
=64; break
4682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4683 ac_cv_sys_file_offset_bits
=unknown
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4688 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4689 case $ac_cv_sys_file_offset_bits in #(
4692 cat >>confdefs.h
<<_ACEOF
4693 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4698 if test $ac_cv_sys_file_offset_bits = unknown
; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4700 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4701 if ${ac_cv_sys_large_files+:} false
; then :
4702 $as_echo_n "(cached) " >&6
4705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #include <sys/types.h>
4708 /* Check that off_t can represent 2**63 - 1 correctly.
4709 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4710 since some C++ compilers masquerading as C compilers
4711 incorrectly reject 9223372036854775807. */
4712 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4713 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4714 && LARGE_OFF_T % 2147483647 == 1)
4724 if ac_fn_c_try_compile
"$LINENO"; then :
4725 ac_cv_sys_large_files
=no
; break
4727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #define _LARGE_FILES 1
4731 #include <sys/types.h>
4732 /* Check that off_t can represent 2**63 - 1 correctly.
4733 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4734 since some C++ compilers masquerading as C compilers
4735 incorrectly reject 9223372036854775807. */
4736 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4737 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4738 && LARGE_OFF_T % 2147483647 == 1)
4748 if ac_fn_c_try_compile
"$LINENO"; then :
4749 ac_cv_sys_large_files
=1; break
4751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4752 ac_cv_sys_large_files
=unknown
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4757 $as_echo "$ac_cv_sys_large_files" >&6; }
4758 case $ac_cv_sys_large_files in #(
4761 cat >>confdefs.h
<<_ACEOF
4762 #define _LARGE_FILES $ac_cv_sys_large_files
4773 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
4774 for ac_prog
in aclocal
4776 # Extract the first word of "$ac_prog", so it can be a program name with args.
4777 set dummy
$ac_prog; ac_word
=$2
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779 $as_echo_n "checking for $ac_word... " >&6; }
4780 if ${ac_cv_prog_ACLOCAL+:} false
; then :
4781 $as_echo_n "(cached) " >&6
4783 if test -n "$ACLOCAL"; then
4784 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir
=.
4791 for ac_exec_ext
in '' $ac_executable_extensions; do
4792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4793 ac_cv_prog_ACLOCAL
="$ac_prog"
4794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 ACLOCAL
=$ac_cv_prog_ACLOCAL
4804 if test -n "$ACLOCAL"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
4806 $as_echo "$ACLOCAL" >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4813 test -n "$ACLOCAL" && break
4815 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
4817 for ac_prog
in autoconf
4819 # Extract the first word of "$ac_prog", so it can be a program name with args.
4820 set dummy
$ac_prog; ac_word
=$2
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822 $as_echo_n "checking for $ac_word... " >&6; }
4823 if ${ac_cv_prog_AUTOCONF+:} false
; then :
4824 $as_echo_n "(cached) " >&6
4826 if test -n "$AUTOCONF"; then
4827 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
4829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4833 test -z "$as_dir" && as_dir
=.
4834 for ac_exec_ext
in '' $ac_executable_extensions; do
4835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4836 ac_cv_prog_AUTOCONF
="$ac_prog"
4837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 AUTOCONF
=$ac_cv_prog_AUTOCONF
4847 if test -n "$AUTOCONF"; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
4849 $as_echo "$AUTOCONF" >&6; }
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 $as_echo "no" >&6; }
4856 test -n "$AUTOCONF" && break
4858 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
4860 for ac_prog
in autoheader
4862 # Extract the first word of "$ac_prog", so it can be a program name with args.
4863 set dummy
$ac_prog; ac_word
=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$AUTOHEADER"; then
4870 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
4872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir
=.
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4879 ac_cv_prog_AUTOHEADER
="$ac_prog"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
4890 if test -n "$AUTOHEADER"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
4892 $as_echo "$AUTOHEADER" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4899 test -n "$AUTOHEADER" && break
4901 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
4904 if test -z "$ETAGS"; then
4909 # Figure out what compiler warnings we can enable.
4910 # See config/warnings.m4 for details.
4913 ac_cpp
='$CPP $CPPFLAGS'
4914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4919 save_CFLAGS
="$CFLAGS"
4920 for real_option
in -W -Wall -Wno-narrowing -Wwrite-strings \
4921 -Wmissing-format-attribute; do
4922 # Do the check with the no- prefix removed since gcc silently
4923 # accepts any -Wno-* option on purpose
4924 case $real_option in
4925 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4926 *) option
=$real_option ;;
4928 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4931 $as_echo_n "checking whether $CC supports $option... " >&6; }
4932 if eval \
${$as_acx_Woption+:} false
; then :
4933 $as_echo_n "(cached) " >&6
4936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4947 if ac_fn_c_try_compile
"$LINENO"; then :
4948 eval "$as_acx_Woption=yes"
4950 eval "$as_acx_Woption=no"
4952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4955 eval ac_res
=\$
$as_acx_Woption
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4957 $as_echo "$ac_res" >&6; }
4958 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4959 warn
="$warn${warn:+ }$real_option"
4962 CFLAGS
="$save_CFLAGS"
4964 ac_cpp
='$CPP $CPPFLAGS'
4965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4971 ac_cpp
='$CPP $CPPFLAGS'
4972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4977 save_CFLAGS
="$CFLAGS"
4978 for real_option
in -Wstrict-prototypes -Wmissing-prototypes \
4979 -Wold-style-definition -Wc++-compat; do
4980 # Do the check with the no- prefix removed since gcc silently
4981 # accepts any -Wno-* option on purpose
4982 case $real_option in
4983 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4984 *) option
=$real_option ;;
4986 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4989 $as_echo_n "checking whether $CC supports $option... " >&6; }
4990 if eval \
${$as_acx_Woption+:} false
; then :
4991 $as_echo_n "(cached) " >&6
4994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
5005 if ac_fn_c_try_compile
"$LINENO"; then :
5006 eval "$as_acx_Woption=yes"
5008 eval "$as_acx_Woption=no"
5010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5013 eval ac_res
=\$
$as_acx_Woption
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5015 $as_echo "$ac_res" >&6; }
5016 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5017 c_warn
="$c_warn${c_warn:+ }$real_option"
5020 CFLAGS
="$save_CFLAGS"
5022 ac_cpp
='$CPP $CPPFLAGS'
5023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5029 ac_cpp
='$CPP $CPPFLAGS'
5030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5035 # Do the check with the no- prefix removed from the warning options
5036 # since gcc silently accepts any -Wno-* option on purpose
5037 if test "$GCC" = yes; then :
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
5039 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
5040 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false
; then :
5041 $as_echo_n "(cached) " >&6
5043 save_CFLAGS
="$CFLAGS"
5044 CFLAGS
="-pedantic -Wlong-long"
5045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5046 /* end confdefs.h. */
5056 if ac_fn_c_try_compile
"$LINENO"; then :
5057 acx_cv_prog_cc_pedantic__Wlong_long
=yes
5059 acx_cv_prog_cc_pedantic__Wlong_long
=no
5061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5062 CFLAGS
="$save_CFLAGS"
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
5065 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
5066 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
5067 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
5072 ac_cpp
='$CPP $CPPFLAGS'
5073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5079 # Disable exceptions and RTTI if building with g++
5081 ac_cpp
='$CPP $CPPFLAGS'
5082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5087 save_CFLAGS
="$CFLAGS"
5088 for real_option
in -fno-exceptions -fno-rtti; do
5089 # Do the check with the no- prefix removed since gcc silently
5090 # accepts any -Wno-* option on purpose
5091 case $real_option in
5092 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5093 *) option
=$real_option ;;
5095 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5098 $as_echo_n "checking whether $CC supports $option... " >&6; }
5099 if eval \
${$as_acx_Woption+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5114 if ac_fn_c_try_compile
"$LINENO"; then :
5115 eval "$as_acx_Woption=yes"
5117 eval "$as_acx_Woption=no"
5119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5122 eval ac_res
=\$
$as_acx_Woption
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5124 $as_echo "$ac_res" >&6; }
5125 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5126 noexception_flags
="$noexception_flags${noexception_flags:+ }$real_option"
5129 CFLAGS
="$save_CFLAGS"
5131 ac_cpp
='$CPP $CPPFLAGS'
5132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5138 # Only enable with --enable-werror-always until existing warnings are
5141 ac_cpp
='$CPP $CPPFLAGS'
5142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5147 # Check whether --enable-werror-always was given.
5148 if test "${enable_werror_always+set}" = set; then :
5149 enableval
=$enable_werror_always;
5151 enable_werror_always
=no
5154 if test $enable_werror_always = yes; then :
5155 WERROR
="$WERROR${WERROR:+ }-Werror"
5159 ac_cpp
='$CPP $CPPFLAGS'
5160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5166 # Dependency checking.
5167 rm -rf .tst
2>/dev
/null
5168 mkdir .tst
2>/dev
/null
5169 if test -d .tst
; then
5174 rmdir .tst
2>/dev
/null
5176 DEPDIR
="${am__leading_dot}deps"
5178 ac_config_commands
="$ac_config_commands depdir"
5182 ac_cpp
='$CXXCPP $CPPFLAGS'
5183 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5184 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5185 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5192 if ac_fn_cxx_try_compile
"$LINENO"; then :
5195 as_fn_error $?
"C++ compiler missing or inoperational" "$LINENO" 5
5197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5199 ac_cpp
='$CPP $CPPFLAGS'
5200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5204 depcc
="$CXX" am_compiler_list
=
5206 am_depcomp
=$ac_aux_dir/depcomp
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5208 $as_echo_n "checking dependency style of $depcc... " >&6; }
5209 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -f "$am_depcomp"; then
5213 # We make a subdir and do the tests there. Otherwise we can end up
5214 # making bogus files that we don't know about and never remove. For
5215 # instance it was reported that on HP-UX the gcc test will end up
5216 # making a dummy file named `D' -- because `-MD' means `put the output
5219 # Copy depcomp to subdir because otherwise we won't find it if we're
5220 # using a relative directory.
5221 cp "$am_depcomp" conftest.dir
5223 # We will build objects and dependencies in a subdirectory because
5224 # it helps to detect inapplicable dependency modes. For instance
5225 # both Tru64's cc and ICC support -MD to output dependencies as a
5226 # side effect of compilation, but ICC will put the dependencies in
5227 # the current directory while Tru64 will put them in the object
5231 am_cv_CXX_dependencies_compiler_type
=none
5232 if test "$am_compiler_list" = ""; then
5233 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5235 for depmode
in $am_compiler_list; do
5236 if test $depmode = none
; then break; fi
5238 $as_echo "$as_me:$LINENO: trying $depmode" >&5
5239 # Setup a source with many dependencies, because some compilers
5240 # like to wrap large dependency lists on column 80 (with \), and
5241 # we should not choose a depcomp mode which is confused by this.
5243 # We need to recreate these files for each test, as the compiler may
5244 # overwrite some of them when testing with obscure command lines.
5245 # This happens at least with the AIX C compiler.
5247 for i
in 1 2 3 4 5 6; do
5248 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5249 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5250 # Solaris 8's {/usr,}/bin/sh.
5251 touch sub
/conftst
$i.h
5253 echo "include sub/conftest.Po" > confmf
5255 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5256 # mode. It turns out that the SunPro C++ compiler does not properly
5257 # handle `-M -o', and we need to detect this.
5258 depcmd
="depmode=$depmode \
5259 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5260 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5261 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
5262 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
5263 if env
$depcmd > conftest.err
2>&1 &&
5264 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
5265 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
5266 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
5267 # icc doesn't choke on unknown options, it will just issue warnings
5268 # or remarks (even with -Werror). So we grep stderr for any message
5269 # that says an option was ignored or not supported.
5270 # When given -MP, icc 7.0 and 7.1 complain thusly:
5271 # icc: Command line warning: ignoring option '-M'; no argument required
5272 # The diagnosis changed in icc 8.0:
5273 # icc: Command line remark: option '-MP' not supported
5274 if (grep 'ignoring option' conftest.err ||
5275 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5276 am_cv_CXX_dependencies_compiler_type
=$depmode
5277 $as_echo "$as_me:$LINENO: success" >&5
5281 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
5282 sed -e 's/^/| /' < conftest.err
>&5
5288 am_cv_CXX_dependencies_compiler_type
=none
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5293 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5294 if test x
${am_cv_CXX_dependencies_compiler_type-none} = xnone
5295 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
5296 else CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5301 # Checks for header files.
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5303 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5304 if ${ac_cv_header_time+:} false
; then :
5305 $as_echo_n "(cached) " >&6
5307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5309 #include <sys/types.h>
5310 #include <sys/time.h>
5316 if ((struct tm *) 0)
5322 if ac_fn_c_try_compile
"$LINENO"; then :
5323 ac_cv_header_time
=yes
5325 ac_cv_header_time
=no
5327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5330 $as_echo "$ac_cv_header_time" >&6; }
5331 if test $ac_cv_header_time = yes; then
5333 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
5338 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
5339 if ${gcc_cv_header_string+:} false
; then :
5340 $as_echo_n "(cached) " >&6
5342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5345 #include <strings.h>
5354 if ac_fn_c_try_compile
"$LINENO"; then :
5355 gcc_cv_header_string
=yes
5357 gcc_cv_header_string
=no
5359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
5362 $as_echo "$gcc_cv_header_string" >&6; }
5363 if test $gcc_cv_header_string = yes; then
5365 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
5370 for ac_header
in locale.h fcntl.h limits.h stddef.h \
5371 stdlib.h
strings.h string.h sys
/file.h unistd.h
5373 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5374 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5375 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5376 cat >>confdefs.h
<<_ACEOF
5377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5385 # Checks for typedefs, structures, and compiler characteristics.
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5387 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5388 if ${ac_cv_c_bigendian+:} false
; then :
5389 $as_echo_n "(cached) " >&6
5391 ac_cv_c_bigendian
=unknown
5392 # See if we're dealing with a universal compiler.
5393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5394 /* end confdefs.h. */
5395 #ifndef __APPLE_CC__
5396 not a universal capable compiler
5401 if ac_fn_c_try_compile
"$LINENO"; then :
5403 # Check for potential -arch flags. It is not universal unless
5404 # there are at least two -arch flags with different values.
5407 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5408 if test -n "$ac_prev"; then
5410 i?
86 | x86_64 | ppc | ppc64
)
5411 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5414 ac_cv_c_bigendian
=universal
5420 elif test "x$ac_word" = "x-arch"; then
5425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5426 if test $ac_cv_c_bigendian = unknown
; then
5427 # See if sys/param.h defines the BYTE_ORDER macro.
5428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5429 /* end confdefs.h. */
5430 #include <sys/types.h>
5431 #include <sys/param.h>
5436 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5437 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5446 if ac_fn_c_try_compile
"$LINENO"; then :
5447 # It does; now see whether it defined to BIG_ENDIAN or not.
5448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5450 #include <sys/types.h>
5451 #include <sys/param.h>
5456 #if BYTE_ORDER != BIG_ENDIAN
5464 if ac_fn_c_try_compile
"$LINENO"; then :
5465 ac_cv_c_bigendian
=yes
5467 ac_cv_c_bigendian
=no
5469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5473 if test $ac_cv_c_bigendian = unknown
; then
5474 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5482 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5490 if ac_fn_c_try_compile
"$LINENO"; then :
5491 # It does; now see whether it defined to _BIG_ENDIAN or not.
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5507 if ac_fn_c_try_compile
"$LINENO"; then :
5508 ac_cv_c_bigendian
=yes
5510 ac_cv_c_bigendian
=no
5512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5516 if test $ac_cv_c_bigendian = unknown
; then
5517 # Compile a test program.
5518 if test "$cross_compiling" = yes; then :
5519 # Try to guess by grepping values from an object file.
5520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5522 short int ascii_mm[] =
5523 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5524 short int ascii_ii[] =
5525 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5526 int use_ascii (int i) {
5527 return ascii_mm[i] + ascii_ii[i];
5529 short int ebcdic_ii[] =
5530 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5531 short int ebcdic_mm[] =
5532 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5533 int use_ebcdic (int i) {
5534 return ebcdic_mm[i] + ebcdic_ii[i];
5541 return use_ascii (foo) == use_ebcdic (foo);
5546 if ac_fn_c_try_compile
"$LINENO"; then :
5547 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5548 ac_cv_c_bigendian
=yes
5550 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5551 if test "$ac_cv_c_bigendian" = unknown
; then
5552 ac_cv_c_bigendian
=no
5554 # finding both strings is unlikely to happen, but who knows?
5555 ac_cv_c_bigendian
=unknown
5559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5562 /* end confdefs.h. */
5563 $ac_includes_default
5568 /* Are we little or big endian? From Harbison&Steele. */
5572 char c[sizeof (long int)];
5575 return u.c[sizeof (long int) - 1] == 1;
5581 if ac_fn_c_try_run
"$LINENO"; then :
5582 ac_cv_c_bigendian
=no
5584 ac_cv_c_bigendian
=yes
5586 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5587 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5593 $as_echo "$ac_cv_c_bigendian" >&6; }
5594 case $ac_cv_c_bigendian in #(
5596 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5602 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5606 as_fn_error $?
"unknown endianness
5607 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5611 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5612 if ${ac_cv_c_const+:} false
; then :
5613 $as_echo_n "(cached) " >&6
5615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h. */
5623 /* Ultrix mips cc rejects this sort of thing. */
5624 typedef int charset[2];
5625 const charset cs = { 0, 0 };
5626 /* SunOS 4.1.1 cc rejects this. */
5627 char const *const *pcpcc;
5629 /* NEC SVR4.0.2 mips cc rejects this. */
5630 struct point {int x, y;};
5631 static struct point const zero = {0,0};
5632 /* AIX XL C 1.02.0.0 rejects this.
5633 It does not let you subtract one const X* pointer from another in
5634 an arm of an if-expression whose if-part is not a constant
5636 const char *g = "string";
5637 pcpcc = &g + (g ? g-g : 0);
5638 /* HPUX 7.0 cc rejects these. */
5640 ppc = (char**) pcpcc;
5641 pcpcc = (char const *const *) ppc;
5642 { /* SCO 3.2v4 cc rejects this sort of thing. */
5645 char const *s = 0 ? (char *) 0 : (char const *) 0;
5650 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5652 const int *foo = &x[0];
5655 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5656 typedef const int *iptr;
5660 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5661 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5662 struct s { int j; const int *ap[3]; } bx;
5663 struct s *b = &bx; b->j = 5;
5665 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5669 return !cs[0] && !zero.x;
5676 if ac_fn_c_try_compile
"$LINENO"; then :
5681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5684 $as_echo "$ac_cv_c_const" >&6; }
5685 if test $ac_cv_c_const = no
; then
5687 $as_echo "#define const /**/" >>confdefs.h
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5692 $as_echo_n "checking for inline... " >&6; }
5693 if ${ac_cv_c_inline+:} false
; then :
5694 $as_echo_n "(cached) " >&6
5697 for ac_kw
in inline __inline__ __inline
; do
5698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5699 /* end confdefs.h. */
5702 static $ac_kw foo_t static_foo () {return 0; }
5703 $ac_kw foo_t foo () {return 0; }
5707 if ac_fn_c_try_compile
"$LINENO"; then :
5708 ac_cv_c_inline
=$ac_kw
5710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5711 test "$ac_cv_c_inline" != no
&& break
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5716 $as_echo "$ac_cv_c_inline" >&6; }
5718 case $ac_cv_c_inline in
5721 case $ac_cv_c_inline in
5723 *) ac_val
=$ac_cv_c_inline;;
5725 cat >>confdefs.h
<<_ACEOF
5727 #define inline $ac_val
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
5734 $as_echo_n "checking for obstacks... " >&6; }
5735 if ${ac_cv_func_obstack+:} false
; then :
5736 $as_echo_n "(cached) " >&6
5738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */
5740 $ac_includes_default
5741 #include "obstack.h"
5746 #define obstack_chunk_alloc malloc
5747 #define obstack_chunk_free free
5748 obstack_init (&mem);
5749 obstack_free (&mem, 0);
5754 if ac_fn_c_try_link
"$LINENO"; then :
5755 ac_cv_func_obstack
=yes
5757 ac_cv_func_obstack
=no
5759 rm -f core conftest.err conftest.
$ac_objext \
5760 conftest
$ac_exeext conftest.
$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
5763 $as_echo "$ac_cv_func_obstack" >&6; }
5764 if test $ac_cv_func_obstack = yes; then
5766 $as_echo "#define HAVE_OBSTACK 1" >>confdefs.h
5769 case " $LIBOBJS " in
5770 *" obstack.$ac_objext "* ) ;;
5771 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext"
5777 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5778 if test "x$ac_cv_type_off_t" = xyes
; then :
5782 cat >>confdefs.h
<<_ACEOF
5783 #define off_t long int
5788 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5789 if test "x$ac_cv_type_size_t" = xyes
; then :
5793 cat >>confdefs.h
<<_ACEOF
5794 #define size_t unsigned int
5799 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5800 if test "x$ac_cv_type_ssize_t" = xyes
; then :
5804 cat >>confdefs.h
<<_ACEOF
5811 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
5812 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
5814 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
5817 for ac_type
in 'unsigned int' 'unsigned long int' \
5818 'unsigned long long int'; do
5819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5821 $ac_includes_default
5825 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
5827 return test_array [0];
5833 if ac_fn_c_try_compile
"$LINENO"; then :
5835 cat >>confdefs.h
<<_ACEOF
5836 #define uintptr_t $ac_type
5841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5842 test -z "$ac_type" && break
5847 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
5848 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
5852 cat >>confdefs.h
<<_ACEOF
5853 #define ptrdiff_t int
5858 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5859 case $ac_cv_c_uint64_t in #(
5863 $as_echo "#define _UINT64_T 1" >>confdefs.h
5866 cat >>confdefs.h
<<_ACEOF
5867 #define uint64_t $ac_cv_c_uint64_t
5872 if test x
"$ac_cv_c_uint64_t" = x
"no"; then
5873 as_fn_error $?
"uint64_t not found" "$LINENO" 5
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5876 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5877 if ${ac_cv_struct_tm+:} false
; then :
5878 $as_echo_n "(cached) " >&6
5880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5881 /* end confdefs.h. */
5882 #include <sys/types.h>
5889 int *p = &tm.tm_sec;
5895 if ac_fn_c_try_compile
"$LINENO"; then :
5896 ac_cv_struct_tm
=time.h
5898 ac_cv_struct_tm
=sys
/time.h
5900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5903 $as_echo "$ac_cv_struct_tm" >&6; }
5904 if test $ac_cv_struct_tm = sys
/time.h
; then
5906 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5910 # The cast to long int works around a bug in the HP C Compiler
5911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5913 # This bug is HP SR number 8606223364.
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5915 $as_echo_n "checking size of int... " >&6; }
5916 if ${ac_cv_sizeof_int+:} false
; then :
5917 $as_echo_n "(cached) " >&6
5919 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5922 if test "$ac_cv_type_int" = yes; then
5923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5925 as_fn_error
77 "cannot compute sizeof (int)
5926 See \`config.log' for more details" "$LINENO" 5; }
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5934 $as_echo "$ac_cv_sizeof_int" >&6; }
5938 cat >>confdefs.h
<<_ACEOF
5939 #define SIZEOF_INT $ac_cv_sizeof_int
5943 # The cast to long int works around a bug in the HP C Compiler
5944 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5945 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5946 # This bug is HP SR number 8606223364.
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5948 $as_echo_n "checking size of long... " >&6; }
5949 if ${ac_cv_sizeof_long+:} false
; then :
5950 $as_echo_n "(cached) " >&6
5952 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5955 if test "$ac_cv_type_long" = yes; then
5956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5958 as_fn_error
77 "cannot compute sizeof (long)
5959 See \`config.log' for more details" "$LINENO" 5; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5967 $as_echo "$ac_cv_sizeof_long" >&6; }
5971 cat >>confdefs.h
<<_ACEOF
5972 #define SIZEOF_LONG $ac_cv_sizeof_long
5977 for ac_func
in clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlocked
5979 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5980 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5981 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5982 cat >>confdefs.h
<<_ACEOF
5983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5989 ac_fn_c_check_decl
"$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
5990 if test "x$ac_cv_have_decl_abort" = xyes
; then :
5996 cat >>confdefs.h
<<_ACEOF
5997 #define HAVE_DECL_ABORT $ac_have_decl
5999 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6000 if test "x$ac_cv_have_decl_asprintf" = xyes
; then :
6006 cat >>confdefs.h
<<_ACEOF
6007 #define HAVE_DECL_ASPRINTF $ac_have_decl
6009 as_ac_Symbol
=`$as_echo "ac_cv_have_decl_basename(char *)" | $as_tr_sh`
6010 ac_fn_c_check_decl
"$LINENO" "basename(char *)" "$as_ac_Symbol" "$ac_includes_default"
6011 if eval test \"x\$
"$as_ac_Symbol"\" = x
"yes"; then :
6017 cat >>confdefs.h
<<_ACEOF
6018 #define HAVE_DECL_BASENAME $ac_have_decl
6020 ac_fn_c_check_decl
"$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
6021 if test "x$ac_cv_have_decl_errno" = xyes
; then :
6027 cat >>confdefs.h
<<_ACEOF
6028 #define HAVE_DECL_ERRNO $ac_have_decl
6030 ac_fn_c_check_decl
"$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
6031 if test "x$ac_cv_have_decl_getopt" = xyes
; then :
6037 cat >>confdefs.h
<<_ACEOF
6038 #define HAVE_DECL_GETOPT $ac_have_decl
6040 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6041 if test "x$ac_cv_have_decl_vasprintf" = xyes
; then :
6047 cat >>confdefs.h
<<_ACEOF
6048 #define HAVE_DECL_VASPRINTF $ac_have_decl
6051 ac_fn_c_check_decl
"$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
6052 if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes
; then :
6058 cat >>confdefs.h
<<_ACEOF
6059 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
6061 ac_fn_c_check_decl
"$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
6062 if test "x$ac_cv_have_decl_feof_unlocked" = xyes
; then :
6068 cat >>confdefs.h
<<_ACEOF
6069 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
6071 ac_fn_c_check_decl
"$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
6072 if test "x$ac_cv_have_decl_ferror_unlocked" = xyes
; then :
6078 cat >>confdefs.h
<<_ACEOF
6079 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
6081 ac_fn_c_check_decl
"$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
6082 if test "x$ac_cv_have_decl_fflush_unlocked" = xyes
; then :
6088 cat >>confdefs.h
<<_ACEOF
6089 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
6091 ac_fn_c_check_decl
"$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
6092 if test "x$ac_cv_have_decl_fgetc_unlocked" = xyes
; then :
6098 cat >>confdefs.h
<<_ACEOF
6099 #define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
6101 ac_fn_c_check_decl
"$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
6102 if test "x$ac_cv_have_decl_fgets_unlocked" = xyes
; then :
6108 cat >>confdefs.h
<<_ACEOF
6109 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
6111 ac_fn_c_check_decl
"$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
6112 if test "x$ac_cv_have_decl_fileno_unlocked" = xyes
; then :
6118 cat >>confdefs.h
<<_ACEOF
6119 #define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
6121 ac_fn_c_check_decl
"$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
6122 if test "x$ac_cv_have_decl_fprintf_unlocked" = xyes
; then :
6128 cat >>confdefs.h
<<_ACEOF
6129 #define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
6131 ac_fn_c_check_decl
"$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
6132 if test "x$ac_cv_have_decl_fputc_unlocked" = xyes
; then :
6138 cat >>confdefs.h
<<_ACEOF
6139 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
6141 ac_fn_c_check_decl
"$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
6142 if test "x$ac_cv_have_decl_fputs_unlocked" = xyes
; then :
6148 cat >>confdefs.h
<<_ACEOF
6149 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
6151 ac_fn_c_check_decl
"$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
6152 if test "x$ac_cv_have_decl_fread_unlocked" = xyes
; then :
6158 cat >>confdefs.h
<<_ACEOF
6159 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
6161 ac_fn_c_check_decl
"$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
6162 if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes
; then :
6168 cat >>confdefs.h
<<_ACEOF
6169 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
6171 ac_fn_c_check_decl
"$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
6172 if test "x$ac_cv_have_decl_getchar_unlocked" = xyes
; then :
6178 cat >>confdefs.h
<<_ACEOF
6179 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
6181 ac_fn_c_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
6182 if test "x$ac_cv_have_decl_getc_unlocked" = xyes
; then :
6188 cat >>confdefs.h
<<_ACEOF
6189 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
6191 ac_fn_c_check_decl
"$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
6192 if test "x$ac_cv_have_decl_putchar_unlocked" = xyes
; then :
6198 cat >>confdefs.h
<<_ACEOF
6199 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
6201 ac_fn_c_check_decl
"$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
6202 if test "x$ac_cv_have_decl_putc_unlocked" = xyes
; then :
6208 cat >>confdefs.h
<<_ACEOF
6209 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
6213 # Checks for library functions.
6214 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6215 # for constant arguments. Useless!
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6217 $as_echo_n "checking for working alloca.h... " >&6; }
6218 if ${ac_cv_working_alloca_h+:} false
; then :
6219 $as_echo_n "(cached) " >&6
6221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6222 /* end confdefs.h. */
6227 char *p = (char *) alloca (2 * sizeof (int));
6233 if ac_fn_c_try_link
"$LINENO"; then :
6234 ac_cv_working_alloca_h
=yes
6236 ac_cv_working_alloca_h
=no
6238 rm -f core conftest.err conftest.
$ac_objext \
6239 conftest
$ac_exeext conftest.
$ac_ext
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6242 $as_echo "$ac_cv_working_alloca_h" >&6; }
6243 if test $ac_cv_working_alloca_h = yes; then
6245 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6250 $as_echo_n "checking for alloca... " >&6; }
6251 if ${ac_cv_func_alloca_works+:} false
; then :
6252 $as_echo_n "(cached) " >&6
6254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6257 # define alloca __builtin_alloca
6260 # include <malloc.h>
6261 # define alloca _alloca
6263 # ifdef HAVE_ALLOCA_H
6264 # include <alloca.h>
6269 # ifndef alloca /* predefined by HP cc +Olibcalls */
6270 void *alloca (size_t);
6280 char *p = (char *) alloca (1);
6286 if ac_fn_c_try_link
"$LINENO"; then :
6287 ac_cv_func_alloca_works
=yes
6289 ac_cv_func_alloca_works
=no
6291 rm -f core conftest.err conftest.
$ac_objext \
6292 conftest
$ac_exeext conftest.
$ac_ext
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6295 $as_echo "$ac_cv_func_alloca_works" >&6; }
6297 if test $ac_cv_func_alloca_works = yes; then
6299 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6302 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6303 # that cause trouble. Some versions do not even contain alloca or
6304 # contain a buggy version. If you still want to use their alloca,
6305 # use ar to extract alloca.o from them instead of compiling alloca.c.
6307 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6309 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6313 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6314 if ${ac_cv_os_cray+:} false
; then :
6315 $as_echo_n "(cached) " >&6
6317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6319 #if defined CRAY && ! defined CRAY2
6326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6327 $EGREP "webecray" >/dev
/null
2>&1; then :
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6336 $as_echo "$ac_cv_os_cray" >&6; }
6337 if test $ac_cv_os_cray = yes; then
6338 for ac_func
in _getb67 GETB67 getb67
; do
6339 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6340 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6341 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6343 cat >>confdefs.h
<<_ACEOF
6344 #define CRAY_STACKSEG_END $ac_func
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6354 $as_echo_n "checking stack direction for C alloca... " >&6; }
6355 if ${ac_cv_c_stack_direction+:} false
; then :
6356 $as_echo_n "(cached) " >&6
6358 if test "$cross_compiling" = yes; then :
6359 ac_cv_c_stack_direction
=0
6361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6363 $ac_includes_default
6365 find_stack_direction (int *addr, int depth)
6370 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
6371 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
6376 main (int argc, char **argv)
6378 return find_stack_direction (0, argc + !argv + 20) < 0;
6381 if ac_fn_c_try_run
"$LINENO"; then :
6382 ac_cv_c_stack_direction
=1
6384 ac_cv_c_stack_direction
=-1
6386 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6387 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6392 $as_echo "$ac_cv_c_stack_direction" >&6; }
6393 cat >>confdefs.h
<<_ACEOF
6394 #define STACK_DIRECTION $ac_cv_c_stack_direction
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6401 $as_echo_n "checking for ANSI C header files... " >&6; }
6402 if ${ac_cv_header_stdc+:} false
; then :
6403 $as_echo_n "(cached) " >&6
6405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6406 /* end confdefs.h. */
6420 if ac_fn_c_try_compile
"$LINENO"; then :
6421 ac_cv_header_stdc
=yes
6423 ac_cv_header_stdc
=no
6425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6427 if test $ac_cv_header_stdc = yes; then
6428 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6430 /* end confdefs.h. */
6434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6435 $EGREP "memchr" >/dev
/null
2>&1; then :
6438 ac_cv_header_stdc
=no
6444 if test $ac_cv_header_stdc = yes; then
6445 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6447 /* end confdefs.h. */
6451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6452 $EGREP "free" >/dev
/null
2>&1; then :
6455 ac_cv_header_stdc
=no
6461 if test $ac_cv_header_stdc = yes; then
6462 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6463 if test "$cross_compiling" = yes; then :
6466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6470 #if ((' ' & 0x0FF) == 0x020)
6471 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6472 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6474 # define ISLOWER(c) \
6475 (('a' <= (c) && (c) <= 'i') \
6476 || ('j' <= (c) && (c) <= 'r') \
6477 || ('s' <= (c) && (c) <= 'z'))
6478 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6481 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6486 for (i = 0; i < 256; i++)
6487 if (XOR (islower (i), ISLOWER (i))
6488 || toupper (i) != TOUPPER (i))
6493 if ac_fn_c_try_run
"$LINENO"; then :
6496 ac_cv_header_stdc
=no
6498 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6499 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6505 $as_echo "$ac_cv_header_stdc" >&6; }
6506 if test $ac_cv_header_stdc = yes; then
6508 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
6514 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
6515 if ${am_cv_langinfo_codeset+:} false
; then :
6516 $as_echo_n "(cached) " >&6
6518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6520 #include <langinfo.h>
6524 char* cs = nl_langinfo(CODESET);
6529 if ac_fn_c_try_link
"$LINENO"; then :
6530 am_cv_langinfo_codeset
=yes
6532 am_cv_langinfo_codeset
=no
6534 rm -f core conftest.err conftest.
$ac_objext \
6535 conftest
$ac_exeext conftest.
$ac_ext
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
6539 $as_echo "$am_cv_langinfo_codeset" >&6; }
6540 if test $am_cv_langinfo_codeset = yes; then
6542 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
6546 # If we haven't got the data from the intl directory,
6547 # assume NLS is disabled.
6556 if test -f ..
/intl
/config.intl
; then
6557 . ..
/intl
/config.intl
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6560 $as_echo_n "checking whether NLS is requested... " >&6; }
6561 if test x
"$USE_NLS" != xyes
; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6566 $as_echo "yes" >&6; }
6568 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6572 $as_echo_n "checking for catalogs to be installed... " >&6; }
6573 # Look for .po and .gmo files in the source directory.
6576 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
6577 # If there aren't any .gmo files the shell will give us the
6578 # literal string "../path/to/srcdir/po/*.gmo" which has to be
6580 case "$cat" in *\
**)
6583 # The quadruple backslash is collapsed to a double backslash
6584 # by the backticks, then collapsed again by the double quotes,
6585 # leaving us with one backslash in the sed expression (right
6586 # before the dot that mustn't act as a wildcard).
6587 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
6588 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
6589 # The user is allowed to set LINGUAS to a list of languages to
6590 # install catalogs for. If it's empty that means "all of them."
6591 if test "x$LINGUAS" = x
; then
6592 CATALOGS
="$CATALOGS $cat"
6593 XLINGUAS
="$XLINGUAS $lang"
6595 case "$LINGUAS" in *$lang*)
6596 CATALOGS
="$CATALOGS $cat"
6597 XLINGUAS
="$XLINGUAS $lang"
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6604 $as_echo "$LINGUAS" >&6; }
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uchar" >&5
6618 $as_echo_n "checking for uchar... " >&6; }
6619 if ${gcc_cv_type_uchar+:} false
; then :
6620 $as_echo_n "(cached) " >&6
6622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6625 #include <sys/types.h>
6630 if ((uchar *)0) return 0;
6631 if (sizeof(uchar)) return 0;
6636 if ac_fn_c_try_compile
"$LINENO"; then :
6637 ac_cv_type_uchar
=yes
6641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_type_uchar" >&5
6644 $as_echo "$gcc_cv_type_uchar" >&6; }
6645 if test $ac_cv_type_uchar = yes; then
6647 $as_echo "#define HAVE_UCHAR 1" >>confdefs.h
6651 # The cast to long int works around a bug in the HP C Compiler
6652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6654 # This bug is HP SR number 8606223364.
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ino_t" >&5
6656 $as_echo_n "checking size of ino_t... " >&6; }
6657 if ${ac_cv_sizeof_ino_t+:} false
; then :
6658 $as_echo_n "(cached) " >&6
6660 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ino_t))" "ac_cv_sizeof_ino_t" "$ac_includes_default"; then :
6663 if test "$ac_cv_type_ino_t" = yes; then
6664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6666 as_fn_error
77 "cannot compute sizeof (ino_t)
6667 See \`config.log' for more details" "$LINENO" 5; }
6669 ac_cv_sizeof_ino_t
=0
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ino_t" >&5
6675 $as_echo "$ac_cv_sizeof_ino_t" >&6; }
6679 cat >>confdefs.h
<<_ACEOF
6680 #define SIZEOF_INO_T $ac_cv_sizeof_ino_t
6684 # The cast to long int works around a bug in the HP C Compiler
6685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6687 # This bug is HP SR number 8606223364.
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
6689 $as_echo_n "checking size of dev_t... " >&6; }
6690 if ${ac_cv_sizeof_dev_t+:} false
; then :
6691 $as_echo_n "(cached) " >&6
6693 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t" "$ac_includes_default"; then :
6696 if test "$ac_cv_type_dev_t" = yes; then
6697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6699 as_fn_error
77 "cannot compute sizeof (dev_t)
6700 See \`config.log' for more details" "$LINENO" 5; }
6702 ac_cv_sizeof_dev_t
=0
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
6708 $as_echo "$ac_cv_sizeof_dev_t" >&6; }
6712 cat >>confdefs.h
<<_ACEOF
6713 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
6718 # g++ on Solaris 10+ defines _XOPEN_SOURCE=600, which exposes a different
6719 # iconv() prototype.
6721 ac_cpp
='$CXXCPP $CPPFLAGS'
6722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6727 if test "X$prefix" = "XNONE"; then
6728 acl_final_prefix
="$ac_default_prefix"
6730 acl_final_prefix
="$prefix"
6732 if test "X$exec_prefix" = "XNONE"; then
6733 acl_final_exec_prefix
='${prefix}'
6735 acl_final_exec_prefix
="$exec_prefix"
6737 acl_save_prefix
="$prefix"
6738 prefix
="$acl_final_prefix"
6739 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6740 prefix
="$acl_save_prefix"
6743 # Check whether --with-gnu-ld was given.
6744 if test "${with_gnu_ld+set}" = set; then :
6745 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6750 # Prepare PATH_SEPARATOR.
6751 # The user is always right.
6752 if test "${PATH_SEPARATOR+set}" != set; then
6753 echo "#! /bin/sh" >conf$$.sh
6754 echo "exit 0" >>conf$$.sh
6756 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6764 if test "$GCC" = yes; then
6765 # Check if gcc -print-prog-name=ld gives a path.
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6767 $as_echo_n "checking for ld used by GCC... " >&6; }
6770 # gcc leaves a trailing carriage return which upsets mingw
6771 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6773 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6776 # Accept absolute paths.
6777 [\\/]* |
[A-Za-z
]:[\\/]*)
6778 re_direlt
='/[^/][^/]*/\.\./'
6779 # Canonicalize the path of ld
6780 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6781 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6782 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6784 test -z "$LD" && LD
="$ac_prog"
6787 # If it fails, then pretend we aren't using GCC.
6791 # If it is relative, then search for the first ld in PATH.
6795 elif test "$with_gnu_ld" = yes; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6797 $as_echo_n "checking for GNU ld... " >&6; }
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6800 $as_echo_n "checking for non-GNU ld... " >&6; }
6802 if ${acl_cv_path_LD+:} false
; then :
6803 $as_echo_n "(cached) " >&6
6805 if test -z "$LD"; then
6806 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6807 for ac_dir
in $PATH; do
6808 test -z "$ac_dir" && ac_dir
=.
6809 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6810 acl_cv_path_LD
="$ac_dir/$ac_prog"
6811 # Check to see if the program is GNU ld. I'd rather use --version,
6812 # but apparently some GNU ld's only accept -v.
6813 # Break only if it was the GNU/non-GNU ld that we prefer.
6814 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
$EGREP '(GNU|with BFD)' > /dev
/null
; then
6815 test "$with_gnu_ld" != no
&& break
6817 test "$with_gnu_ld" != yes && break
6823 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6827 LD
="$acl_cv_path_LD"
6828 if test -n "$LD"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6830 $as_echo "$LD" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6835 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6837 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6838 if ${acl_cv_prog_gnu_ld+:} false
; then :
6839 $as_echo_n "(cached) " >&6
6841 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6842 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
6843 acl_cv_prog_gnu_ld
=yes
6845 acl_cv_prog_gnu_ld
=no
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6849 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
6850 with_gnu_ld
=$acl_cv_prog_gnu_ld
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6855 $as_echo_n "checking for shared library run path origin... " >&6; }
6856 if ${acl_cv_rpath+:} false
; then :
6857 $as_echo_n "(cached) " >&6
6860 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6861 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6868 $as_echo "$acl_cv_rpath" >&6; }
6870 libext
="$acl_cv_libext"
6871 shlibext
="$acl_cv_shlibext"
6872 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6873 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6874 hardcode_direct
="$acl_cv_hardcode_direct"
6875 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6876 # Check whether --enable-rpath was given.
6877 if test "${enable_rpath+set}" = set; then :
6878 enableval
=$enable_rpath; :
6892 acl_save_prefix
="$prefix"
6893 prefix
="$acl_final_prefix"
6894 acl_save_exec_prefix
="$exec_prefix"
6895 exec_prefix
="$acl_final_exec_prefix"
6897 eval additional_includedir
=\"$includedir\"
6898 eval additional_libdir
=\"$libdir\"
6900 exec_prefix
="$acl_save_exec_prefix"
6901 prefix
="$acl_save_prefix"
6904 # Check whether --with-libiconv-prefix was given.
6905 if test "${with_libiconv_prefix+set}" = set; then :
6906 withval
=$with_libiconv_prefix;
6907 if test "X$withval" = "Xno"; then
6910 if test "X$withval" = "X"; then
6912 acl_save_prefix
="$prefix"
6913 prefix
="$acl_final_prefix"
6914 acl_save_exec_prefix
="$exec_prefix"
6915 exec_prefix
="$acl_final_exec_prefix"
6917 eval additional_includedir
=\"$includedir\"
6918 eval additional_libdir
=\"$libdir\"
6920 exec_prefix
="$acl_save_exec_prefix"
6921 prefix
="$acl_save_prefix"
6924 additional_includedir
="$withval/include"
6925 additional_libdir
="$withval/lib"
6932 # Check whether --with-libiconv-type was given.
6933 if test "${with_libiconv_type+set}" = set; then :
6934 withval
=$with_libiconv_type; with_libiconv_type
=$withval
6936 with_libiconv_type
=auto
6939 lib_type
=`eval echo \$with_libiconv_type`
6946 names_already_handled
=
6947 names_next_round
='iconv '
6948 while test -n "$names_next_round"; do
6949 names_this_round
="$names_next_round"
6951 for name
in $names_this_round; do
6953 for n
in $names_already_handled; do
6954 if test "$n" = "$name"; then
6959 if test -z "$already_handled"; then
6960 names_already_handled
="$names_already_handled $name"
6961 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6962 eval value
=\"\
$HAVE_LIB$uppername\"
6963 if test -n "$value"; then
6964 if test "$value" = yes; then
6965 eval value
=\"\
$LIB$uppername\"
6966 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6967 eval value
=\"\
$LTLIB$uppername\"
6968 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6977 if test $use_additional = yes; then
6978 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6979 found_dir
="$additional_libdir"
6980 found_so
="$additional_libdir/lib$name.$shlibext"
6981 if test -f "$additional_libdir/lib$name.la"; then
6982 found_la
="$additional_libdir/lib$name.la"
6984 elif test x
$lib_type != xshared
; then
6985 if test -f "$additional_libdir/lib$name.$libext"; then
6986 found_dir
="$additional_libdir"
6987 found_a
="$additional_libdir/lib$name.$libext"
6988 if test -f "$additional_libdir/lib$name.la"; then
6989 found_la
="$additional_libdir/lib$name.la"
6994 if test "X$found_dir" = "X"; then
6995 for x
in $LDFLAGS $LTLIBICONV; do
6997 acl_save_prefix
="$prefix"
6998 prefix
="$acl_final_prefix"
6999 acl_save_exec_prefix
="$exec_prefix"
7000 exec_prefix
="$acl_final_exec_prefix"
7002 exec_prefix
="$acl_save_exec_prefix"
7003 prefix
="$acl_save_prefix"
7007 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7008 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
7010 found_so
="$dir/lib$name.$shlibext"
7011 if test -f "$dir/lib$name.la"; then
7012 found_la
="$dir/lib$name.la"
7014 elif test x
$lib_type != xshared
; then
7015 if test -f "$dir/lib$name.$libext"; then
7017 found_a
="$dir/lib$name.$libext"
7018 if test -f "$dir/lib$name.la"; then
7019 found_la
="$dir/lib$name.la"
7025 if test "X$found_dir" != "X"; then
7030 if test "X$found_dir" != "X"; then
7031 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7032 if test "X$found_so" != "X"; then
7033 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7034 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7037 for x
in $ltrpathdirs; do
7038 if test "X$x" = "X$found_dir"; then
7043 if test -z "$haveit"; then
7044 ltrpathdirs
="$ltrpathdirs $found_dir"
7046 if test "$hardcode_direct" = yes; then
7047 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7049 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7050 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7052 for x
in $rpathdirs; do
7053 if test "X$x" = "X$found_dir"; then
7058 if test -z "$haveit"; then
7059 rpathdirs
="$rpathdirs $found_dir"
7063 for x
in $LDFLAGS $LIBICONV; do
7065 acl_save_prefix
="$prefix"
7066 prefix
="$acl_final_prefix"
7067 acl_save_exec_prefix
="$exec_prefix"
7068 exec_prefix
="$acl_final_exec_prefix"
7070 exec_prefix
="$acl_save_exec_prefix"
7071 prefix
="$acl_save_prefix"
7073 if test "X$x" = "X-L$found_dir"; then
7078 if test -z "$haveit"; then
7079 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7081 if test "$hardcode_minus_L" != no
; then
7082 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7084 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7090 if test "X$found_a" != "X"; then
7091 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7093 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7096 additional_includedir
=
7097 case "$found_dir" in
7099 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7100 additional_includedir
="$basedir/include"
7103 if test "X$additional_includedir" != "X"; then
7104 if test "X$additional_includedir" != "X/usr/include"; then
7106 if test "X$additional_includedir" = "X/usr/local/include"; then
7107 if test -n "$GCC"; then
7109 linux
*) haveit
=yes;;
7113 if test -z "$haveit"; then
7114 for x
in $CPPFLAGS $INCICONV; do
7116 acl_save_prefix
="$prefix"
7117 prefix
="$acl_final_prefix"
7118 acl_save_exec_prefix
="$exec_prefix"
7119 exec_prefix
="$acl_final_exec_prefix"
7121 exec_prefix
="$acl_save_exec_prefix"
7122 prefix
="$acl_save_prefix"
7124 if test "X$x" = "X-I$additional_includedir"; then
7129 if test -z "$haveit"; then
7130 if test -d "$additional_includedir"; then
7131 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7137 if test -n "$found_la"; then
7138 save_libdir
="$libdir"
7140 */* |
*\\*) .
"$found_la" ;;
7141 *) .
"./$found_la" ;;
7143 libdir
="$save_libdir"
7144 for dep
in $dependency_libs; do
7147 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7148 if test "X$additional_libdir" != "X/usr/lib"; then
7150 if test "X$additional_libdir" = "X/usr/local/lib"; then
7151 if test -n "$GCC"; then
7153 linux
*) haveit
=yes;;
7157 if test -z "$haveit"; then
7159 for x
in $LDFLAGS $LIBICONV; do
7161 acl_save_prefix
="$prefix"
7162 prefix
="$acl_final_prefix"
7163 acl_save_exec_prefix
="$exec_prefix"
7164 exec_prefix
="$acl_final_exec_prefix"
7166 exec_prefix
="$acl_save_exec_prefix"
7167 prefix
="$acl_save_prefix"
7169 if test "X$x" = "X-L$additional_libdir"; then
7174 if test -z "$haveit"; then
7175 if test -d "$additional_libdir"; then
7176 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7180 for x
in $LDFLAGS $LTLIBICONV; do
7182 acl_save_prefix
="$prefix"
7183 prefix
="$acl_final_prefix"
7184 acl_save_exec_prefix
="$exec_prefix"
7185 exec_prefix
="$acl_final_exec_prefix"
7187 exec_prefix
="$acl_save_exec_prefix"
7188 prefix
="$acl_save_prefix"
7190 if test "X$x" = "X-L$additional_libdir"; then
7195 if test -z "$haveit"; then
7196 if test -d "$additional_libdir"; then
7197 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7204 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7205 if test "$enable_rpath" != no
; then
7207 for x
in $rpathdirs; do
7208 if test "X$x" = "X$dir"; then
7213 if test -z "$haveit"; then
7214 rpathdirs
="$rpathdirs $dir"
7217 for x
in $ltrpathdirs; do
7218 if test "X$x" = "X$dir"; then
7223 if test -z "$haveit"; then
7224 ltrpathdirs
="$ltrpathdirs $dir"
7229 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7232 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7235 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7236 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7242 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
7243 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7244 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7246 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
7247 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
7254 if test "X$rpathdirs" != "X"; then
7255 if test -n "$hardcode_libdir_separator"; then
7257 for found_dir
in $rpathdirs; do
7258 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7260 acl_save_libdir
="$libdir"
7262 eval flag
=\"$hardcode_libdir_flag_spec\"
7263 libdir
="$acl_save_libdir"
7264 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7266 for found_dir
in $rpathdirs; do
7267 acl_save_libdir
="$libdir"
7269 eval flag
=\"$hardcode_libdir_flag_spec\"
7270 libdir
="$acl_save_libdir"
7271 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7275 if test "X$ltrpathdirs" != "X"; then
7276 for found_dir
in $ltrpathdirs; do
7277 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7288 $as_echo_n "checking for iconv... " >&6; }
7289 if ${am_cv_func_iconv+:} false
; then :
7290 $as_echo_n "(cached) " >&6
7293 am_cv_func_iconv
="no, consider installing GNU libiconv"
7295 am_save_CPPFLAGS
="$CPPFLAGS"
7296 CPPFLAGS
="$CPPFLAGS $INCICONV"
7297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7304 iconv_t cd = iconv_open("","");
7305 iconv(cd,NULL,NULL,NULL,NULL);
7311 if ac_fn_cxx_try_link
"$LINENO"; then :
7312 am_cv_func_iconv
=yes
7314 rm -f core conftest.err conftest.
$ac_objext \
7315 conftest
$ac_exeext conftest.
$ac_ext
7316 CPPFLAGS
="$am_save_CPPFLAGS"
7318 if test "$am_cv_func_iconv" != yes && test -d ..
/libiconv
; then
7319 for _libs
in .libs _libs
; do
7320 am_save_CPPFLAGS
="$CPPFLAGS"
7321 am_save_LIBS
="$LIBS"
7322 CPPFLAGS
="$CPPFLAGS -I../libiconv/include"
7323 LIBS
="$LIBS ../libiconv/lib/$_libs/libiconv.a"
7324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7325 /* end confdefs.h. */
7331 iconv_t cd = iconv_open("","");
7332 iconv(cd,NULL,NULL,NULL,NULL);
7338 if ac_fn_cxx_try_link
"$LINENO"; then :
7339 INCICONV
="-I../libiconv/include"
7340 LIBICONV
='${top_builddir}'/..
/libiconv
/lib
/$_libs/libiconv.a
7341 LTLIBICONV
='${top_builddir}'/..
/libiconv
/lib
/libiconv.la
7343 am_cv_func_iconv
=yes
7345 rm -f core conftest.err conftest.
$ac_objext \
7346 conftest
$ac_exeext conftest.
$ac_ext
7347 CPPFLAGS
="$am_save_CPPFLAGS"
7348 LIBS
="$am_save_LIBS"
7349 if test "$am_cv_func_iconv" = "yes"; then
7355 if test "$am_cv_func_iconv" != yes; then
7356 am_save_CPPFLAGS
="$CPPFLAGS"
7357 am_save_LIBS
="$LIBS"
7358 CPPFLAGS
="$CPPFLAGS $INCICONV"
7359 LIBS
="$LIBS $LIBICONV"
7360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7367 iconv_t cd = iconv_open("","");
7368 iconv(cd,NULL,NULL,NULL,NULL);
7374 if ac_fn_cxx_try_link
"$LINENO"; then :
7376 am_cv_func_iconv
=yes
7378 rm -f core conftest.err conftest.
$ac_objext \
7379 conftest
$ac_exeext conftest.
$ac_ext
7380 CPPFLAGS
="$am_save_CPPFLAGS"
7381 LIBS
="$am_save_LIBS"
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7386 $as_echo "$am_cv_func_iconv" >&6; }
7387 if test "$am_cv_func_iconv" = yes; then
7389 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
7392 if test "$am_cv_lib_iconv" = yes; then
7394 for element
in $INCICONV; do
7396 for x
in $CPPFLAGS; do
7398 acl_save_prefix
="$prefix"
7399 prefix
="$acl_final_prefix"
7400 acl_save_exec_prefix
="$exec_prefix"
7401 exec_prefix
="$acl_final_exec_prefix"
7403 exec_prefix
="$acl_save_exec_prefix"
7404 prefix
="$acl_save_prefix"
7406 if test "X$x" = "X$element"; then
7411 if test -z "$haveit"; then
7412 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7417 $as_echo_n "checking how to link with libiconv... " >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7419 $as_echo "$LIBICONV" >&6; }
7427 if test "$am_cv_func_iconv" = yes; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
7429 $as_echo_n "checking for iconv declaration... " >&6; }
7430 if ${am_cv_proto_iconv+:} false
; then :
7431 $as_echo_n "(cached) " >&6
7434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7435 /* end confdefs.h. */
7443 #if defined(__STDC__) || defined(__cplusplus)
7444 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7457 if ac_fn_cxx_try_compile
"$LINENO"; then :
7458 am_cv_proto_iconv_arg1
=""
7460 am_cv_proto_iconv_arg1
="const"
7462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7463 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
7466 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
7468 }$am_cv_proto_iconv" >&5
7470 }$am_cv_proto_iconv" >&6; }
7472 cat >>confdefs.h
<<_ACEOF
7473 #define ICONV_CONST $am_cv_proto_iconv_arg1
7479 ac_cpp
='$CPP $CPPFLAGS'
7480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7485 # More defines and substitutions.
7486 PACKAGE
="$PACKAGE_TARNAME"
7488 cat >>confdefs.h
<<_ACEOF
7489 #define PACKAGE "$PACKAGE"
7494 if test "x$enable_nls" != xno
; then
7495 USED_CATALOGS
='$(CATALOGS)'
7501 # Check whether --enable-maintainer-mode was given.
7502 if test "${enable_maintainer_mode+set}" = set; then :
7503 enableval
=$enable_maintainer_mode;
7505 enable_maintainer_mode
=no
7509 if test "x$enable_maintainer_mode" = xno
; then
7516 # Enable expensive internal checks
7518 if test -f $srcdir/..
/gcc
/DEV-PHASE \
7519 && test x
"`cat $srcdir/../gcc/DEV-PHASE`" != xexperimental
; then
7523 # Check whether --enable-checking was given.
7524 if test "${enable_checking+set}" = set; then :
7525 enableval
=$enable_checking; ac_checking_flags
="${enableval}"
7528 # Determine the default checks.
7529 if test x
$is_release = x
; then
7530 ac_checking_flags
=yes
7532 ac_checking_flags
=release
7536 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="$IFS,"
7537 for check
in release
$ac_checking_flags
7540 # these set all the flags to specific states
7541 yes|all
) ac_checking
=1 ; ac_assert_checking
=1 ; ac_valgrind_checking
= ;;
7542 no|none
) ac_checking
= ; ac_assert_checking
= ; ac_valgrind_checking
= ;;
7543 release
) ac_checking
= ; ac_assert_checking
=1 ; ac_valgrind_checking
= ;;
7544 # these enable particular checks
7545 assert
) ac_assert_checking
=1 ;;
7546 misc
) ac_checking
=1 ;;
7547 valgrind
) ac_valgrind_checking
=1 ;;
7554 if test x
$ac_checking != x
; then
7556 $as_echo "#define CHECKING_P 1" >>confdefs.h
7559 $as_echo "#define CHECKING_P 0" >>confdefs.h
7563 if test x
$ac_assert_checking != x
; then
7565 $as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h
7569 if test x
$ac_valgrind_checking != x
; then
7571 $as_echo "#define ENABLE_VALGRIND_CHECKING 1" >>confdefs.h
7575 # Check whether --enable-canonical-system-headers was given.
7576 if test "${enable_canonical_system_headers+set}" = set; then :
7577 enableval
=$enable_canonical_system_headers;
7579 enable_canonical_system_headers
=yes
7582 if test $enable_canonical_system_headers != no
; then
7584 $as_echo "#define ENABLE_CANONICAL_SYSTEM_HEADERS 1" >>confdefs.h
7590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7596 asm ("pcmpestri %0, %%xmm0, %%xmm1" : : "i"(0))
7601 if ac_fn_c_try_compile
"$LINENO"; then :
7603 $as_echo "#define HAVE_SSE4 1" >>confdefs.h
7606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7609 # Enable --enable-host-shared.
7610 # Check whether --enable-host-shared was given.
7611 if test "${enable_host_shared+set}" = set; then :
7612 enableval
=$enable_host_shared;
7617 # Enable --enable-host-pie.
7618 # Check whether --enable-host-pie was given.
7619 if test "${enable_host_pie+set}" = set; then :
7620 enableval
=$enable_host_pie;
7625 if test x
$enable_host_shared = xyes
; then
7627 elif test x
$enable_host_pie = xyes
; then
7635 # Enable Intel CET on Intel CET enabled host if jit is enabled.
7636 # Check whether --enable-cet was given.
7637 if test "${enable_cet+set}" = set; then :
7638 enableval
=$enable_cet;
7639 case "$enableval" in
7641 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
7650 $as_echo_n "checking for CET support... " >&6; }
7653 i
[34567]86-*-linux* | x86_64-
*-linux*)
7655 cet_save_CFLAGS
="$CFLAGS"
7656 CFLAGS
="$CFLAGS -fcf-protection"
7657 case "$enable_cet" in
7659 # Check if target supports multi-byte NOPs
7660 # and if compiler and assembler support CET.
7661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7662 /* end confdefs.h. */
7668 #if !defined(__SSE2__)
7669 #error target does not support multi-byte NOPs
7678 if ac_fn_c_try_compile
"$LINENO"; then :
7683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7686 # Check if compiler and assembler support CET.
7687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7688 /* end confdefs.h. */
7698 if ac_fn_c_try_compile
"$LINENO"; then :
7703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7704 if test $support_cet = "no"; then
7705 if test x
$enable_bootstrap != xno \
7706 && test -z "${with_build_subdir}" \
7707 && (test ! -f ..
/stage_current \
7708 ||
test `cat ../stage_current` != "stage1"); then
7709 # Require CET support only for the final GCC build.
7710 as_fn_error $?
"compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
7712 # Don't enable CET without CET support for non-bootstrap
7713 # build, in stage1 nor for build support.
7719 CFLAGS
="$cet_save_CFLAGS"
7727 cet_save_CFLAGS
="$CFLAGS"
7728 CFLAGS
="$CFLAGS -fcf-protection=none"
7729 cet_save_LDFLAGS
="$LDFLAGS"
7730 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
7731 if test x
$may_have_cet = xyes
; then
7732 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
7733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h. */
7744 if ac_fn_c_try_link
"$LINENO"; then :
7749 rm -f core conftest.err conftest.
$ac_objext \
7750 conftest
$ac_exeext conftest.
$ac_ext
7753 if test x
$may_have_cet = xyes
; then
7754 if test x
$cross_compiling = xno
; then
7755 if test "$cross_compiling" = yes; then :
7756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7758 as_fn_error $?
"cannot run test program while cross compiling
7759 See \`config.log' for more details" "$LINENO" 5; }
7761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7762 /* end confdefs.h. */
7772 if ac_fn_c_try_run
"$LINENO"; then :
7773 have_multi_byte_nop
=yes
7775 have_multi_byte_nop
=no
7777 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7778 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7782 if test x
$have_multi_byte_nop = xyes
; then
7783 if test "$cross_compiling" = yes; then :
7784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7786 as_fn_error $?
"cannot run test program while cross compiling
7787 See \`config.log' for more details" "$LINENO" 5; }
7789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7798 __attribute__ ((noinline, noclone))
7799 xxx (void (*f) (void))
7805 __attribute__ ((noinline, noclone))
7819 if ac_fn_c_try_run
"$LINENO"; then :
7824 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7825 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7829 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
7830 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
7834 # Enable CET in cross compiler if possible so that it will run on both
7835 # CET and non-CET hosts.
7838 if test x
$enable_cet = xyes
; then
7839 CET_HOST_FLAGS
="-fcf-protection"
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7841 $as_echo "yes" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7846 CFLAGS
="$cet_save_CFLAGS"
7847 LDFLAGS
="$cet_save_LDFLAGS"
7849 case x
$enable_languages in
7858 ac_fn_c_check_header_mongrel
"$LINENO" "valgrind.h" "ac_cv_header_valgrind_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_valgrind_h" = xyes
; then :
7867 # It is certainly possible that there's valgrind but no valgrind.h.
7868 # GCC relies on making annotations so we must have both.
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND_DISCARD in <valgrind/memcheck.h>" >&5
7870 $as_echo_n "checking for VALGRIND_DISCARD in <valgrind/memcheck.h>... " >&6; }
7871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7873 #include <valgrind/memcheck.h>
7874 #ifndef VALGRIND_DISCARD
7875 #error VALGRIND_DISCARD not defined
7878 if ac_fn_c_try_cpp
"$LINENO"; then :
7879 gcc_cv_header_valgrind_memcheck_h
=yes
7881 gcc_cv_header_valgrind_memcheck_h
=no
7883 rm -f conftest.err conftest.i conftest.
$ac_ext
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_valgrind_memcheck_h" >&5
7885 $as_echo "$gcc_cv_header_valgrind_memcheck_h" >&6; }
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND_DISCARD in <memcheck.h>" >&5
7887 $as_echo_n "checking for VALGRIND_DISCARD in <memcheck.h>... " >&6; }
7888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 #include <memcheck.h>
7891 #ifndef VALGRIND_DISCARD
7892 #error VALGRIND_DISCARD not defined
7895 if ac_fn_c_try_cpp
"$LINENO"; then :
7896 gcc_cv_header_memcheck_h
=yes
7898 gcc_cv_header_memcheck_h
=no
7900 rm -f conftest.err conftest.i conftest.
$ac_ext
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_memcheck_h" >&5
7902 $as_echo "$gcc_cv_header_memcheck_h" >&6; }
7903 if test $gcc_cv_header_valgrind_memcheck_h = yes; then
7905 $as_echo "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
7908 if test $gcc_cv_header_memcheck_h = yes; then
7910 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
7914 # Check whether --enable-valgrind-annotations was given.
7915 if test "${enable_valgrind_annotations+set}" = set; then :
7916 enableval
=$enable_valgrind_annotations;
7918 enable_valgrind_annotations
=no
7921 if test x
$enable_valgrind_annotations != xno \
7922 ||
test x
$ac_valgrind_checking != x
; then
7923 if (test $have_valgrind_h = no \
7924 && test $gcc_cv_header_memcheck_h = no \
7925 && test $gcc_cv_header_valgrind_memcheck_h = no
); then
7926 as_fn_error $?
"*** valgrind annotations requested, but" "$LINENO" 5
7927 as_fn_error $?
"*** Can't find valgrind/memcheck.h, memcheck.h or valgrind.h" "$LINENO" 5
7930 $as_echo "#define ENABLE_VALGRIND_ANNOTATIONS 1" >>confdefs.h
7936 ac_config_headers
="$ac_config_headers config.h:config.in"
7938 ac_config_files
="$ac_config_files Makefile"
7940 cat >confcache
<<\_ACEOF
7941 # This file is a shell script that caches the results of configure
7942 # tests run on this system so they can be shared between configure
7943 # scripts and configure runs, see configure's option --config-cache.
7944 # It is not useful on other systems. If it contains results you don't
7945 # want to keep, you may remove or edit it.
7947 # config.status only pays attention to the cache file if you give it
7948 # the --recheck option to rerun configure.
7950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7956 # The following way of writing the cache mishandles newlines in values,
7957 # but we know of no workaround that is simple, portable, and efficient.
7958 # So, we kill variables containing newlines.
7959 # Ultrix sh set writes to stderr and can't be redirected directly,
7960 # and sets the high bit in the cache file unless we assign to the vars.
7962 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7963 eval ac_val
=\$
$ac_var
7967 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7968 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7971 _ | IFS | as_nl
) ;; #(
7972 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7973 *) { eval $ac_var=; unset $ac_var;} ;;
7979 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7980 *${as_nl}ac_space
=\
*)
7981 # `set' does not quote correctly, so add quotes: double-quote
7982 # substitution turns \\\\ into \\, and sed turns \\ into \.
7985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7988 # `set' quotes correctly as required by POSIX, so do not add quotes.
7989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8000 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8002 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8003 if test -w "$cache_file"; then
8004 if test "x$cache_file" != "x/dev/null"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8006 $as_echo "$as_me: updating cache $cache_file" >&6;}
8007 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
8008 cat confcache
>"$cache_file"
8010 case $cache_file in #(
8012 mv -f confcache
"$cache_file"$$
&&
8013 mv -f "$cache_file"$$
"$cache_file" ;; #(
8015 mv -f confcache
"$cache_file" ;;
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8021 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8026 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8027 # Let make expand exec_prefix.
8028 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8030 DEFS
=-DHAVE_CONFIG_H
8035 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8036 # 1. Remove the extension, and $U if already installed.
8037 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8038 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8039 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8040 # will be set to the directory where LIBOBJS objects are built.
8041 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8042 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8046 LTLIBOBJS
=$ac_ltlibobjs
8051 : "${CONFIG_STATUS=./config.status}"
8053 ac_clean_files_save
=$ac_clean_files
8054 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8056 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8058 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8060 # Generated by $as_me.
8061 # Run this file to recreate the current configuration.
8062 # Compiler output produced by configure, useful for debugging
8063 # configure, is in config.log if it exists.
8069 SHELL=\${CONFIG_SHELL-$SHELL}
8072 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8073 ## -------------------- ##
8074 ## M4sh Initialization. ##
8075 ## -------------------- ##
8077 # Be more Bourne compatible
8078 DUALCASE
=1; export DUALCASE
# for MKS sh
8079 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8082 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8083 # is contrary to our usage. Disable this feature.
8084 alias -g '${1+"$@"}'='"$@"'
8085 setopt NO_GLOB_SUBST
8087 case `(set -o) 2>/dev/null` in #(
8099 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8100 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8101 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8102 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8103 # Prefer a ksh shell builtin over an external printf program on Solaris,
8104 # but without wasting forks for bash or zsh.
8105 if test -z "$BASH_VERSION$ZSH_VERSION" \
8106 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8107 as_echo='print
-r --'
8108 as_echo_n='print
-rn --'
8109 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8110 as_echo='printf %s
\n'
8111 as_echo_n='printf %s
'
8113 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8114 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8115 as_echo_n='/usr
/ucb
/echo -n'
8117 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8118 as_echo_n_body='eval
8122 expr "X$arg" : "X\\(.*\\)$as_nl";
8123 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8125 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8127 export as_echo_n_body
8128 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8131 as_echo='sh
-c $as_echo_body as_echo
'
8134 # The user is always right.
8135 if test "${PATH_SEPARATOR+set}" != set; then
8137 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8138 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8145 # We need space, tab and new line, in precisely that order. Quoting is
8146 # there to prevent editors from complaining about space-tab.
8147 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8148 # splitting by setting IFS to empty value.)
8151 # Find who we are. Look in the path if we contain no directory separator.
8154 *[\\/]* ) as_myself=$0 ;;
8155 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 test -z "$as_dir" && as_dir=.
8160 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8166 # We did not find ourselves, most probably we were run as `sh COMMAND'
8167 # in which case we are not to be found in the path.
8168 if test "x$as_myself" = x
; then
8171 if test ! -f "$as_myself"; then
8172 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8176 # Unset variables that we do not need and which cause bugs (e.g. in
8177 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8178 # suppresses any "Segmentation fault" message there. '((' could
8179 # trigger a bug in pdksh 5.2.14.
8180 for as_var
in BASH_ENV ENV MAIL MAILPATH
8181 do eval test x\
${$as_var+set} = xset \
8182 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8195 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8198 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8199 # ----------------------------------------
8200 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8201 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8202 # script with STATUS, using 1 if that was 0.
8205 as_status
=$1; test $as_status -eq 0 && as_status
=1
8207 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8208 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8210 $as_echo "$as_me: error: $2" >&2
8211 as_fn_exit
$as_status
8215 # as_fn_set_status STATUS
8216 # -----------------------
8217 # Set $? to STATUS, without forking.
8221 } # as_fn_set_status
8225 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8235 # Portably unset VAR.
8238 { eval $1=; unset $1;}
8240 as_unset
=as_fn_unset
8241 # as_fn_append VAR VALUE
8242 # ----------------------
8243 # Append the text in VALUE to the end of the definition contained in VAR. Take
8244 # advantage of any shell optimizations that allow amortized linear growth over
8245 # repeated appends, instead of the typical quadratic growth present in naive
8247 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8248 eval 'as_fn_append ()
8259 # as_fn_arith ARG...
8260 # ------------------
8261 # Perform arithmetic evaluation on the ARGs, and store the result in the
8262 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8263 # must be portable across $(()) and expr.
8264 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8265 eval 'as_fn_arith ()
8272 as_val
=`expr "$@" || test $? -eq 1`
8277 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8278 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8284 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8285 as_basename
=basename
8290 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8296 as_me
=`$as_basename -- "$0" ||
8297 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8298 X"$0" : 'X\(//\)$' \| \
8299 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8301 sed '/^.*\/\([^/][^/]*\)\/*$/{
8315 # Avoid depending upon Character Ranges.
8316 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8317 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8318 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8319 as_cr_digits
='0123456789'
8320 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8322 ECHO_C
= ECHO_N
= ECHO_T
=
8323 case `echo -n x` in #(((((
8325 case `echo 'xy\c'` in
8326 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8328 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8335 rm -f conf$$ conf$$.exe conf$$.
file
8336 if test -d conf$$.dir
; then
8337 rm -f conf$$.dir
/conf$$.
file
8340 mkdir conf$$.dir
2>/dev
/null
8342 if (echo >conf$$.
file) 2>/dev
/null
; then
8343 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8345 # ... but there are two gotchas:
8346 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8347 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8348 # In both cases, we have to default to `cp -pR'.
8349 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8351 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8359 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8360 rmdir conf$$.dir
2>/dev
/null
8365 # Create "$as_dir" as a directory, including parents if necessary.
8370 -*) as_dir
=.
/$as_dir;;
8372 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8376 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8377 *) as_qdir
=$as_dir;;
8379 as_dirs
="'$as_qdir' $as_dirs"
8380 as_dir
=`$as_dirname -- "$as_dir" ||
8381 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8382 X"$as_dir" : 'X\(//\)[^/]' \| \
8383 X"$as_dir" : 'X\(//\)$' \| \
8384 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8385 $as_echo X"$as_dir" |
8386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8403 test -d "$as_dir" && break
8405 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8406 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
8410 if mkdir
-p .
2>/dev
/null
; then
8411 as_mkdir_p
='mkdir -p "$as_dir"'
8413 test -d .
/-p && rmdir .
/-p
8418 # as_fn_executable_p FILE
8419 # -----------------------
8420 # Test if FILE is an executable regular file.
8421 as_fn_executable_p
()
8423 test -f "$1" && test -x "$1"
8424 } # as_fn_executable_p
8426 as_executable_p
=as_fn_executable_p
8428 # Sed expression to map a string onto a valid CPP name.
8429 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8431 # Sed expression to map a string onto a valid variable name.
8432 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8436 ## ----------------------------------- ##
8437 ## Main body of $CONFIG_STATUS script. ##
8438 ## ----------------------------------- ##
8440 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8443 # Save the log message, to keep $0 and so on meaningful, and to
8444 # report actual input values of CONFIG_FILES etc. instead of their
8445 # values after options handling.
8447 This file was extended by cpplib $as_me , which was
8448 generated by GNU Autoconf 2.69. Invocation command line was
8450 CONFIG_FILES = $CONFIG_FILES
8451 CONFIG_HEADERS = $CONFIG_HEADERS
8452 CONFIG_LINKS = $CONFIG_LINKS
8453 CONFIG_COMMANDS = $CONFIG_COMMANDS
8456 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8461 case $ac_config_files in *"
8462 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8465 case $ac_config_headers in *"
8466 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8471 # Files that config.status was made for.
8472 config_files="$ac_config_files"
8473 config_headers="$ac_config_headers"
8474 config_commands="$ac_config_commands"
8478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8480 \`$as_me' instantiates files and other configuration actions
8481 from templates according to the current configuration. Unless the files
8482 and actions are specified as TAGs, all are instantiated by default.
8484 Usage: $0 [OPTION]... [TAG]...
8486 -h, --help print this help, then exit
8487 -V, --version print version number and configuration settings, then exit
8488 --config print configuration, then exit
8489 -q, --quiet, --silent
8490 do not print progress messages
8491 -d, --debug don't remove temporary files
8492 --recheck update $as_me by reconfiguring in the same conditions
8493 --file=FILE[:TEMPLATE]
8494 instantiate the configuration file FILE
8495 --header=FILE[:TEMPLATE]
8496 instantiate the configuration header FILE
8498 Configuration files:
8501 Configuration headers:
8504 Configuration commands:
8507 Report bugs to <gcc-bugs@gcc.gnu.org>."
8510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8511 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8513 cpplib config.status
8514 configured by $0, generated by GNU Autoconf 2.69,
8515 with options \\"\$ac_cs_config\\"
8517 Copyright (C) 2012 Free Software Foundation, Inc.
8518 This config.status script is free software; the Free Software Foundation
8519 gives unlimited permission to copy, distribute and modify it."
8524 test -n "\$AWK" || AWK=awk
8527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8528 # The default lists apply if the user does not specify any file.
8534 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8535 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8539 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8551 # Handling of the options.
8552 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8554 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8555 $as_echo "$ac_cs_version"; exit ;;
8556 --config |
--confi |
--conf |
--con |
--co |
--c )
8557 $as_echo "$ac_cs_config"; exit ;;
8558 --debug |
--debu |
--deb |
--de |
--d |
-d )
8560 --file |
--fil |
--fi |
--f )
8563 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8564 '') as_fn_error $?
"missing file argument" ;;
8566 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8567 ac_need_defaults
=false
;;
8568 --header |
--heade |
--head |
--hea )
8571 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8573 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8574 ac_need_defaults
=false
;;
8576 # Conflict between --help and --header
8577 as_fn_error $?
"ambiguous option: \`$1'
8578 Try \`$0 --help' for more information.";;
8579 --help |
--hel |
-h )
8580 $as_echo "$ac_cs_usage"; exit ;;
8581 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8582 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8586 -*) as_fn_error $?
"unrecognized option: \`$1'
8587 Try \`$0 --help' for more information." ;;
8589 *) as_fn_append ac_config_targets
" $1"
8590 ac_need_defaults
=false
;;
8596 ac_configure_extra_args
=
8598 if $ac_cs_silent; then
8600 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8605 if \$ac_cs_recheck; then
8606 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8608 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8609 CONFIG_SHELL='$SHELL'
8615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8620 ## Running $as_me. ##
8626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8630 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
8634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8636 # Handling of arguments.
8637 for ac_config_target
in $ac_config_targets
8639 case $ac_config_target in
8640 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
8641 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8642 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8644 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8649 # If the user did not use the arguments to specify the items to instantiate,
8650 # then the envvar interface is used. Set only those that are not.
8651 # We use the long form for the default assignment because of an extremely
8652 # bizarre bug on SunOS 4.1.3.
8653 if $ac_need_defaults; then
8654 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8655 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8656 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8659 # Have a temporary directory for convenience. Make it in the build tree
8660 # simply because there is no reason against having it here, and in addition,
8661 # creating and moving files from /tmp can sometimes cause problems.
8662 # Hook for its removal unless debugging.
8663 # Note that there is a small window in which the directory will not be cleaned:
8664 # after its creation but before its name has been assigned to `$tmp'.
8668 trap 'exit_status=$?
8670 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8672 trap 'as_fn_exit 1' 1 2 13 15
8674 # Create a (secure) tmp directory for tmp files.
8677 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8681 tmp
=.
/conf$$
-$RANDOM
8682 (umask 077 && mkdir
"$tmp")
8683 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8686 # Set up the scripts for CONFIG_FILES section.
8687 # No need to generate them if there are no CONFIG_FILES.
8688 # This happens for instance with `./config.status config.h'.
8689 if test -n "$CONFIG_FILES"; then
8692 ac_cr
=`echo X | tr X '\015'`
8693 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8694 # But we know of no other shell where ac_cr would be empty at this
8695 # point, so we can use a bashism as a fallback.
8696 if test "x$ac_cr" = x
; then
8697 eval ac_cr
=\$
\'\\r
\'
8699 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8700 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8706 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8711 echo "cat >conf$$subs.awk <<_ACEOF" &&
8712 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8715 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8716 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8718 for ac_last_try in false false false false false :; do
8719 . ./conf$$subs.sh ||
8720 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8722 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8723 if test $ac_delim_n = $ac_delim_num; then
8725 elif $ac_last_try; then
8726 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8728 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8734 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8738 s/^/S["/; s
/!.
*/"]=/
8748 s/\(.\{148\}\)..*/\1/
8750 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8755 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8762 s/\(.\{148\}\)..*/\1/
8764 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8768 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8773 ' <conf$$subs.awk | sed '
8778 ' >>$CONFIG_STATUS || ac_write_fail=1
8779 rm -f conf$$subs.awk
8780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8782 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8783 for (key in S) S_is_set[key] = 1
8789 nfields = split(line, field, "@
")
8791 len = length(field[1])
8792 for (i = 2; i < nfields; i++) {
8794 keylen = length(key)
8795 if (S_is_set[key]) {
8797 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8798 len += length(value) + length(field[++i])
8809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8810 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8811 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8814 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8815 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8818 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8819 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8820 # trailing colons and then remove the whole line if VPATH becomes empty
8821 # (actually we leave an empty line to preserve line numbers).
8822 if test "x
$srcdir" = x.; then
8823 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8842 fi # test -n "$CONFIG_FILES"
8844 # Set up the scripts for CONFIG_HEADERS section.
8845 # No need to generate them if there are no CONFIG_HEADERS.
8846 # This happens for instance with `./config.status Makefile'.
8847 if test -n "$CONFIG_HEADERS"; then
8848 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8852 # Transform confdefs.h into an awk script `defines.awk', embedded as
8853 # here-document in config.status, that substitutes the proper values into
8854 # config.h.in to produce config.h.
8856 # Create a delimiter string that does not exist in confdefs.h, to ease
8857 # handling of long lines.
8859 for ac_last_try in false false :; do
8860 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8861 if test -z "$ac_tt"; then
8863 elif $ac_last_try; then
8864 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8866 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8870 # For the awk script, D is an array of macro values keyed by name,
8871 # likewise P contains macro parameters if any. Preserve backslash
8872 # newline sequences.
8874 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8876 s/.\{148\}/&'"$ac_delim"'/g
8879 s/^[ ]*#[ ]*define[ ][ ]*/ /
8886 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8888 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8892 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8893 D["\
1"]=" \
3\\\\\\n
"\\/p
8895 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8900 s/.\{148\}/&'"$ac_delim"'/g
8905 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8908 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8910 ' <confdefs.h | sed '
8911 s/'"$ac_delim"'/"\\\
8912 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8915 for (key in D) D_is_set[key] = 1
8918 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8920 split(line, arg, " ")
8921 if (arg[1] == "#") {
8925 defundef
= substr
(arg
[1], 2)
8928 split(mac1
, mac2
, "(") #)
8930 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8931 if (D_is_set
[macro
]) {
8932 # Preserve the white space surrounding the "#".
8933 print prefix
"define", macro P
[macro
] D
[macro
]
8936 # Replace #undef with comments. This is necessary, for example,
8937 # in the case of _POSIX_SOURCE, which is predefined and required
8938 # on some systems where configure will not decide to define it.
8939 if (defundef
== "undef") {
8940 print
"/*", prefix defundef
, macro
, "*/"
8948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8949 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8950 fi # test -n "$CONFIG_HEADERS"
8953 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8958 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8960 case $ac_mode$ac_tag in
8962 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8963 :[FH
]-) ac_tag
=-:-;;
8964 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8981 -) ac_f
="$ac_tmp/stdin";;
8982 *) # Look for the file first in the build tree, then in the source tree
8983 # (if the path is not absolute). The absolute path cannot be DOS-style,
8984 # because $ac_f cannot contain `:'.
8988 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8990 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8992 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8993 as_fn_append ac_file_inputs
" '$ac_f'"
8996 # Let's still pretend it is `configure' which instantiates (i.e., don't
8997 # use $as_me), people would be surprised to read:
8998 # /* config.h. Generated by config.status. */
8999 configure_input
='Generated from '`
9000 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9002 if test x
"$ac_file" != x-
; then
9003 configure_input
="$ac_file. $configure_input"
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9005 $as_echo "$as_me: creating $ac_file" >&6;}
9007 # Neutralize special characters interpreted by sed in replacement strings.
9008 case $configure_input in #(
9009 *\
&* |
*\|
* |
*\\* )
9010 ac_sed_conf_input
=`$as_echo "$configure_input" |
9011 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9012 *) ac_sed_conf_input
=$configure_input;;
9016 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
9017 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
9022 ac_dir
=`$as_dirname -- "$ac_file" ||
9023 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9024 X"$ac_file" : 'X\(//\)[^/]' \| \
9025 X"$ac_file" : 'X\(//\)$' \| \
9026 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9027 $as_echo X"$ac_file" |
9028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9045 as_dir
="$ac_dir"; as_fn_mkdir_p
9049 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9051 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9052 # A ".." for each directory in $ac_dir_suffix.
9053 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9054 case $ac_top_builddir_sub in
9055 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9056 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9059 ac_abs_top_builddir
=$ac_pwd
9060 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9061 # for backward compatibility:
9062 ac_top_builddir
=$ac_top_build_prefix
9065 .
) # We are building in place.
9067 ac_top_srcdir
=$ac_top_builddir_sub
9068 ac_abs_top_srcdir
=$ac_pwd ;;
9069 [\\/]* | ?
:[\\/]* ) # Absolute name.
9070 ac_srcdir
=$srcdir$ac_dir_suffix;
9071 ac_top_srcdir
=$srcdir
9072 ac_abs_top_srcdir
=$srcdir ;;
9074 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9075 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9076 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9078 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9088 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9089 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9094 # If the template does not know about datarootdir, expand it.
9095 # FIXME: This hack should be removed a few years after 2.60.
9096 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9107 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9108 *datarootdir
*) ac_datarootdir_seen
=yes;;
9109 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9111 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9114 ac_datarootdir_hack='
9115 s&@datadir@&$datadir&g
9116 s&@docdir@&$docdir&g
9117 s&@infodir@&$infodir&g
9118 s&@localedir@&$localedir&g
9119 s&@mandir@&$mandir&g
9120 s&\\\${datarootdir}&$datarootdir&g' ;;
9124 # Neutralize VPATH when `$srcdir' = `.'.
9125 # Shell code in configure.ac might set extrasub.
9126 # FIXME: do we really want to maintain this feature?
9127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9128 ac_sed_extra="$ac_vpsub
9131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9133 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9134 s|@configure_input@|
$ac_sed_conf_input|
;t t
9135 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9136 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9137 s
&@srcdir@
&$ac_srcdir&;t t
9138 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9139 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9140 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9141 s
&@builddir@
&$ac_builddir&;t t
9142 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9143 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9144 s
&@INSTALL@
&$ac_INSTALL&;t t
9145 $ac_datarootdir_hack
9147 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
9148 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
9150 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9151 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
9152 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9153 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9155 which seems to be undefined. Please make sure it is defined" >&5
9156 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9157 which seems to be undefined. Please make sure it is defined" >&2;}
9159 rm -f "$ac_tmp/stdin"
9161 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9162 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9164 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9170 if test x"$ac_file" != x-; then
9172 $as_echo "/* $configure_input */" \
9173 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9174 } >"$ac_tmp/config.h" \
9175 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9176 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9178 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9181 mv "$ac_tmp/config.h" "$ac_file" \
9182 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9185 $as_echo "/* $configure_input */" \
9186 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9187 || as_fn_error $? "could not create -" "$LINENO" 5
9191 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9192 $as_echo "$as_me: executing $ac_file commands" >&6;}
9197 case $ac_file$ac_mode in
9198 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
9199 "config.h":H) echo timestamp > stamp-h1 ;;
9207 ac_clean_files=$ac_clean_files_save
9209 test $ac_write_fail = 0 ||
9210 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9213 # configure is writing to config.log, and then calls config.status.
9214 # config.status does its own redirection, appending to config.log.
9215 # Unfortunately, on DOS this fails, as config.log is still kept open
9216 # by configure, so config.status won't be able to
write to it
; its
9217 # output is simply discarded. So we exec the FD to /dev/null,
9218 # effectively closing config.log, so it can be properly (re)opened and
9219 # appended to by config.status. When coming back to configure, we
9220 # need to make the FD available again.
9221 if test "$no_create" != yes; then
9223 ac_config_status_args
=
9224 test "$silent" = yes &&
9225 ac_config_status_args
="$ac_config_status_args --quiet"
9227 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9229 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9230 # would make configure fail if this is the last instruction.
9231 $ac_cs_success || as_fn_exit
1
9233 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9235 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}