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>
626 ac_subst_vars
='LTLIBOBJS
726 program_transform_name
739 enable_option_checking
749 enable_maintainer_mode
751 enable_canonical_system_headers
755 enable_valgrind_annotations
757 ac_precious_vars
='build_alias
771 # Initialize some variables set by options.
773 ac_init_version
=false
774 ac_unrecognized_opts
=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
785 program_transform_name
=s
,x
,x
,
793 # Installation directory options.
794 # These are left unexpanded so users can "make install exec_prefix=/foo"
795 # and all the variables that are supposed to be based on exec_prefix
796 # by default will actually change.
797 # Use braces instead of parens because sh, perl, etc. also accept them.
798 # (The list follows the same order as the GNU Coding Standards.)
799 bindir
='${exec_prefix}/bin'
800 sbindir
='${exec_prefix}/sbin'
801 libexecdir
='${exec_prefix}/libexec'
802 datarootdir
='${prefix}/share'
803 datadir
='${datarootdir}'
804 sysconfdir
='${prefix}/etc'
805 sharedstatedir
='${prefix}/com'
806 localstatedir
='${prefix}/var'
807 includedir
='${prefix}/include'
808 oldincludedir
='/usr/include'
809 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
810 infodir
='${datarootdir}/info'
815 libdir
='${exec_prefix}/lib'
816 localedir
='${datarootdir}/locale'
817 mandir
='${datarootdir}/man'
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\
$ac_option
831 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
836 # Accept the important Cygnus configure options, so we can diagnose typos.
838 case $ac_dashdash$ac_option in
842 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
844 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
847 -build |
--build |
--buil |
--bui |
--bu)
848 ac_prev
=build_alias
;;
849 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
850 build_alias
=$ac_optarg ;;
852 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
853 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
854 ac_prev
=cache_file
;;
855 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
856 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
857 cache_file
=$ac_optarg ;;
860 cache_file
=config.cache
;;
862 -datadir |
--datadir |
--datadi |
--datad)
864 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
865 datadir
=$ac_optarg ;;
867 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
868 |
--dataroo |
--dataro |
--datar)
869 ac_prev
=datarootdir
;;
870 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
871 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
872 datarootdir
=$ac_optarg ;;
874 -disable-* |
--disable-*)
875 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
878 as_fn_error $?
"invalid feature name: $ac_useropt"
879 ac_useropt_orig
=$ac_useropt
880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 ac_unrecognized_sep
=', ';;
888 eval enable_
$ac_useropt=no
;;
890 -docdir |
--docdir |
--docdi |
--doc |
--do)
892 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
895 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
897 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
900 -enable-* |
--enable-*)
901 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
904 as_fn_error $?
"invalid feature name: $ac_useropt"
905 ac_useropt_orig
=$ac_useropt
906 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912 ac_unrecognized_sep
=', ';;
914 eval enable_
$ac_useropt=\
$ac_optarg ;;
916 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
917 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
918 |
--exec |
--exe |
--ex)
919 ac_prev
=exec_prefix
;;
920 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
921 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
922 |
--exec=* |
--exe=* |
--ex=*)
923 exec_prefix
=$ac_optarg ;;
925 -gas |
--gas |
--ga |
--g)
926 # Obsolete; use --with-gas.
929 -help |
--help |
--hel |
--he |
-h)
931 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
932 ac_init_help
=recursive
;;
933 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
934 ac_init_help
=short
;;
936 -host |
--host |
--hos |
--ho)
937 ac_prev
=host_alias
;;
938 -host=* |
--host=* |
--hos=* |
--ho=*)
939 host_alias
=$ac_optarg ;;
941 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
943 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
945 htmldir
=$ac_optarg ;;
947 -includedir |
--includedir |
--includedi |
--included |
--include \
948 |
--includ |
--inclu |
--incl |
--inc)
949 ac_prev
=includedir
;;
950 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
951 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
952 includedir
=$ac_optarg ;;
954 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
956 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
957 infodir
=$ac_optarg ;;
959 -libdir |
--libdir |
--libdi |
--libd)
961 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
964 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
965 |
--libexe |
--libex |
--libe)
966 ac_prev
=libexecdir
;;
967 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
968 |
--libexe=* |
--libex=* |
--libe=*)
969 libexecdir
=$ac_optarg ;;
971 -localedir |
--localedir |
--localedi |
--localed |
--locale)
973 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
974 localedir
=$ac_optarg ;;
976 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
977 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
978 ac_prev
=localstatedir
;;
979 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
980 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
981 localstatedir
=$ac_optarg ;;
983 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
985 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
989 # Obsolete; use --without-fp.
992 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
993 |
--no-cr |
--no-c |
-n)
996 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
997 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1000 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1001 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1002 |
--oldin |
--oldi |
--old |
--ol |
--o)
1003 ac_prev
=oldincludedir
;;
1004 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1005 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1006 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1007 oldincludedir
=$ac_optarg ;;
1009 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1011 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1012 prefix
=$ac_optarg ;;
1014 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1015 |
--program-pre |
--program-pr |
--program-p)
1016 ac_prev
=program_prefix
;;
1017 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1018 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1019 program_prefix
=$ac_optarg ;;
1021 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1022 |
--program-suf |
--program-su |
--program-s)
1023 ac_prev
=program_suffix
;;
1024 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1025 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1026 program_suffix
=$ac_optarg ;;
1028 -program-transform-name |
--program-transform-name \
1029 |
--program-transform-nam |
--program-transform-na \
1030 |
--program-transform-n |
--program-transform- \
1031 |
--program-transform |
--program-transfor \
1032 |
--program-transfo |
--program-transf \
1033 |
--program-trans |
--program-tran \
1034 |
--progr-tra |
--program-tr |
--program-t)
1035 ac_prev
=program_transform_name
;;
1036 -program-transform-name=* |
--program-transform-name=* \
1037 |
--program-transform-nam=* |
--program-transform-na=* \
1038 |
--program-transform-n=* |
--program-transform-=* \
1039 |
--program-transform=* |
--program-transfor=* \
1040 |
--program-transfo=* |
--program-transf=* \
1041 |
--program-trans=* |
--program-tran=* \
1042 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1043 program_transform_name
=$ac_optarg ;;
1045 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1047 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1048 pdfdir
=$ac_optarg ;;
1050 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1052 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1055 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1056 |
-silent |
--silent |
--silen |
--sile |
--sil)
1059 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1061 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1063 sbindir
=$ac_optarg ;;
1065 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1066 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1067 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1069 ac_prev
=sharedstatedir
;;
1070 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1071 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1072 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1074 sharedstatedir
=$ac_optarg ;;
1076 -site |
--site |
--sit)
1078 -site=* |
--site=* |
--sit=*)
1081 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1083 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1084 srcdir
=$ac_optarg ;;
1086 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1087 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1088 ac_prev
=sysconfdir
;;
1089 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1090 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1091 sysconfdir
=$ac_optarg ;;
1093 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1094 ac_prev
=target_alias
;;
1095 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1096 target_alias
=$ac_optarg ;;
1098 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1101 -version |
--version |
--versio |
--versi |
--vers |
-V)
1102 ac_init_version
=: ;;
1105 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1108 as_fn_error $?
"invalid package name: $ac_useropt"
1109 ac_useropt_orig
=$ac_useropt
1110 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1115 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116 ac_unrecognized_sep
=', ';;
1118 eval with_
$ac_useropt=\
$ac_optarg ;;
1120 -without-* |
--without-*)
1121 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1124 as_fn_error $?
"invalid package name: $ac_useropt"
1125 ac_useropt_orig
=$ac_useropt
1126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132 ac_unrecognized_sep
=', ';;
1134 eval with_
$ac_useropt=no
;;
1137 # Obsolete; use --with-x.
1140 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1141 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1142 ac_prev
=x_includes
;;
1143 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1144 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1145 x_includes
=$ac_optarg ;;
1147 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1148 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1149 ac_prev
=x_libraries
;;
1150 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1151 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1152 x_libraries
=$ac_optarg ;;
1154 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1155 Try \`$0 --help' for more information"
1159 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 case $ac_envvar in #(
1162 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1163 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1165 eval $ac_envvar=\
$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1172 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1179 if test -n "$ac_prev"; then
1180 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1181 as_fn_error $?
"missing argument to $ac_option"
1184 if test -n "$ac_unrecognized_opts"; then
1185 case $enable_option_checking in
1187 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1192 # Check all directory arguments for consistency.
1193 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir
1198 eval ac_val
=\$
$ac_var
1199 # Remove trailing slashes.
1202 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203 eval $ac_var=\
$ac_val;;
1205 # Be sure to have absolute directory names.
1207 [\\/$
]* | ?
:[\\/]* ) continue;;
1208 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1210 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1218 target
=$target_alias
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x
; then
1222 if test "x$build_alias" = x
; then
1223 cross_compiling
=maybe
1224 elif test "x$build_alias" != "x$host_alias"; then
1230 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1232 test "$silent" = yes && exec 6>/dev
/null
1235 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1236 ac_ls_di
=`ls -di .` &&
1237 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1238 as_fn_error $?
"working directory cannot be determined"
1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1240 as_fn_error $?
"pwd does not report name of working directory"
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245 ac_srcdir_defaulted
=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir
=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1275 ac_srcdir_defaulted
=no
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1279 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1281 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1285 # When building in place, set srcdir=.
1286 if test "$ac_abs_confdir" = "$ac_pwd"; then
1289 # Remove unnecessary trailing slashes from srcdir.
1290 # Double slashes in file names in object file debugging info
1291 # mess up M-x gdb in Emacs.
1293 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295 for ac_var
in $ac_precious_vars; do
1296 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1297 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1298 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1299 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1303 # Report the --help message.
1305 if test "$ac_init_help" = "long"; then
1306 # Omit some internal or obsolete options to make the list less imposing.
1307 # This message is too long to be a string in the A/UX 3.1 sh.
1309 \`configure' configures cpplib to adapt to many kinds of systems.
1311 Usage: $0 [OPTION]... [VAR=VALUE]...
1313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1314 VAR=VALUE. See below for descriptions of some of the useful variables.
1316 Defaults for the options are specified in brackets.
1319 -h, --help display this help and exit
1320 --help=short display options specific to this package
1321 --help=recursive display the short help of all the included packages
1322 -V, --version display version information and exit
1323 -q, --quiet, --silent do not print \`checking ...' messages
1324 --cache-file=FILE cache test results in FILE [disabled]
1325 -C, --config-cache alias for \`--cache-file=config.cache'
1326 -n, --no-create do not create output files
1327 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1329 Installation directories:
1330 --prefix=PREFIX install architecture-independent files in PREFIX
1331 [$ac_default_prefix]
1332 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1335 By default, \`make install' will install all the files in
1336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338 for instance \`--prefix=\$HOME'.
1340 For better control, use the options below.
1342 Fine tuning of the installation directories:
1343 --bindir=DIR user executables [EPREFIX/bin]
1344 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354 --infodir=DIR info documentation [DATAROOTDIR/info]
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356 --mandir=DIR man documentation [DATAROOTDIR/man]
1357 --docdir=DIR documentation root [DATAROOTDIR/doc/cpplib]
1358 --htmldir=DIR html documentation [DOCDIR]
1359 --dvidir=DIR dvi documentation [DOCDIR]
1360 --pdfdir=DIR pdf documentation [DOCDIR]
1361 --psdir=DIR ps documentation [DOCDIR]
1367 --build=BUILD configure
for building on BUILD
[guessed
]
1368 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1369 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1373 if test -n "$ac_init_help"; then
1374 case $ac_init_help in
1375 short | recursive
) echo "Configuration of cpplib :";;
1380 --disable-option-checking ignore unrecognized
--enable/--with options
1381 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1382 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1383 --disable-largefile omit support
for large files
1384 --enable-werror-always enable -Werror despite compiler version
1385 --disable-nls do not use Native Language Support
1386 --disable-rpath do not hardcode runtime library paths
1387 --enable-maintainer-mode enable rules only needed by maintainers
1388 --enable-checking[=LIST
]
1389 enable expensive run-time checks. With LIST
, enable
1390 only specific categories of checks. Categories are
:
1391 yes,no
,all
,none
,release. Flags are
: misc
,valgrind or
1393 --enable-canonical-system-headers
1394 enable or disable system headers canonicalization
1395 --enable-host-shared build
host code as shared libraries
1396 --enable-host-pie build
host code as PIE
1397 --enable-cet enable Intel CET
in host libraries
[default
=auto
]
1398 --enable-valgrind-annotations
1399 enable valgrind runtime interaction
1402 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1403 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1404 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1405 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1406 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1407 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1408 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1409 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1410 --with-libintl-type=TYPE
type of library to search
for (auto
/static
/shared
)
1412 Some influential environment variables
:
1413 CC C compiler
command
1414 CFLAGS C compiler flags
1415 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1416 nonstandard directory
<lib dir
>
1417 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1418 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1419 you have headers
in a nonstandard directory
<include dir
>
1420 CXX C
++ compiler
command
1421 CXXFLAGS C
++ compiler flags
1424 Use these variables to override the choices made by
`configure' or to help
1425 it to find libraries and programs with nonstandard names/locations.
1427 Report bugs to <gcc-bugs@gcc.gnu.org>.
1432 if test "$ac_init_help" = "recursive"; then
1433 # If there are subdirs, report their specific --help.
1434 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1435 test -d "$ac_dir" ||
1436 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451 ac_abs_top_builddir=$ac_pwd
1452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir=$ac_top_build_prefix
1457 .) # We are building in place.
1459 ac_top_srcdir=$ac_top_builddir_sub
1460 ac_abs_top_srcdir=$ac_pwd ;;
1461 [\\/]* | ?:[\\/]* ) # Absolute name.
1462 ac_srcdir=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir=$srcdir
1464 ac_abs_top_srcdir=$srcdir ;;
1466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" || { ac_status=$?; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483 cd "$ac_pwd" || { ac_status=$?; break; }
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1491 generated by GNU Autoconf 2.69
1493 Copyright (C) 2012 Free Software Foundation, Inc.
1494 This configure script is free software; the Free Software Foundation
1495 gives unlimited permission to copy, distribute and modify it.
1500 ## ------------------------ ##
1501 ## Autoconf initialization. ##
1502 ## ------------------------ ##
1504 # ac_fn_c_try_compile LINENO
1505 # --------------------------
1506 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1507 ac_fn_c_try_compile ()
1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1510 rm -f conftest.$ac_objext
1511 if { { ac_try="$ac_compile"
1513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1514 *) ac_try_echo
=$ac_try;;
1516 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_compile") 2>conftest.err
1520 if test -s conftest.err
; then
1521 grep -v '^ *+' conftest.err
>conftest.er1
1522 cat conftest.er1
>&5
1523 mv -f conftest.er1 conftest.err
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } && {
1527 test -z "$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1529 } && test -s conftest.
$ac_objext; then :
1532 $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.
$ac_ext >&5
1537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1538 as_fn_set_status
$ac_retval
1540 } # ac_fn_c_try_compile
1542 # ac_fn_cxx_try_compile LINENO
1543 # ----------------------------
1544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1545 ac_fn_cxx_try_compile
()
1547 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1548 rm -f conftest.
$ac_objext
1549 if { { ac_try
="$ac_compile"
1551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1552 *) ac_try_echo=$ac_try;;
1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_compile") 2>conftest.err
1558 if test -s conftest.err; then
1559 grep -v '^ *+' conftest.err >conftest.er1
1560 cat conftest.er1 >&5
1561 mv -f conftest.er1 conftest.err
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } && {
1565 test -z "$ac_cxx_werror_flag" ||
1566 test ! -s conftest.err
1567 } && test -s conftest.$ac_objext; then :
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1576 as_fn_set_status $ac_retval
1578 } # ac_fn_cxx_try_compile
1580 # ac_fn_c_try_cpp LINENO
1581 # ----------------------
1582 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586 if { { ac_try="$ac_cpp conftest.$ac_ext"
1588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1589 *) ac_try_echo
=$ac_try;;
1591 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1592 $as_echo "$ac_try_echo"; } >&5
1593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1595 if test -s conftest.err
; then
1596 grep -v '^ *+' conftest.err
>conftest.er1
1597 cat conftest.er1
>&5
1598 mv -f conftest.er1 conftest.err
1600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1601 test $ac_status = 0; } > conftest.i
&& {
1602 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1603 test ! -s conftest.err
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.
$ac_ext >&5
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613 as_fn_set_status
$ac_retval
1617 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1618 # -------------------------------------------------------
1619 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1620 # the include files in INCLUDES and setting the cache variable VAR
1622 ac_fn_c_check_header_mongrel
()
1624 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1625 if eval \
${$3+:} false
; then :
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1627 $as_echo_n "checking for $2... " >&6; }
1628 if eval \
${$3+:} false
; then :
1629 $as_echo_n "(cached) " >&6
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1633 $as_echo "$ac_res" >&6; }
1635 # Is the header compilable?
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1637 $as_echo_n "checking $2 usability... " >&6; }
1638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1639 /* end confdefs.h. */
1643 if ac_fn_c_try_compile
"$LINENO"; then :
1644 ac_header_compiler
=yes
1646 ac_header_compiler
=no
1648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1650 $as_echo "$ac_header_compiler" >&6; }
1652 # Is the header present?
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1654 $as_echo_n "checking $2 presence... " >&6; }
1655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1659 if ac_fn_c_try_cpp
"$LINENO"; then :
1660 ac_header_preproc
=yes
1662 ac_header_preproc
=no
1664 rm -f conftest.err conftest.i conftest.
$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1666 $as_echo "$ac_header_preproc" >&6; }
1668 # So? What about this header?
1669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1672 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1674 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1678 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1680 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1682 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1684 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1686 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1687 ( $as_echo "## ----------------------------------- ##
1688 ## Report this to gcc-bugs@gcc.gnu.org ##
1689 ## ----------------------------------- ##"
1690 ) |
sed "s/^/$as_me: WARNING: /" >&2
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1694 $as_echo_n "checking for $2... " >&6; }
1695 if eval \
${$3+:} false
; then :
1696 $as_echo_n "(cached) " >&6
1698 eval "$3=\$ac_header_compiler"
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1702 $as_echo "$ac_res" >&6; }
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 } # ac_fn_c_check_header_mongrel
1708 # ac_fn_c_try_run LINENO
1709 # ----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1711 # that executables *can* be run.
1714 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1715 if { { ac_try
="$ac_link"
1717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_link") 2>&5
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1726 { { case "(($ac_try" in
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_try") 2>&5
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; }; }; then :
1738 $as_echo "$as_me: program exited with status $ac_status" >&5
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.
$ac_ext >&5
1742 ac_retval
=$ac_status
1744 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 as_fn_set_status
$ac_retval
1750 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1751 # -------------------------------------------------------
1752 # Tests whether HEADER exists and can be compiled using the include files in
1753 # INCLUDES, setting the cache variable VAR accordingly.
1754 ac_fn_c_check_header_compile
()
1756 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1758 $as_echo_n "checking for $2... " >&6; }
1759 if eval \
${$3+:} false
; then :
1760 $as_echo_n "(cached) " >&6
1762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1767 if ac_fn_c_try_compile
"$LINENO"; then :
1772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776 $as_echo "$ac_res" >&6; }
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 } # ac_fn_c_check_header_compile
1781 # ac_fn_c_try_link LINENO
1782 # -----------------------
1783 # Try to link conftest.$ac_ext, and return whether this succeeded.
1786 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1787 rm -f conftest.
$ac_objext conftest
$ac_exeext
1788 if { { ac_try
="$ac_link"
1790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_link") 2>conftest.err
1797 if test -s conftest.err; then
1798 grep -v '^ *+' conftest.err >conftest.er1
1799 cat conftest.er1 >&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } && {
1804 test -z "$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1806 } && test -s conftest$ac_exeext && {
1807 test "$cross_compiling" = yes ||
1808 test -x conftest$ac_exeext
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.$ac_ext >&5
1817 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1818 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1819 # interfere with the next link command; also delete a directory that is
1820 # left behind by Apple's compiler. We do this before executing the actions.
1821 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 as_fn_set_status $ac_retval
1825 } # ac_fn_c_try_link
1827 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1828 # -------------------------------------------
1829 # Tests whether TYPE exists after having included INCLUDES, setting cache
1830 # variable VAR accordingly.
1831 ac_fn_c_check_type ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; }
1836 if eval \${$3+:} false; then :
1837 $as_echo_n "(cached) " >&6
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1852 if ac_fn_c_try_compile "$LINENO"; then :
1853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1865 if ac_fn_c_try_compile "$LINENO"; then :
1870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 } # ac_fn_c_check_type
1881 # ac_fn_c_find_uintX_t LINENO BITS VAR
1882 # ------------------------------------
1883 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1885 ac_fn_c_find_uintX_t ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1889 $as_echo_n "checking for uint$2_t... " >&6; }
1890 if eval \${$3+:} false; then :
1891 $as_echo_n "(cached) " >&6
1894 # Order is important - never check a type that is potentially smaller
1895 # than half of the expected target width.
1896 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1897 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1900 $ac_includes_default
1904 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1906 return test_array [0];
1912 if ac_fn_c_try_compile "$LINENO"; then :
1917 eval "$3=\$ac_type" ;;
1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 if eval test \"x\$"$3"\" = x"no"; then :
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930 $as_echo "$ac_res" >&6; }
1931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933 } # ac_fn_c_find_uintX_t
1935 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1936 # --------------------------------------------
1937 # Tries to find the compile-time value of EXPR in a program that includes
1938 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1940 ac_fn_c_compute_int ()
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943 if test "$cross_compiling" = yes; then
1944 # Depending upon the size, compute the lo and hi bounds.
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1951 static int test_array [1 - 2 * !(($2) >= 0)];
1953 return test_array [0];
1959 if ac_fn_c_try_compile "$LINENO"; then :
1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963 /* end confdefs.h. */
1968 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1970 return test_array [0];
1976 if ac_fn_c_try_compile "$LINENO"; then :
1977 ac_hi=$ac_mid; break
1979 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1980 if test $ac_lo -le $ac_mid; then
1984 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
1995 static int test_array [1 - 2 * !(($2) < 0)];
1997 return test_array [0];
2003 if ac_fn_c_try_compile "$LINENO"; then :
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2012 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2014 return test_array [0];
2020 if ac_fn_c_try_compile "$LINENO"; then :
2021 ac_lo=$ac_mid; break
2023 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2024 if test $ac_mid -le $ac_hi; then
2028 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2038 # Binary search between lo and hi bounds.
2039 while test "x$ac_lo" != "x$ac_hi"; do
2040 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2047 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2049 return test_array [0];
2055 if ac_fn_c_try_compile "$LINENO"; then :
2058 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2063 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2070 static long int longval () { return $2; }
2071 static unsigned long int ulongval () { return $2; }
2078 FILE *f = fopen ("conftest.val", "w");
2083 long int i = longval ();
2086 fprintf (f, "%ld", i);
2090 unsigned long int i = ulongval ();
2093 fprintf (f, "%lu", i);
2095 /* Do not output a trailing newline, as this causes \r\n confusion
2096 on some platforms. */
2097 return ferror (f) || fclose (f) != 0;
2103 if ac_fn_c_try_run "$LINENO"; then :
2104 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2109 conftest.$ac_objext conftest.beam conftest.$ac_ext
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114 as_fn_set_status $ac_retval
2116 } # ac_fn_c_compute_int
2118 # ac_fn_c_check_func LINENO FUNC VAR
2119 # ----------------------------------
2120 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2121 ac_fn_c_check_func ()
2123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2125 $as_echo_n "checking for $2... " >&6; }
2126 if eval \${$3+:} false; then :
2127 $as_echo_n "(cached) " >&6
2129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2130 /* end confdefs.h. */
2131 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2133 #define $2 innocuous_$2
2135 /* System header to define __stub macros and hopefully few prototypes,
2136 which can conflict with char $2 (); below.
2137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2138 <limits.h> exists even on freestanding compilers. */
2141 # include <limits.h>
2143 # include <assert.h>
2148 /* Override any GCC internal prototype to avoid an error.
2149 Use char because int might match the return type of a GCC
2150 builtin and then its argument prototype would still apply. */
2155 /* The GNU C library defines this for functions which it implements
2156 to always fail with ENOSYS. Some functions are actually named
2157 something starting with __ and the normal name is an alias. */
2158 #if defined __stub_$2 || defined __stub___$2
2170 if ac_fn_c_try_link "$LINENO"; then :
2175 rm -f core conftest.err conftest.$ac_objext \
2176 conftest$ac_exeext conftest.$ac_ext
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2180 $as_echo "$ac_res" >&6; }
2181 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2183 } # ac_fn_c_check_func
2185 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2186 # ---------------------------------------------
2187 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2189 ac_fn_c_check_decl ()
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2193 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2195 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2196 if eval \${$3+:} false; then :
2197 $as_echo_n "(cached) " >&6
2199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2205 #ifndef $as_decl_name
2207 (void) $as_decl_use;
2209 (void) $as_decl_name;
2217 if ac_fn_c_try_compile "$LINENO"; then :
2222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226 $as_echo "$ac_res" >&6; }
2227 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2229 } # ac_fn_c_check_decl
2231 # ac_fn_cxx_try_link LINENO
2232 # -------------------------
2233 # Try to link conftest.$ac_ext, and return whether this succeeded.
2234 ac_fn_cxx_try_link ()
2236 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2237 rm -f conftest.$ac_objext conftest$ac_exeext
2238 if { { ac_try="$ac_link"
2240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2241 *) ac_try_echo
=$ac_try;;
2243 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2244 $as_echo "$ac_try_echo"; } >&5
2245 (eval "$ac_link") 2>conftest.err
2247 if test -s conftest.err
; then
2248 grep -v '^ *+' conftest.err
>conftest.er1
2249 cat conftest.er1
>&5
2250 mv -f conftest.er1 conftest.err
2252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2253 test $ac_status = 0; } && {
2254 test -z "$ac_cxx_werror_flag" ||
2255 test ! -s conftest.err
2256 } && test -s conftest
$ac_exeext && {
2257 test "$cross_compiling" = yes ||
2258 test -x conftest
$ac_exeext
2262 $as_echo "$as_me: failed program was:" >&5
2263 sed 's/^/| /' conftest.
$ac_ext >&5
2267 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2268 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2269 # interfere with the next link command; also delete a directory that is
2270 # left behind by Apple's compiler. We do this before executing the actions.
2271 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2272 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2273 as_fn_set_status
$ac_retval
2275 } # ac_fn_cxx_try_link
2277 # ac_fn_cxx_try_run LINENO
2278 # ------------------------
2279 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2280 # that executables *can* be run.
2281 ac_fn_cxx_try_run
()
2283 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2284 if { { ac_try
="$ac_link"
2286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2287 *) ac_try_echo=$ac_try;;
2289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2290 $as_echo "$ac_try_echo"; } >&5
2291 (eval "$ac_link") 2>&5
2293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2294 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2295 { { case "(($ac_try" in
2296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2297 *) ac_try_echo
=$ac_try;;
2299 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300 $as_echo "$ac_try_echo"; } >&5
2301 (eval "$ac_try") 2>&5
2303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2304 test $ac_status = 0; }; }; then :
2307 $as_echo "$as_me: program exited with status $ac_status" >&5
2308 $as_echo "$as_me: failed program was:" >&5
2309 sed 's/^/| /' conftest.
$ac_ext >&5
2311 ac_retval
=$ac_status
2313 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2315 as_fn_set_status
$ac_retval
2317 } # ac_fn_cxx_try_run
2318 cat >config.log
<<_ACEOF
2319 This file contains any messages produced by compilers while
2320 running configure, to aid debugging if configure makes a mistake.
2322 It was created by cpplib $as_me , which was
2323 generated by GNU Autoconf 2.69. Invocation command line was
2335 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2336 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2337 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2338 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2339 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2341 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2342 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2344 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2345 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2346 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2347 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2348 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2349 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2350 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 $as_echo "PATH: $as_dir"
2375 # Keep a trace of the command line.
2376 # Strip out --no-create and --no-recursion so they do not pile up.
2377 # Strip out --silent because we don't want to record it for future runs.
2378 # Also quote any args containing shell meta-characters.
2379 # Make two passes to allow for proper duplicate-argument suppression.
2383 ac_must_keep_next
=false
2389 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2390 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2391 |
-silent |
--silent |
--silen |
--sile |
--sil)
2394 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2397 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2399 as_fn_append ac_configure_args1
" '$ac_arg'"
2400 if test $ac_must_keep_next = true
; then
2401 ac_must_keep_next
=false
# Got value, back to normal.
2404 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2405 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2406 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2407 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2408 case "$ac_configure_args0 " in
2409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2412 -* ) ac_must_keep_next
=true
;;
2415 as_fn_append ac_configure_args
" '$ac_arg'"
2420 { ac_configure_args0
=; unset ac_configure_args0
;}
2421 { ac_configure_args1
=; unset ac_configure_args1
;}
2423 # When interrupted or exit'd, cleanup temporary files, and complete
2424 # config.log. We remove comments because anyway the quotes in there
2425 # would cause problems or look ugly.
2426 # WARNING: Use '\'' to represent an apostrophe within the trap.
2427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2428 trap 'exit_status=$?
2429 # Save into config.log some information that might help in debugging.
2433 $as_echo "## ---------------- ##
2434 ## Cache variables. ##
2435 ## ---------------- ##"
2437 # The following way of writing the cache mishandles newlines in values,
2439 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2440 eval ac_val=\$$ac_var
2444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2448 _ | IFS | as_nl) ;; #(
2449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2450 *) { eval $ac_var=; unset $ac_var;} ;;
2455 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2456 *${as_nl}ac_space=\ *)
2458 "s/'\''/'\''\\\\'\'''\''/g;
2459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2469 $as_echo "## ----------------- ##
2470 ## Output variables. ##
2471 ## ----------------- ##"
2473 for ac_var in $ac_subst_vars
2475 eval ac_val=\$$ac_var
2477 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2479 $as_echo "$ac_var='\''$ac_val'\''"
2483 if test -n "$ac_subst_files"; then
2484 $as_echo "## ------------------- ##
2485 ## File substitutions. ##
2486 ## ------------------- ##"
2488 for ac_var
in $ac_subst_files
2490 eval ac_val
=\$
$ac_var
2492 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2494 $as_echo "$ac_var='\''$ac_val'\''"
2499 if test -s confdefs.h; then
2500 $as_echo "## ----------- ##
2507 test "$ac_signal" != 0 &&
2508 $as_echo "$as_me: caught signal $ac_signal"
2509 $as_echo "$as_me: exit $exit_status"
2511 rm -f core *.core core.conftest.* &&
2512 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2515 for ac_signal
in 1 2 13 15; do
2516 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2521 rm -f -r conftest
* confdefs.h
2523 $as_echo "/* confdefs.h */" > confdefs.h
2525 # Predefined preprocessor variables.
2527 cat >>confdefs.h
<<_ACEOF
2528 #define PACKAGE_NAME "$PACKAGE_NAME"
2531 cat >>confdefs.h
<<_ACEOF
2532 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2535 cat >>confdefs.h
<<_ACEOF
2536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2539 cat >>confdefs.h
<<_ACEOF
2540 #define PACKAGE_STRING "$PACKAGE_STRING"
2543 cat >>confdefs.h
<<_ACEOF
2544 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2547 cat >>confdefs.h
<<_ACEOF
2548 #define PACKAGE_URL "$PACKAGE_URL"
2552 # Let the site file select an alternate cache file if it wants to.
2553 # Prefer an explicitly selected file to automatically selected ones.
2556 if test -n "$CONFIG_SITE"; then
2557 # We do not want a PATH search for config.site.
2558 case $CONFIG_SITE in #((
2559 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2560 */*) ac_site_file1
=$CONFIG_SITE;;
2561 *) ac_site_file1
=.
/$CONFIG_SITE;;
2563 elif test "x$prefix" != xNONE
; then
2564 ac_site_file1
=$prefix/share
/config.site
2565 ac_site_file2
=$prefix/etc
/config.site
2567 ac_site_file1
=$ac_default_prefix/share
/config.site
2568 ac_site_file2
=$ac_default_prefix/etc
/config.site
2570 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2572 test "x$ac_site_file" = xNONE
&& continue
2573 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2575 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2576 sed 's/^/| /' "$ac_site_file" >&5
2578 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 as_fn_error $?
"failed to load site script $ac_site_file
2581 See \`config.log' for more details" "$LINENO" 5; }
2585 if test -r "$cache_file"; then
2586 # Some versions of bash will fail to source /dev/null (special files
2587 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2588 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2590 $as_echo "$as_me: loading cache $cache_file" >&6;}
2592 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2593 *) .
"./$cache_file";;
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2598 $as_echo "$as_me: creating cache $cache_file" >&6;}
2602 gt_needs
="$gt_needs "
2603 # Check that the precious variables saved in the cache have kept the same
2605 ac_cache_corrupted
=false
2606 for ac_var
in $ac_precious_vars; do
2607 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2608 eval ac_new_set
=\
$ac_env_${ac_var}_set
2609 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2610 eval ac_new_val
=\
$ac_env_${ac_var}_value
2611 case $ac_old_set,$ac_new_set in
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2614 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2615 ac_cache_corrupted
=: ;;
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2618 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2619 ac_cache_corrupted
=: ;;
2622 if test "x$ac_old_val" != "x$ac_new_val"; then
2623 # differences in whitespace do not lead to failure.
2624 ac_old_val_w
=`echo x $ac_old_val`
2625 ac_new_val_w
=`echo x $ac_new_val`
2626 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2628 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2629 ac_cache_corrupted
=:
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2632 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2633 eval $ac_var=\
$ac_old_val
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2636 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2638 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2641 # Pass precious variables to config.status.
2642 if test "$ac_new_set" = set; then
2644 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2645 *) ac_arg
=$ac_var=$ac_new_val ;;
2647 case " $ac_configure_args " in
2648 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2649 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2653 if $ac_cache_corrupted; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2657 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2658 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2660 ## -------------------- ##
2661 ## Main body of script. ##
2662 ## -------------------- ##
2665 ac_cpp
='$CPP $CPPFLAGS'
2666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2677 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2678 if test -f "$ac_dir/install-sh"; then
2680 ac_install_sh
="$ac_aux_dir/install-sh -c"
2682 elif test -f "$ac_dir/install.sh"; then
2684 ac_install_sh
="$ac_aux_dir/install.sh -c"
2686 elif test -f "$ac_dir/shtool"; then
2688 ac_install_sh
="$ac_aux_dir/shtool install -c"
2692 if test -z "$ac_aux_dir"; then
2693 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2696 # These three variables are undocumented and unsupported,
2697 # and are intended to be withdrawn in a future Autoconf release.
2698 # They can cause serious problems if a builder's source tree is in a directory
2699 # whose full name contains unusual characters.
2700 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2701 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2702 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2705 # Make sure we can run config.sub.
2706 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2707 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2710 $as_echo_n "checking build system type... " >&6; }
2711 if ${ac_cv_build+:} false
; then :
2712 $as_echo_n "(cached) " >&6
2714 ac_build_alias
=$build_alias
2715 test "x$ac_build_alias" = x
&&
2716 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2717 test "x$ac_build_alias" = x
&&
2718 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2719 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2720 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2724 $as_echo "$ac_cv_build" >&6; }
2725 case $ac_cv_build in
2727 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2730 ac_save_IFS
=$IFS; IFS
='-'
2736 # Remember, the first character of IFS is used to create $*,
2737 # except with old shells:
2740 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2744 $as_echo_n "checking host system type... " >&6; }
2745 if ${ac_cv_host+:} false
; then :
2746 $as_echo_n "(cached) " >&6
2748 if test "x$host_alias" = x
; then
2749 ac_cv_host
=$ac_cv_build
2751 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2752 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2757 $as_echo "$ac_cv_host" >&6; }
2760 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2763 ac_save_IFS
=$IFS; IFS
='-'
2769 # Remember, the first character of IFS is used to create $*,
2770 # except with old shells:
2773 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2777 $as_echo_n "checking target system type... " >&6; }
2778 if ${ac_cv_target+:} false
; then :
2779 $as_echo_n "(cached) " >&6
2781 if test "x$target_alias" = x
; then
2782 ac_cv_target
=$ac_cv_host
2784 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2785 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2790 $as_echo "$ac_cv_target" >&6; }
2791 case $ac_cv_target in
2793 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2795 target
=$ac_cv_target
2796 ac_save_IFS
=$IFS; IFS
='-'
2802 # Remember, the first character of IFS is used to create $*,
2803 # except with old shells:
2806 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2809 # The aliases save the names the user supplied, while $host etc.
2810 # will get canonicalized.
2811 test -n "$target_alias" &&
2812 test "$program_prefix$program_suffix$program_transform_name" = \
2814 program_prefix
=${target_alias}-
2817 # Checks for programs.
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2819 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2821 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2822 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2823 $as_echo_n "(cached) " >&6
2825 cat >conftest.
make <<\_ACEOF
2828 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2830 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2831 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2833 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2835 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2839 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2841 $as_echo "yes" >&6; }
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2845 $as_echo "no" >&6; }
2846 SET_MAKE
="MAKE=${MAKE-make}"
2849 # Find a good install program. We prefer a C program (faster),
2850 # so one script is as good as another. But avoid the broken or
2851 # incompatible versions:
2852 # SysV /etc/install, /usr/sbin/install
2853 # SunOS /usr/etc/install
2854 # IRIX /sbin/install
2856 # AmigaOS /C/install, which installs bootblocks on floppy discs
2857 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2858 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2859 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2860 # OS/2's system install, which has a completely different semantic
2861 # ./install, which can be erroneously created by make from ./install.sh.
2862 # Reject install programs that cannot install multiple files.
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2864 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2865 if test -z "$INSTALL"; then
2866 if ${ac_cv_path_install+:} false
; then :
2867 $as_echo_n "(cached) " >&6
2869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2873 test -z "$as_dir" && as_dir
=.
2874 # Account for people who put trailing slashes in PATH elements.
2875 case $as_dir/ in #((
2876 .
/ | .
// |
/[cC
]/* | \
2877 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2878 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2881 # OSF1 and SCO ODT 3.0 have their own names for install.
2882 # Don't use installbsd from OSF since it installs stuff as root
2884 for ac_prog
in ginstall scoinst
install; do
2885 for ac_exec_ext
in '' $ac_executable_extensions; do
2886 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2887 if test $ac_prog = install &&
2888 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2889 # AIX install. It has an incompatible calling convention.
2891 elif test $ac_prog = install &&
2892 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2893 # program-specific install script used by HP pwplus--don't use.
2896 rm -rf conftest.one conftest.two conftest.dir
2897 echo one
> conftest.one
2898 echo two
> conftest.two
2900 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2901 test -s conftest.one
&& test -s conftest.two
&&
2902 test -s conftest.dir
/conftest.one
&&
2903 test -s conftest.dir
/conftest.two
2905 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2918 rm -rf conftest.one conftest.two conftest.dir
2921 if test "${ac_cv_path_install+set}" = set; then
2922 INSTALL
=$ac_cv_path_install
2924 # As a last resort, use the slow shell script. Don't cache a
2925 # value for INSTALL within a source directory, because that will
2926 # break other packages using the cache if that directory is
2927 # removed, or if the value is a relative name.
2928 INSTALL
=$ac_install_sh
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2932 $as_echo "$INSTALL" >&6; }
2934 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2935 # It thinks the first close brace ends the variable substitution.
2936 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2938 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2940 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2943 ac_cpp
='$CPP $CPPFLAGS'
2944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2947 if test -n "$ac_tool_prefix"; then
2948 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2949 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2951 $as_echo_n "checking for $ac_word... " >&6; }
2952 if ${ac_cv_prog_CC+:} false
; then :
2953 $as_echo_n "(cached) " >&6
2955 if test -n "$CC"; then
2956 ac_cv_prog_CC
="$CC" # Let the user override the test.
2958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir
=.
2963 for ac_exec_ext
in '' $ac_executable_extensions; do
2964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2965 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 if test -n "$CC"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2978 $as_echo "$CC" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2986 if test -z "$ac_cv_prog_CC"; then
2988 # Extract the first word of "gcc", so it can be a program name with args.
2989 set dummy gcc
; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$ac_ct_CC"; then
2996 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir
=.
3003 for ac_exec_ext
in '' $ac_executable_extensions; do
3004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3005 ac_cv_prog_ac_ct_CC
="gcc"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3016 if test -n "$ac_ct_CC"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3018 $as_echo "$ac_ct_CC" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3024 if test "x$ac_ct_CC" = x
; then
3027 case $cross_compiling:$ac_tool_warned in
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3031 ac_tool_warned
=yes ;;
3039 if test -z "$CC"; then
3040 if test -n "$ac_tool_prefix"; then
3041 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3042 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044 $as_echo_n "checking for $ac_word... " >&6; }
3045 if ${ac_cv_prog_CC+:} false
; then :
3046 $as_echo_n "(cached) " >&6
3048 if test -n "$CC"; then
3049 ac_cv_prog_CC
="$CC" # Let the user override the test.
3051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3055 test -z "$as_dir" && as_dir
=.
3056 for ac_exec_ext
in '' $ac_executable_extensions; do
3057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3058 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 if test -n "$CC"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3071 $as_echo "$CC" >&6; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3080 if test -z "$CC"; then
3081 # Extract the first word of "cc", so it can be a program name with args.
3082 set dummy cc
; ac_word
=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_CC+:} false
; then :
3086 $as_echo_n "(cached) " >&6
3088 if test -n "$CC"; then
3089 ac_cv_prog_CC
="$CC" # Let the user override the test.
3092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir
=.
3097 for ac_exec_ext
in '' $ac_executable_extensions; do
3098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3099 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3100 ac_prog_rejected
=yes
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 if test $ac_prog_rejected = yes; then
3112 # We found a bogon in the path, so make sure we never use it.
3113 set dummy
$ac_cv_prog_CC
3115 if test $# != 0; then
3116 # We chose a different compiler from the bogus one.
3117 # However, it has the same basename, so the bogon will be chosen
3118 # first if we set CC to just the basename; use the full file name.
3120 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3126 if test -n "$CC"; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3128 $as_echo "$CC" >&6; }
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131 $as_echo "no" >&6; }
3136 if test -z "$CC"; then
3137 if test -n "$ac_tool_prefix"; then
3138 for ac_prog
in cl.exe
3140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3141 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143 $as_echo_n "checking for $ac_word... " >&6; }
3144 if ${ac_cv_prog_CC+:} false
; then :
3145 $as_echo_n "(cached) " >&6
3147 if test -n "$CC"; then
3148 ac_cv_prog_CC
="$CC" # Let the user override the test.
3150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir
=.
3155 for ac_exec_ext
in '' $ac_executable_extensions; do
3156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3157 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 if test -n "$CC"; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3170 $as_echo "$CC" >&6; }
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173 $as_echo "no" >&6; }
3177 test -n "$CC" && break
3180 if test -z "$CC"; then
3182 for ac_prog
in cl.exe
3184 # Extract the first word of "$ac_prog", so it can be a program name with args.
3185 set dummy
$ac_prog; ac_word
=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3189 $as_echo_n "(cached) " >&6
3191 if test -n "$ac_ct_CC"; then
3192 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir
=.
3199 for ac_exec_ext
in '' $ac_executable_extensions; do
3200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3201 ac_cv_prog_ac_ct_CC
="$ac_prog"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3212 if test -n "$ac_ct_CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3214 $as_echo "$ac_ct_CC" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3221 test -n "$ac_ct_CC" && break
3224 if test "x$ac_ct_CC" = x
; then
3227 case $cross_compiling:$ac_tool_warned in
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3231 ac_tool_warned
=yes ;;
3240 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3242 as_fn_error $?
"no acceptable C compiler found in \$PATH
3243 See \`config.log' for more details" "$LINENO" 5; }
3245 # Provide some information about the compiler.
3246 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3249 for ac_option
in --version -v -V -qversion; do
3250 { { ac_try
="$ac_compiler $ac_option >&5"
3252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3253 *) ac_try_echo=$ac_try;;
3255 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3256 $as_echo "$ac_try_echo"; } >&5
3257 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3259 if test -s conftest.err; then
3261 ... rest of stderr output deleted ...
3262 10q' conftest.err >conftest.er1
3263 cat conftest.er1 >&5
3265 rm -f conftest.er1 conftest.err
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 /* end confdefs.h. */
3281 ac_clean_files_save=$ac_clean_files
3282 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3283 # Try to create an executable without -o first, disregard a.out.
3284 # It will help us diagnose broken compilers, and finding out an intuition
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3287 $as_echo_n "checking whether the C compiler works... " >&6; }
3288 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3290 # The possible output files:
3291 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3294 for ac_file in $ac_files
3297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3298 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3303 if { { ac_try="$ac_link_default"
3305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3306 *) ac_try_echo
=$ac_try;;
3308 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310 (eval "$ac_link_default") 2>&5
3312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3313 test $ac_status = 0; }; then :
3314 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3315 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3316 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3317 # so that the user can short-circuit this test for compilers unknown to
3319 for ac_file
in $ac_files ''
3321 test -f "$ac_file" ||
continue
3323 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3326 # We found the default executable, but exeext='' is most
3330 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3332 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3334 # We set ac_cv_exeext here because the later test for it is not
3335 # safe: cross compilers may not add the suffix if given an `-o'
3336 # argument, so we may need to know it at that point already.
3337 # Even if this section looks crufty: it has the advantage of
3344 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3349 if test -z "$ac_file"; then :
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3352 $as_echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.
$ac_ext >&5
3355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error
77 "C compiler cannot create executables
3358 See \`config.log' for more details" "$LINENO" 5; }
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3361 $as_echo "yes" >&6; }
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3364 $as_echo_n "checking for C compiler default output file name... " >&6; }
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3366 $as_echo "$ac_file" >&6; }
3367 ac_exeext
=$ac_cv_exeext
3369 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3370 ac_clean_files
=$ac_clean_files_save
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3372 $as_echo_n "checking for suffix of executables... " >&6; }
3373 if { { ac_try
="$ac_link"
3375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3379 $as_echo "$ac_try_echo"; } >&5
3380 (eval "$ac_link") 2>&5
3382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383 test $ac_status = 0; }; then :
3384 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3385 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3386 # work properly (i.e., refer to `conftest.exe'), while it won't with
3388 for ac_file
in conftest.exe conftest conftest.
*; do
3389 test -f "$ac_file" ||
continue
3391 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3392 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3401 See \`config.log' for more details" "$LINENO" 5; }
3403 rm -f conftest conftest
$ac_cv_exeext
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3405 $as_echo "$ac_cv_exeext" >&6; }
3407 rm -f conftest.
$ac_ext
3408 EXEEXT
=$ac_cv_exeext
3410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3416 FILE *f = fopen ("conftest.out", "w");
3417 return ferror (f) || fclose (f) != 0;
3423 ac_clean_files
="$ac_clean_files conftest.out"
3424 # Check that the compiler produces executables we can run. If not, either
3425 # the compiler is broken, or we cross compile.
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3427 $as_echo_n "checking whether we are cross compiling... " >&6; }
3428 if test "$cross_compiling" != yes; then
3429 { { ac_try
="$ac_link"
3431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436 (eval "$ac_link") 2>&5
3438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439 test $ac_status = 0; }
3440 if { ac_try='./conftest$ac_cv_exeext'
3441 { { case "(($ac_try" in
3442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3443 *) ac_try_echo
=$ac_try;;
3445 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3446 $as_echo "$ac_try_echo"; } >&5
3447 (eval "$ac_try") 2>&5
3449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3450 test $ac_status = 0; }; }; then
3453 if test "$cross_compiling" = maybe
; then
3456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458 as_fn_error $?
"cannot run C compiled programs.
3459 If you meant to cross compile, use \`--host'.
3460 See \`config.log' for more details" "$LINENO" 5; }
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3465 $as_echo "$cross_compiling" >&6; }
3467 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3468 ac_clean_files
=$ac_clean_files_save
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3470 $as_echo_n "checking for suffix of object files... " >&6; }
3471 if ${ac_cv_objext+:} false
; then :
3472 $as_echo_n "(cached) " >&6
3474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3475 /* end confdefs.h. */
3485 rm -f conftest.o conftest.obj
3486 if { { ac_try
="$ac_compile"
3488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3489 *) ac_try_echo=$ac_try;;
3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3492 $as_echo "$ac_try_echo"; } >&5
3493 (eval "$ac_compile") 2>&5
3495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3496 test $ac_status = 0; }; then :
3497 for ac_file in conftest.o conftest.obj conftest.*; do
3498 test -f "$ac_file" || continue;
3500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3506 $as_echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3512 See \
`config.log' for more details" "$LINENO" 5; }
3514 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3517 $as_echo "$ac_cv_objext" >&6; }
3518 OBJEXT=$ac_cv_objext
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3521 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3522 if ${ac_cv_c_compiler_gnu+:} false; then :
3523 $as_echo_n "(cached) " >&6
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3539 if ac_fn_c_try_compile "$LINENO"; then :
3544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3545 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3549 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3550 if test $ac_compiler_gnu = yes; then
3555 ac_test_CFLAGS=${CFLAGS+set}
3556 ac_save_CFLAGS=$CFLAGS
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3558 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3559 if ${ac_cv_prog_cc_g+:} false; then :
3560 $as_echo_n "(cached) " >&6
3562 ac_save_c_werror_flag=$ac_c_werror_flag
3563 ac_c_werror_flag=yes
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h. */
3577 if ac_fn_c_try_compile "$LINENO"; then :
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 if ac_fn_c_try_compile "$LINENO"; then :
3595 ac_c_werror_flag=$ac_save_c_werror_flag
3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3608 if ac_fn_c_try_compile "$LINENO"; then :
3611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616 ac_c_werror_flag=$ac_save_c_werror_flag
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3619 $as_echo "$ac_cv_prog_cc_g" >&6; }
3620 if test "$ac_test_CFLAGS" = set; then
3621 CFLAGS=$ac_save_CFLAGS
3622 elif test $ac_cv_prog_cc_g = yes; then
3623 if test "$GCC" = yes; then
3629 if test "$GCC" = yes; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3636 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3637 if ${ac_cv_prog_cc_c89+:} false; then :
3638 $as_echo_n "(cached) " >&6
3640 ac_cv_prog_cc_c89=no
3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3648 struct buf { int x; };
3649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3650 static char *e (p, i)
3656 static char *f (char * (*g) (char **, int), char **p, ...)
3661 s = g (p, va_arg (v,int));
3666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3667 function prototypes and stuff, but not '\xHH' hex character constants.
3668 These don't provoke an error unfortunately, instead are silently treated
3669 as 'x'. The following induces an error, until -std is added to get
3670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3671 array size at least. It's necessary to write '\x00'==0 to get something
3672 that's true only with -std. */
3673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3676 inside strings and character constants. */
3678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3680 int test (int i, double x);
3681 struct s1 {int (*f) (int a);};
3682 struct s2 {int (*f) (double a);};
3683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3697 CC="$ac_save_CC $ac_arg"
3698 if ac_fn_c_try_compile "$LINENO"; then :
3699 ac_cv_prog_cc_c89=$ac_arg
3701 rm -f core conftest.err conftest.$ac_objext
3702 test "x$ac_cv_prog_cc_c89" != "xno" && break
3704 rm -f conftest.$ac_ext
3709 case "x$ac_cv_prog_cc_c89" in
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3712 $as_echo "none needed" >&6; } ;;
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3715 $as_echo "unsupported" >&6; } ;;
3717 CC="$CC $ac_cv_prog_cc_c89"
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3719 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3721 if test "x$ac_cv_prog_cc_c89" != xno; then :
3726 ac_cpp='$CPP $CPPFLAGS'
3727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732 ac_cpp='$CXXCPP $CPPFLAGS'
3733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3736 if test -z "$CXX"; then
3737 if test -n "$CCC"; then
3740 if test -n "$ac_tool_prefix"; then
3741 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3744 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_CXX+:} false; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$CXX"; then
3751 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3760 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 if test -n "$CXX"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3773 $as_echo "$CXX" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$CXX" && break
3783 if test -z "$CXX"; then
3785 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3787 # Extract the first word of "$ac_prog", so it can be a program name with args.
3788 set dummy $ac_prog; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -n "$ac_ct_CXX"; then
3795 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_ac_ct_CXX="$ac_prog"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3815 if test -n "$ac_ct_CXX"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3817 $as_echo "$ac_ct_CXX" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3824 test -n "$ac_ct_CXX" && break
3827 if test "x$ac_ct_CXX" = x; then
3830 case $cross_compiling:$ac_tool_warned in
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3834 ac_tool_warned=yes ;;
3842 # Provide some information about the compiler.
3843 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3846 for ac_option in --version -v -V -qversion; do
3847 { { ac_try="$ac_compiler $ac_option >&5"
3849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3850 *) ac_try_echo
=$ac_try;;
3852 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3856 if test -s conftest.err
; then
3858 ... rest of stderr output deleted ...
3859 10q' conftest.err
>conftest.er1
3860 cat conftest.er1
>&5
3862 rm -f conftest.er1 conftest.err
3863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3864 test $ac_status = 0; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3868 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3869 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3870 $as_echo_n "(cached) " >&6
3872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3886 if ac_fn_cxx_try_compile
"$LINENO"; then :
3891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3892 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3896 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3897 if test $ac_compiler_gnu = yes; then
3902 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3903 ac_save_CXXFLAGS
=$CXXFLAGS
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3905 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3906 if ${ac_cv_prog_cxx_g+:} false
; then :
3907 $as_echo_n "(cached) " >&6
3909 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3910 ac_cxx_werror_flag
=yes
3913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3924 if ac_fn_cxx_try_compile
"$LINENO"; then :
3925 ac_cv_prog_cxx_g
=yes
3928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3939 if ac_fn_cxx_try_compile
"$LINENO"; then :
3942 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3955 if ac_fn_cxx_try_compile
"$LINENO"; then :
3956 ac_cv_prog_cxx_g
=yes
3958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3963 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3966 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3967 if test "$ac_test_CXXFLAGS" = set; then
3968 CXXFLAGS
=$ac_save_CXXFLAGS
3969 elif test $ac_cv_prog_cxx_g = yes; then
3970 if test "$GXX" = yes; then
3976 if test "$GXX" = yes; then
3983 ac_cpp
='$CPP $CPPFLAGS'
3984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3988 if test -n "$ac_tool_prefix"; then
3989 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3990 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992 $as_echo_n "checking for $ac_word... " >&6; }
3993 if ${ac_cv_prog_RANLIB+:} false
; then :
3994 $as_echo_n "(cached) " >&6
3996 if test -n "$RANLIB"; then
3997 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4003 test -z "$as_dir" && as_dir
=.
4004 for ac_exec_ext
in '' $ac_executable_extensions; do
4005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4006 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 RANLIB
=$ac_cv_prog_RANLIB
4017 if test -n "$RANLIB"; then
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4019 $as_echo "$RANLIB" >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4027 if test -z "$ac_cv_prog_RANLIB"; then
4028 ac_ct_RANLIB
=$RANLIB
4029 # Extract the first word of "ranlib", so it can be a program name with args.
4030 set dummy ranlib
; ac_word
=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4034 $as_echo_n "(cached) " >&6
4036 if test -n "$ac_ct_RANLIB"; then
4037 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir
=.
4044 for ac_exec_ext
in '' $ac_executable_extensions; do
4045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4046 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4057 if test -n "$ac_ct_RANLIB"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4059 $as_echo "$ac_ct_RANLIB" >&6; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4065 if test "x$ac_ct_RANLIB" = x
; then
4068 case $cross_compiling:$ac_tool_warned in
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4072 ac_tool_warned
=yes ;;
4074 RANLIB
=$ac_ct_RANLIB
4077 RANLIB
="$ac_cv_prog_RANLIB"
4080 if test -n "$ac_tool_prefix"; then
4081 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4082 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4084 $as_echo_n "checking for $ac_word... " >&6; }
4085 if ${ac_cv_prog_AR+:} false
; then :
4086 $as_echo_n "(cached) " >&6
4088 if test -n "$AR"; then
4089 ac_cv_prog_AR
="$AR" # Let the user override the test.
4091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4095 test -z "$as_dir" && as_dir
=.
4096 for ac_exec_ext
in '' $ac_executable_extensions; do
4097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4098 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 if test -n "$AR"; then
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4111 $as_echo "$AR" >&6; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4119 if test -z "$ac_cv_prog_AR"; then
4121 # Extract the first word of "ar", so it can be a program name with args.
4122 set dummy
ar; ac_word
=$2
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124 $as_echo_n "checking for $ac_word... " >&6; }
4125 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4126 $as_echo_n "(cached) " >&6
4128 if test -n "$ac_ct_AR"; then
4129 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir
=.
4136 for ac_exec_ext
in '' $ac_executable_extensions; do
4137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4138 ac_cv_prog_ac_ct_AR
="ar"
4139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4148 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4149 if test -n "$ac_ct_AR"; then
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4151 $as_echo "$ac_ct_AR" >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4157 if test "x$ac_ct_AR" = x
; then
4160 case $cross_compiling:$ac_tool_warned in
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4164 ac_tool_warned
=yes ;;
4175 ac_cpp
='$CPP $CPPFLAGS'
4176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4180 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4181 # On Suns, sometimes $CPP names a directory.
4182 if test -n "$CPP" && test -d "$CPP"; then
4185 if test -z "$CPP"; then
4186 if ${ac_cv_prog_CPP+:} false
; then :
4187 $as_echo_n "(cached) " >&6
4189 # Double quotes because CPP needs to be expanded
4190 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4193 for ac_c_preproc_warn_flag
in '' yes
4195 # Use a header file that comes with gcc, so configuring glibc
4196 # with a fresh cross-compiler works.
4197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4198 # <limits.h> exists even on freestanding compilers.
4199 # On the NeXT, cc -E runs the code through the compiler's parser,
4200 # not just through cpp. "Syntax error" is here to catch this case.
4201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4204 # include <limits.h>
4206 # include <assert.h>
4210 if ac_fn_c_try_cpp
"$LINENO"; then :
4213 # Broken: fails on valid input.
4216 rm -f conftest.err conftest.i conftest.
$ac_ext
4218 # OK, works on sane cases. Now check whether nonexistent headers
4219 # can be detected and how.
4220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4222 #include <ac_nonexistent.h>
4224 if ac_fn_c_try_cpp
"$LINENO"; then :
4225 # Broken: success on invalid input.
4228 # Passes both tests.
4232 rm -f conftest.err conftest.i conftest.
$ac_ext
4235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4236 rm -f conftest.i conftest.err conftest.
$ac_ext
4237 if $ac_preproc_ok; then :
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4250 $as_echo "$CPP" >&6; }
4252 for ac_c_preproc_warn_flag
in '' yes
4254 # Use a header file that comes with gcc, so configuring glibc
4255 # with a fresh cross-compiler works.
4256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 # <limits.h> exists even on freestanding compilers.
4258 # On the NeXT, cc -E runs the code through the compiler's parser,
4259 # not just through cpp. "Syntax error" is here to catch this case.
4260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4263 # include <limits.h>
4265 # include <assert.h>
4269 if ac_fn_c_try_cpp
"$LINENO"; then :
4272 # Broken: fails on valid input.
4275 rm -f conftest.err conftest.i conftest.
$ac_ext
4277 # OK, works on sane cases. Now check whether nonexistent headers
4278 # can be detected and how.
4279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4281 #include <ac_nonexistent.h>
4283 if ac_fn_c_try_cpp
"$LINENO"; then :
4284 # Broken: success on invalid input.
4287 # Passes both tests.
4291 rm -f conftest.err conftest.i conftest.
$ac_ext
4294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4295 rm -f conftest.i conftest.err conftest.
$ac_ext
4296 if $ac_preproc_ok; then :
4299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4301 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4302 See \`config.log' for more details" "$LINENO" 5; }
4306 ac_cpp
='$CPP $CPPFLAGS'
4307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4313 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4314 if ${ac_cv_path_GREP+:} false
; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -z "$GREP"; then
4318 ac_path_GREP_found
=false
4319 # Loop through the user's path and test for each of PROGNAME-LIST
4320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4321 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4324 test -z "$as_dir" && as_dir
=.
4325 for ac_prog
in grep ggrep
; do
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4328 as_fn_executable_p
"$ac_path_GREP" ||
continue
4329 # Check for GNU ac_path_GREP and select it if it is found.
4330 # Check for GNU $ac_path_GREP
4331 case `"$ac_path_GREP" --version 2>&1` in
4333 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4336 $as_echo_n 0123456789 >"conftest.in"
4339 cat "conftest.in" "conftest.in" >"conftest.tmp"
4340 mv "conftest.tmp" "conftest.in"
4341 cp "conftest.in" "conftest.nl"
4342 $as_echo 'GREP' >> "conftest.nl"
4343 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4344 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4345 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4346 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4347 # Best one so far, save it but keep looking for a better one
4348 ac_cv_path_GREP
="$ac_path_GREP"
4349 ac_path_GREP_max
=$ac_count
4351 # 10*(2^10) chars as input seems more than enough
4352 test $ac_count -gt 10 && break
4354 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4357 $ac_path_GREP_found && break 3
4362 if test -z "$ac_cv_path_GREP"; then
4363 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4366 ac_cv_path_GREP
=$GREP
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4371 $as_echo "$ac_cv_path_GREP" >&6; }
4372 GREP
="$ac_cv_path_GREP"
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4376 $as_echo_n "checking for egrep... " >&6; }
4377 if ${ac_cv_path_EGREP+:} false
; then :
4378 $as_echo_n "(cached) " >&6
4380 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4381 then ac_cv_path_EGREP
="$GREP -E"
4383 if test -z "$EGREP"; then
4384 ac_path_EGREP_found
=false
4385 # Loop through the user's path and test for each of PROGNAME-LIST
4386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4387 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4390 test -z "$as_dir" && as_dir
=.
4391 for ac_prog
in egrep; do
4392 for ac_exec_ext
in '' $ac_executable_extensions; do
4393 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4394 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4395 # Check for GNU ac_path_EGREP and select it if it is found.
4396 # Check for GNU $ac_path_EGREP
4397 case `"$ac_path_EGREP" --version 2>&1` in
4399 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4402 $as_echo_n 0123456789 >"conftest.in"
4405 cat "conftest.in" "conftest.in" >"conftest.tmp"
4406 mv "conftest.tmp" "conftest.in"
4407 cp "conftest.in" "conftest.nl"
4408 $as_echo 'EGREP' >> "conftest.nl"
4409 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4410 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4411 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4412 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4413 # Best one so far, save it but keep looking for a better one
4414 ac_cv_path_EGREP
="$ac_path_EGREP"
4415 ac_path_EGREP_max
=$ac_count
4417 # 10*(2^10) chars as input seems more than enough
4418 test $ac_count -gt 10 && break
4420 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4423 $ac_path_EGREP_found && break 3
4428 if test -z "$ac_cv_path_EGREP"; then
4429 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4432 ac_cv_path_EGREP
=$EGREP
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4438 $as_echo "$ac_cv_path_EGREP" >&6; }
4439 EGREP
="$ac_cv_path_EGREP"
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4443 $as_echo_n "checking for ANSI C header files... " >&6; }
4444 if ${ac_cv_header_stdc+:} false
; then :
4445 $as_echo_n "(cached) " >&6
4447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4462 if ac_fn_c_try_compile
"$LINENO"; then :
4463 ac_cv_header_stdc
=yes
4465 ac_cv_header_stdc
=no
4467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4469 if test $ac_cv_header_stdc = yes; then
4470 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4472 /* end confdefs.h. */
4476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4477 $EGREP "memchr" >/dev
/null
2>&1; then :
4480 ac_cv_header_stdc
=no
4486 if test $ac_cv_header_stdc = yes; then
4487 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4494 $EGREP "free" >/dev
/null
2>&1; then :
4497 ac_cv_header_stdc
=no
4503 if test $ac_cv_header_stdc = yes; then
4504 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4505 if test "$cross_compiling" = yes; then :
4508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4512 #if ((' ' & 0x0FF) == 0x020)
4513 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4514 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4516 # define ISLOWER(c) \
4517 (('a' <= (c) && (c) <= 'i') \
4518 || ('j' <= (c) && (c) <= 'r') \
4519 || ('s' <= (c) && (c) <= 'z'))
4520 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4523 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4528 for (i = 0; i < 256; i++)
4529 if (XOR (islower (i), ISLOWER (i))
4530 || toupper (i) != TOUPPER (i))
4535 if ac_fn_c_try_run
"$LINENO"; then :
4538 ac_cv_header_stdc
=no
4540 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4541 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4547 $as_echo "$ac_cv_header_stdc" >&6; }
4548 if test $ac_cv_header_stdc = yes; then
4550 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4554 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4555 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4556 inttypes.h stdint.h unistd.h
4558 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4559 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4561 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4562 cat >>confdefs.h
<<_ACEOF
4563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4572 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4573 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4580 if test "$MINIX" = yes; then
4582 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4585 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4588 $as_echo "#define _MINIX 1" >>confdefs.h
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4594 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4595 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4596 $as_echo_n "(cached) " >&6
4598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4601 # define __EXTENSIONS__ 1
4602 $ac_includes_default
4611 if ac_fn_c_try_compile
"$LINENO"; then :
4612 ac_cv_safe_to_define___extensions__
=yes
4614 ac_cv_safe_to_define___extensions__
=no
4616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4619 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4620 test $ac_cv_safe_to_define___extensions__ = yes &&
4621 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4623 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4625 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4627 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4629 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4632 # Check whether --enable-largefile was given.
4633 if test "${enable_largefile+set}" = set; then :
4634 enableval
=$enable_largefile;
4637 if test "$enable_largefile" != no
; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4640 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4641 if ${ac_cv_sys_largefile_CC+:} false
; then :
4642 $as_echo_n "(cached) " >&6
4644 ac_cv_sys_largefile_CC
=no
4645 if test "$GCC" != yes; then
4648 # IRIX 6.2 and later do not support large files by default,
4649 # so use the C compiler's -n32 option if that helps.
4650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4652 #include <sys/types.h>
4653 /* Check that off_t can represent 2**63 - 1 correctly.
4654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4655 since some C++ compilers masquerading as C compilers
4656 incorrectly reject 9223372036854775807. */
4657 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4659 && LARGE_OFF_T % 2147483647 == 1)
4669 if ac_fn_c_try_compile
"$LINENO"; then :
4672 rm -f core conftest.err conftest.
$ac_objext
4674 if ac_fn_c_try_compile
"$LINENO"; then :
4675 ac_cv_sys_largefile_CC
=' -n32'; break
4677 rm -f core conftest.err conftest.
$ac_objext
4681 rm -f conftest.
$ac_ext
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4685 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4686 if test "$ac_cv_sys_largefile_CC" != no
; then
4687 CC
=$CC$ac_cv_sys_largefile_CC
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4691 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4692 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4693 $as_echo_n "(cached) " >&6
4696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4698 #include <sys/types.h>
4699 /* Check that off_t can represent 2**63 - 1 correctly.
4700 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4701 since some C++ compilers masquerading as C compilers
4702 incorrectly reject 9223372036854775807. */
4703 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4704 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4705 && LARGE_OFF_T % 2147483647 == 1)
4715 if ac_fn_c_try_compile
"$LINENO"; then :
4716 ac_cv_sys_file_offset_bits
=no
; break
4718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #define _FILE_OFFSET_BITS 64
4722 #include <sys/types.h>
4723 /* Check that off_t can represent 2**63 - 1 correctly.
4724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4725 since some C++ compilers masquerading as C compilers
4726 incorrectly reject 9223372036854775807. */
4727 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4729 && LARGE_OFF_T % 2147483647 == 1)
4739 if ac_fn_c_try_compile
"$LINENO"; then :
4740 ac_cv_sys_file_offset_bits
=64; break
4742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4743 ac_cv_sys_file_offset_bits
=unknown
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4748 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4749 case $ac_cv_sys_file_offset_bits in #(
4752 cat >>confdefs.h
<<_ACEOF
4753 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4758 if test $ac_cv_sys_file_offset_bits = unknown
; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4760 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4761 if ${ac_cv_sys_large_files+:} false
; then :
4762 $as_echo_n "(cached) " >&6
4765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4767 #include <sys/types.h>
4768 /* Check that off_t can represent 2**63 - 1 correctly.
4769 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4770 since some C++ compilers masquerading as C compilers
4771 incorrectly reject 9223372036854775807. */
4772 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4773 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4774 && LARGE_OFF_T % 2147483647 == 1)
4784 if ac_fn_c_try_compile
"$LINENO"; then :
4785 ac_cv_sys_large_files
=no
; break
4787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4790 #define _LARGE_FILES 1
4791 #include <sys/types.h>
4792 /* Check that off_t can represent 2**63 - 1 correctly.
4793 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4794 since some C++ compilers masquerading as C compilers
4795 incorrectly reject 9223372036854775807. */
4796 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4797 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4798 && LARGE_OFF_T % 2147483647 == 1)
4808 if ac_fn_c_try_compile
"$LINENO"; then :
4809 ac_cv_sys_large_files
=1; break
4811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4812 ac_cv_sys_large_files
=unknown
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4817 $as_echo "$ac_cv_sys_large_files" >&6; }
4818 case $ac_cv_sys_large_files in #(
4821 cat >>confdefs.h
<<_ACEOF
4822 #define _LARGE_FILES $ac_cv_sys_large_files
4833 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
4834 for ac_prog
in aclocal
4836 # Extract the first word of "$ac_prog", so it can be a program name with args.
4837 set dummy
$ac_prog; ac_word
=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if ${ac_cv_prog_ACLOCAL+:} false
; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$ACLOCAL"; then
4844 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
4846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir
=.
4851 for ac_exec_ext
in '' $ac_executable_extensions; do
4852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_prog_ACLOCAL
="$ac_prog"
4854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 ACLOCAL
=$ac_cv_prog_ACLOCAL
4864 if test -n "$ACLOCAL"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
4866 $as_echo "$ACLOCAL" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4873 test -n "$ACLOCAL" && break
4875 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
4877 for ac_prog
in autoconf
4879 # Extract the first word of "$ac_prog", so it can be a program name with args.
4880 set dummy
$ac_prog; ac_word
=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if ${ac_cv_prog_AUTOCONF+:} false
; then :
4884 $as_echo_n "(cached) " >&6
4886 if test -n "$AUTOCONF"; then
4887 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
4889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir
=.
4894 for ac_exec_ext
in '' $ac_executable_extensions; do
4895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_AUTOCONF
="$ac_prog"
4897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 AUTOCONF
=$ac_cv_prog_AUTOCONF
4907 if test -n "$AUTOCONF"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
4909 $as_echo "$AUTOCONF" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4916 test -n "$AUTOCONF" && break
4918 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
4920 for ac_prog
in autoheader
4922 # Extract the first word of "$ac_prog", so it can be a program name with args.
4923 set dummy
$ac_prog; ac_word
=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
4927 $as_echo_n "(cached) " >&6
4929 if test -n "$AUTOHEADER"; then
4930 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
4932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4936 test -z "$as_dir" && as_dir
=.
4937 for ac_exec_ext
in '' $ac_executable_extensions; do
4938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_AUTOHEADER
="$ac_prog"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4949 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
4950 if test -n "$AUTOHEADER"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
4952 $as_echo "$AUTOHEADER" >&6; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4959 test -n "$AUTOHEADER" && break
4961 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
4964 if test -z "$ETAGS"; then
4969 # Figure out what compiler warnings we can enable.
4970 # See config/warnings.m4 for details.
4973 ac_cpp
='$CPP $CPPFLAGS'
4974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4979 save_CFLAGS
="$CFLAGS"
4980 for real_option
in -W -Wall -Wno-narrowing -Wwrite-strings \
4981 -Wmissing-format-attribute; do
4982 # Do the check with the no- prefix removed since gcc silently
4983 # accepts any -Wno-* option on purpose
4984 case $real_option in
4985 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4986 *) option
=$real_option ;;
4988 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4991 $as_echo_n "checking whether $CC supports $option... " >&6; }
4992 if eval \
${$as_acx_Woption+:} false
; then :
4993 $as_echo_n "(cached) " >&6
4996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5007 if ac_fn_c_try_compile
"$LINENO"; then :
5008 eval "$as_acx_Woption=yes"
5010 eval "$as_acx_Woption=no"
5012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5015 eval ac_res
=\$
$as_acx_Woption
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5017 $as_echo "$ac_res" >&6; }
5018 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5019 warn
="$warn${warn:+ }$real_option"
5022 CFLAGS
="$save_CFLAGS"
5024 ac_cpp
='$CPP $CPPFLAGS'
5025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5031 ac_cpp
='$CPP $CPPFLAGS'
5032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5037 save_CFLAGS
="$CFLAGS"
5038 for real_option
in -Wstrict-prototypes -Wmissing-prototypes \
5039 -Wold-style-definition -Wc++-compat; do
5040 # Do the check with the no- prefix removed since gcc silently
5041 # accepts any -Wno-* option on purpose
5042 case $real_option in
5043 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5044 *) option
=$real_option ;;
5046 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5049 $as_echo_n "checking whether $CC supports $option... " >&6; }
5050 if eval \
${$as_acx_Woption+:} false
; then :
5051 $as_echo_n "(cached) " >&6
5054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5055 /* end confdefs.h. */
5065 if ac_fn_c_try_compile
"$LINENO"; then :
5066 eval "$as_acx_Woption=yes"
5068 eval "$as_acx_Woption=no"
5070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5073 eval ac_res
=\$
$as_acx_Woption
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5075 $as_echo "$ac_res" >&6; }
5076 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5077 c_warn
="$c_warn${c_warn:+ }$real_option"
5080 CFLAGS
="$save_CFLAGS"
5082 ac_cpp
='$CPP $CPPFLAGS'
5083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5089 ac_cpp
='$CPP $CPPFLAGS'
5090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5095 # Do the check with the no- prefix removed from the warning options
5096 # since gcc silently accepts any -Wno-* option on purpose
5097 if test "$GCC" = yes; then :
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
5099 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
5100 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false
; then :
5101 $as_echo_n "(cached) " >&6
5103 save_CFLAGS
="$CFLAGS"
5104 CFLAGS
="-pedantic -Wlong-long"
5105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5116 if ac_fn_c_try_compile
"$LINENO"; then :
5117 acx_cv_prog_cc_pedantic__Wlong_long
=yes
5119 acx_cv_prog_cc_pedantic__Wlong_long
=no
5121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5122 CFLAGS
="$save_CFLAGS"
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
5125 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
5126 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
5127 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
5132 ac_cpp
='$CPP $CPPFLAGS'
5133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5139 # Disable exceptions and RTTI if building with g++
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 save_CFLAGS
="$CFLAGS"
5148 for real_option
in -fno-exceptions -fno-rtti; do
5149 # Do the check with the no- prefix removed since gcc silently
5150 # accepts any -Wno-* option on purpose
5151 case $real_option in
5152 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5153 *) option
=$real_option ;;
5155 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5158 $as_echo_n "checking whether $CC supports $option... " >&6; }
5159 if eval \
${$as_acx_Woption+:} false
; then :
5160 $as_echo_n "(cached) " >&6
5163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5174 if ac_fn_c_try_compile
"$LINENO"; then :
5175 eval "$as_acx_Woption=yes"
5177 eval "$as_acx_Woption=no"
5179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5182 eval ac_res
=\$
$as_acx_Woption
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5184 $as_echo "$ac_res" >&6; }
5185 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5186 noexception_flags
="$noexception_flags${noexception_flags:+ }$real_option"
5189 CFLAGS
="$save_CFLAGS"
5191 ac_cpp
='$CPP $CPPFLAGS'
5192 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5193 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5194 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5198 # Only enable with --enable-werror-always until existing warnings are
5201 ac_cpp
='$CPP $CPPFLAGS'
5202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5207 # Check whether --enable-werror-always was given.
5208 if test "${enable_werror_always+set}" = set; then :
5209 enableval
=$enable_werror_always;
5211 enable_werror_always
=no
5214 if test $enable_werror_always = yes; then :
5215 WERROR
="$WERROR${WERROR:+ }-Werror"
5219 ac_cpp
='$CPP $CPPFLAGS'
5220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5226 # Dependency checking.
5227 rm -rf .tst
2>/dev
/null
5228 mkdir .tst
2>/dev
/null
5229 if test -d .tst
; then
5234 rmdir .tst
2>/dev
/null
5236 DEPDIR
="${am__leading_dot}deps"
5238 ac_config_commands
="$ac_config_commands depdir"
5242 ac_cpp
='$CXXCPP $CPPFLAGS'
5243 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5244 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5245 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h. */
5252 if ac_fn_cxx_try_compile
"$LINENO"; then :
5255 as_fn_error $?
"C++ compiler missing or inoperational" "$LINENO" 5
5257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5259 ac_cpp
='$CPP $CPPFLAGS'
5260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5264 depcc
="$CXX" am_compiler_list
=
5266 am_depcomp
=$ac_aux_dir/depcomp
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5268 $as_echo_n "checking dependency style of $depcc... " >&6; }
5269 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5270 $as_echo_n "(cached) " >&6
5272 if test -f "$am_depcomp"; then
5273 # We make a subdir and do the tests there. Otherwise we can end up
5274 # making bogus files that we don't know about and never remove. For
5275 # instance it was reported that on HP-UX the gcc test will end up
5276 # making a dummy file named `D' -- because `-MD' means `put the output
5279 # Copy depcomp to subdir because otherwise we won't find it if we're
5280 # using a relative directory.
5281 cp "$am_depcomp" conftest.dir
5283 # We will build objects and dependencies in a subdirectory because
5284 # it helps to detect inapplicable dependency modes. For instance
5285 # both Tru64's cc and ICC support -MD to output dependencies as a
5286 # side effect of compilation, but ICC will put the dependencies in
5287 # the current directory while Tru64 will put them in the object
5291 am_cv_CXX_dependencies_compiler_type
=none
5292 if test "$am_compiler_list" = ""; then
5293 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5295 for depmode
in $am_compiler_list; do
5296 if test $depmode = none
; then break; fi
5298 $as_echo "$as_me:$LINENO: trying $depmode" >&5
5299 # Setup a source with many dependencies, because some compilers
5300 # like to wrap large dependency lists on column 80 (with \), and
5301 # we should not choose a depcomp mode which is confused by this.
5303 # We need to recreate these files for each test, as the compiler may
5304 # overwrite some of them when testing with obscure command lines.
5305 # This happens at least with the AIX C compiler.
5307 for i
in 1 2 3 4 5 6; do
5308 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5309 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5310 # Solaris 8's {/usr,}/bin/sh.
5311 touch sub
/conftst
$i.h
5313 echo "include sub/conftest.Po" > confmf
5315 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5316 # mode. It turns out that the SunPro C++ compiler does not properly
5317 # handle `-M -o', and we need to detect this.
5318 depcmd
="depmode=$depmode \
5319 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5320 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5321 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
5322 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
5323 if env
$depcmd > conftest.err
2>&1 &&
5324 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
5325 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
5326 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
5327 # icc doesn't choke on unknown options, it will just issue warnings
5328 # or remarks (even with -Werror). So we grep stderr for any message
5329 # that says an option was ignored or not supported.
5330 # When given -MP, icc 7.0 and 7.1 complain thusly:
5331 # icc: Command line warning: ignoring option '-M'; no argument required
5332 # The diagnosis changed in icc 8.0:
5333 # icc: Command line remark: option '-MP' not supported
5334 if (grep 'ignoring option' conftest.err ||
5335 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5336 am_cv_CXX_dependencies_compiler_type
=$depmode
5337 $as_echo "$as_me:$LINENO: success" >&5
5341 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
5342 sed -e 's/^/| /' < conftest.err
>&5
5348 am_cv_CXX_dependencies_compiler_type
=none
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5353 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5354 if test x
${am_cv_CXX_dependencies_compiler_type-none} = xnone
5355 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
5356 else CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5361 # Checks for header files.
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5363 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5364 if ${ac_cv_header_time+:} false
; then :
5365 $as_echo_n "(cached) " >&6
5367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5369 #include <sys/types.h>
5370 #include <sys/time.h>
5376 if ((struct tm *) 0)
5382 if ac_fn_c_try_compile
"$LINENO"; then :
5383 ac_cv_header_time
=yes
5385 ac_cv_header_time
=no
5387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5390 $as_echo "$ac_cv_header_time" >&6; }
5391 if test $ac_cv_header_time = yes; then
5393 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
5398 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
5399 if ${gcc_cv_header_string+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5405 #include <strings.h>
5414 if ac_fn_c_try_compile
"$LINENO"; then :
5415 gcc_cv_header_string
=yes
5417 gcc_cv_header_string
=no
5419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
5422 $as_echo "$gcc_cv_header_string" >&6; }
5423 if test $gcc_cv_header_string = yes; then
5425 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
5430 for ac_header
in locale.h fcntl.h limits.h stddef.h \
5431 stdlib.h
strings.h string.h sys
/file.h unistd.h
5433 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5434 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5435 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5436 cat >>confdefs.h
<<_ACEOF
5437 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5445 # Checks for typedefs, structures, and compiler characteristics.
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5447 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5448 if ${ac_cv_c_bigendian+:} false
; then :
5449 $as_echo_n "(cached) " >&6
5451 ac_cv_c_bigendian
=unknown
5452 # See if we're dealing with a universal compiler.
5453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5454 /* end confdefs.h. */
5455 #ifndef __APPLE_CC__
5456 not a universal capable compiler
5461 if ac_fn_c_try_compile
"$LINENO"; then :
5463 # Check for potential -arch flags. It is not universal unless
5464 # there are at least two -arch flags with different values.
5467 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5468 if test -n "$ac_prev"; then
5470 i?
86 | x86_64 | ppc | ppc64
)
5471 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5474 ac_cv_c_bigendian
=universal
5480 elif test "x$ac_word" = "x-arch"; then
5485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5486 if test $ac_cv_c_bigendian = unknown
; then
5487 # See if sys/param.h defines the BYTE_ORDER macro.
5488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5490 #include <sys/types.h>
5491 #include <sys/param.h>
5496 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5497 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5506 if ac_fn_c_try_compile
"$LINENO"; then :
5507 # It does; now see whether it defined to BIG_ENDIAN or not.
5508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5509 /* end confdefs.h. */
5510 #include <sys/types.h>
5511 #include <sys/param.h>
5516 #if BYTE_ORDER != BIG_ENDIAN
5524 if ac_fn_c_try_compile
"$LINENO"; then :
5525 ac_cv_c_bigendian
=yes
5527 ac_cv_c_bigendian
=no
5529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5533 if test $ac_cv_c_bigendian = unknown
; then
5534 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5536 /* end confdefs.h. */
5542 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5550 if ac_fn_c_try_compile
"$LINENO"; then :
5551 # It does; now see whether it defined to _BIG_ENDIAN or not.
5552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5567 if ac_fn_c_try_compile
"$LINENO"; then :
5568 ac_cv_c_bigendian
=yes
5570 ac_cv_c_bigendian
=no
5572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5576 if test $ac_cv_c_bigendian = unknown
; then
5577 # Compile a test program.
5578 if test "$cross_compiling" = yes; then :
5579 # Try to guess by grepping values from an object file.
5580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5582 short int ascii_mm[] =
5583 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5584 short int ascii_ii[] =
5585 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5586 int use_ascii (int i) {
5587 return ascii_mm[i] + ascii_ii[i];
5589 short int ebcdic_ii[] =
5590 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5591 short int ebcdic_mm[] =
5592 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5593 int use_ebcdic (int i) {
5594 return ebcdic_mm[i] + ebcdic_ii[i];
5601 return use_ascii (foo) == use_ebcdic (foo);
5606 if ac_fn_c_try_compile
"$LINENO"; then :
5607 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5608 ac_cv_c_bigendian
=yes
5610 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5611 if test "$ac_cv_c_bigendian" = unknown
; then
5612 ac_cv_c_bigendian
=no
5614 # finding both strings is unlikely to happen, but who knows?
5615 ac_cv_c_bigendian
=unknown
5619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5623 $ac_includes_default
5628 /* Are we little or big endian? From Harbison&Steele. */
5632 char c[sizeof (long int)];
5635 return u.c[sizeof (long int) - 1] == 1;
5641 if ac_fn_c_try_run
"$LINENO"; then :
5642 ac_cv_c_bigendian
=no
5644 ac_cv_c_bigendian
=yes
5646 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5647 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5653 $as_echo "$ac_cv_c_bigendian" >&6; }
5654 case $ac_cv_c_bigendian in #(
5656 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5662 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5666 as_fn_error $?
"unknown endianness
5667 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5671 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5672 if ${ac_cv_c_const+:} false
; then :
5673 $as_echo_n "(cached) " >&6
5675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5683 /* Ultrix mips cc rejects this sort of thing. */
5684 typedef int charset[2];
5685 const charset cs = { 0, 0 };
5686 /* SunOS 4.1.1 cc rejects this. */
5687 char const *const *pcpcc;
5689 /* NEC SVR4.0.2 mips cc rejects this. */
5690 struct point {int x, y;};
5691 static struct point const zero = {0,0};
5692 /* AIX XL C 1.02.0.0 rejects this.
5693 It does not let you subtract one const X* pointer from another in
5694 an arm of an if-expression whose if-part is not a constant
5696 const char *g = "string";
5697 pcpcc = &g + (g ? g-g : 0);
5698 /* HPUX 7.0 cc rejects these. */
5700 ppc = (char**) pcpcc;
5701 pcpcc = (char const *const *) ppc;
5702 { /* SCO 3.2v4 cc rejects this sort of thing. */
5705 char const *s = 0 ? (char *) 0 : (char const *) 0;
5710 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5712 const int *foo = &x[0];
5715 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5716 typedef const int *iptr;
5720 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5721 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5722 struct s { int j; const int *ap[3]; } bx;
5723 struct s *b = &bx; b->j = 5;
5725 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5729 return !cs[0] && !zero.x;
5736 if ac_fn_c_try_compile
"$LINENO"; then :
5741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5744 $as_echo "$ac_cv_c_const" >&6; }
5745 if test $ac_cv_c_const = no
; then
5747 $as_echo "#define const /**/" >>confdefs.h
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5752 $as_echo_n "checking for inline... " >&6; }
5753 if ${ac_cv_c_inline+:} false
; then :
5754 $as_echo_n "(cached) " >&6
5757 for ac_kw
in inline __inline__ __inline
; do
5758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5759 /* end confdefs.h. */
5762 static $ac_kw foo_t static_foo () {return 0; }
5763 $ac_kw foo_t foo () {return 0; }
5767 if ac_fn_c_try_compile
"$LINENO"; then :
5768 ac_cv_c_inline
=$ac_kw
5770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5771 test "$ac_cv_c_inline" != no
&& break
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5776 $as_echo "$ac_cv_c_inline" >&6; }
5778 case $ac_cv_c_inline in
5781 case $ac_cv_c_inline in
5783 *) ac_val
=$ac_cv_c_inline;;
5785 cat >>confdefs.h
<<_ACEOF
5787 #define inline $ac_val
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
5794 $as_echo_n "checking for obstacks... " >&6; }
5795 if ${ac_cv_func_obstack+:} false
; then :
5796 $as_echo_n "(cached) " >&6
5798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5800 $ac_includes_default
5801 #include "obstack.h"
5806 #define obstack_chunk_alloc malloc
5807 #define obstack_chunk_free free
5808 obstack_init (&mem);
5809 obstack_free (&mem, 0);
5814 if ac_fn_c_try_link
"$LINENO"; then :
5815 ac_cv_func_obstack
=yes
5817 ac_cv_func_obstack
=no
5819 rm -f core conftest.err conftest.
$ac_objext \
5820 conftest
$ac_exeext conftest.
$ac_ext
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
5823 $as_echo "$ac_cv_func_obstack" >&6; }
5824 if test $ac_cv_func_obstack = yes; then
5826 $as_echo "#define HAVE_OBSTACK 1" >>confdefs.h
5829 case " $LIBOBJS " in
5830 *" obstack.$ac_objext "* ) ;;
5831 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext"
5837 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5838 if test "x$ac_cv_type_off_t" = xyes
; then :
5842 cat >>confdefs.h
<<_ACEOF
5843 #define off_t long int
5848 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5849 if test "x$ac_cv_type_size_t" = xyes
; then :
5853 cat >>confdefs.h
<<_ACEOF
5854 #define size_t unsigned int
5859 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5860 if test "x$ac_cv_type_ssize_t" = xyes
; then :
5864 cat >>confdefs.h
<<_ACEOF
5871 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
5872 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
5874 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
5877 for ac_type
in 'unsigned int' 'unsigned long int' \
5878 'unsigned long long int'; do
5879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5880 /* end confdefs.h. */
5881 $ac_includes_default
5885 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
5887 return test_array [0];
5893 if ac_fn_c_try_compile
"$LINENO"; then :
5895 cat >>confdefs.h
<<_ACEOF
5896 #define uintptr_t $ac_type
5901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5902 test -z "$ac_type" && break
5907 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
5908 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
5912 cat >>confdefs.h
<<_ACEOF
5913 #define ptrdiff_t int
5918 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5919 case $ac_cv_c_uint64_t in #(
5923 $as_echo "#define _UINT64_T 1" >>confdefs.h
5926 cat >>confdefs.h
<<_ACEOF
5927 #define uint64_t $ac_cv_c_uint64_t
5932 if test x
"$ac_cv_c_uint64_t" = x
"no"; then
5933 as_fn_error $?
"uint64_t not found" "$LINENO" 5
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5936 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5937 if ${ac_cv_struct_tm+:} false
; then :
5938 $as_echo_n "(cached) " >&6
5940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5941 /* end confdefs.h. */
5942 #include <sys/types.h>
5949 int *p = &tm.tm_sec;
5955 if ac_fn_c_try_compile
"$LINENO"; then :
5956 ac_cv_struct_tm
=time.h
5958 ac_cv_struct_tm
=sys
/time.h
5960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5963 $as_echo "$ac_cv_struct_tm" >&6; }
5964 if test $ac_cv_struct_tm = sys
/time.h
; then
5966 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5970 # The cast to long int works around a bug in the HP C Compiler
5971 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5972 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5973 # This bug is HP SR number 8606223364.
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5975 $as_echo_n "checking size of int... " >&6; }
5976 if ${ac_cv_sizeof_int+:} false
; then :
5977 $as_echo_n "(cached) " >&6
5979 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5982 if test "$ac_cv_type_int" = yes; then
5983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5985 as_fn_error
77 "cannot compute sizeof (int)
5986 See \`config.log' for more details" "$LINENO" 5; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5994 $as_echo "$ac_cv_sizeof_int" >&6; }
5998 cat >>confdefs.h
<<_ACEOF
5999 #define SIZEOF_INT $ac_cv_sizeof_int
6003 # The cast to long int works around a bug in the HP C Compiler
6004 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6005 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6006 # This bug is HP SR number 8606223364.
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
6008 $as_echo_n "checking size of long... " >&6; }
6009 if ${ac_cv_sizeof_long+:} false
; then :
6010 $as_echo_n "(cached) " >&6
6012 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
6015 if test "$ac_cv_type_long" = yes; then
6016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6018 as_fn_error
77 "cannot compute sizeof (long)
6019 See \`config.log' for more details" "$LINENO" 5; }
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
6027 $as_echo "$ac_cv_sizeof_long" >&6; }
6031 cat >>confdefs.h
<<_ACEOF
6032 #define SIZEOF_LONG $ac_cv_sizeof_long
6037 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
6039 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6040 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6041 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6042 cat >>confdefs.h
<<_ACEOF
6043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6049 ac_fn_c_check_decl
"$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
6050 if test "x$ac_cv_have_decl_abort" = xyes
; then :
6056 cat >>confdefs.h
<<_ACEOF
6057 #define HAVE_DECL_ABORT $ac_have_decl
6059 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6060 if test "x$ac_cv_have_decl_asprintf" = xyes
; then :
6066 cat >>confdefs.h
<<_ACEOF
6067 #define HAVE_DECL_ASPRINTF $ac_have_decl
6069 as_ac_Symbol
=`$as_echo "ac_cv_have_decl_basename(char *)" | $as_tr_sh`
6070 ac_fn_c_check_decl
"$LINENO" "basename(char *)" "$as_ac_Symbol" "$ac_includes_default"
6071 if eval test \"x\$
"$as_ac_Symbol"\" = x
"yes"; then :
6077 cat >>confdefs.h
<<_ACEOF
6078 #define HAVE_DECL_BASENAME $ac_have_decl
6080 ac_fn_c_check_decl
"$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
6081 if test "x$ac_cv_have_decl_errno" = xyes
; then :
6087 cat >>confdefs.h
<<_ACEOF
6088 #define HAVE_DECL_ERRNO $ac_have_decl
6090 ac_fn_c_check_decl
"$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
6091 if test "x$ac_cv_have_decl_getopt" = xyes
; then :
6097 cat >>confdefs.h
<<_ACEOF
6098 #define HAVE_DECL_GETOPT $ac_have_decl
6100 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6101 if test "x$ac_cv_have_decl_vasprintf" = xyes
; then :
6107 cat >>confdefs.h
<<_ACEOF
6108 #define HAVE_DECL_VASPRINTF $ac_have_decl
6111 ac_fn_c_check_decl
"$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
6112 if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes
; then :
6118 cat >>confdefs.h
<<_ACEOF
6119 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
6121 ac_fn_c_check_decl
"$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
6122 if test "x$ac_cv_have_decl_feof_unlocked" = xyes
; then :
6128 cat >>confdefs.h
<<_ACEOF
6129 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
6131 ac_fn_c_check_decl
"$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
6132 if test "x$ac_cv_have_decl_ferror_unlocked" = xyes
; then :
6138 cat >>confdefs.h
<<_ACEOF
6139 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
6141 ac_fn_c_check_decl
"$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
6142 if test "x$ac_cv_have_decl_fflush_unlocked" = xyes
; then :
6148 cat >>confdefs.h
<<_ACEOF
6149 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
6151 ac_fn_c_check_decl
"$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
6152 if test "x$ac_cv_have_decl_fgetc_unlocked" = xyes
; then :
6158 cat >>confdefs.h
<<_ACEOF
6159 #define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
6161 ac_fn_c_check_decl
"$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
6162 if test "x$ac_cv_have_decl_fgets_unlocked" = xyes
; then :
6168 cat >>confdefs.h
<<_ACEOF
6169 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
6171 ac_fn_c_check_decl
"$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
6172 if test "x$ac_cv_have_decl_fileno_unlocked" = xyes
; then :
6178 cat >>confdefs.h
<<_ACEOF
6179 #define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
6181 ac_fn_c_check_decl
"$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
6182 if test "x$ac_cv_have_decl_fprintf_unlocked" = xyes
; then :
6188 cat >>confdefs.h
<<_ACEOF
6189 #define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
6191 ac_fn_c_check_decl
"$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
6192 if test "x$ac_cv_have_decl_fputc_unlocked" = xyes
; then :
6198 cat >>confdefs.h
<<_ACEOF
6199 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
6201 ac_fn_c_check_decl
"$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
6202 if test "x$ac_cv_have_decl_fputs_unlocked" = xyes
; then :
6208 cat >>confdefs.h
<<_ACEOF
6209 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
6211 ac_fn_c_check_decl
"$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
6212 if test "x$ac_cv_have_decl_fread_unlocked" = xyes
; then :
6218 cat >>confdefs.h
<<_ACEOF
6219 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
6221 ac_fn_c_check_decl
"$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
6222 if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes
; then :
6228 cat >>confdefs.h
<<_ACEOF
6229 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
6231 ac_fn_c_check_decl
"$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
6232 if test "x$ac_cv_have_decl_getchar_unlocked" = xyes
; then :
6238 cat >>confdefs.h
<<_ACEOF
6239 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
6241 ac_fn_c_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
6242 if test "x$ac_cv_have_decl_getc_unlocked" = xyes
; then :
6248 cat >>confdefs.h
<<_ACEOF
6249 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
6251 ac_fn_c_check_decl
"$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
6252 if test "x$ac_cv_have_decl_putchar_unlocked" = xyes
; then :
6258 cat >>confdefs.h
<<_ACEOF
6259 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
6261 ac_fn_c_check_decl
"$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
6262 if test "x$ac_cv_have_decl_putc_unlocked" = xyes
; then :
6268 cat >>confdefs.h
<<_ACEOF
6269 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
6273 # Checks for library functions.
6274 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6275 # for constant arguments. Useless!
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6277 $as_echo_n "checking for working alloca.h... " >&6; }
6278 if ${ac_cv_working_alloca_h+:} false
; then :
6279 $as_echo_n "(cached) " >&6
6281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6287 char *p = (char *) alloca (2 * sizeof (int));
6293 if ac_fn_c_try_link
"$LINENO"; then :
6294 ac_cv_working_alloca_h
=yes
6296 ac_cv_working_alloca_h
=no
6298 rm -f core conftest.err conftest.
$ac_objext \
6299 conftest
$ac_exeext conftest.
$ac_ext
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6302 $as_echo "$ac_cv_working_alloca_h" >&6; }
6303 if test $ac_cv_working_alloca_h = yes; then
6305 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6310 $as_echo_n "checking for alloca... " >&6; }
6311 if ${ac_cv_func_alloca_works+:} false
; then :
6312 $as_echo_n "(cached) " >&6
6314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6317 # define alloca __builtin_alloca
6320 # include <malloc.h>
6321 # define alloca _alloca
6323 # ifdef HAVE_ALLOCA_H
6324 # include <alloca.h>
6329 # ifndef alloca /* predefined by HP cc +Olibcalls */
6330 void *alloca (size_t);
6340 char *p = (char *) alloca (1);
6346 if ac_fn_c_try_link
"$LINENO"; then :
6347 ac_cv_func_alloca_works
=yes
6349 ac_cv_func_alloca_works
=no
6351 rm -f core conftest.err conftest.
$ac_objext \
6352 conftest
$ac_exeext conftest.
$ac_ext
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6355 $as_echo "$ac_cv_func_alloca_works" >&6; }
6357 if test $ac_cv_func_alloca_works = yes; then
6359 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6362 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6363 # that cause trouble. Some versions do not even contain alloca or
6364 # contain a buggy version. If you still want to use their alloca,
6365 # use ar to extract alloca.o from them instead of compiling alloca.c.
6367 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6369 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6373 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6374 if ${ac_cv_os_cray+:} false
; then :
6375 $as_echo_n "(cached) " >&6
6377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6379 #if defined CRAY && ! defined CRAY2
6386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6387 $EGREP "webecray" >/dev
/null
2>&1; then :
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6396 $as_echo "$ac_cv_os_cray" >&6; }
6397 if test $ac_cv_os_cray = yes; then
6398 for ac_func
in _getb67 GETB67 getb67
; do
6399 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6400 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6401 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6403 cat >>confdefs.h
<<_ACEOF
6404 #define CRAY_STACKSEG_END $ac_func
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6414 $as_echo_n "checking stack direction for C alloca... " >&6; }
6415 if ${ac_cv_c_stack_direction+:} false
; then :
6416 $as_echo_n "(cached) " >&6
6418 if test "$cross_compiling" = yes; then :
6419 ac_cv_c_stack_direction
=0
6421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6423 $ac_includes_default
6425 find_stack_direction (int *addr, int depth)
6430 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
6431 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
6436 main (int argc, char **argv)
6438 return find_stack_direction (0, argc + !argv + 20) < 0;
6441 if ac_fn_c_try_run
"$LINENO"; then :
6442 ac_cv_c_stack_direction
=1
6444 ac_cv_c_stack_direction
=-1
6446 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6447 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6452 $as_echo "$ac_cv_c_stack_direction" >&6; }
6453 cat >>confdefs.h
<<_ACEOF
6454 #define STACK_DIRECTION $ac_cv_c_stack_direction
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6461 $as_echo_n "checking for ANSI C header files... " >&6; }
6462 if ${ac_cv_header_stdc+:} false
; then :
6463 $as_echo_n "(cached) " >&6
6465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6480 if ac_fn_c_try_compile
"$LINENO"; then :
6481 ac_cv_header_stdc
=yes
6483 ac_cv_header_stdc
=no
6485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6487 if test $ac_cv_header_stdc = yes; then
6488 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6495 $EGREP "memchr" >/dev
/null
2>&1; then :
6498 ac_cv_header_stdc
=no
6504 if test $ac_cv_header_stdc = yes; then
6505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6512 $EGREP "free" >/dev
/null
2>&1; then :
6515 ac_cv_header_stdc
=no
6521 if test $ac_cv_header_stdc = yes; then
6522 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6523 if test "$cross_compiling" = yes; then :
6526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6527 /* end confdefs.h. */
6530 #if ((' ' & 0x0FF) == 0x020)
6531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6534 # define ISLOWER(c) \
6535 (('a' <= (c) && (c) <= 'i') \
6536 || ('j' <= (c) && (c) <= 'r') \
6537 || ('s' <= (c) && (c) <= 'z'))
6538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6546 for (i = 0; i < 256; i++)
6547 if (XOR (islower (i), ISLOWER (i))
6548 || toupper (i) != TOUPPER (i))
6553 if ac_fn_c_try_run
"$LINENO"; then :
6556 ac_cv_header_stdc
=no
6558 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6559 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6565 $as_echo "$ac_cv_header_stdc" >&6; }
6566 if test $ac_cv_header_stdc = yes; then
6568 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
6574 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
6575 if ${am_cv_langinfo_codeset+:} false
; then :
6576 $as_echo_n "(cached) " >&6
6578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6580 #include <langinfo.h>
6584 char* cs = nl_langinfo(CODESET);
6589 if ac_fn_c_try_link
"$LINENO"; then :
6590 am_cv_langinfo_codeset
=yes
6592 am_cv_langinfo_codeset
=no
6594 rm -f core conftest.err conftest.
$ac_objext \
6595 conftest
$ac_exeext conftest.
$ac_ext
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
6599 $as_echo "$am_cv_langinfo_codeset" >&6; }
6600 if test $am_cv_langinfo_codeset = yes; then
6602 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
6608 if test -n "$ac_aux_dir"; then
6609 case "$ac_aux_dir" in
6610 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
6611 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
6614 if test -z "$MKINSTALLDIRS"; then
6615 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6621 $as_echo_n "checking whether NLS is requested... " >&6; }
6622 # Check whether --enable-nls was given.
6623 if test "${enable_nls+set}" = set; then :
6624 enableval
=$enable_nls; USE_NLS
=$enableval
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6630 $as_echo "$USE_NLS" >&6; }
6637 # Prepare PATH_SEPARATOR.
6638 # The user is always right.
6639 if test "${PATH_SEPARATOR+set}" != set; then
6640 echo "#! /bin/sh" >conf$$.sh
6641 echo "exit 0" >>conf$$.sh
6643 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6651 # Find out how to test for executable files. Don't use a zero-byte file,
6652 # as systems may use methods other than mode bits to determine executability.
6653 cat >conf$$.
file <<_ASEOF
6657 chmod +x conf$$.
file
6658 if test -x conf$$.
file >/dev
/null
2>&1; then
6659 ac_executable_p
="test -x"
6661 ac_executable_p
="test -f"
6665 # Extract the first word of "msgfmt", so it can be a program name with args.
6666 set dummy msgfmt
; ac_word
=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 $as_echo_n "checking for $ac_word... " >&6; }
6669 if ${ac_cv_path_MSGFMT+:} false
; then :
6670 $as_echo_n "(cached) " >&6
6674 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6677 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6678 for ac_dir
in $PATH; do
6680 test -z "$ac_dir" && ac_dir
=.
6681 for ac_exec_ext
in '' $ac_executable_extensions; do
6682 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6683 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
6684 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6685 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6692 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6696 MSGFMT
="$ac_cv_path_MSGFMT"
6697 if test "$MSGFMT" != ":"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6699 $as_echo "$MSGFMT" >&6; }
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6705 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6706 set dummy gmsgfmt
; ac_word
=$2
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6708 $as_echo_n "checking for $ac_word... " >&6; }
6709 if ${ac_cv_path_GMSGFMT+:} false
; then :
6710 $as_echo_n "(cached) " >&6
6714 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir
=.
6722 for ac_exec_ext
in '' $ac_executable_extensions; do
6723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6724 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6736 GMSGFMT
=$ac_cv_path_GMSGFMT
6737 if test -n "$GMSGFMT"; then
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6739 $as_echo "$GMSGFMT" >&6; }
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742 $as_echo "no" >&6; }
6748 # Prepare PATH_SEPARATOR.
6749 # The user is always right.
6750 if test "${PATH_SEPARATOR+set}" != set; then
6751 echo "#! /bin/sh" >conf$$.sh
6752 echo "exit 0" >>conf$$.sh
6754 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6762 # Find out how to test for executable files. Don't use a zero-byte file,
6763 # as systems may use methods other than mode bits to determine executability.
6764 cat >conf$$.
file <<_ASEOF
6768 chmod +x conf$$.
file
6769 if test -x conf$$.
file >/dev
/null
2>&1; then
6770 ac_executable_p
="test -x"
6772 ac_executable_p
="test -f"
6776 # Extract the first word of "xgettext", so it can be a program name with args.
6777 set dummy xgettext
; ac_word
=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779 $as_echo_n "checking for $ac_word... " >&6; }
6780 if ${ac_cv_path_XGETTEXT+:} false
; then :
6781 $as_echo_n "(cached) " >&6
6785 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6788 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6789 for ac_dir
in $PATH; do
6791 test -z "$ac_dir" && ac_dir
=.
6792 for ac_exec_ext
in '' $ac_executable_extensions; do
6793 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6794 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6795 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6796 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6803 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6807 XGETTEXT
="$ac_cv_path_XGETTEXT"
6808 if test "$XGETTEXT" != ":"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6810 $as_echo "$XGETTEXT" >&6; }
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6819 # Prepare PATH_SEPARATOR.
6820 # The user is always right.
6821 if test "${PATH_SEPARATOR+set}" != set; then
6822 echo "#! /bin/sh" >conf$$.sh
6823 echo "exit 0" >>conf$$.sh
6825 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6833 # Find out how to test for executable files. Don't use a zero-byte file,
6834 # as systems may use methods other than mode bits to determine executability.
6835 cat >conf$$.
file <<_ASEOF
6839 chmod +x conf$$.
file
6840 if test -x conf$$.
file >/dev
/null
2>&1; then
6841 ac_executable_p
="test -x"
6843 ac_executable_p
="test -f"
6847 # Extract the first word of "msgmerge", so it can be a program name with args.
6848 set dummy msgmerge
; ac_word
=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_path_MSGMERGE+:} false
; then :
6852 $as_echo_n "(cached) " >&6
6856 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6859 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6860 for ac_dir
in $PATH; do
6862 test -z "$ac_dir" && ac_dir
=.
6863 for ac_exec_ext
in '' $ac_executable_extensions; do
6864 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6865 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
6866 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6873 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6877 MSGMERGE
="$ac_cv_path_MSGMERGE"
6878 if test "$MSGMERGE" != ":"; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6880 $as_echo "$MSGMERGE" >&6; }
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6883 $as_echo "no" >&6; }
6887 if test "$GMSGFMT" != ":"; then
6888 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
6889 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6892 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
6894 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
6899 if test "$XGETTEXT" != ":"; then
6900 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6901 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6905 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6911 ac_config_commands
="$ac_config_commands default-1"
6915 if test "X$prefix" = "XNONE"; then
6916 acl_final_prefix
="$ac_default_prefix"
6918 acl_final_prefix
="$prefix"
6920 if test "X$exec_prefix" = "XNONE"; then
6921 acl_final_exec_prefix
='${prefix}'
6923 acl_final_exec_prefix
="$exec_prefix"
6925 acl_save_prefix
="$prefix"
6926 prefix
="$acl_final_prefix"
6927 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6928 prefix
="$acl_save_prefix"
6931 # Check whether --with-gnu-ld was given.
6932 if test "${with_gnu_ld+set}" = set; then :
6933 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6938 # Prepare PATH_SEPARATOR.
6939 # The user is always right.
6940 if test "${PATH_SEPARATOR+set}" != set; then
6941 echo "#! /bin/sh" >conf$$.sh
6942 echo "exit 0" >>conf$$.sh
6944 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6952 if test "$GCC" = yes; then
6953 # Check if gcc -print-prog-name=ld gives a path.
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6955 $as_echo_n "checking for ld used by GCC... " >&6; }
6958 # gcc leaves a trailing carriage return which upsets mingw
6959 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6961 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6964 # Accept absolute paths.
6965 [\\/]* |
[A-Za-z
]:[\\/]*)
6966 re_direlt
='/[^/][^/]*/\.\./'
6967 # Canonicalize the path of ld
6968 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6969 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6970 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6972 test -z "$LD" && LD
="$ac_prog"
6975 # If it fails, then pretend we aren't using GCC.
6979 # If it is relative, then search for the first ld in PATH.
6983 elif test "$with_gnu_ld" = yes; then
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6985 $as_echo_n "checking for GNU ld... " >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6988 $as_echo_n "checking for non-GNU ld... " >&6; }
6990 if ${acl_cv_path_LD+:} false
; then :
6991 $as_echo_n "(cached) " >&6
6993 if test -z "$LD"; then
6994 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6995 for ac_dir
in $PATH; do
6996 test -z "$ac_dir" && ac_dir
=.
6997 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6998 acl_cv_path_LD
="$ac_dir/$ac_prog"
6999 # Check to see if the program is GNU ld. I'd rather use --version,
7000 # but apparently some GNU ld's only accept -v.
7001 # Break only if it was the GNU/non-GNU ld that we prefer.
7002 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
$EGREP '(GNU|with BFD)' > /dev
/null
; then
7003 test "$with_gnu_ld" != no
&& break
7005 test "$with_gnu_ld" != yes && break
7011 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7015 LD
="$acl_cv_path_LD"
7016 if test -n "$LD"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7018 $as_echo "$LD" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7023 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7025 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7026 if ${acl_cv_prog_gnu_ld+:} false
; then :
7027 $as_echo_n "(cached) " >&6
7029 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7030 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
7031 acl_cv_prog_gnu_ld
=yes
7033 acl_cv_prog_gnu_ld
=no
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7037 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7038 with_gnu_ld
=$acl_cv_prog_gnu_ld
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7043 $as_echo_n "checking for shared library run path origin... " >&6; }
7044 if ${acl_cv_rpath+:} false
; then :
7045 $as_echo_n "(cached) " >&6
7048 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7049 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7056 $as_echo "$acl_cv_rpath" >&6; }
7058 libext
="$acl_cv_libext"
7059 shlibext
="$acl_cv_shlibext"
7060 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7061 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7062 hardcode_direct
="$acl_cv_hardcode_direct"
7063 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7064 # Check whether --enable-rpath was given.
7065 if test "${enable_rpath+set}" = set; then :
7066 enableval
=$enable_rpath; :
7080 acl_save_prefix
="$prefix"
7081 prefix
="$acl_final_prefix"
7082 acl_save_exec_prefix
="$exec_prefix"
7083 exec_prefix
="$acl_final_exec_prefix"
7085 eval additional_includedir
=\"$includedir\"
7086 eval additional_libdir
=\"$libdir\"
7088 exec_prefix
="$acl_save_exec_prefix"
7089 prefix
="$acl_save_prefix"
7092 # Check whether --with-libiconv-prefix was given.
7093 if test "${with_libiconv_prefix+set}" = set; then :
7094 withval
=$with_libiconv_prefix;
7095 if test "X$withval" = "Xno"; then
7098 if test "X$withval" = "X"; then
7100 acl_save_prefix
="$prefix"
7101 prefix
="$acl_final_prefix"
7102 acl_save_exec_prefix
="$exec_prefix"
7103 exec_prefix
="$acl_final_exec_prefix"
7105 eval additional_includedir
=\"$includedir\"
7106 eval additional_libdir
=\"$libdir\"
7108 exec_prefix
="$acl_save_exec_prefix"
7109 prefix
="$acl_save_prefix"
7112 additional_includedir
="$withval/include"
7113 additional_libdir
="$withval/lib"
7120 # Check whether --with-libiconv-type was given.
7121 if test "${with_libiconv_type+set}" = set; then :
7122 withval
=$with_libiconv_type; with_libiconv_type
=$withval
7124 with_libiconv_type
=auto
7127 lib_type
=`eval echo \$with_libiconv_type`
7134 names_already_handled
=
7135 names_next_round
='iconv '
7136 while test -n "$names_next_round"; do
7137 names_this_round
="$names_next_round"
7139 for name
in $names_this_round; do
7141 for n
in $names_already_handled; do
7142 if test "$n" = "$name"; then
7147 if test -z "$already_handled"; then
7148 names_already_handled
="$names_already_handled $name"
7149 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7150 eval value
=\"\
$HAVE_LIB$uppername\"
7151 if test -n "$value"; then
7152 if test "$value" = yes; then
7153 eval value
=\"\
$LIB$uppername\"
7154 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7155 eval value
=\"\
$LTLIB$uppername\"
7156 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7165 if test $use_additional = yes; then
7166 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
7167 found_dir
="$additional_libdir"
7168 found_so
="$additional_libdir/lib$name.$shlibext"
7169 if test -f "$additional_libdir/lib$name.la"; then
7170 found_la
="$additional_libdir/lib$name.la"
7172 elif test x
$lib_type != xshared
; then
7173 if test -f "$additional_libdir/lib$name.$libext"; then
7174 found_dir
="$additional_libdir"
7175 found_a
="$additional_libdir/lib$name.$libext"
7176 if test -f "$additional_libdir/lib$name.la"; then
7177 found_la
="$additional_libdir/lib$name.la"
7182 if test "X$found_dir" = "X"; then
7183 for x
in $LDFLAGS $LTLIBICONV; do
7185 acl_save_prefix
="$prefix"
7186 prefix
="$acl_final_prefix"
7187 acl_save_exec_prefix
="$exec_prefix"
7188 exec_prefix
="$acl_final_exec_prefix"
7190 exec_prefix
="$acl_save_exec_prefix"
7191 prefix
="$acl_save_prefix"
7195 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7196 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
7198 found_so
="$dir/lib$name.$shlibext"
7199 if test -f "$dir/lib$name.la"; then
7200 found_la
="$dir/lib$name.la"
7202 elif test x
$lib_type != xshared
; then
7203 if test -f "$dir/lib$name.$libext"; then
7205 found_a
="$dir/lib$name.$libext"
7206 if test -f "$dir/lib$name.la"; then
7207 found_la
="$dir/lib$name.la"
7213 if test "X$found_dir" != "X"; then
7218 if test "X$found_dir" != "X"; then
7219 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7220 if test "X$found_so" != "X"; then
7221 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7222 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7225 for x
in $ltrpathdirs; do
7226 if test "X$x" = "X$found_dir"; then
7231 if test -z "$haveit"; then
7232 ltrpathdirs
="$ltrpathdirs $found_dir"
7234 if test "$hardcode_direct" = yes; then
7235 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7237 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7238 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7240 for x
in $rpathdirs; do
7241 if test "X$x" = "X$found_dir"; then
7246 if test -z "$haveit"; then
7247 rpathdirs
="$rpathdirs $found_dir"
7251 for x
in $LDFLAGS $LIBICONV; do
7253 acl_save_prefix
="$prefix"
7254 prefix
="$acl_final_prefix"
7255 acl_save_exec_prefix
="$exec_prefix"
7256 exec_prefix
="$acl_final_exec_prefix"
7258 exec_prefix
="$acl_save_exec_prefix"
7259 prefix
="$acl_save_prefix"
7261 if test "X$x" = "X-L$found_dir"; then
7266 if test -z "$haveit"; then
7267 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7269 if test "$hardcode_minus_L" != no
; then
7270 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7272 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7278 if test "X$found_a" != "X"; then
7279 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7281 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7284 additional_includedir
=
7285 case "$found_dir" in
7287 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7288 additional_includedir
="$basedir/include"
7291 if test "X$additional_includedir" != "X"; then
7292 if test "X$additional_includedir" != "X/usr/include"; then
7294 if test "X$additional_includedir" = "X/usr/local/include"; then
7295 if test -n "$GCC"; then
7297 linux
*) haveit
=yes;;
7301 if test -z "$haveit"; then
7302 for x
in $CPPFLAGS $INCICONV; do
7304 acl_save_prefix
="$prefix"
7305 prefix
="$acl_final_prefix"
7306 acl_save_exec_prefix
="$exec_prefix"
7307 exec_prefix
="$acl_final_exec_prefix"
7309 exec_prefix
="$acl_save_exec_prefix"
7310 prefix
="$acl_save_prefix"
7312 if test "X$x" = "X-I$additional_includedir"; then
7317 if test -z "$haveit"; then
7318 if test -d "$additional_includedir"; then
7319 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7325 if test -n "$found_la"; then
7326 save_libdir
="$libdir"
7328 */* |
*\\*) .
"$found_la" ;;
7329 *) .
"./$found_la" ;;
7331 libdir
="$save_libdir"
7332 for dep
in $dependency_libs; do
7335 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7336 if test "X$additional_libdir" != "X/usr/lib"; then
7338 if test "X$additional_libdir" = "X/usr/local/lib"; then
7339 if test -n "$GCC"; then
7341 linux
*) haveit
=yes;;
7345 if test -z "$haveit"; then
7347 for x
in $LDFLAGS $LIBICONV; do
7349 acl_save_prefix
="$prefix"
7350 prefix
="$acl_final_prefix"
7351 acl_save_exec_prefix
="$exec_prefix"
7352 exec_prefix
="$acl_final_exec_prefix"
7354 exec_prefix
="$acl_save_exec_prefix"
7355 prefix
="$acl_save_prefix"
7357 if test "X$x" = "X-L$additional_libdir"; then
7362 if test -z "$haveit"; then
7363 if test -d "$additional_libdir"; then
7364 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7368 for x
in $LDFLAGS $LTLIBICONV; do
7370 acl_save_prefix
="$prefix"
7371 prefix
="$acl_final_prefix"
7372 acl_save_exec_prefix
="$exec_prefix"
7373 exec_prefix
="$acl_final_exec_prefix"
7375 exec_prefix
="$acl_save_exec_prefix"
7376 prefix
="$acl_save_prefix"
7378 if test "X$x" = "X-L$additional_libdir"; then
7383 if test -z "$haveit"; then
7384 if test -d "$additional_libdir"; then
7385 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7392 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7393 if test "$enable_rpath" != no
; then
7395 for x
in $rpathdirs; do
7396 if test "X$x" = "X$dir"; then
7401 if test -z "$haveit"; then
7402 rpathdirs
="$rpathdirs $dir"
7405 for x
in $ltrpathdirs; do
7406 if test "X$x" = "X$dir"; then
7411 if test -z "$haveit"; then
7412 ltrpathdirs
="$ltrpathdirs $dir"
7417 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7420 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7423 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7424 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7430 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
7431 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7432 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7434 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
7435 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
7442 if test "X$rpathdirs" != "X"; then
7443 if test -n "$hardcode_libdir_separator"; then
7445 for found_dir
in $rpathdirs; do
7446 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7448 acl_save_libdir
="$libdir"
7450 eval flag
=\"$hardcode_libdir_flag_spec\"
7451 libdir
="$acl_save_libdir"
7452 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7454 for found_dir
in $rpathdirs; do
7455 acl_save_libdir
="$libdir"
7457 eval flag
=\"$hardcode_libdir_flag_spec\"
7458 libdir
="$acl_save_libdir"
7459 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7463 if test "X$ltrpathdirs" != "X"; then
7464 for found_dir
in $ltrpathdirs; do
7465 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7473 if test -f ..
/gettext
/uninstalled-config.sh
; then
7474 relative_builddir
='$(top_builddir)/../gettext'
7475 . ..
/gettext
/uninstalled-config.sh
7477 # The sister gettext directory doesn't exist and won't collect information on
7478 # using gettext for us. Call a bundled AM_GNU_GETTEXT.
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7503 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
7504 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
7505 $as_echo_n "(cached) " >&6
7507 gt_save_LIBS
="$LIBS"
7508 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7510 /* end confdefs.h. */
7511 #include <CoreFoundation/CFPreferences.h>
7515 CFPreferencesCopyAppValue(NULL, NULL)
7520 if ac_fn_c_try_link
"$LINENO"; then :
7521 gt_cv_func_CFPreferencesCopyAppValue
=yes
7523 gt_cv_func_CFPreferencesCopyAppValue
=no
7525 rm -f core conftest.err conftest.
$ac_objext \
7526 conftest
$ac_exeext conftest.
$ac_ext
7527 LIBS
="$gt_save_LIBS"
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7530 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7531 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7533 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
7537 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
7538 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false
; then :
7539 $as_echo_n "(cached) " >&6
7541 gt_save_LIBS
="$LIBS"
7542 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7544 /* end confdefs.h. */
7545 #include <CoreFoundation/CFLocale.h>
7549 CFLocaleCopyPreferredLanguages();
7554 if ac_fn_c_try_link
"$LINENO"; then :
7555 gt_cv_func_CFLocaleCopyPreferredLanguages
=yes
7557 gt_cv_func_CFLocaleCopyPreferredLanguages
=no
7559 rm -f core conftest.err conftest.
$ac_objext \
7560 conftest
$ac_exeext conftest.
$ac_ext
7561 LIBS
="$gt_save_LIBS"
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
7564 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
7565 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
7567 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
7571 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
7572 ||
test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
7573 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
7585 case " $gt_needs " in
7586 *" need-formatstring-macros "*) gt_api_version
=3 ;;
7587 *" need-ngettext "*) gt_api_version
=2 ;;
7588 *) gt_api_version
=1 ;;
7590 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
7591 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
7593 if test "$USE_NLS" = "yes"; then
7594 gt_use_preinstalled_gnugettext
=no
7597 if test $gt_api_version -ge 3; then
7598 gt_revision_test_code
='
7599 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7600 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7602 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7605 gt_revision_test_code
=
7607 if test $gt_api_version -ge 2; then
7608 gt_expression_test_code
=' + * ngettext ("", "", 0)'
7610 gt_expression_test_code
=
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7614 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7615 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
7616 $as_echo_n "(cached) " >&6
7618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7621 #include <libintl.h>
7622 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7623 extern int _nl_msg_cat_cntr;
7624 extern int *_nl_domain_bindings;
7625 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
7627 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7629 $gt_revision_test_code
7635 bindtextdomain ("", "");
7636 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7642 if ac_fn_c_try_link
"$LINENO"; then :
7643 eval "$gt_func_gnugettext_libc=yes"
7645 eval "$gt_func_gnugettext_libc=no"
7647 rm -f core conftest.err conftest.
$ac_objext \
7648 conftest
$ac_exeext conftest.
$ac_ext
7650 eval ac_res
=\$
$gt_func_gnugettext_libc
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7652 $as_echo "$ac_res" >&6; }
7654 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7660 am_save_CPPFLAGS
="$CPPFLAGS"
7662 for element
in $INCICONV; do
7664 for x
in $CPPFLAGS; do
7666 acl_save_prefix
="$prefix"
7667 prefix
="$acl_final_prefix"
7668 acl_save_exec_prefix
="$exec_prefix"
7669 exec_prefix
="$acl_final_exec_prefix"
7671 exec_prefix
="$acl_save_exec_prefix"
7672 prefix
="$acl_save_prefix"
7674 if test "X$x" = "X$element"; then
7679 if test -z "$haveit"; then
7680 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7686 $as_echo_n "checking for iconv... " >&6; }
7687 if ${am_cv_func_iconv+:} false
; then :
7688 $as_echo_n "(cached) " >&6
7691 am_cv_func_iconv
="no, consider installing GNU libiconv"
7693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7694 /* end confdefs.h. */
7702 iconv_t cd = iconv_open("","");
7703 iconv(cd,NULL,NULL,NULL,NULL);
7709 if ac_fn_c_try_link
"$LINENO"; then :
7710 am_cv_func_iconv
=yes
7712 rm -f core conftest.err conftest.
$ac_objext \
7713 conftest
$ac_exeext conftest.
$ac_ext
7714 if test "$am_cv_func_iconv" != yes; then
7715 am_save_LIBS
="$LIBS"
7716 LIBS
="$LIBS $LIBICONV"
7717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7726 iconv_t cd = iconv_open("","");
7727 iconv(cd,NULL,NULL,NULL,NULL);
7733 if ac_fn_c_try_link
"$LINENO"; then :
7735 am_cv_func_iconv
=yes
7737 rm -f core conftest.err conftest.
$ac_objext \
7738 conftest
$ac_exeext conftest.
$ac_ext
7739 LIBS
="$am_save_LIBS"
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7744 $as_echo "$am_cv_func_iconv" >&6; }
7745 if test "$am_cv_func_iconv" = yes; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7747 $as_echo_n "checking for working iconv... " >&6; }
7748 if ${am_cv_func_iconv_works+:} false
; then :
7749 $as_echo_n "(cached) " >&6
7752 am_save_LIBS
="$LIBS"
7753 if test $am_cv_lib_iconv = yes; then
7754 LIBS
="$LIBS $LIBICONV"
7756 am_cv_func_iconv_works
=no
7757 for ac_iconv_const
in '' 'const'; do
7758 if test "$cross_compiling" = yes; then :
7760 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
7761 *) am_cv_func_iconv_works
="guessing yes" ;;
7764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7765 /* end confdefs.h. */
7771 # define ICONV_CONST $ac_iconv_const
7778 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
7779 successful returns. This is even documented in
7780 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
7782 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
7783 if (cd_utf8_to_88591 != (iconv_t)(-1))
7785 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
7787 ICONV_CONST char *inptr = input;
7788 size_t inbytesleft = strlen (input);
7790 size_t outbytesleft = sizeof (buf);
7791 size_t res = iconv (cd_utf8_to_88591,
7792 &inptr, &inbytesleft,
7793 &outptr, &outbytesleft);
7796 iconv_close (cd_utf8_to_88591);
7799 /* Test against Solaris 10 bug: Failures are not distinguishable from
7800 successful returns. */
7802 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
7803 if (cd_ascii_to_88591 != (iconv_t)(-1))
7805 static ICONV_CONST char input[] = "\263";
7807 ICONV_CONST char *inptr = input;
7808 size_t inbytesleft = strlen (input);
7810 size_t outbytesleft = sizeof (buf);
7811 size_t res = iconv (cd_ascii_to_88591,
7812 &inptr, &inbytesleft,
7813 &outptr, &outbytesleft);
7816 iconv_close (cd_ascii_to_88591);
7819 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
7821 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
7822 if (cd_88591_to_utf8 != (iconv_t)(-1))
7824 static ICONV_CONST char input[] = "\304";
7825 static char buf[2] = { (char)0xDE, (char)0xAD };
7826 ICONV_CONST char *inptr = input;
7827 size_t inbytesleft = 1;
7829 size_t outbytesleft = 1;
7830 size_t res = iconv (cd_88591_to_utf8,
7831 &inptr, &inbytesleft,
7832 &outptr, &outbytesleft);
7833 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
7835 iconv_close (cd_88591_to_utf8);
7838 #if 0 /* This bug could be worked around by the caller. */
7839 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
7841 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
7842 if (cd_88591_to_utf8 != (iconv_t)(-1))
7844 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
7846 ICONV_CONST char *inptr = input;
7847 size_t inbytesleft = strlen (input);
7849 size_t outbytesleft = sizeof (buf);
7850 size_t res = iconv (cd_88591_to_utf8,
7851 &inptr, &inbytesleft,
7852 &outptr, &outbytesleft);
7855 iconv_close (cd_88591_to_utf8);
7859 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
7862 /* Try standardized names. */
7863 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
7864 /* Try IRIX, OSF/1 names. */
7865 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
7866 /* Try AIX names. */
7867 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
7868 /* Try HP-UX names. */
7869 iconv_t cd4 = iconv_open ("utf8", "eucJP");
7870 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
7871 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
7873 if (cd1 != (iconv_t)(-1))
7875 if (cd2 != (iconv_t)(-1))
7877 if (cd3 != (iconv_t)(-1))
7879 if (cd4 != (iconv_t)(-1))
7888 if ac_fn_c_try_run
"$LINENO"; then :
7889 am_cv_func_iconv_works
=yes
7891 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7892 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7895 test "$am_cv_func_iconv_works" = no ||
break
7897 LIBS
="$am_save_LIBS"
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
7901 $as_echo "$am_cv_func_iconv_works" >&6; }
7902 case "$am_cv_func_iconv_works" in
7903 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
7904 *) am_func_iconv
=yes ;;
7907 am_func_iconv
=no am_cv_lib_iconv
=no
7909 if test "$am_func_iconv" = yes; then
7911 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
7914 if test "$am_cv_lib_iconv" = yes; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7916 $as_echo_n "checking how to link with libiconv... " >&6; }
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7918 $as_echo "$LIBICONV" >&6; }
7920 CPPFLAGS
="$am_save_CPPFLAGS"
7932 acl_save_prefix
="$prefix"
7933 prefix
="$acl_final_prefix"
7934 acl_save_exec_prefix
="$exec_prefix"
7935 exec_prefix
="$acl_final_exec_prefix"
7937 eval additional_includedir
=\"$includedir\"
7938 eval additional_libdir
=\"$libdir\"
7940 exec_prefix
="$acl_save_exec_prefix"
7941 prefix
="$acl_save_prefix"
7944 # Check whether --with-libintl-prefix was given.
7945 if test "${with_libintl_prefix+set}" = set; then :
7946 withval
=$with_libintl_prefix;
7947 if test "X$withval" = "Xno"; then
7950 if test "X$withval" = "X"; then
7952 acl_save_prefix
="$prefix"
7953 prefix
="$acl_final_prefix"
7954 acl_save_exec_prefix
="$exec_prefix"
7955 exec_prefix
="$acl_final_exec_prefix"
7957 eval additional_includedir
=\"$includedir\"
7958 eval additional_libdir
=\"$libdir\"
7960 exec_prefix
="$acl_save_exec_prefix"
7961 prefix
="$acl_save_prefix"
7964 additional_includedir
="$withval/include"
7965 additional_libdir
="$withval/lib"
7972 # Check whether --with-libintl-type was given.
7973 if test "${with_libintl_type+set}" = set; then :
7974 withval
=$with_libintl_type; with_libintl_type
=$withval
7976 with_libintl_type
=auto
7979 lib_type
=`eval echo \$with_libintl_type`
7986 names_already_handled
=
7987 names_next_round
='intl '
7988 while test -n "$names_next_round"; do
7989 names_this_round
="$names_next_round"
7991 for name
in $names_this_round; do
7993 for n
in $names_already_handled; do
7994 if test "$n" = "$name"; then
7999 if test -z "$already_handled"; then
8000 names_already_handled
="$names_already_handled $name"
8001 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8002 eval value
=\"\
$HAVE_LIB$uppername\"
8003 if test -n "$value"; then
8004 if test "$value" = yes; then
8005 eval value
=\"\
$LIB$uppername\"
8006 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
8007 eval value
=\"\
$LTLIB$uppername\"
8008 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
8017 if test $use_additional = yes; then
8018 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
8019 found_dir
="$additional_libdir"
8020 found_so
="$additional_libdir/lib$name.$shlibext"
8021 if test -f "$additional_libdir/lib$name.la"; then
8022 found_la
="$additional_libdir/lib$name.la"
8024 elif test x
$lib_type != xshared
; then
8025 if test -f "$additional_libdir/lib$name.$libext"; then
8026 found_dir
="$additional_libdir"
8027 found_a
="$additional_libdir/lib$name.$libext"
8028 if test -f "$additional_libdir/lib$name.la"; then
8029 found_la
="$additional_libdir/lib$name.la"
8034 if test "X$found_dir" = "X"; then
8035 for x
in $LDFLAGS $LTLIBINTL; do
8037 acl_save_prefix
="$prefix"
8038 prefix
="$acl_final_prefix"
8039 acl_save_exec_prefix
="$exec_prefix"
8040 exec_prefix
="$acl_final_exec_prefix"
8042 exec_prefix
="$acl_save_exec_prefix"
8043 prefix
="$acl_save_prefix"
8047 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8048 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
8050 found_so
="$dir/lib$name.$shlibext"
8051 if test -f "$dir/lib$name.la"; then
8052 found_la
="$dir/lib$name.la"
8054 elif test x
$lib_type != xshared
; then
8055 if test -f "$dir/lib$name.$libext"; then
8057 found_a
="$dir/lib$name.$libext"
8058 if test -f "$dir/lib$name.la"; then
8059 found_la
="$dir/lib$name.la"
8065 if test "X$found_dir" != "X"; then
8070 if test "X$found_dir" != "X"; then
8071 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8072 if test "X$found_so" != "X"; then
8073 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
8074 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8077 for x
in $ltrpathdirs; do
8078 if test "X$x" = "X$found_dir"; then
8083 if test -z "$haveit"; then
8084 ltrpathdirs
="$ltrpathdirs $found_dir"
8086 if test "$hardcode_direct" = yes; then
8087 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8089 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
8090 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8092 for x
in $rpathdirs; do
8093 if test "X$x" = "X$found_dir"; then
8098 if test -z "$haveit"; then
8099 rpathdirs
="$rpathdirs $found_dir"
8103 for x
in $LDFLAGS $LIBINTL; do
8105 acl_save_prefix
="$prefix"
8106 prefix
="$acl_final_prefix"
8107 acl_save_exec_prefix
="$exec_prefix"
8108 exec_prefix
="$acl_final_exec_prefix"
8110 exec_prefix
="$acl_save_exec_prefix"
8111 prefix
="$acl_save_prefix"
8113 if test "X$x" = "X-L$found_dir"; then
8118 if test -z "$haveit"; then
8119 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8121 if test "$hardcode_minus_L" != no
; then
8122 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8124 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8130 if test "X$found_a" != "X"; then
8131 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
8133 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8136 additional_includedir
=
8137 case "$found_dir" in
8139 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
8140 additional_includedir
="$basedir/include"
8143 if test "X$additional_includedir" != "X"; then
8144 if test "X$additional_includedir" != "X/usr/include"; then
8146 if test "X$additional_includedir" = "X/usr/local/include"; then
8147 if test -n "$GCC"; then
8149 linux
*) haveit
=yes;;
8153 if test -z "$haveit"; then
8154 for x
in $CPPFLAGS $INCINTL; do
8156 acl_save_prefix
="$prefix"
8157 prefix
="$acl_final_prefix"
8158 acl_save_exec_prefix
="$exec_prefix"
8159 exec_prefix
="$acl_final_exec_prefix"
8161 exec_prefix
="$acl_save_exec_prefix"
8162 prefix
="$acl_save_prefix"
8164 if test "X$x" = "X-I$additional_includedir"; then
8169 if test -z "$haveit"; then
8170 if test -d "$additional_includedir"; then
8171 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8177 if test -n "$found_la"; then
8178 save_libdir
="$libdir"
8180 */* |
*\\*) .
"$found_la" ;;
8181 *) .
"./$found_la" ;;
8183 libdir
="$save_libdir"
8184 for dep
in $dependency_libs; do
8187 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8188 if test "X$additional_libdir" != "X/usr/lib"; then
8190 if test "X$additional_libdir" = "X/usr/local/lib"; then
8191 if test -n "$GCC"; then
8193 linux
*) haveit
=yes;;
8197 if test -z "$haveit"; then
8199 for x
in $LDFLAGS $LIBINTL; do
8201 acl_save_prefix
="$prefix"
8202 prefix
="$acl_final_prefix"
8203 acl_save_exec_prefix
="$exec_prefix"
8204 exec_prefix
="$acl_final_exec_prefix"
8206 exec_prefix
="$acl_save_exec_prefix"
8207 prefix
="$acl_save_prefix"
8209 if test "X$x" = "X-L$additional_libdir"; then
8214 if test -z "$haveit"; then
8215 if test -d "$additional_libdir"; then
8216 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8220 for x
in $LDFLAGS $LTLIBINTL; do
8222 acl_save_prefix
="$prefix"
8223 prefix
="$acl_final_prefix"
8224 acl_save_exec_prefix
="$exec_prefix"
8225 exec_prefix
="$acl_final_exec_prefix"
8227 exec_prefix
="$acl_save_exec_prefix"
8228 prefix
="$acl_save_prefix"
8230 if test "X$x" = "X-L$additional_libdir"; then
8235 if test -z "$haveit"; then
8236 if test -d "$additional_libdir"; then
8237 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8244 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8245 if test "$enable_rpath" != no
; then
8247 for x
in $rpathdirs; do
8248 if test "X$x" = "X$dir"; then
8253 if test -z "$haveit"; then
8254 rpathdirs
="$rpathdirs $dir"
8257 for x
in $ltrpathdirs; do
8258 if test "X$x" = "X$dir"; then
8263 if test -z "$haveit"; then
8264 ltrpathdirs
="$ltrpathdirs $dir"
8269 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8272 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8275 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
8276 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8282 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
8283 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8284 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8286 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
8287 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
8294 if test "X$rpathdirs" != "X"; then
8295 if test -n "$hardcode_libdir_separator"; then
8297 for found_dir
in $rpathdirs; do
8298 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8300 acl_save_libdir
="$libdir"
8302 eval flag
=\"$hardcode_libdir_flag_spec\"
8303 libdir
="$acl_save_libdir"
8304 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8306 for found_dir
in $rpathdirs; do
8307 acl_save_libdir
="$libdir"
8309 eval flag
=\"$hardcode_libdir_flag_spec\"
8310 libdir
="$acl_save_libdir"
8311 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8315 if test "X$ltrpathdirs" != "X"; then
8316 for found_dir
in $ltrpathdirs; do
8317 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8322 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
8323 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
8324 $as_echo_n "(cached) " >&6
8326 gt_save_CPPFLAGS
="$CPPFLAGS"
8327 CPPFLAGS
="$CPPFLAGS $INCINTL"
8328 gt_save_LIBS
="$LIBS"
8329 LIBS
="$LIBS $LIBINTL"
8330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8333 #include <libintl.h>
8334 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8335 extern int _nl_msg_cat_cntr;
8340 const char *_nl_expand_alias (const char *);
8341 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8343 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8345 $gt_revision_test_code
8351 bindtextdomain ("", "");
8352 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8358 if ac_fn_c_try_link
"$LINENO"; then :
8359 eval "$gt_func_gnugettext_libintl=yes"
8361 eval "$gt_func_gnugettext_libintl=no"
8363 rm -f core conftest.err conftest.
$ac_objext \
8364 conftest
$ac_exeext conftest.
$ac_ext
8365 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8366 LIBS
="$LIBS $LIBICONV"
8367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8370 #include <libintl.h>
8371 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8372 extern int _nl_msg_cat_cntr;
8377 const char *_nl_expand_alias (const char *);
8378 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8380 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8382 $gt_revision_test_code
8388 bindtextdomain ("", "");
8389 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8395 if ac_fn_c_try_link
"$LINENO"; then :
8396 LIBINTL
="$LIBINTL $LIBICONV"
8397 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
8398 eval "$gt_func_gnugettext_libintl=yes"
8401 rm -f core conftest.err conftest.
$ac_objext \
8402 conftest
$ac_exeext conftest.
$ac_ext
8404 CPPFLAGS
="$gt_save_CPPFLAGS"
8405 LIBS
="$gt_save_LIBS"
8407 eval ac_res
=\$
$gt_func_gnugettext_libintl
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8409 $as_echo "$ac_res" >&6; }
8412 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8413 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8414 && test "$PACKAGE" != gettext-runtime \
8415 && test "$PACKAGE" != gettext-tools
; }; then
8416 gt_use_preinstalled_gnugettext
=yes
8425 if test -n "$INTL_MACOSX_LIBS"; then
8426 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8427 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8428 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
8429 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
8433 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8434 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8436 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8444 $as_echo_n "checking whether to use NLS... " >&6; }
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8446 $as_echo "$USE_NLS" >&6; }
8447 if test "$USE_NLS" = "yes"; then
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8449 $as_echo_n "checking where the gettext function comes from... " >&6; }
8450 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8451 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8452 gt_source
="external libintl"
8457 gt_source
="included intl directory"
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8460 $as_echo "$gt_source" >&6; }
8463 if test "$USE_NLS" = "yes"; then
8465 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8466 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8468 $as_echo_n "checking how to link with libintl... " >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8470 $as_echo "$LIBINTL" >&6; }
8472 for element
in $INCINTL; do
8474 for x
in $CPPFLAGS; do
8476 acl_save_prefix
="$prefix"
8477 prefix
="$acl_final_prefix"
8478 acl_save_exec_prefix
="$exec_prefix"
8479 exec_prefix
="$acl_final_exec_prefix"
8481 exec_prefix
="$acl_save_exec_prefix"
8482 prefix
="$acl_save_prefix"
8484 if test "X$x" = "X$element"; then
8489 if test -z "$haveit"; then
8490 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8497 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8500 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8529 $as_echo_n "checking whether NLS is requested... " >&6; }
8530 if test x
"$USE_NLS" != xyes
; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8532 $as_echo "no" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8535 $as_echo "yes" >&6; }
8537 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8541 $as_echo_n "checking for catalogs to be installed... " >&6; }
8542 # Look for .po and .gmo files in the source directory.
8545 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8546 # If there aren't any .gmo files the shell will give us the
8547 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8549 case "$cat" in *\
**)
8552 # The quadruple backslash is collapsed to a double backslash
8553 # by the backticks, then collapsed again by the double quotes,
8554 # leaving us with one backslash in the sed expression (right
8555 # before the dot that mustn't act as a wildcard).
8556 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8557 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8558 # The user is allowed to set LINGUAS to a list of languages to
8559 # install catalogs for. If it's empty that means "all of them."
8560 if test "x$LINGUAS" = x
; then
8561 CATALOGS
="$CATALOGS $cat"
8562 XLINGUAS
="$XLINGUAS $lang"
8564 case "$LINGUAS" in *$lang*)
8565 CATALOGS
="$CATALOGS $cat"
8566 XLINGUAS
="$XLINGUAS $lang"
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8573 $as_echo "$LINGUAS" >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uchar" >&5
8587 $as_echo_n "checking for uchar... " >&6; }
8588 if ${gcc_cv_type_uchar+:} false
; then :
8589 $as_echo_n "(cached) " >&6
8591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8594 #include <sys/types.h>
8599 if ((uchar *)0) return 0;
8600 if (sizeof(uchar)) return 0;
8605 if ac_fn_c_try_compile
"$LINENO"; then :
8606 ac_cv_type_uchar
=yes
8610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_type_uchar" >&5
8613 $as_echo "$gcc_cv_type_uchar" >&6; }
8614 if test $ac_cv_type_uchar = yes; then
8616 $as_echo "#define HAVE_UCHAR 1" >>confdefs.h
8620 # The cast to long int works around a bug in the HP C Compiler
8621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8623 # This bug is HP SR number 8606223364.
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ino_t" >&5
8625 $as_echo_n "checking size of ino_t... " >&6; }
8626 if ${ac_cv_sizeof_ino_t+:} false
; then :
8627 $as_echo_n "(cached) " >&6
8629 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ino_t))" "ac_cv_sizeof_ino_t" "$ac_includes_default"; then :
8632 if test "$ac_cv_type_ino_t" = yes; then
8633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8635 as_fn_error
77 "cannot compute sizeof (ino_t)
8636 See \`config.log' for more details" "$LINENO" 5; }
8638 ac_cv_sizeof_ino_t
=0
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ino_t" >&5
8644 $as_echo "$ac_cv_sizeof_ino_t" >&6; }
8648 cat >>confdefs.h
<<_ACEOF
8649 #define SIZEOF_INO_T $ac_cv_sizeof_ino_t
8653 # The cast to long int works around a bug in the HP C Compiler
8654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8656 # This bug is HP SR number 8606223364.
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
8658 $as_echo_n "checking size of dev_t... " >&6; }
8659 if ${ac_cv_sizeof_dev_t+:} false
; then :
8660 $as_echo_n "(cached) " >&6
8662 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t" "$ac_includes_default"; then :
8665 if test "$ac_cv_type_dev_t" = yes; then
8666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8668 as_fn_error
77 "cannot compute sizeof (dev_t)
8669 See \`config.log' for more details" "$LINENO" 5; }
8671 ac_cv_sizeof_dev_t
=0
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
8677 $as_echo "$ac_cv_sizeof_dev_t" >&6; }
8681 cat >>confdefs.h
<<_ACEOF
8682 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
8687 # g++ on Solaris 10+ defines _XOPEN_SOURCE=600, which exposes a different
8688 # iconv() prototype.
8690 ac_cpp
='$CXXCPP $CPPFLAGS'
8691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8700 am_save_CPPFLAGS
="$CPPFLAGS"
8702 for element
in $INCICONV; do
8704 for x
in $CPPFLAGS; do
8706 acl_save_prefix
="$prefix"
8707 prefix
="$acl_final_prefix"
8708 acl_save_exec_prefix
="$exec_prefix"
8709 exec_prefix
="$acl_final_exec_prefix"
8711 exec_prefix
="$acl_save_exec_prefix"
8712 prefix
="$acl_save_prefix"
8714 if test "X$x" = "X$element"; then
8719 if test -z "$haveit"; then
8720 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
8726 $as_echo_n "checking for iconv... " >&6; }
8727 if ${am_cv_func_iconv+:} false
; then :
8728 $as_echo_n "(cached) " >&6
8731 am_cv_func_iconv
="no, consider installing GNU libiconv"
8733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8742 iconv_t cd = iconv_open("","");
8743 iconv(cd,NULL,NULL,NULL,NULL);
8749 if ac_fn_cxx_try_link
"$LINENO"; then :
8750 am_cv_func_iconv
=yes
8752 rm -f core conftest.err conftest.
$ac_objext \
8753 conftest
$ac_exeext conftest.
$ac_ext
8754 if test "$am_cv_func_iconv" != yes; then
8755 am_save_LIBS
="$LIBS"
8756 LIBS
="$LIBS $LIBICONV"
8757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8766 iconv_t cd = iconv_open("","");
8767 iconv(cd,NULL,NULL,NULL,NULL);
8773 if ac_fn_cxx_try_link
"$LINENO"; then :
8775 am_cv_func_iconv
=yes
8777 rm -f core conftest.err conftest.
$ac_objext \
8778 conftest
$ac_exeext conftest.
$ac_ext
8779 LIBS
="$am_save_LIBS"
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
8784 $as_echo "$am_cv_func_iconv" >&6; }
8785 if test "$am_cv_func_iconv" = yes; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
8787 $as_echo_n "checking for working iconv... " >&6; }
8788 if ${am_cv_func_iconv_works+:} false
; then :
8789 $as_echo_n "(cached) " >&6
8792 am_save_LIBS
="$LIBS"
8793 if test $am_cv_lib_iconv = yes; then
8794 LIBS
="$LIBS $LIBICONV"
8796 am_cv_func_iconv_works
=no
8797 for ac_iconv_const
in '' 'const'; do
8798 if test "$cross_compiling" = yes; then :
8800 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
8801 *) am_cv_func_iconv_works
="guessing yes" ;;
8804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8811 # define ICONV_CONST $ac_iconv_const
8818 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
8819 successful returns. This is even documented in
8820 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
8822 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8823 if (cd_utf8_to_88591 != (iconv_t)(-1))
8825 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
8827 ICONV_CONST char *inptr = input;
8828 size_t inbytesleft = strlen (input);
8830 size_t outbytesleft = sizeof (buf);
8831 size_t res = iconv (cd_utf8_to_88591,
8832 &inptr, &inbytesleft,
8833 &outptr, &outbytesleft);
8836 iconv_close (cd_utf8_to_88591);
8839 /* Test against Solaris 10 bug: Failures are not distinguishable from
8840 successful returns. */
8842 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8843 if (cd_ascii_to_88591 != (iconv_t)(-1))
8845 static ICONV_CONST char input[] = "\263";
8847 ICONV_CONST char *inptr = input;
8848 size_t inbytesleft = strlen (input);
8850 size_t outbytesleft = sizeof (buf);
8851 size_t res = iconv (cd_ascii_to_88591,
8852 &inptr, &inbytesleft,
8853 &outptr, &outbytesleft);
8856 iconv_close (cd_ascii_to_88591);
8859 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
8861 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8862 if (cd_88591_to_utf8 != (iconv_t)(-1))
8864 static ICONV_CONST char input[] = "\304";
8865 static char buf[2] = { (char)0xDE, (char)0xAD };
8866 ICONV_CONST char *inptr = input;
8867 size_t inbytesleft = 1;
8869 size_t outbytesleft = 1;
8870 size_t res = iconv (cd_88591_to_utf8,
8871 &inptr, &inbytesleft,
8872 &outptr, &outbytesleft);
8873 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8875 iconv_close (cd_88591_to_utf8);
8878 #if 0 /* This bug could be worked around by the caller. */
8879 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8881 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8882 if (cd_88591_to_utf8 != (iconv_t)(-1))
8884 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8886 ICONV_CONST char *inptr = input;
8887 size_t inbytesleft = strlen (input);
8889 size_t outbytesleft = sizeof (buf);
8890 size_t res = iconv (cd_88591_to_utf8,
8891 &inptr, &inbytesleft,
8892 &outptr, &outbytesleft);
8895 iconv_close (cd_88591_to_utf8);
8899 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8902 /* Try standardized names. */
8903 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
8904 /* Try IRIX, OSF/1 names. */
8905 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
8906 /* Try AIX names. */
8907 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
8908 /* Try HP-UX names. */
8909 iconv_t cd4 = iconv_open ("utf8", "eucJP");
8910 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
8911 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
8913 if (cd1 != (iconv_t)(-1))
8915 if (cd2 != (iconv_t)(-1))
8917 if (cd3 != (iconv_t)(-1))
8919 if (cd4 != (iconv_t)(-1))
8928 if ac_fn_cxx_try_run
"$LINENO"; then :
8929 am_cv_func_iconv_works
=yes
8931 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8932 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8935 test "$am_cv_func_iconv_works" = no ||
break
8937 LIBS
="$am_save_LIBS"
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8941 $as_echo "$am_cv_func_iconv_works" >&6; }
8942 case "$am_cv_func_iconv_works" in
8943 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
8944 *) am_func_iconv
=yes ;;
8947 am_func_iconv
=no am_cv_lib_iconv
=no
8949 if test "$am_func_iconv" = yes; then
8951 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8954 if test "$am_cv_lib_iconv" = yes; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8956 $as_echo_n "checking how to link with libiconv... " >&6; }
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8958 $as_echo "$LIBICONV" >&6; }
8960 CPPFLAGS
="$am_save_CPPFLAGS"
8967 if test "$am_cv_func_iconv" = yes; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv is compatible with its POSIX signature" >&5
8969 $as_echo_n "checking whether iconv is compatible with its POSIX signature... " >&6; }
8970 if ${gl_cv_iconv_nonconst+:} false
; then :
8971 $as_echo_n "(cached) " >&6
8973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8974 /* end confdefs.h. */
8982 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8992 if ac_fn_cxx_try_compile
"$LINENO"; then :
8993 gl_cv_iconv_nonconst
=yes
8995 gl_cv_iconv_nonconst
=no
8997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_iconv_nonconst" >&5
9001 $as_echo "$gl_cv_iconv_nonconst" >&6; }
9003 gl_cv_iconv_nonconst
=yes
9005 if test $gl_cv_iconv_nonconst = yes; then
9011 cat >>confdefs.h
<<_ACEOF
9012 #define ICONV_CONST $iconv_arg1
9017 if test "$am_func_iconv" = yes; then
9018 if test -n "$LIBICONV"; then
9019 am_cv_func_iconv_summary
='yes, in libiconv'
9021 am_cv_func_iconv_summary
='yes, in libc'
9024 if test "$am_cv_func_iconv" = yes; then
9025 am_cv_func_iconv_summary
='not working, consider installing GNU libiconv'
9027 am_cv_func_iconv_summary
='no, consider installing GNU libiconv'
9032 ac_cpp
='$CPP $CPPFLAGS'
9033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9038 # More defines and substitutions.
9039 PACKAGE
="$PACKAGE_TARNAME"
9041 cat >>confdefs.h
<<_ACEOF
9042 #define PACKAGE "$PACKAGE"
9047 if test "x$enable_nls" != xno
; then
9048 USED_CATALOGS
='$(CATALOGS)'
9054 # Check whether --enable-maintainer-mode was given.
9055 if test "${enable_maintainer_mode+set}" = set; then :
9056 enableval
=$enable_maintainer_mode;
9058 enable_maintainer_mode
=no
9062 if test "x$enable_maintainer_mode" = xno
; then
9069 # Enable expensive internal checks
9071 if test -f $srcdir/..
/gcc
/DEV-PHASE \
9072 && test x
"`cat $srcdir/../gcc/DEV-PHASE`" != xexperimental
; then
9076 # Check whether --enable-checking was given.
9077 if test "${enable_checking+set}" = set; then :
9078 enableval
=$enable_checking; ac_checking_flags
="${enableval}"
9081 # Determine the default checks.
9082 if test x
$is_release = x
; then
9083 ac_checking_flags
=yes
9085 ac_checking_flags
=release
9089 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="$IFS,"
9090 for check
in release
$ac_checking_flags
9093 # these set all the flags to specific states
9094 yes|all
) ac_checking
=1 ; ac_assert_checking
=1 ; ac_valgrind_checking
= ;;
9095 no|none
) ac_checking
= ; ac_assert_checking
= ; ac_valgrind_checking
= ;;
9096 release
) ac_checking
= ; ac_assert_checking
=1 ; ac_valgrind_checking
= ;;
9097 # these enable particular checks
9098 assert
) ac_assert_checking
=1 ;;
9099 misc
) ac_checking
=1 ;;
9100 valgrind
) ac_valgrind_checking
=1 ;;
9107 if test x
$ac_checking != x
; then
9109 $as_echo "#define CHECKING_P 1" >>confdefs.h
9112 $as_echo "#define CHECKING_P 0" >>confdefs.h
9116 if test x
$ac_assert_checking != x
; then
9118 $as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h
9122 # Check whether --enable-canonical-system-headers was given.
9123 if test "${enable_canonical_system_headers+set}" = set; then :
9124 enableval
=$enable_canonical_system_headers;
9126 enable_canonical_system_headers
=yes
9129 if test $enable_canonical_system_headers != no
; then
9131 $as_echo "#define ENABLE_CANONICAL_SYSTEM_HEADERS 1" >>confdefs.h
9137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9143 asm ("pcmpestri %0, %%xmm0, %%xmm1" : : "i"(0))
9148 if ac_fn_c_try_compile
"$LINENO"; then :
9150 $as_echo "#define HAVE_SSE4 1" >>confdefs.h
9153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9156 # Enable --enable-host-shared.
9157 # Check whether --enable-host-shared was given.
9158 if test "${enable_host_shared+set}" = set; then :
9159 enableval
=$enable_host_shared;
9164 # Enable --enable-host-pie.
9165 # Check whether --enable-host-pie was given.
9166 if test "${enable_host_pie+set}" = set; then :
9167 enableval
=$enable_host_pie;
9172 if test x
$enable_host_shared = xyes
; then
9174 elif test x
$enable_host_pie = xyes
; then
9182 # Enable Intel CET on Intel CET enabled host if jit is enabled.
9183 # Check whether --enable-cet was given.
9184 if test "${enable_cet+set}" = set; then :
9185 enableval
=$enable_cet;
9186 case "$enableval" in
9188 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
9197 $as_echo_n "checking for CET support... " >&6; }
9200 i
[34567]86-*-linux* | x86_64-
*-linux*)
9202 cet_save_CFLAGS
="$CFLAGS"
9203 CFLAGS
="$CFLAGS -fcf-protection"
9204 case "$enable_cet" in
9206 # Check if target supports multi-byte NOPs
9207 # and if compiler and assembler support CET.
9208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9209 /* end confdefs.h. */
9215 #if !defined(__SSE2__)
9216 #error target does not support multi-byte NOPs
9225 if ac_fn_c_try_compile
"$LINENO"; then :
9230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9233 # Check if compiler and assembler support CET.
9234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9245 if ac_fn_c_try_compile
"$LINENO"; then :
9250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9251 if test $support_cet = "no"; then
9252 if test x
$enable_bootstrap != xno \
9253 && test -z "${with_build_subdir}" \
9254 && (test ! -f ..
/stage_current \
9255 ||
test `cat ../stage_current` != "stage1"); then
9256 # Require CET support only for the final GCC build.
9257 as_fn_error $?
"compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
9259 # Don't enable CET without CET support for non-bootstrap
9260 # build, in stage1 nor for build support.
9266 CFLAGS
="$cet_save_CFLAGS"
9274 cet_save_CFLAGS
="$CFLAGS"
9275 CFLAGS
="$CFLAGS -fcf-protection=none"
9276 cet_save_LDFLAGS
="$LDFLAGS"
9277 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
9278 if test x
$may_have_cet = xyes
; then
9279 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
9280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9291 if ac_fn_c_try_link
"$LINENO"; then :
9296 rm -f core conftest.err conftest.
$ac_objext \
9297 conftest
$ac_exeext conftest.
$ac_ext
9300 if test x
$may_have_cet = xyes
; then
9301 if test x
$cross_compiling = xno
; then
9302 if test "$cross_compiling" = yes; then :
9303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9305 as_fn_error $?
"cannot run test program while cross compiling
9306 See \`config.log' for more details" "$LINENO" 5; }
9308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9319 if ac_fn_c_try_run
"$LINENO"; then :
9320 have_multi_byte_nop
=yes
9322 have_multi_byte_nop
=no
9324 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9325 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9329 if test x
$have_multi_byte_nop = xyes
; then
9330 if test "$cross_compiling" = yes; then :
9331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9333 as_fn_error $?
"cannot run test program while cross compiling
9334 See \`config.log' for more details" "$LINENO" 5; }
9336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9345 __attribute__ ((noinline, noclone))
9346 xxx (void (*f) (void))
9352 __attribute__ ((noinline, noclone))
9366 if ac_fn_c_try_run
"$LINENO"; then :
9371 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9372 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9376 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
9377 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
9381 # Enable CET in cross compiler if possible so that it will run on both
9382 # CET and non-CET hosts.
9385 if test x
$enable_cet = xyes
; then
9386 CET_HOST_FLAGS
="-fcf-protection"
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9388 $as_echo "yes" >&6; }
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9391 $as_echo "no" >&6; }
9393 CFLAGS
="$cet_save_CFLAGS"
9394 LDFLAGS
="$cet_save_LDFLAGS"
9396 case x
$enable_languages in
9405 # Check whether --enable-valgrind-annotations was given.
9406 if test "${enable_valgrind_annotations+set}" = set; then :
9407 enableval
=$enable_valgrind_annotations;
9409 enable_valgrind_annotations
=no
9412 if test x
$enable_valgrind_annotations != xno \
9413 ||
test x
$ac_valgrind_checking != x
; then
9415 $as_echo "#define ENABLE_VALGRIND_WORKAROUNDS 1" >>confdefs.h
9421 ac_config_headers
="$ac_config_headers config.h:config.in"
9423 ac_config_files
="$ac_config_files Makefile"
9425 cat >confcache
<<\_ACEOF
9426 # This file is a shell script that caches the results of configure
9427 # tests run on this system so they can be shared between configure
9428 # scripts and configure runs, see configure's option --config-cache.
9429 # It is not useful on other systems. If it contains results you don't
9430 # want to keep, you may remove or edit it.
9432 # config.status only pays attention to the cache file if you give it
9433 # the --recheck option to rerun configure.
9435 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9436 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9441 # The following way of writing the cache mishandles newlines in values,
9442 # but we know of no workaround that is simple, portable, and efficient.
9443 # So, we kill variables containing newlines.
9444 # Ultrix sh set writes to stderr and can't be redirected directly,
9445 # and sets the high bit in the cache file unless we assign to the vars.
9447 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9448 eval ac_val
=\$
$ac_var
9452 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9453 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9456 _ | IFS | as_nl
) ;; #(
9457 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
9458 *) { eval $ac_var=; unset $ac_var;} ;;
9464 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9465 *${as_nl}ac_space
=\
*)
9466 # `set' does not quote correctly, so add quotes: double-quote
9467 # substitution turns \\\\ into \\, and sed turns \\ into \.
9470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9473 # `set' quotes correctly as required by POSIX, so do not add quotes.
9474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9485 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9487 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9488 if test -w "$cache_file"; then
9489 if test "x$cache_file" != "x/dev/null"; then
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9491 $as_echo "$as_me: updating cache $cache_file" >&6;}
9492 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
9493 cat confcache
>"$cache_file"
9495 case $cache_file in #(
9497 mv -f confcache
"$cache_file"$$
&&
9498 mv -f "$cache_file"$$
"$cache_file" ;; #(
9500 mv -f confcache
"$cache_file" ;;
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9506 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9511 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9512 # Let make expand exec_prefix.
9513 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9515 DEFS
=-DHAVE_CONFIG_H
9520 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9521 # 1. Remove the extension, and $U if already installed.
9522 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9523 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
9524 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9525 # will be set to the directory where LIBOBJS objects are built.
9526 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9527 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
9531 LTLIBOBJS
=$ac_ltlibobjs
9536 : "${CONFIG_STATUS=./config.status}"
9538 ac_clean_files_save
=$ac_clean_files
9539 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9541 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9545 # Generated by $as_me.
9546 # Run this file to recreate the current configuration.
9547 # Compiler output produced by configure, useful for debugging
9548 # configure, is in config.log if it exists.
9554 SHELL=\${CONFIG_SHELL-$SHELL}
9557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
9558 ## -------------------- ##
9559 ## M4sh Initialization. ##
9560 ## -------------------- ##
9562 # Be more Bourne compatible
9563 DUALCASE
=1; export DUALCASE
# for MKS sh
9564 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
9567 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9568 # is contrary to our usage. Disable this feature.
9569 alias -g '${1+"$@"}'='"$@"'
9570 setopt NO_GLOB_SUBST
9572 case `(set -o) 2>/dev/null` in #(
9584 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9585 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9588 # Prefer a ksh shell builtin over an external printf program on Solaris,
9589 # but without wasting forks for bash or zsh.
9590 if test -z "$BASH_VERSION$ZSH_VERSION" \
9591 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9592 as_echo='print
-r --'
9593 as_echo_n='print
-rn --'
9594 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9595 as_echo='printf %s
\n'
9596 as_echo_n='printf %s
'
9598 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9599 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9600 as_echo_n='/usr
/ucb
/echo -n'
9602 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9603 as_echo_n_body='eval
9607 expr "X$arg" : "X\\(.*\\)$as_nl";
9608 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9610 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9612 export as_echo_n_body
9613 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9616 as_echo='sh
-c $as_echo_body as_echo
'
9619 # The user is always right.
9620 if test "${PATH_SEPARATOR+set}" != set; then
9622 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9623 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9630 # We need space, tab and new line, in precisely that order. Quoting is
9631 # there to prevent editors from complaining about space-tab.
9632 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9633 # splitting by setting IFS to empty value.)
9636 # Find who we are. Look in the path if we contain no directory separator.
9639 *[\\/]* ) as_myself=$0 ;;
9640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9644 test -z "$as_dir" && as_dir=.
9645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9651 # We did not find ourselves, most probably we were run as `sh COMMAND'
9652 # in which case we are not to be found in the path.
9653 if test "x$as_myself" = x
; then
9656 if test ! -f "$as_myself"; then
9657 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9661 # Unset variables that we do not need and which cause bugs (e.g. in
9662 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9663 # suppresses any "Segmentation fault" message there. '((' could
9664 # trigger a bug in pdksh 5.2.14.
9665 for as_var
in BASH_ENV ENV MAIL MAILPATH
9666 do eval test x\
${$as_var+set} = xset \
9667 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
9680 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
9683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9684 # ----------------------------------------
9685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9687 # script with STATUS, using 1 if that was 0.
9690 as_status
=$1; test $as_status -eq 0 && as_status
=1
9692 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
9693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9695 $as_echo "$as_me: error: $2" >&2
9696 as_fn_exit
$as_status
9700 # as_fn_set_status STATUS
9701 # -----------------------
9702 # Set $? to STATUS, without forking.
9706 } # as_fn_set_status
9710 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9720 # Portably unset VAR.
9723 { eval $1=; unset $1;}
9725 as_unset
=as_fn_unset
9726 # as_fn_append VAR VALUE
9727 # ----------------------
9728 # Append the text in VALUE to the end of the definition contained in VAR. Take
9729 # advantage of any shell optimizations that allow amortized linear growth over
9730 # repeated appends, instead of the typical quadratic growth present in naive
9732 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
9733 eval 'as_fn_append ()
9744 # as_fn_arith ARG...
9745 # ------------------
9746 # Perform arithmetic evaluation on the ARGs, and store the result in the
9747 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9748 # must be portable across $(()) and expr.
9749 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
9750 eval 'as_fn_arith ()
9757 as_val
=`expr "$@" || test $? -eq 1`
9762 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9763 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9769 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9770 as_basename
=basename
9775 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9781 as_me
=`$as_basename -- "$0" ||
9782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9783 X"$0" : 'X\(//\)$' \| \
9784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9786 sed '/^.*\/\([^/][^/]*\)\/*$/{
9800 # Avoid depending upon Character Ranges.
9801 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9802 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9803 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9804 as_cr_digits
='0123456789'
9805 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9807 ECHO_C
= ECHO_N
= ECHO_T
=
9808 case `echo -n x` in #(((((
9810 case `echo 'xy\c'` in
9811 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9813 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
9820 rm -f conf$$ conf$$.exe conf$$.
file
9821 if test -d conf$$.dir
; then
9822 rm -f conf$$.dir
/conf$$.
file
9825 mkdir conf$$.dir
2>/dev
/null
9827 if (echo >conf$$.
file) 2>/dev
/null
; then
9828 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9830 # ... but there are two gotchas:
9831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9833 # In both cases, we have to default to `cp -pR'.
9834 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9836 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9844 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9845 rmdir conf$$.dir
2>/dev
/null
9850 # Create "$as_dir" as a directory, including parents if necessary.
9855 -*) as_dir
=.
/$as_dir;;
9857 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
9861 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9862 *) as_qdir
=$as_dir;;
9864 as_dirs
="'$as_qdir' $as_dirs"
9865 as_dir
=`$as_dirname -- "$as_dir" ||
9866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9867 X"$as_dir" : 'X\(//\)[^/]' \| \
9868 X"$as_dir" : 'X\(//\)$' \| \
9869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9870 $as_echo X"$as_dir" |
9871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9888 test -d "$as_dir" && break
9890 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9891 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
9895 if mkdir
-p .
2>/dev
/null
; then
9896 as_mkdir_p
='mkdir -p "$as_dir"'
9898 test -d .
/-p && rmdir .
/-p
9903 # as_fn_executable_p FILE
9904 # -----------------------
9905 # Test if FILE is an executable regular file.
9906 as_fn_executable_p
()
9908 test -f "$1" && test -x "$1"
9909 } # as_fn_executable_p
9911 as_executable_p
=as_fn_executable_p
9913 # Sed expression to map a string onto a valid CPP name.
9914 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9916 # Sed expression to map a string onto a valid variable name.
9917 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9921 ## ----------------------------------- ##
9922 ## Main body of $CONFIG_STATUS script. ##
9923 ## ----------------------------------- ##
9925 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
9927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9928 # Save the log message, to keep $0 and so on meaningful, and to
9929 # report actual input values of CONFIG_FILES etc. instead of their
9930 # values after options handling.
9932 This file was extended by cpplib $as_me , which was
9933 generated by GNU Autoconf 2.69. Invocation command line was
9935 CONFIG_FILES = $CONFIG_FILES
9936 CONFIG_HEADERS = $CONFIG_HEADERS
9937 CONFIG_LINKS = $CONFIG_LINKS
9938 CONFIG_COMMANDS = $CONFIG_COMMANDS
9941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9946 case $ac_config_files in *"
9947 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9950 case $ac_config_headers in *"
9951 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9956 # Files that config.status was made for.
9957 config_files="$ac_config_files"
9958 config_headers="$ac_config_headers"
9959 config_commands="$ac_config_commands"
9963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9965 \`$as_me' instantiates files and other configuration actions
9966 from templates according to the current configuration. Unless the files
9967 and actions are specified as TAGs, all are instantiated by default.
9969 Usage: $0 [OPTION]... [TAG]...
9971 -h, --help print this help, then exit
9972 -V, --version print version number and configuration settings, then exit
9973 --config print configuration, then exit
9974 -q, --quiet, --silent
9975 do not print progress messages
9976 -d, --debug don't remove temporary files
9977 --recheck update $as_me by reconfiguring in the same conditions
9978 --file=FILE[:TEMPLATE]
9979 instantiate the configuration file FILE
9980 --header=FILE[:TEMPLATE]
9981 instantiate the configuration header FILE
9983 Configuration files:
9986 Configuration headers:
9989 Configuration commands:
9992 Report bugs to <gcc-bugs@gcc.gnu.org>."
9995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9996 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9998 cpplib config.status
9999 configured by $0, generated by GNU Autoconf 2.69,
10000 with options \\"\$ac_cs_config\\"
10002 Copyright (C) 2012 Free Software Foundation, Inc.
10003 This config.status script is free software; the Free Software Foundation
10004 gives unlimited permission to copy, distribute and modify it."
10009 test -n "\$AWK" || AWK=awk
10012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10013 # The default lists apply if the user does not specify any file.
10019 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10020 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10024 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10036 # Handling of the options.
10037 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10039 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10040 $as_echo "$ac_cs_version"; exit ;;
10041 --config |
--confi |
--conf |
--con |
--co |
--c )
10042 $as_echo "$ac_cs_config"; exit ;;
10043 --debug |
--debu |
--deb |
--de |
--d |
-d )
10045 --file |
--fil |
--fi |
--f )
10048 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10049 '') as_fn_error $?
"missing file argument" ;;
10051 as_fn_append CONFIG_FILES
" '$ac_optarg'"
10052 ac_need_defaults
=false
;;
10053 --header |
--heade |
--head |
--hea )
10056 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10058 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
10059 ac_need_defaults
=false
;;
10061 # Conflict between --help and --header
10062 as_fn_error $?
"ambiguous option: \`$1'
10063 Try \`$0 --help' for more information.";;
10064 --help |
--hel |
-h )
10065 $as_echo "$ac_cs_usage"; exit ;;
10066 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10067 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10070 # This is an error.
10071 -*) as_fn_error $?
"unrecognized option: \`$1'
10072 Try \`$0 --help' for more information." ;;
10074 *) as_fn_append ac_config_targets
" $1"
10075 ac_need_defaults
=false
;;
10081 ac_configure_extra_args
=
10083 if $ac_cs_silent; then
10085 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10090 if \$ac_cs_recheck; then
10091 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10093 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10094 CONFIG_SHELL='$SHELL'
10095 export CONFIG_SHELL
10100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10104 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10105 ## Running $as_me. ##
10111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10115 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
10116 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
10117 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
10119 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
10120 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10121 LINGUAS="${LINGUAS-%UNSET%}"
10126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10128 # Handling of arguments.
10129 for ac_config_target
in $ac_config_targets
10131 case $ac_config_target in
10132 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
10133 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10134 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
10135 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10137 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10142 # If the user did not use the arguments to specify the items to instantiate,
10143 # then the envvar interface is used. Set only those that are not.
10144 # We use the long form for the default assignment because of an extremely
10145 # bizarre bug on SunOS 4.1.3.
10146 if $ac_need_defaults; then
10147 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10148 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10149 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10152 # Have a temporary directory for convenience. Make it in the build tree
10153 # simply because there is no reason against having it here, and in addition,
10154 # creating and moving files from /tmp can sometimes cause problems.
10155 # Hook for its removal unless debugging.
10156 # Note that there is a small window in which the directory will not be cleaned:
10157 # after its creation but before its name has been assigned to `$tmp'.
10161 trap 'exit_status=$?
10162 : "${ac_tmp:=$tmp}"
10163 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10165 trap 'as_fn_exit 1' 1 2 13 15
10167 # Create a (secure) tmp directory for tmp files.
10170 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10174 tmp
=.
/conf$$
-$RANDOM
10175 (umask 077 && mkdir
"$tmp")
10176 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
10179 # Set up the scripts for CONFIG_FILES section.
10180 # No need to generate them if there are no CONFIG_FILES.
10181 # This happens for instance with `./config.status config.h'.
10182 if test -n "$CONFIG_FILES"; then
10185 ac_cr
=`echo X | tr X '\015'`
10186 # On cygwin, bash can eat \r inside `` if the user requested igncr.
10187 # But we know of no other shell where ac_cr would be empty at this
10188 # point, so we can use a bashism as a fallback.
10189 if test "x$ac_cr" = x
; then
10190 eval ac_cr
=\$
\'\\r
\'
10192 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10193 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10196 ac_cs_awk_cr
=$ac_cr
10199 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10204 echo "cat >conf$$subs.awk <<_ACEOF" &&
10205 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10207 } >conf$$subs.sh ||
10208 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10209 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10211 for ac_last_try in false false false false false :; do
10212 . ./conf$$subs.sh ||
10213 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10215 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
10216 if test $ac_delim_n = $ac_delim_num; then
10218 elif $ac_last_try; then
10219 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10221 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10224 rm -f conf$$subs.sh
10226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10227 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
10231 s/^/S["/; s
/!.
*/"]=/
10241 s/\(.\{148\}\)..*/\1/
10243 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
10248 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10255 s/\(.\{148\}\)..*/\1/
10257 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
10261 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10266 ' <conf$$subs.awk | sed '
10271 ' >>$CONFIG_STATUS || ac_write_fail=1
10272 rm -f conf$$subs.awk
10273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10275 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
10276 for (key in S) S_is_set[key] = 1
10282 nfields = split(line, field, "@
")
10284 len = length(field[1])
10285 for (i = 2; i < nfields; i++) {
10287 keylen = length(key)
10288 if (S_is_set[key]) {
10290 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10291 len += length(value) + length(field[++i])
10302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10303 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10304 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
10307 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
10308 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
10311 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10312 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
10313 # trailing colons and then remove the whole line if VPATH becomes empty
10314 # (actually we leave an empty line to preserve line numbers).
10315 if test "x
$srcdir" = x.; then
10316 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10335 fi # test -n "$CONFIG_FILES"
10337 # Set up the scripts for CONFIG_HEADERS section.
10338 # No need to generate them if there are no CONFIG_HEADERS.
10339 # This happens for instance with `./config.status Makefile'.
10340 if test -n "$CONFIG_HEADERS"; then
10341 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
10345 # Transform confdefs.h into an awk script `defines.awk', embedded as
10346 # here-document in config.status, that substitutes the proper values into
10347 # config.h.in to produce config.h.
10349 # Create a delimiter string that does not exist in confdefs.h, to ease
10350 # handling of long lines.
10352 for ac_last_try in false false :; do
10353 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
10354 if test -z "$ac_tt"; then
10356 elif $ac_last_try; then
10357 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
10359 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10363 # For the awk script, D is an array of macro values keyed by name,
10364 # likewise P contains macro parameters if any. Preserve backslash
10365 # newline sequences.
10367 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10369 s/.\{148\}/&'"$ac_delim"'/g
10372 s/^[ ]*#[ ]*define[ ][ ]*/ /
10379 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
10381 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
10385 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
10386 D["\
1"]=" \
3\\\\\\n
"\\/p
10388 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
10393 s/.\{148\}/&'"$ac_delim"'/g
10398 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
10401 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
10403 ' <confdefs.h | sed '
10404 s/'"$ac_delim"'/"\\\
10405 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10408 for (key in D) D_is_set[key] = 1
10411 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10413 split(line, arg, " ")
10414 if (arg[1] == "#") {
10418 defundef
= substr
(arg
[1], 2)
10421 split(mac1
, mac2
, "(") #)
10423 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
10424 if (D_is_set
[macro
]) {
10425 # Preserve the white space surrounding the "#".
10426 print prefix
"define", macro P
[macro
] D
[macro
]
10429 # Replace #undef with comments. This is necessary, for example,
10430 # in the case of _POSIX_SOURCE, which is predefined and required
10431 # on some systems where configure will not decide to define it.
10432 if (defundef
== "undef") {
10433 print
"/*", prefix defundef
, macro
, "*/"
10441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10442 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
10443 fi # test -n "$CONFIG_HEADERS"
10446 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10451 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10453 case $ac_mode$ac_tag in
10455 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
10456 :[FH
]-) ac_tag
=-:-;;
10457 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10474 -) ac_f
="$ac_tmp/stdin";;
10475 *) # Look for the file first in the build tree, then in the source tree
10476 # (if the path is not absolute). The absolute path cannot be DOS-style,
10477 # because $ac_f cannot contain `:'.
10481 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10483 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10485 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10486 as_fn_append ac_file_inputs
" '$ac_f'"
10489 # Let's still pretend it is `configure' which instantiates (i.e., don't
10490 # use $as_me), people would be surprised to read:
10491 # /* config.h. Generated by config.status. */
10492 configure_input
='Generated from '`
10493 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10495 if test x
"$ac_file" != x-
; then
10496 configure_input
="$ac_file. $configure_input"
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10498 $as_echo "$as_me: creating $ac_file" >&6;}
10500 # Neutralize special characters interpreted by sed in replacement strings.
10501 case $configure_input in #(
10502 *\
&* |
*\|
* |
*\\* )
10503 ac_sed_conf_input
=`$as_echo "$configure_input" |
10504 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10505 *) ac_sed_conf_input
=$configure_input;;
10509 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
10510 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
10515 ac_dir
=`$as_dirname -- "$ac_file" ||
10516 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10517 X"$ac_file" : 'X\(//\)[^/]' \| \
10518 X"$ac_file" : 'X\(//\)$' \| \
10519 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10520 $as_echo X"$ac_file" |
10521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10525 /^X\(\/\/\)[^/].*/{
10538 as_dir
="$ac_dir"; as_fn_mkdir_p
10542 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10544 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10545 # A ".." for each directory in $ac_dir_suffix.
10546 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10547 case $ac_top_builddir_sub in
10548 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10549 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10552 ac_abs_top_builddir
=$ac_pwd
10553 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10554 # for backward compatibility:
10555 ac_top_builddir
=$ac_top_build_prefix
10558 .
) # We are building in place.
10560 ac_top_srcdir
=$ac_top_builddir_sub
10561 ac_abs_top_srcdir
=$ac_pwd ;;
10562 [\\/]* | ?
:[\\/]* ) # Absolute name.
10563 ac_srcdir
=$srcdir$ac_dir_suffix;
10564 ac_top_srcdir
=$srcdir
10565 ac_abs_top_srcdir
=$srcdir ;;
10566 *) # Relative name.
10567 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10568 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10569 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10571 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10581 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10582 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10587 # If the template does not know about datarootdir, expand it.
10588 # FIXME: This hack should be removed a few years after 2.60.
10589 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10600 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10601 *datarootdir
*) ac_datarootdir_seen
=yes;;
10602 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10604 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10607 ac_datarootdir_hack='
10608 s&@datadir@&$datadir&g
10609 s&@docdir@&$docdir&g
10610 s&@infodir@&$infodir&g
10611 s&@localedir@&$localedir&g
10612 s&@mandir@&$mandir&g
10613 s&\\\${datarootdir}&$datarootdir&g' ;;
10617 # Neutralize VPATH when `$srcdir' = `.'.
10618 # Shell code in configure.ac might set extrasub.
10619 # FIXME: do we really want to maintain this feature?
10620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10621 ac_sed_extra="$ac_vpsub
10624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10626 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10627 s|@configure_input@|
$ac_sed_conf_input|
;t t
10628 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10629 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10630 s
&@srcdir@
&$ac_srcdir&;t t
10631 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10632 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10633 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10634 s
&@builddir@
&$ac_builddir&;t t
10635 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10636 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10637 s
&@INSTALL@
&$ac_INSTALL&;t t
10638 $ac_datarootdir_hack
10640 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
10641 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
10643 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10644 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
10645 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10646 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10648 which seems to be undefined. Please make sure it is defined" >&5
10649 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10650 which seems to be undefined. Please make sure it is defined" >&2;}
10652 rm -f "$ac_tmp/stdin"
10654 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10655 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10657 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10663 if test x"$ac_file" != x-; then
10665 $as_echo "/* $configure_input */" \
10666 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10667 } >"$ac_tmp/config.h" \
10668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10669 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10671 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10674 mv "$ac_tmp/config.h" "$ac_file" \
10675 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10678 $as_echo "/* $configure_input */" \
10679 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10680 || as_fn_error $? "could not create -" "$LINENO" 5
10684 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10685 $as_echo "$as_me: executing $ac_file commands" >&6;}
10690 case $ac_file$ac_mode in
10691 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
10693 for ac_file in $CONFIG_FILES; do
10694 # Support "outfile[:infile[:infile...]]"
10696 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
10698 # PO directories have a Makefile.in generated from Makefile.in.in.
10699 case "$ac_file" in */Makefile.in)
10700 # Adjust a relative srcdir.
10701 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
10702 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
10703 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
10704 # In autoconf-2.13 it is called $ac_given_srcdir.
10705 # In autoconf-2.50 it is called $srcdir.
10706 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10707 case "$ac_given_srcdir" in
10708 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
10709 /*) top_srcdir="$ac_given_srcdir" ;;
10710 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10712 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10713 rm -f "$ac_dir/POTFILES"
10714 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10715 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10716 POMAKEFILEDEPS="POTFILES.in"
10717 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
10718 # on $ac_dir but don't depend on user-specified configuration
10720 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10721 # The LINGUAS file contains the set of available languages.
10722 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10723 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
10725 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10726 # Hide the ALL_LINGUAS assigment from automake.
10727 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10728 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
10730 # The set of available languages was given in configure.ac.
10731 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10733 case "$ac_given_srcdir" in
10735 *) srcdirpre
='$(srcdir)/' ;;
10741 for lang
in $ALL_LINGUAS; do
10742 POFILES
="$POFILES $srcdirpre$lang.po"
10743 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
10744 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
10745 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
10747 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10748 # environment variable.
10750 if test -n "$ALL_LINGUAS"; then
10751 for presentlang
in $ALL_LINGUAS; do
10753 if test "%UNSET%" != "$LINGUAS"; then
10754 desiredlanguages
="$LINGUAS"
10756 desiredlanguages
="$ALL_LINGUAS"
10758 for desiredlang
in $desiredlanguages; do
10759 # Use the presentlang catalog if desiredlang is
10760 # a. equal to presentlang, or
10761 # b. a variant of presentlang (because in this case,
10762 # presentlang can be used as a fallback for messages
10763 # which are not translated in the desiredlang catalog).
10764 case "$desiredlang" in
10765 "$presentlang"*) useit
=yes;;
10768 if test $useit = yes; then
10769 INST_LINGUAS
="$INST_LINGUAS $presentlang"
10774 if test -n "$INST_LINGUAS"; then
10775 for lang
in $INST_LINGUAS; do
10776 CATALOGS
="$CATALOGS $lang.gmo"
10779 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
10780 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10781 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
10782 if test -f "$f"; then
10784 *.orig |
*.bak |
*~
) ;;
10785 *) cat "$f" >> "$ac_dir/Makefile" ;;
10793 "config.h":H
) echo timestamp
> stamp-h1
;;
10801 ac_clean_files
=$ac_clean_files_save
10803 test $ac_write_fail = 0 ||
10804 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
10807 # configure is writing to config.log, and then calls config.status.
10808 # config.status does its own redirection, appending to config.log.
10809 # Unfortunately, on DOS this fails, as config.log is still kept open
10810 # by configure, so config.status won't be able to write to it; its
10811 # output is simply discarded. So we exec the FD to /dev/null,
10812 # effectively closing config.log, so it can be properly (re)opened and
10813 # appended to by config.status. When coming back to configure, we
10814 # need to make the FD available again.
10815 if test "$no_create" != yes; then
10817 ac_config_status_args
=
10818 test "$silent" = yes &&
10819 ac_config_status_args
="$ac_config_status_args --quiet"
10821 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10824 # would make configure fail if this is the last instruction.
10825 $ac_cs_success || as_fn_exit
1
10827 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10829 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}