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
2674 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2675 if test -f "$ac_dir/install-sh"; then
2677 ac_install_sh
="$ac_aux_dir/install-sh -c"
2679 elif test -f "$ac_dir/install.sh"; then
2681 ac_install_sh
="$ac_aux_dir/install.sh -c"
2683 elif test -f "$ac_dir/shtool"; then
2685 ac_install_sh
="$ac_aux_dir/shtool install -c"
2689 if test -z "$ac_aux_dir"; then
2690 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2693 # These three variables are undocumented and unsupported,
2694 # and are intended to be withdrawn in a future Autoconf release.
2695 # They can cause serious problems if a builder's source tree is in a directory
2696 # whose full name contains unusual characters.
2697 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2698 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2699 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2702 # Make sure we can run config.sub.
2703 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2704 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2707 $as_echo_n "checking build system type... " >&6; }
2708 if ${ac_cv_build+:} false
; then :
2709 $as_echo_n "(cached) " >&6
2711 ac_build_alias
=$build_alias
2712 test "x$ac_build_alias" = x
&&
2713 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2714 test "x$ac_build_alias" = x
&&
2715 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2716 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2717 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2721 $as_echo "$ac_cv_build" >&6; }
2722 case $ac_cv_build in
2724 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2727 ac_save_IFS
=$IFS; IFS
='-'
2733 # Remember, the first character of IFS is used to create $*,
2734 # except with old shells:
2737 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2741 $as_echo_n "checking host system type... " >&6; }
2742 if ${ac_cv_host+:} false
; then :
2743 $as_echo_n "(cached) " >&6
2745 if test "x$host_alias" = x
; then
2746 ac_cv_host
=$ac_cv_build
2748 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2749 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2754 $as_echo "$ac_cv_host" >&6; }
2757 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2760 ac_save_IFS
=$IFS; IFS
='-'
2766 # Remember, the first character of IFS is used to create $*,
2767 # except with old shells:
2770 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2774 $as_echo_n "checking target system type... " >&6; }
2775 if ${ac_cv_target+:} false
; then :
2776 $as_echo_n "(cached) " >&6
2778 if test "x$target_alias" = x
; then
2779 ac_cv_target
=$ac_cv_host
2781 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2782 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2787 $as_echo "$ac_cv_target" >&6; }
2788 case $ac_cv_target in
2790 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2792 target
=$ac_cv_target
2793 ac_save_IFS
=$IFS; IFS
='-'
2799 # Remember, the first character of IFS is used to create $*,
2800 # except with old shells:
2803 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2806 # The aliases save the names the user supplied, while $host etc.
2807 # will get canonicalized.
2808 test -n "$target_alias" &&
2809 test "$program_prefix$program_suffix$program_transform_name" = \
2811 program_prefix
=${target_alias}-
2814 # Checks for programs.
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2816 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2818 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2819 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2820 $as_echo_n "(cached) " >&6
2822 cat >conftest.
make <<\_ACEOF
2825 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2827 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2828 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2830 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2832 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2836 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2838 $as_echo "yes" >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2843 SET_MAKE
="MAKE=${MAKE-make}"
2846 # Find a good install program. We prefer a C program (faster),
2847 # so one script is as good as another. But avoid the broken or
2848 # incompatible versions:
2849 # SysV /etc/install, /usr/sbin/install
2850 # SunOS /usr/etc/install
2851 # IRIX /sbin/install
2853 # AmigaOS /C/install, which installs bootblocks on floppy discs
2854 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2857 # OS/2's system install, which has a completely different semantic
2858 # ./install, which can be erroneously created by make from ./install.sh.
2859 # Reject install programs that cannot install multiple files.
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2861 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2862 if test -z "$INSTALL"; then
2863 if ${ac_cv_path_install+:} false
; then :
2864 $as_echo_n "(cached) " >&6
2866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir
=.
2871 # Account for people who put trailing slashes in PATH elements.
2872 case $as_dir/ in #((
2873 .
/ | .
// |
/[cC
]/* | \
2874 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2875 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2878 # OSF1 and SCO ODT 3.0 have their own names for install.
2879 # Don't use installbsd from OSF since it installs stuff as root
2881 for ac_prog
in ginstall scoinst
install; do
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2884 if test $ac_prog = install &&
2885 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2886 # AIX install. It has an incompatible calling convention.
2888 elif test $ac_prog = install &&
2889 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2890 # program-specific install script used by HP pwplus--don't use.
2893 rm -rf conftest.one conftest.two conftest.dir
2894 echo one
> conftest.one
2895 echo two
> conftest.two
2897 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2898 test -s conftest.one
&& test -s conftest.two
&&
2899 test -s conftest.dir
/conftest.one
&&
2900 test -s conftest.dir
/conftest.two
2902 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2915 rm -rf conftest.one conftest.two conftest.dir
2918 if test "${ac_cv_path_install+set}" = set; then
2919 INSTALL
=$ac_cv_path_install
2921 # As a last resort, use the slow shell script. Don't cache a
2922 # value for INSTALL within a source directory, because that will
2923 # break other packages using the cache if that directory is
2924 # removed, or if the value is a relative name.
2925 INSTALL
=$ac_install_sh
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2929 $as_echo "$INSTALL" >&6; }
2931 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2932 # It thinks the first close brace ends the variable substitution.
2933 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2935 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2937 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2940 ac_cpp
='$CPP $CPPFLAGS'
2941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2944 if test -n "$ac_tool_prefix"; then
2945 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2946 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 $as_echo_n "checking for $ac_word... " >&6; }
2949 if ${ac_cv_prog_CC+:} false
; then :
2950 $as_echo_n "(cached) " >&6
2952 if test -n "$CC"; then
2953 ac_cv_prog_CC
="$CC" # Let the user override the test.
2955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir
=.
2960 for ac_exec_ext
in '' $ac_executable_extensions; do
2961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2962 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 if test -n "$CC"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2975 $as_echo "$CC" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2983 if test -z "$ac_cv_prog_CC"; then
2985 # Extract the first word of "gcc", so it can be a program name with args.
2986 set dummy gcc
; ac_word
=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$ac_ct_CC"; then
2993 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir
=.
3000 for ac_exec_ext
in '' $ac_executable_extensions; do
3001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3002 ac_cv_prog_ac_ct_CC
="gcc"
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3013 if test -n "$ac_ct_CC"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3015 $as_echo "$ac_ct_CC" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3021 if test "x$ac_ct_CC" = x
; then
3024 case $cross_compiling:$ac_tool_warned in
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3028 ac_tool_warned
=yes ;;
3036 if test -z "$CC"; then
3037 if test -n "$ac_tool_prefix"; then
3038 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3039 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if ${ac_cv_prog_CC+:} false
; then :
3043 $as_echo_n "(cached) " >&6
3045 if test -n "$CC"; then
3046 ac_cv_prog_CC
="$CC" # Let the user override the test.
3048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir
=.
3053 for ac_exec_ext
in '' $ac_executable_extensions; do
3054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3055 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test -n "$CC"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3077 if test -z "$CC"; then
3078 # Extract the first word of "cc", so it can be a program name with args.
3079 set dummy cc
; ac_word
=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if ${ac_cv_prog_CC+:} false
; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$CC"; then
3086 ac_cv_prog_CC
="$CC" # Let the user override the test.
3089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir
=.
3094 for ac_exec_ext
in '' $ac_executable_extensions; do
3095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3096 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3097 ac_prog_rejected
=yes
3101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 if test $ac_prog_rejected = yes; then
3109 # We found a bogon in the path, so make sure we never use it.
3110 set dummy
$ac_cv_prog_CC
3112 if test $# != 0; then
3113 # We chose a different compiler from the bogus one.
3114 # However, it has the same basename, so the bogon will be chosen
3115 # first if we set CC to just the basename; use the full file name.
3117 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3123 if test -n "$CC"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3125 $as_echo "$CC" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3133 if test -z "$CC"; then
3134 if test -n "$ac_tool_prefix"; then
3135 for ac_prog
in cl.exe
3137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3138 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_CC+:} false
; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$CC"; then
3145 ac_cv_prog_CC
="$CC" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3154 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test -n "$CC"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3167 $as_echo "$CC" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3174 test -n "$CC" && break
3177 if test -z "$CC"; then
3179 for ac_prog
in cl.exe
3181 # Extract the first word of "$ac_prog", so it can be a program name with args.
3182 set dummy
$ac_prog; ac_word
=$2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3186 $as_echo_n "(cached) " >&6
3188 if test -n "$ac_ct_CC"; then
3189 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3195 test -z "$as_dir" && as_dir
=.
3196 for ac_exec_ext
in '' $ac_executable_extensions; do
3197 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3198 ac_cv_prog_ac_ct_CC
="$ac_prog"
3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3209 if test -n "$ac_ct_CC"; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3211 $as_echo "$ac_ct_CC" >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3218 test -n "$ac_ct_CC" && break
3221 if test "x$ac_ct_CC" = x
; then
3224 case $cross_compiling:$ac_tool_warned in
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3228 ac_tool_warned
=yes ;;
3237 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error $?
"no acceptable C compiler found in \$PATH
3240 See \`config.log' for more details" "$LINENO" 5; }
3242 # Provide some information about the compiler.
3243 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3246 for ac_option
in --version -v -V -qversion; do
3247 { { ac_try
="$ac_compiler $ac_option >&5"
3249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3253 $as_echo "$ac_try_echo"; } >&5
3254 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3256 if test -s conftest.err; then
3258 ... rest of stderr output deleted ...
3259 10q' conftest.err >conftest.er1
3260 cat conftest.er1 >&5
3262 rm -f conftest.er1 conftest.err
3263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3264 test $ac_status = 0; }
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3278 ac_clean_files_save=$ac_clean_files
3279 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3280 # Try to create an executable without -o first, disregard a.out.
3281 # It will help us diagnose broken compilers, and finding out an intuition
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3284 $as_echo_n "checking whether the C compiler works... " >&6; }
3285 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3287 # The possible output files:
3288 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3291 for ac_file in $ac_files
3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3295 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3300 if { { ac_try="$ac_link_default"
3302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3303 *) ac_try_echo
=$ac_try;;
3305 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306 $as_echo "$ac_try_echo"; } >&5
3307 (eval "$ac_link_default") 2>&5
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }; then :
3311 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3312 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3313 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3314 # so that the user can short-circuit this test for compilers unknown to
3316 for ac_file
in $ac_files ''
3318 test -f "$ac_file" ||
continue
3320 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3323 # We found the default executable, but exeext='' is most
3327 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3329 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3331 # We set ac_cv_exeext here because the later test for it is not
3332 # safe: cross compilers may not add the suffix if given an `-o'
3333 # argument, so we may need to know it at that point already.
3334 # Even if this section looks crufty: it has the advantage of
3341 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3346 if test -z "$ac_file"; then :
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3349 $as_echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.
$ac_ext >&5
3352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354 as_fn_error
77 "C compiler cannot create executables
3355 See \`config.log' for more details" "$LINENO" 5; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3358 $as_echo "yes" >&6; }
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3361 $as_echo_n "checking for C compiler default output file name... " >&6; }
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3363 $as_echo "$ac_file" >&6; }
3364 ac_exeext
=$ac_cv_exeext
3366 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3367 ac_clean_files
=$ac_clean_files_save
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3369 $as_echo_n "checking for suffix of executables... " >&6; }
3370 if { { ac_try
="$ac_link"
3372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3373 *) ac_try_echo=$ac_try;;
3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3376 $as_echo "$ac_try_echo"; } >&5
3377 (eval "$ac_link") 2>&5
3379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3380 test $ac_status = 0; }; then :
3381 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3382 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3383 # work properly (i.e., refer to `conftest.exe'), while it won't with
3385 for ac_file
in conftest.exe conftest conftest.
*; do
3386 test -f "$ac_file" ||
continue
3388 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3389 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3398 See \`config.log' for more details" "$LINENO" 5; }
3400 rm -f conftest conftest
$ac_cv_exeext
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3402 $as_echo "$ac_cv_exeext" >&6; }
3404 rm -f conftest.
$ac_ext
3405 EXEEXT
=$ac_cv_exeext
3407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3413 FILE *f = fopen ("conftest.out", "w");
3414 return ferror (f) || fclose (f) != 0;
3420 ac_clean_files
="$ac_clean_files conftest.out"
3421 # Check that the compiler produces executables we can run. If not, either
3422 # the compiler is broken, or we cross compile.
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3424 $as_echo_n "checking whether we are cross compiling... " >&6; }
3425 if test "$cross_compiling" != yes; then
3426 { { ac_try
="$ac_link"
3428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3429 *) ac_try_echo=$ac_try;;
3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433 (eval "$ac_link") 2>&5
3435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436 test $ac_status = 0; }
3437 if { ac_try='./conftest$ac_cv_exeext'
3438 { { case "(($ac_try" in
3439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3440 *) ac_try_echo
=$ac_try;;
3442 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443 $as_echo "$ac_try_echo"; } >&5
3444 (eval "$ac_try") 2>&5
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }; }; then
3450 if test "$cross_compiling" = maybe
; then
3453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error $?
"cannot run C compiled programs.
3456 If you meant to cross compile, use \`--host'.
3457 See \`config.log' for more details" "$LINENO" 5; }
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3462 $as_echo "$cross_compiling" >&6; }
3464 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3465 ac_clean_files
=$ac_clean_files_save
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3467 $as_echo_n "checking for suffix of object files... " >&6; }
3468 if ${ac_cv_objext+:} false
; then :
3469 $as_echo_n "(cached) " >&6
3471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3482 rm -f conftest.o conftest.obj
3483 if { { ac_try
="$ac_compile"
3485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_compile") 2>&5
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; then :
3494 for ac_file in conftest.o conftest.obj conftest.*; do
3495 test -f "$ac_file" || continue;
3497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3503 $as_echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.$ac_ext >&5
3506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3508 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3509 See \
`config.log' for more details" "$LINENO" 5; }
3511 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3514 $as_echo "$ac_cv_objext" >&6; }
3515 OBJEXT=$ac_cv_objext
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3518 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3519 if ${ac_cv_c_compiler_gnu+:} false; then :
3520 $as_echo_n "(cached) " >&6
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3536 if ac_fn_c_try_compile "$LINENO"; then :
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3546 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3547 if test $ac_compiler_gnu = yes; then
3552 ac_test_CFLAGS=${CFLAGS+set}
3553 ac_save_CFLAGS=$CFLAGS
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3555 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3556 if ${ac_cv_prog_cc_g+:} false; then :
3557 $as_echo_n "(cached) " >&6
3559 ac_save_c_werror_flag=$ac_c_werror_flag
3560 ac_c_werror_flag=yes
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3574 if ac_fn_c_try_compile "$LINENO"; then :
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3589 if ac_fn_c_try_compile "$LINENO"; then :
3592 ac_c_werror_flag=$ac_save_c_werror_flag
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3605 if ac_fn_c_try_compile "$LINENO"; then :
3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613 ac_c_werror_flag=$ac_save_c_werror_flag
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3616 $as_echo "$ac_cv_prog_cc_g" >&6; }
3617 if test "$ac_test_CFLAGS" = set; then
3618 CFLAGS=$ac_save_CFLAGS
3619 elif test $ac_cv_prog_cc_g = yes; then
3620 if test "$GCC" = yes; then
3626 if test "$GCC" = yes; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3633 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3634 if ${ac_cv_prog_cc_c89+:} false; then :
3635 $as_echo_n "(cached) " >&6
3637 ac_cv_prog_cc_c89=no
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3644 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3645 struct buf { int x; };
3646 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3647 static char *e (p, i)
3653 static char *f (char * (*g) (char **, int), char **p, ...)
3658 s = g (p, va_arg (v,int));
3663 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3664 function prototypes and stuff, but not '\xHH' hex character constants.
3665 These don't provoke an error unfortunately, instead are silently treated
3666 as 'x'. The following induces an error, until -std is added to get
3667 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3668 array size at least. It's necessary to write '\x00'==0 to get something
3669 that's true only with -std. */
3670 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3672 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3673 inside strings and character constants. */
3675 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3677 int test (int i, double x);
3678 struct s1 {int (*f) (int a);};
3679 struct s2 {int (*f) (double a);};
3680 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3686 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3691 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3692 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3694 CC="$ac_save_CC $ac_arg"
3695 if ac_fn_c_try_compile "$LINENO"; then :
3696 ac_cv_prog_cc_c89=$ac_arg
3698 rm -f core conftest.err conftest.$ac_objext
3699 test "x$ac_cv_prog_cc_c89" != "xno" && break
3701 rm -f conftest.$ac_ext
3706 case "x$ac_cv_prog_cc_c89" in
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3709 $as_echo "none needed" >&6; } ;;
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3712 $as_echo "unsupported" >&6; } ;;
3714 CC="$CC $ac_cv_prog_cc_c89"
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3716 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3718 if test "x$ac_cv_prog_cc_c89" != xno; then :
3723 ac_cpp='$CPP $CPPFLAGS'
3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729 ac_cpp='$CXXCPP $CPPFLAGS'
3730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3733 if test -z "$CXX"; then
3734 if test -n "$CCC"; then
3737 if test -n "$ac_tool_prefix"; then
3738 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if ${ac_cv_prog_CXX+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 if test -n "$CXX"; then
3748 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 test -z "$as_dir" && as_dir=.
3755 for ac_exec_ext in '' $ac_executable_extensions; do
3756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3757 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 if test -n "$CXX"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3770 $as_echo "$CXX" >&6; }
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3777 test -n "$CXX" && break
3780 if test -z "$CXX"; then
3782 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3784 # Extract the first word of "$ac_prog", so it can be a program name with args.
3785 set dummy $ac_prog; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -n "$ac_ct_CXX"; then
3792 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_ac_ct_CXX="$ac_prog"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3812 if test -n "$ac_ct_CXX"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3814 $as_echo "$ac_ct_CXX" >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3821 test -n "$ac_ct_CXX" && break
3824 if test "x$ac_ct_CXX" = x; then
3827 case $cross_compiling:$ac_tool_warned in
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3831 ac_tool_warned=yes ;;
3839 # Provide some information about the compiler.
3840 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3843 for ac_option in --version -v -V -qversion; do
3844 { { ac_try="$ac_compiler $ac_option >&5"
3846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3847 *) ac_try_echo
=$ac_try;;
3849 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3850 $as_echo "$ac_try_echo"; } >&5
3851 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3853 if test -s conftest.err
; then
3855 ... rest of stderr output deleted ...
3856 10q' conftest.err
>conftest.er1
3857 cat conftest.er1
>&5
3859 rm -f conftest.er1 conftest.err
3860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3861 test $ac_status = 0; }
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3865 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3866 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3867 $as_echo_n "(cached) " >&6
3869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3883 if ac_fn_cxx_try_compile
"$LINENO"; then :
3888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3889 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3893 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3894 if test $ac_compiler_gnu = yes; then
3899 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3900 ac_save_CXXFLAGS
=$CXXFLAGS
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3902 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3903 if ${ac_cv_prog_cxx_g+:} false
; then :
3904 $as_echo_n "(cached) " >&6
3906 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3907 ac_cxx_werror_flag
=yes
3910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3921 if ac_fn_cxx_try_compile
"$LINENO"; then :
3922 ac_cv_prog_cxx_g
=yes
3925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3936 if ac_fn_cxx_try_compile
"$LINENO"; then :
3939 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3952 if ac_fn_cxx_try_compile
"$LINENO"; then :
3953 ac_cv_prog_cxx_g
=yes
3955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3960 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3963 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3964 if test "$ac_test_CXXFLAGS" = set; then
3965 CXXFLAGS
=$ac_save_CXXFLAGS
3966 elif test $ac_cv_prog_cxx_g = yes; then
3967 if test "$GXX" = yes; then
3973 if test "$GXX" = yes; then
3980 ac_cpp
='$CPP $CPPFLAGS'
3981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3985 if test -n "$ac_tool_prefix"; then
3986 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3987 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3989 $as_echo_n "checking for $ac_word... " >&6; }
3990 if ${ac_cv_prog_RANLIB+:} false
; then :
3991 $as_echo_n "(cached) " >&6
3993 if test -n "$RANLIB"; then
3994 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4000 test -z "$as_dir" && as_dir
=.
4001 for ac_exec_ext
in '' $ac_executable_extensions; do
4002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4003 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 RANLIB
=$ac_cv_prog_RANLIB
4014 if test -n "$RANLIB"; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4016 $as_echo "$RANLIB" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4024 if test -z "$ac_cv_prog_RANLIB"; then
4025 ac_ct_RANLIB
=$RANLIB
4026 # Extract the first word of "ranlib", so it can be a program name with args.
4027 set dummy ranlib
; ac_word
=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$ac_ct_RANLIB"; then
4034 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir
=.
4041 for ac_exec_ext
in '' $ac_executable_extensions; do
4042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4054 if test -n "$ac_ct_RANLIB"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4056 $as_echo "$ac_ct_RANLIB" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4062 if test "x$ac_ct_RANLIB" = x
; then
4065 case $cross_compiling:$ac_tool_warned in
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4069 ac_tool_warned
=yes ;;
4071 RANLIB
=$ac_ct_RANLIB
4074 RANLIB
="$ac_cv_prog_RANLIB"
4077 if test -n "$ac_tool_prefix"; then
4078 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4079 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if ${ac_cv_prog_AR+:} false
; then :
4083 $as_echo_n "(cached) " >&6
4085 if test -n "$AR"; then
4086 ac_cv_prog_AR
="$AR" # Let the user override the test.
4088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4092 test -z "$as_dir" && as_dir
=.
4093 for ac_exec_ext
in '' $ac_executable_extensions; do
4094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4095 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4106 if test -n "$AR"; then
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4108 $as_echo "$AR" >&6; }
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4116 if test -z "$ac_cv_prog_AR"; then
4118 # Extract the first word of "ar", so it can be a program name with args.
4119 set dummy
ar; ac_word
=$2
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4121 $as_echo_n "checking for $ac_word... " >&6; }
4122 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4123 $as_echo_n "(cached) " >&6
4125 if test -n "$ac_ct_AR"; then
4126 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir
=.
4133 for ac_exec_ext
in '' $ac_executable_extensions; do
4134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4135 ac_cv_prog_ac_ct_AR
="ar"
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4146 if test -n "$ac_ct_AR"; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4148 $as_echo "$ac_ct_AR" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4154 if test "x$ac_ct_AR" = x
; then
4157 case $cross_compiling:$ac_tool_warned in
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4161 ac_tool_warned
=yes ;;
4172 ac_cpp
='$CPP $CPPFLAGS'
4173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4177 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4178 # On Suns, sometimes $CPP names a directory.
4179 if test -n "$CPP" && test -d "$CPP"; then
4182 if test -z "$CPP"; then
4183 if ${ac_cv_prog_CPP+:} false
; then :
4184 $as_echo_n "(cached) " >&6
4186 # Double quotes because CPP needs to be expanded
4187 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4190 for ac_c_preproc_warn_flag
in '' yes
4192 # Use a header file that comes with gcc, so configuring glibc
4193 # with a fresh cross-compiler works.
4194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4195 # <limits.h> exists even on freestanding compilers.
4196 # On the NeXT, cc -E runs the code through the compiler's parser,
4197 # not just through cpp. "Syntax error" is here to catch this case.
4198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4201 # include <limits.h>
4203 # include <assert.h>
4207 if ac_fn_c_try_cpp
"$LINENO"; then :
4210 # Broken: fails on valid input.
4213 rm -f conftest.err conftest.i conftest.
$ac_ext
4215 # OK, works on sane cases. Now check whether nonexistent headers
4216 # can be detected and how.
4217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219 #include <ac_nonexistent.h>
4221 if ac_fn_c_try_cpp
"$LINENO"; then :
4222 # Broken: success on invalid input.
4225 # Passes both tests.
4229 rm -f conftest.err conftest.i conftest.
$ac_ext
4232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4233 rm -f conftest.i conftest.err conftest.
$ac_ext
4234 if $ac_preproc_ok; then :
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4247 $as_echo "$CPP" >&6; }
4249 for ac_c_preproc_warn_flag
in '' yes
4251 # Use a header file that comes with gcc, so configuring glibc
4252 # with a fresh cross-compiler works.
4253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4254 # <limits.h> exists even on freestanding compilers.
4255 # On the NeXT, cc -E runs the code through the compiler's parser,
4256 # not just through cpp. "Syntax error" is here to catch this case.
4257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4260 # include <limits.h>
4262 # include <assert.h>
4266 if ac_fn_c_try_cpp
"$LINENO"; then :
4269 # Broken: fails on valid input.
4272 rm -f conftest.err conftest.i conftest.
$ac_ext
4274 # OK, works on sane cases. Now check whether nonexistent headers
4275 # can be detected and how.
4276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4278 #include <ac_nonexistent.h>
4280 if ac_fn_c_try_cpp
"$LINENO"; then :
4281 # Broken: success on invalid input.
4284 # Passes both tests.
4288 rm -f conftest.err conftest.i conftest.
$ac_ext
4291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4292 rm -f conftest.i conftest.err conftest.
$ac_ext
4293 if $ac_preproc_ok; then :
4296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4298 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4299 See \`config.log' for more details" "$LINENO" 5; }
4303 ac_cpp
='$CPP $CPPFLAGS'
4304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4310 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4311 if ${ac_cv_path_GREP+:} false
; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -z "$GREP"; then
4315 ac_path_GREP_found
=false
4316 # Loop through the user's path and test for each of PROGNAME-LIST
4317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4318 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4321 test -z "$as_dir" && as_dir
=.
4322 for ac_prog
in grep ggrep
; do
4323 for ac_exec_ext
in '' $ac_executable_extensions; do
4324 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4325 as_fn_executable_p
"$ac_path_GREP" ||
continue
4326 # Check for GNU ac_path_GREP and select it if it is found.
4327 # Check for GNU $ac_path_GREP
4328 case `"$ac_path_GREP" --version 2>&1` in
4330 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4333 $as_echo_n 0123456789 >"conftest.in"
4336 cat "conftest.in" "conftest.in" >"conftest.tmp"
4337 mv "conftest.tmp" "conftest.in"
4338 cp "conftest.in" "conftest.nl"
4339 $as_echo 'GREP' >> "conftest.nl"
4340 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4341 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4342 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4343 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4344 # Best one so far, save it but keep looking for a better one
4345 ac_cv_path_GREP
="$ac_path_GREP"
4346 ac_path_GREP_max
=$ac_count
4348 # 10*(2^10) chars as input seems more than enough
4349 test $ac_count -gt 10 && break
4351 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4354 $ac_path_GREP_found && break 3
4359 if test -z "$ac_cv_path_GREP"; then
4360 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4363 ac_cv_path_GREP
=$GREP
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4368 $as_echo "$ac_cv_path_GREP" >&6; }
4369 GREP
="$ac_cv_path_GREP"
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4373 $as_echo_n "checking for egrep... " >&6; }
4374 if ${ac_cv_path_EGREP+:} false
; then :
4375 $as_echo_n "(cached) " >&6
4377 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4378 then ac_cv_path_EGREP
="$GREP -E"
4380 if test -z "$EGREP"; then
4381 ac_path_EGREP_found
=false
4382 # Loop through the user's path and test for each of PROGNAME-LIST
4383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4384 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4387 test -z "$as_dir" && as_dir
=.
4388 for ac_prog
in egrep; do
4389 for ac_exec_ext
in '' $ac_executable_extensions; do
4390 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4391 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4392 # Check for GNU ac_path_EGREP and select it if it is found.
4393 # Check for GNU $ac_path_EGREP
4394 case `"$ac_path_EGREP" --version 2>&1` in
4396 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4399 $as_echo_n 0123456789 >"conftest.in"
4402 cat "conftest.in" "conftest.in" >"conftest.tmp"
4403 mv "conftest.tmp" "conftest.in"
4404 cp "conftest.in" "conftest.nl"
4405 $as_echo 'EGREP' >> "conftest.nl"
4406 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4407 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4408 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4409 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4410 # Best one so far, save it but keep looking for a better one
4411 ac_cv_path_EGREP
="$ac_path_EGREP"
4412 ac_path_EGREP_max
=$ac_count
4414 # 10*(2^10) chars as input seems more than enough
4415 test $ac_count -gt 10 && break
4417 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4420 $ac_path_EGREP_found && break 3
4425 if test -z "$ac_cv_path_EGREP"; then
4426 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4429 ac_cv_path_EGREP
=$EGREP
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4435 $as_echo "$ac_cv_path_EGREP" >&6; }
4436 EGREP
="$ac_cv_path_EGREP"
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4440 $as_echo_n "checking for ANSI C header files... " >&6; }
4441 if ${ac_cv_header_stdc+:} false
; then :
4442 $as_echo_n "(cached) " >&6
4444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4459 if ac_fn_c_try_compile
"$LINENO"; then :
4460 ac_cv_header_stdc
=yes
4462 ac_cv_header_stdc
=no
4464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4466 if test $ac_cv_header_stdc = yes; then
4467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4474 $EGREP "memchr" >/dev
/null
2>&1; then :
4477 ac_cv_header_stdc
=no
4483 if test $ac_cv_header_stdc = yes; then
4484 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4491 $EGREP "free" >/dev
/null
2>&1; then :
4494 ac_cv_header_stdc
=no
4500 if test $ac_cv_header_stdc = yes; then
4501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4502 if test "$cross_compiling" = yes; then :
4505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4509 #if ((' ' & 0x0FF) == 0x020)
4510 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4511 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4513 # define ISLOWER(c) \
4514 (('a' <= (c) && (c) <= 'i') \
4515 || ('j' <= (c) && (c) <= 'r') \
4516 || ('s' <= (c) && (c) <= 'z'))
4517 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4525 for (i = 0; i < 256; i++)
4526 if (XOR (islower (i), ISLOWER (i))
4527 || toupper (i) != TOUPPER (i))
4532 if ac_fn_c_try_run
"$LINENO"; then :
4535 ac_cv_header_stdc
=no
4537 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4538 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4544 $as_echo "$ac_cv_header_stdc" >&6; }
4545 if test $ac_cv_header_stdc = yes; then
4547 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4551 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4552 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4553 inttypes.h stdint.h unistd.h
4555 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4556 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4558 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4559 cat >>confdefs.h
<<_ACEOF
4560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4569 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4570 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4577 if test "$MINIX" = yes; then
4579 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4582 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4585 $as_echo "#define _MINIX 1" >>confdefs.h
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4591 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4592 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4593 $as_echo_n "(cached) " >&6
4595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4598 # define __EXTENSIONS__ 1
4599 $ac_includes_default
4608 if ac_fn_c_try_compile
"$LINENO"; then :
4609 ac_cv_safe_to_define___extensions__
=yes
4611 ac_cv_safe_to_define___extensions__
=no
4613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4616 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4617 test $ac_cv_safe_to_define___extensions__ = yes &&
4618 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4620 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4622 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4624 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4626 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4629 # Check whether --enable-largefile was given.
4630 if test "${enable_largefile+set}" = set; then :
4631 enableval
=$enable_largefile;
4634 if test "$enable_largefile" != no
; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4637 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4638 if ${ac_cv_sys_largefile_CC+:} false
; then :
4639 $as_echo_n "(cached) " >&6
4641 ac_cv_sys_largefile_CC
=no
4642 if test "$GCC" != yes; then
4645 # IRIX 6.2 and later do not support large files by default,
4646 # so use the C compiler's -n32 option if that helps.
4647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4649 #include <sys/types.h>
4650 /* Check that off_t can represent 2**63 - 1 correctly.
4651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4652 since some C++ compilers masquerading as C compilers
4653 incorrectly reject 9223372036854775807. */
4654 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4656 && LARGE_OFF_T % 2147483647 == 1)
4666 if ac_fn_c_try_compile
"$LINENO"; then :
4669 rm -f core conftest.err conftest.
$ac_objext
4671 if ac_fn_c_try_compile
"$LINENO"; then :
4672 ac_cv_sys_largefile_CC
=' -n32'; break
4674 rm -f core conftest.err conftest.
$ac_objext
4678 rm -f conftest.
$ac_ext
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4682 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4683 if test "$ac_cv_sys_largefile_CC" != no
; then
4684 CC
=$CC$ac_cv_sys_largefile_CC
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4688 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4689 if ${ac_cv_sys_file_offset_bits+:} false
; then :
4690 $as_echo_n "(cached) " >&6
4693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #include <sys/types.h>
4696 /* Check that off_t can represent 2**63 - 1 correctly.
4697 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4698 since some C++ compilers masquerading as C compilers
4699 incorrectly reject 9223372036854775807. */
4700 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4701 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4702 && LARGE_OFF_T % 2147483647 == 1)
4712 if ac_fn_c_try_compile
"$LINENO"; then :
4713 ac_cv_sys_file_offset_bits
=no
; break
4715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4718 #define _FILE_OFFSET_BITS 64
4719 #include <sys/types.h>
4720 /* Check that off_t can represent 2**63 - 1 correctly.
4721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4722 since some C++ compilers masquerading as C compilers
4723 incorrectly reject 9223372036854775807. */
4724 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4726 && LARGE_OFF_T % 2147483647 == 1)
4736 if ac_fn_c_try_compile
"$LINENO"; then :
4737 ac_cv_sys_file_offset_bits
=64; break
4739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4740 ac_cv_sys_file_offset_bits
=unknown
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4745 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4746 case $ac_cv_sys_file_offset_bits in #(
4749 cat >>confdefs.h
<<_ACEOF
4750 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4755 if test $ac_cv_sys_file_offset_bits = unknown
; then
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4757 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4758 if ${ac_cv_sys_large_files+:} false
; then :
4759 $as_echo_n "(cached) " >&6
4762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4764 #include <sys/types.h>
4765 /* Check that off_t can represent 2**63 - 1 correctly.
4766 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4767 since some C++ compilers masquerading as C compilers
4768 incorrectly reject 9223372036854775807. */
4769 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4770 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4771 && LARGE_OFF_T % 2147483647 == 1)
4781 if ac_fn_c_try_compile
"$LINENO"; then :
4782 ac_cv_sys_large_files
=no
; break
4784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4787 #define _LARGE_FILES 1
4788 #include <sys/types.h>
4789 /* Check that off_t can represent 2**63 - 1 correctly.
4790 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4791 since some C++ compilers masquerading as C compilers
4792 incorrectly reject 9223372036854775807. */
4793 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4794 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4795 && LARGE_OFF_T % 2147483647 == 1)
4805 if ac_fn_c_try_compile
"$LINENO"; then :
4806 ac_cv_sys_large_files
=1; break
4808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4809 ac_cv_sys_large_files
=unknown
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4814 $as_echo "$ac_cv_sys_large_files" >&6; }
4815 case $ac_cv_sys_large_files in #(
4818 cat >>confdefs.h
<<_ACEOF
4819 #define _LARGE_FILES $ac_cv_sys_large_files
4830 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
4831 for ac_prog
in aclocal
4833 # Extract the first word of "$ac_prog", so it can be a program name with args.
4834 set dummy
$ac_prog; ac_word
=$2
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4836 $as_echo_n "checking for $ac_word... " >&6; }
4837 if ${ac_cv_prog_ACLOCAL+:} false
; then :
4838 $as_echo_n "(cached) " >&6
4840 if test -n "$ACLOCAL"; then
4841 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_exec_ext
in '' $ac_executable_extensions; do
4849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4850 ac_cv_prog_ACLOCAL
="$ac_prog"
4851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 ACLOCAL
=$ac_cv_prog_ACLOCAL
4861 if test -n "$ACLOCAL"; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
4863 $as_echo "$ACLOCAL" >&6; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866 $as_echo "no" >&6; }
4870 test -n "$ACLOCAL" && break
4872 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
4874 for ac_prog
in autoconf
4876 # Extract the first word of "$ac_prog", so it can be a program name with args.
4877 set dummy
$ac_prog; ac_word
=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_AUTOCONF+:} false
; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$AUTOCONF"; then
4884 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
4886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir
=.
4891 for ac_exec_ext
in '' $ac_executable_extensions; do
4892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_AUTOCONF
="$ac_prog"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 AUTOCONF
=$ac_cv_prog_AUTOCONF
4904 if test -n "$AUTOCONF"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
4906 $as_echo "$AUTOCONF" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4913 test -n "$AUTOCONF" && break
4915 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
4917 for ac_prog
in autoheader
4919 # Extract the first word of "$ac_prog", so it can be a program name with args.
4920 set dummy
$ac_prog; ac_word
=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
4924 $as_echo_n "(cached) " >&6
4926 if test -n "$AUTOHEADER"; then
4927 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
4929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir
=.
4934 for ac_exec_ext
in '' $ac_executable_extensions; do
4935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_AUTOHEADER
="$ac_prog"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
4947 if test -n "$AUTOHEADER"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
4949 $as_echo "$AUTOHEADER" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4956 test -n "$AUTOHEADER" && break
4958 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
4961 if test -z "$ETAGS"; then
4966 # Figure out what compiler warnings we can enable.
4967 # See config/warnings.m4 for details.
4970 ac_cpp
='$CPP $CPPFLAGS'
4971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4976 save_CFLAGS
="$CFLAGS"
4977 for real_option
in -W -Wall -Wno-narrowing -Wwrite-strings \
4978 -Wmissing-format-attribute; do
4979 # Do the check with the no- prefix removed since gcc silently
4980 # accepts any -Wno-* option on purpose
4981 case $real_option in
4982 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4983 *) option
=$real_option ;;
4985 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4988 $as_echo_n "checking whether $CC supports $option... " >&6; }
4989 if eval \
${$as_acx_Woption+:} false
; then :
4990 $as_echo_n "(cached) " >&6
4993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
5004 if ac_fn_c_try_compile
"$LINENO"; then :
5005 eval "$as_acx_Woption=yes"
5007 eval "$as_acx_Woption=no"
5009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5012 eval ac_res
=\$
$as_acx_Woption
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5014 $as_echo "$ac_res" >&6; }
5015 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5016 warn
="$warn${warn:+ }$real_option"
5019 CFLAGS
="$save_CFLAGS"
5021 ac_cpp
='$CPP $CPPFLAGS'
5022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5028 ac_cpp
='$CPP $CPPFLAGS'
5029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5034 save_CFLAGS
="$CFLAGS"
5035 for real_option
in -Wstrict-prototypes -Wmissing-prototypes \
5036 -Wold-style-definition -Wc++-compat; do
5037 # Do the check with the no- prefix removed since gcc silently
5038 # accepts any -Wno-* option on purpose
5039 case $real_option in
5040 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5041 *) option
=$real_option ;;
5043 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5046 $as_echo_n "checking whether $CC supports $option... " >&6; }
5047 if eval \
${$as_acx_Woption+:} false
; then :
5048 $as_echo_n "(cached) " >&6
5051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5062 if ac_fn_c_try_compile
"$LINENO"; then :
5063 eval "$as_acx_Woption=yes"
5065 eval "$as_acx_Woption=no"
5067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5070 eval ac_res
=\$
$as_acx_Woption
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5072 $as_echo "$ac_res" >&6; }
5073 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5074 c_warn
="$c_warn${c_warn:+ }$real_option"
5077 CFLAGS
="$save_CFLAGS"
5079 ac_cpp
='$CPP $CPPFLAGS'
5080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5086 ac_cpp
='$CPP $CPPFLAGS'
5087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5092 # Do the check with the no- prefix removed from the warning options
5093 # since gcc silently accepts any -Wno-* option on purpose
5094 if test "$GCC" = yes; then :
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
5096 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
5097 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false
; then :
5098 $as_echo_n "(cached) " >&6
5100 save_CFLAGS
="$CFLAGS"
5101 CFLAGS
="-pedantic -Wlong-long"
5102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5103 /* end confdefs.h. */
5113 if ac_fn_c_try_compile
"$LINENO"; then :
5114 acx_cv_prog_cc_pedantic__Wlong_long
=yes
5116 acx_cv_prog_cc_pedantic__Wlong_long
=no
5118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5119 CFLAGS
="$save_CFLAGS"
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
5122 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
5123 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
5124 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
5129 ac_cpp
='$CPP $CPPFLAGS'
5130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5136 # Disable exceptions and RTTI if building with g++
5138 ac_cpp
='$CPP $CPPFLAGS'
5139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5144 save_CFLAGS
="$CFLAGS"
5145 for real_option
in -fno-exceptions -fno-rtti; do
5146 # Do the check with the no- prefix removed since gcc silently
5147 # accepts any -Wno-* option on purpose
5148 case $real_option in
5149 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5150 *) option
=$real_option ;;
5152 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5155 $as_echo_n "checking whether $CC supports $option... " >&6; }
5156 if eval \
${$as_acx_Woption+:} false
; then :
5157 $as_echo_n "(cached) " >&6
5160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5171 if ac_fn_c_try_compile
"$LINENO"; then :
5172 eval "$as_acx_Woption=yes"
5174 eval "$as_acx_Woption=no"
5176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5179 eval ac_res
=\$
$as_acx_Woption
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5181 $as_echo "$ac_res" >&6; }
5182 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5183 noexception_flags
="$noexception_flags${noexception_flags:+ }$real_option"
5186 CFLAGS
="$save_CFLAGS"
5188 ac_cpp
='$CPP $CPPFLAGS'
5189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5195 # Only enable with --enable-werror-always until existing warnings are
5198 ac_cpp
='$CPP $CPPFLAGS'
5199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5204 # Check whether --enable-werror-always was given.
5205 if test "${enable_werror_always+set}" = set; then :
5206 enableval
=$enable_werror_always;
5208 enable_werror_always
=no
5211 if test $enable_werror_always = yes; then :
5212 WERROR
="$WERROR${WERROR:+ }-Werror"
5216 ac_cpp
='$CPP $CPPFLAGS'
5217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5223 # Dependency checking.
5224 rm -rf .tst
2>/dev
/null
5225 mkdir .tst
2>/dev
/null
5226 if test -d .tst
; then
5231 rmdir .tst
2>/dev
/null
5233 DEPDIR
="${am__leading_dot}deps"
5235 ac_config_commands
="$ac_config_commands depdir"
5239 ac_cpp
='$CXXCPP $CPPFLAGS'
5240 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5241 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5242 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5249 if ac_fn_cxx_try_compile
"$LINENO"; then :
5252 as_fn_error $?
"C++ compiler missing or inoperational" "$LINENO" 5
5254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5256 ac_cpp
='$CPP $CPPFLAGS'
5257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5261 depcc
="$CXX" am_compiler_list
=
5263 am_depcomp
=$ac_aux_dir/depcomp
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5265 $as_echo_n "checking dependency style of $depcc... " >&6; }
5266 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5267 $as_echo_n "(cached) " >&6
5269 if test -f "$am_depcomp"; then
5270 # We make a subdir and do the tests there. Otherwise we can end up
5271 # making bogus files that we don't know about and never remove. For
5272 # instance it was reported that on HP-UX the gcc test will end up
5273 # making a dummy file named `D' -- because `-MD' means `put the output
5276 # Copy depcomp to subdir because otherwise we won't find it if we're
5277 # using a relative directory.
5278 cp "$am_depcomp" conftest.dir
5280 # We will build objects and dependencies in a subdirectory because
5281 # it helps to detect inapplicable dependency modes. For instance
5282 # both Tru64's cc and ICC support -MD to output dependencies as a
5283 # side effect of compilation, but ICC will put the dependencies in
5284 # the current directory while Tru64 will put them in the object
5288 am_cv_CXX_dependencies_compiler_type
=none
5289 if test "$am_compiler_list" = ""; then
5290 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5292 for depmode
in $am_compiler_list; do
5293 if test $depmode = none
; then break; fi
5295 $as_echo "$as_me:$LINENO: trying $depmode" >&5
5296 # Setup a source with many dependencies, because some compilers
5297 # like to wrap large dependency lists on column 80 (with \), and
5298 # we should not choose a depcomp mode which is confused by this.
5300 # We need to recreate these files for each test, as the compiler may
5301 # overwrite some of them when testing with obscure command lines.
5302 # This happens at least with the AIX C compiler.
5304 for i
in 1 2 3 4 5 6; do
5305 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5306 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5307 # Solaris 8's {/usr,}/bin/sh.
5308 touch sub
/conftst
$i.h
5310 echo "include sub/conftest.Po" > confmf
5312 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5313 # mode. It turns out that the SunPro C++ compiler does not properly
5314 # handle `-M -o', and we need to detect this.
5315 depcmd
="depmode=$depmode \
5316 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5317 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5318 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
5319 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
5320 if env
$depcmd > conftest.err
2>&1 &&
5321 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
5322 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
5323 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
5324 # icc doesn't choke on unknown options, it will just issue warnings
5325 # or remarks (even with -Werror). So we grep stderr for any message
5326 # that says an option was ignored or not supported.
5327 # When given -MP, icc 7.0 and 7.1 complain thusly:
5328 # icc: Command line warning: ignoring option '-M'; no argument required
5329 # The diagnosis changed in icc 8.0:
5330 # icc: Command line remark: option '-MP' not supported
5331 if (grep 'ignoring option' conftest.err ||
5332 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5333 am_cv_CXX_dependencies_compiler_type
=$depmode
5334 $as_echo "$as_me:$LINENO: success" >&5
5338 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
5339 sed -e 's/^/| /' < conftest.err
>&5
5345 am_cv_CXX_dependencies_compiler_type
=none
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5350 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5351 if test x
${am_cv_CXX_dependencies_compiler_type-none} = xnone
5352 then as_fn_error $?
"no usable dependency style found" "$LINENO" 5
5353 else CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5358 # Checks for header files.
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5360 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5361 if ${ac_cv_header_time+:} false
; then :
5362 $as_echo_n "(cached) " >&6
5364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5366 #include <sys/types.h>
5367 #include <sys/time.h>
5373 if ((struct tm *) 0)
5379 if ac_fn_c_try_compile
"$LINENO"; then :
5380 ac_cv_header_time
=yes
5382 ac_cv_header_time
=no
5384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5387 $as_echo "$ac_cv_header_time" >&6; }
5388 if test $ac_cv_header_time = yes; then
5390 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
5395 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
5396 if ${gcc_cv_header_string+:} false
; then :
5397 $as_echo_n "(cached) " >&6
5399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5402 #include <strings.h>
5411 if ac_fn_c_try_compile
"$LINENO"; then :
5412 gcc_cv_header_string
=yes
5414 gcc_cv_header_string
=no
5416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
5419 $as_echo "$gcc_cv_header_string" >&6; }
5420 if test $gcc_cv_header_string = yes; then
5422 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
5427 for ac_header
in locale.h fcntl.h limits.h stddef.h \
5428 stdlib.h
strings.h string.h sys
/file.h unistd.h
5430 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5431 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5432 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5433 cat >>confdefs.h
<<_ACEOF
5434 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5442 # Checks for typedefs, structures, and compiler characteristics.
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5444 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5445 if ${ac_cv_c_bigendian+:} false
; then :
5446 $as_echo_n "(cached) " >&6
5448 ac_cv_c_bigendian
=unknown
5449 # See if we're dealing with a universal compiler.
5450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5452 #ifndef __APPLE_CC__
5453 not a universal capable compiler
5458 if ac_fn_c_try_compile
"$LINENO"; then :
5460 # Check for potential -arch flags. It is not universal unless
5461 # there are at least two -arch flags with different values.
5464 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5465 if test -n "$ac_prev"; then
5467 i?
86 | x86_64 | ppc | ppc64
)
5468 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5471 ac_cv_c_bigendian
=universal
5477 elif test "x$ac_word" = "x-arch"; then
5482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5483 if test $ac_cv_c_bigendian = unknown
; then
5484 # See if sys/param.h defines the BYTE_ORDER macro.
5485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5487 #include <sys/types.h>
5488 #include <sys/param.h>
5493 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5494 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5503 if ac_fn_c_try_compile
"$LINENO"; then :
5504 # It does; now see whether it defined to BIG_ENDIAN or not.
5505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5507 #include <sys/types.h>
5508 #include <sys/param.h>
5513 #if BYTE_ORDER != BIG_ENDIAN
5521 if ac_fn_c_try_compile
"$LINENO"; then :
5522 ac_cv_c_bigendian
=yes
5524 ac_cv_c_bigendian
=no
5526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5530 if test $ac_cv_c_bigendian = unknown
; then
5531 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5533 /* end confdefs.h. */
5539 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5547 if ac_fn_c_try_compile
"$LINENO"; then :
5548 # It does; now see whether it defined to _BIG_ENDIAN or not.
5549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5564 if ac_fn_c_try_compile
"$LINENO"; then :
5565 ac_cv_c_bigendian
=yes
5567 ac_cv_c_bigendian
=no
5569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5573 if test $ac_cv_c_bigendian = unknown
; then
5574 # Compile a test program.
5575 if test "$cross_compiling" = yes; then :
5576 # Try to guess by grepping values from an object file.
5577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5579 short int ascii_mm[] =
5580 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5581 short int ascii_ii[] =
5582 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5583 int use_ascii (int i) {
5584 return ascii_mm[i] + ascii_ii[i];
5586 short int ebcdic_ii[] =
5587 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5588 short int ebcdic_mm[] =
5589 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5590 int use_ebcdic (int i) {
5591 return ebcdic_mm[i] + ebcdic_ii[i];
5598 return use_ascii (foo) == use_ebcdic (foo);
5603 if ac_fn_c_try_compile
"$LINENO"; then :
5604 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5605 ac_cv_c_bigendian
=yes
5607 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5608 if test "$ac_cv_c_bigendian" = unknown
; then
5609 ac_cv_c_bigendian
=no
5611 # finding both strings is unlikely to happen, but who knows?
5612 ac_cv_c_bigendian
=unknown
5616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5620 $ac_includes_default
5625 /* Are we little or big endian? From Harbison&Steele. */
5629 char c[sizeof (long int)];
5632 return u.c[sizeof (long int) - 1] == 1;
5638 if ac_fn_c_try_run
"$LINENO"; then :
5639 ac_cv_c_bigendian
=no
5641 ac_cv_c_bigendian
=yes
5643 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5644 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5650 $as_echo "$ac_cv_c_bigendian" >&6; }
5651 case $ac_cv_c_bigendian in #(
5653 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5659 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5663 as_fn_error $?
"unknown endianness
5664 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5668 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5669 if ${ac_cv_c_const+:} false
; then :
5670 $as_echo_n "(cached) " >&6
5672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5680 /* Ultrix mips cc rejects this sort of thing. */
5681 typedef int charset[2];
5682 const charset cs = { 0, 0 };
5683 /* SunOS 4.1.1 cc rejects this. */
5684 char const *const *pcpcc;
5686 /* NEC SVR4.0.2 mips cc rejects this. */
5687 struct point {int x, y;};
5688 static struct point const zero = {0,0};
5689 /* AIX XL C 1.02.0.0 rejects this.
5690 It does not let you subtract one const X* pointer from another in
5691 an arm of an if-expression whose if-part is not a constant
5693 const char *g = "string";
5694 pcpcc = &g + (g ? g-g : 0);
5695 /* HPUX 7.0 cc rejects these. */
5697 ppc = (char**) pcpcc;
5698 pcpcc = (char const *const *) ppc;
5699 { /* SCO 3.2v4 cc rejects this sort of thing. */
5702 char const *s = 0 ? (char *) 0 : (char const *) 0;
5707 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5709 const int *foo = &x[0];
5712 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5713 typedef const int *iptr;
5717 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5718 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5719 struct s { int j; const int *ap[3]; } bx;
5720 struct s *b = &bx; b->j = 5;
5722 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5726 return !cs[0] && !zero.x;
5733 if ac_fn_c_try_compile
"$LINENO"; then :
5738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5741 $as_echo "$ac_cv_c_const" >&6; }
5742 if test $ac_cv_c_const = no
; then
5744 $as_echo "#define const /**/" >>confdefs.h
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5749 $as_echo_n "checking for inline... " >&6; }
5750 if ${ac_cv_c_inline+:} false
; then :
5751 $as_echo_n "(cached) " >&6
5754 for ac_kw
in inline __inline__ __inline
; do
5755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5759 static $ac_kw foo_t static_foo () {return 0; }
5760 $ac_kw foo_t foo () {return 0; }
5764 if ac_fn_c_try_compile
"$LINENO"; then :
5765 ac_cv_c_inline
=$ac_kw
5767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5768 test "$ac_cv_c_inline" != no
&& break
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5773 $as_echo "$ac_cv_c_inline" >&6; }
5775 case $ac_cv_c_inline in
5778 case $ac_cv_c_inline in
5780 *) ac_val
=$ac_cv_c_inline;;
5782 cat >>confdefs.h
<<_ACEOF
5784 #define inline $ac_val
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
5791 $as_echo_n "checking for obstacks... " >&6; }
5792 if ${ac_cv_func_obstack+:} false
; then :
5793 $as_echo_n "(cached) " >&6
5795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5797 $ac_includes_default
5798 #include "obstack.h"
5803 #define obstack_chunk_alloc malloc
5804 #define obstack_chunk_free free
5805 obstack_init (&mem);
5806 obstack_free (&mem, 0);
5811 if ac_fn_c_try_link
"$LINENO"; then :
5812 ac_cv_func_obstack
=yes
5814 ac_cv_func_obstack
=no
5816 rm -f core conftest.err conftest.
$ac_objext \
5817 conftest
$ac_exeext conftest.
$ac_ext
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
5820 $as_echo "$ac_cv_func_obstack" >&6; }
5821 if test $ac_cv_func_obstack = yes; then
5823 $as_echo "#define HAVE_OBSTACK 1" >>confdefs.h
5826 case " $LIBOBJS " in
5827 *" obstack.$ac_objext "* ) ;;
5828 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext"
5834 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5835 if test "x$ac_cv_type_off_t" = xyes
; then :
5839 cat >>confdefs.h
<<_ACEOF
5840 #define off_t long int
5845 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5846 if test "x$ac_cv_type_size_t" = xyes
; then :
5850 cat >>confdefs.h
<<_ACEOF
5851 #define size_t unsigned int
5856 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5857 if test "x$ac_cv_type_ssize_t" = xyes
; then :
5861 cat >>confdefs.h
<<_ACEOF
5868 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
5869 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
5871 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
5874 for ac_type
in 'unsigned int' 'unsigned long int' \
5875 'unsigned long long int'; do
5876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5878 $ac_includes_default
5882 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
5884 return test_array [0];
5890 if ac_fn_c_try_compile
"$LINENO"; then :
5892 cat >>confdefs.h
<<_ACEOF
5893 #define uintptr_t $ac_type
5898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5899 test -z "$ac_type" && break
5904 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
5905 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
5909 cat >>confdefs.h
<<_ACEOF
5910 #define ptrdiff_t int
5915 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5916 case $ac_cv_c_uint64_t in #(
5920 $as_echo "#define _UINT64_T 1" >>confdefs.h
5923 cat >>confdefs.h
<<_ACEOF
5924 #define uint64_t $ac_cv_c_uint64_t
5929 if test x
"$ac_cv_c_uint64_t" = x
"no"; then
5930 as_fn_error $?
"uint64_t not found" "$LINENO" 5
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5933 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5934 if ${ac_cv_struct_tm+:} false
; then :
5935 $as_echo_n "(cached) " >&6
5937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5938 /* end confdefs.h. */
5939 #include <sys/types.h>
5946 int *p = &tm.tm_sec;
5952 if ac_fn_c_try_compile
"$LINENO"; then :
5953 ac_cv_struct_tm
=time.h
5955 ac_cv_struct_tm
=sys
/time.h
5957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5960 $as_echo "$ac_cv_struct_tm" >&6; }
5961 if test $ac_cv_struct_tm = sys
/time.h
; then
5963 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5967 # The cast to long int works around a bug in the HP C Compiler
5968 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5969 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5970 # This bug is HP SR number 8606223364.
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5972 $as_echo_n "checking size of int... " >&6; }
5973 if ${ac_cv_sizeof_int+:} false
; then :
5974 $as_echo_n "(cached) " >&6
5976 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5979 if test "$ac_cv_type_int" = yes; then
5980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5982 as_fn_error
77 "cannot compute sizeof (int)
5983 See \`config.log' for more details" "$LINENO" 5; }
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5991 $as_echo "$ac_cv_sizeof_int" >&6; }
5995 cat >>confdefs.h
<<_ACEOF
5996 #define SIZEOF_INT $ac_cv_sizeof_int
6000 # The cast to long int works around a bug in the HP C Compiler
6001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6002 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6003 # This bug is HP SR number 8606223364.
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
6005 $as_echo_n "checking size of long... " >&6; }
6006 if ${ac_cv_sizeof_long+:} false
; then :
6007 $as_echo_n "(cached) " >&6
6009 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
6012 if test "$ac_cv_type_long" = yes; then
6013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6015 as_fn_error
77 "cannot compute sizeof (long)
6016 See \`config.log' for more details" "$LINENO" 5; }
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
6024 $as_echo "$ac_cv_sizeof_long" >&6; }
6028 cat >>confdefs.h
<<_ACEOF
6029 #define SIZEOF_LONG $ac_cv_sizeof_long
6034 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
6036 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6037 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6038 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6039 cat >>confdefs.h
<<_ACEOF
6040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6046 ac_fn_c_check_decl
"$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
6047 if test "x$ac_cv_have_decl_abort" = xyes
; then :
6053 cat >>confdefs.h
<<_ACEOF
6054 #define HAVE_DECL_ABORT $ac_have_decl
6056 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6057 if test "x$ac_cv_have_decl_asprintf" = xyes
; then :
6063 cat >>confdefs.h
<<_ACEOF
6064 #define HAVE_DECL_ASPRINTF $ac_have_decl
6066 as_ac_Symbol
=`$as_echo "ac_cv_have_decl_basename(char *)" | $as_tr_sh`
6067 ac_fn_c_check_decl
"$LINENO" "basename(char *)" "$as_ac_Symbol" "$ac_includes_default"
6068 if eval test \"x\$
"$as_ac_Symbol"\" = x
"yes"; then :
6074 cat >>confdefs.h
<<_ACEOF
6075 #define HAVE_DECL_BASENAME $ac_have_decl
6077 ac_fn_c_check_decl
"$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
6078 if test "x$ac_cv_have_decl_errno" = xyes
; then :
6084 cat >>confdefs.h
<<_ACEOF
6085 #define HAVE_DECL_ERRNO $ac_have_decl
6087 ac_fn_c_check_decl
"$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
6088 if test "x$ac_cv_have_decl_getopt" = xyes
; then :
6094 cat >>confdefs.h
<<_ACEOF
6095 #define HAVE_DECL_GETOPT $ac_have_decl
6097 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6098 if test "x$ac_cv_have_decl_vasprintf" = xyes
; then :
6104 cat >>confdefs.h
<<_ACEOF
6105 #define HAVE_DECL_VASPRINTF $ac_have_decl
6108 ac_fn_c_check_decl
"$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
6109 if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes
; then :
6115 cat >>confdefs.h
<<_ACEOF
6116 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
6118 ac_fn_c_check_decl
"$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
6119 if test "x$ac_cv_have_decl_feof_unlocked" = xyes
; then :
6125 cat >>confdefs.h
<<_ACEOF
6126 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
6128 ac_fn_c_check_decl
"$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
6129 if test "x$ac_cv_have_decl_ferror_unlocked" = xyes
; then :
6135 cat >>confdefs.h
<<_ACEOF
6136 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
6138 ac_fn_c_check_decl
"$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
6139 if test "x$ac_cv_have_decl_fflush_unlocked" = xyes
; then :
6145 cat >>confdefs.h
<<_ACEOF
6146 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
6148 ac_fn_c_check_decl
"$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
6149 if test "x$ac_cv_have_decl_fgetc_unlocked" = xyes
; then :
6155 cat >>confdefs.h
<<_ACEOF
6156 #define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
6158 ac_fn_c_check_decl
"$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
6159 if test "x$ac_cv_have_decl_fgets_unlocked" = xyes
; then :
6165 cat >>confdefs.h
<<_ACEOF
6166 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
6168 ac_fn_c_check_decl
"$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
6169 if test "x$ac_cv_have_decl_fileno_unlocked" = xyes
; then :
6175 cat >>confdefs.h
<<_ACEOF
6176 #define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
6178 ac_fn_c_check_decl
"$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
6179 if test "x$ac_cv_have_decl_fprintf_unlocked" = xyes
; then :
6185 cat >>confdefs.h
<<_ACEOF
6186 #define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
6188 ac_fn_c_check_decl
"$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
6189 if test "x$ac_cv_have_decl_fputc_unlocked" = xyes
; then :
6195 cat >>confdefs.h
<<_ACEOF
6196 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
6198 ac_fn_c_check_decl
"$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
6199 if test "x$ac_cv_have_decl_fputs_unlocked" = xyes
; then :
6205 cat >>confdefs.h
<<_ACEOF
6206 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
6208 ac_fn_c_check_decl
"$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
6209 if test "x$ac_cv_have_decl_fread_unlocked" = xyes
; then :
6215 cat >>confdefs.h
<<_ACEOF
6216 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
6218 ac_fn_c_check_decl
"$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
6219 if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes
; then :
6225 cat >>confdefs.h
<<_ACEOF
6226 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
6228 ac_fn_c_check_decl
"$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
6229 if test "x$ac_cv_have_decl_getchar_unlocked" = xyes
; then :
6235 cat >>confdefs.h
<<_ACEOF
6236 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
6238 ac_fn_c_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
6239 if test "x$ac_cv_have_decl_getc_unlocked" = xyes
; then :
6245 cat >>confdefs.h
<<_ACEOF
6246 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
6248 ac_fn_c_check_decl
"$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
6249 if test "x$ac_cv_have_decl_putchar_unlocked" = xyes
; then :
6255 cat >>confdefs.h
<<_ACEOF
6256 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
6258 ac_fn_c_check_decl
"$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
6259 if test "x$ac_cv_have_decl_putc_unlocked" = xyes
; then :
6265 cat >>confdefs.h
<<_ACEOF
6266 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
6270 # Checks for library functions.
6271 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6272 # for constant arguments. Useless!
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6274 $as_echo_n "checking for working alloca.h... " >&6; }
6275 if ${ac_cv_working_alloca_h+:} false
; then :
6276 $as_echo_n "(cached) " >&6
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6284 char *p = (char *) alloca (2 * sizeof (int));
6290 if ac_fn_c_try_link
"$LINENO"; then :
6291 ac_cv_working_alloca_h
=yes
6293 ac_cv_working_alloca_h
=no
6295 rm -f core conftest.err conftest.
$ac_objext \
6296 conftest
$ac_exeext conftest.
$ac_ext
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6299 $as_echo "$ac_cv_working_alloca_h" >&6; }
6300 if test $ac_cv_working_alloca_h = yes; then
6302 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6307 $as_echo_n "checking for alloca... " >&6; }
6308 if ${ac_cv_func_alloca_works+:} false
; then :
6309 $as_echo_n "(cached) " >&6
6311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6314 # define alloca __builtin_alloca
6317 # include <malloc.h>
6318 # define alloca _alloca
6320 # ifdef HAVE_ALLOCA_H
6321 # include <alloca.h>
6326 # ifndef alloca /* predefined by HP cc +Olibcalls */
6327 void *alloca (size_t);
6337 char *p = (char *) alloca (1);
6343 if ac_fn_c_try_link
"$LINENO"; then :
6344 ac_cv_func_alloca_works
=yes
6346 ac_cv_func_alloca_works
=no
6348 rm -f core conftest.err conftest.
$ac_objext \
6349 conftest
$ac_exeext conftest.
$ac_ext
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6352 $as_echo "$ac_cv_func_alloca_works" >&6; }
6354 if test $ac_cv_func_alloca_works = yes; then
6356 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6359 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6360 # that cause trouble. Some versions do not even contain alloca or
6361 # contain a buggy version. If you still want to use their alloca,
6362 # use ar to extract alloca.o from them instead of compiling alloca.c.
6364 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6366 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6370 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6371 if ${ac_cv_os_cray+:} false
; then :
6372 $as_echo_n "(cached) " >&6
6374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #if defined CRAY && ! defined CRAY2
6383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6384 $EGREP "webecray" >/dev
/null
2>&1; then :
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6393 $as_echo "$ac_cv_os_cray" >&6; }
6394 if test $ac_cv_os_cray = yes; then
6395 for ac_func
in _getb67 GETB67 getb67
; do
6396 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6397 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6398 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6400 cat >>confdefs.h
<<_ACEOF
6401 #define CRAY_STACKSEG_END $ac_func
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6411 $as_echo_n "checking stack direction for C alloca... " >&6; }
6412 if ${ac_cv_c_stack_direction+:} false
; then :
6413 $as_echo_n "(cached) " >&6
6415 if test "$cross_compiling" = yes; then :
6416 ac_cv_c_stack_direction
=0
6418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6420 $ac_includes_default
6422 find_stack_direction (int *addr, int depth)
6427 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
6428 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
6433 main (int argc, char **argv)
6435 return find_stack_direction (0, argc + !argv + 20) < 0;
6438 if ac_fn_c_try_run
"$LINENO"; then :
6439 ac_cv_c_stack_direction
=1
6441 ac_cv_c_stack_direction
=-1
6443 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6444 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6449 $as_echo "$ac_cv_c_stack_direction" >&6; }
6450 cat >>confdefs.h
<<_ACEOF
6451 #define STACK_DIRECTION $ac_cv_c_stack_direction
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6458 $as_echo_n "checking for ANSI C header files... " >&6; }
6459 if ${ac_cv_header_stdc+:} false
; then :
6460 $as_echo_n "(cached) " >&6
6462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6463 /* end confdefs.h. */
6477 if ac_fn_c_try_compile
"$LINENO"; then :
6478 ac_cv_header_stdc
=yes
6480 ac_cv_header_stdc
=no
6482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6484 if test $ac_cv_header_stdc = yes; then
6485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6487 /* end confdefs.h. */
6491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6492 $EGREP "memchr" >/dev
/null
2>&1; then :
6495 ac_cv_header_stdc
=no
6501 if test $ac_cv_header_stdc = yes; then
6502 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6504 /* end confdefs.h. */
6508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6509 $EGREP "free" >/dev
/null
2>&1; then :
6512 ac_cv_header_stdc
=no
6518 if test $ac_cv_header_stdc = yes; then
6519 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6520 if test "$cross_compiling" = yes; then :
6523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6527 #if ((' ' & 0x0FF) == 0x020)
6528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6531 # define ISLOWER(c) \
6532 (('a' <= (c) && (c) <= 'i') \
6533 || ('j' <= (c) && (c) <= 'r') \
6534 || ('s' <= (c) && (c) <= 'z'))
6535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6543 for (i = 0; i < 256; i++)
6544 if (XOR (islower (i), ISLOWER (i))
6545 || toupper (i) != TOUPPER (i))
6550 if ac_fn_c_try_run
"$LINENO"; then :
6553 ac_cv_header_stdc
=no
6555 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6556 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6562 $as_echo "$ac_cv_header_stdc" >&6; }
6563 if test $ac_cv_header_stdc = yes; then
6565 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
6571 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
6572 if ${am_cv_langinfo_codeset+:} false
; then :
6573 $as_echo_n "(cached) " >&6
6575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 #include <langinfo.h>
6581 char* cs = nl_langinfo(CODESET);
6586 if ac_fn_c_try_link
"$LINENO"; then :
6587 am_cv_langinfo_codeset
=yes
6589 am_cv_langinfo_codeset
=no
6591 rm -f core conftest.err conftest.
$ac_objext \
6592 conftest
$ac_exeext conftest.
$ac_ext
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
6596 $as_echo "$am_cv_langinfo_codeset" >&6; }
6597 if test $am_cv_langinfo_codeset = yes; then
6599 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
6605 if test -n "$ac_aux_dir"; then
6606 case "$ac_aux_dir" in
6607 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
6608 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
6611 if test -z "$MKINSTALLDIRS"; then
6612 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6618 $as_echo_n "checking whether NLS is requested... " >&6; }
6619 # Check whether --enable-nls was given.
6620 if test "${enable_nls+set}" = set; then :
6621 enableval
=$enable_nls; USE_NLS
=$enableval
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6627 $as_echo "$USE_NLS" >&6; }
6634 # Prepare PATH_SEPARATOR.
6635 # The user is always right.
6636 if test "${PATH_SEPARATOR+set}" != set; then
6637 echo "#! /bin/sh" >conf$$.sh
6638 echo "exit 0" >>conf$$.sh
6640 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6648 # Find out how to test for executable files. Don't use a zero-byte file,
6649 # as systems may use methods other than mode bits to determine executability.
6650 cat >conf$$.
file <<_ASEOF
6654 chmod +x conf$$.
file
6655 if test -x conf$$.
file >/dev
/null
2>&1; then
6656 ac_executable_p
="test -x"
6658 ac_executable_p
="test -f"
6662 # Extract the first word of "msgfmt", so it can be a program name with args.
6663 set dummy msgfmt
; ac_word
=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if ${ac_cv_path_MSGFMT+:} false
; then :
6667 $as_echo_n "(cached) " >&6
6671 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6674 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6675 for ac_dir
in $PATH; do
6677 test -z "$ac_dir" && ac_dir
=.
6678 for ac_exec_ext
in '' $ac_executable_extensions; do
6679 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6680 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
6681 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6682 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6689 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6693 MSGFMT
="$ac_cv_path_MSGFMT"
6694 if test "$MSGFMT" != ":"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6696 $as_echo "$MSGFMT" >&6; }
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6702 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6703 set dummy gmsgfmt
; ac_word
=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if ${ac_cv_path_GMSGFMT+:} false
; then :
6707 $as_echo_n "(cached) " >&6
6711 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6718 test -z "$as_dir" && as_dir
=.
6719 for ac_exec_ext
in '' $ac_executable_extensions; do
6720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6721 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6733 GMSGFMT
=$ac_cv_path_GMSGFMT
6734 if test -n "$GMSGFMT"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6736 $as_echo "$GMSGFMT" >&6; }
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6745 # Prepare PATH_SEPARATOR.
6746 # The user is always right.
6747 if test "${PATH_SEPARATOR+set}" != set; then
6748 echo "#! /bin/sh" >conf$$.sh
6749 echo "exit 0" >>conf$$.sh
6751 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6759 # Find out how to test for executable files. Don't use a zero-byte file,
6760 # as systems may use methods other than mode bits to determine executability.
6761 cat >conf$$.
file <<_ASEOF
6765 chmod +x conf$$.
file
6766 if test -x conf$$.
file >/dev
/null
2>&1; then
6767 ac_executable_p
="test -x"
6769 ac_executable_p
="test -f"
6773 # Extract the first word of "xgettext", so it can be a program name with args.
6774 set dummy xgettext
; ac_word
=$2
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6776 $as_echo_n "checking for $ac_word... " >&6; }
6777 if ${ac_cv_path_XGETTEXT+:} false
; then :
6778 $as_echo_n "(cached) " >&6
6782 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6785 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6786 for ac_dir
in $PATH; do
6788 test -z "$ac_dir" && ac_dir
=.
6789 for ac_exec_ext
in '' $ac_executable_extensions; do
6790 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6791 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6792 (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
6793 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6800 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6804 XGETTEXT
="$ac_cv_path_XGETTEXT"
6805 if test "$XGETTEXT" != ":"; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6807 $as_echo "$XGETTEXT" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6810 $as_echo "no" >&6; }
6816 # Prepare PATH_SEPARATOR.
6817 # The user is always right.
6818 if test "${PATH_SEPARATOR+set}" != set; then
6819 echo "#! /bin/sh" >conf$$.sh
6820 echo "exit 0" >>conf$$.sh
6822 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6830 # Find out how to test for executable files. Don't use a zero-byte file,
6831 # as systems may use methods other than mode bits to determine executability.
6832 cat >conf$$.
file <<_ASEOF
6836 chmod +x conf$$.
file
6837 if test -x conf$$.
file >/dev
/null
2>&1; then
6838 ac_executable_p
="test -x"
6840 ac_executable_p
="test -f"
6844 # Extract the first word of "msgmerge", so it can be a program name with args.
6845 set dummy msgmerge
; ac_word
=$2
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6847 $as_echo_n "checking for $ac_word... " >&6; }
6848 if ${ac_cv_path_MSGMERGE+:} false
; then :
6849 $as_echo_n "(cached) " >&6
6853 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6856 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6857 for ac_dir
in $PATH; do
6859 test -z "$ac_dir" && ac_dir
=.
6860 for ac_exec_ext
in '' $ac_executable_extensions; do
6861 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6862 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
6863 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6870 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6874 MSGMERGE
="$ac_cv_path_MSGMERGE"
6875 if test "$MSGMERGE" != ":"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6877 $as_echo "$MSGMERGE" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6884 if test "$GMSGFMT" != ":"; then
6885 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
6886 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6889 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
6891 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
6896 if test "$XGETTEXT" != ":"; then
6897 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6898 (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
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6902 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6908 ac_config_commands
="$ac_config_commands default-1"
6912 if test "X$prefix" = "XNONE"; then
6913 acl_final_prefix
="$ac_default_prefix"
6915 acl_final_prefix
="$prefix"
6917 if test "X$exec_prefix" = "XNONE"; then
6918 acl_final_exec_prefix
='${prefix}'
6920 acl_final_exec_prefix
="$exec_prefix"
6922 acl_save_prefix
="$prefix"
6923 prefix
="$acl_final_prefix"
6924 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6925 prefix
="$acl_save_prefix"
6928 # Check whether --with-gnu-ld was given.
6929 if test "${with_gnu_ld+set}" = set; then :
6930 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6935 # Prepare PATH_SEPARATOR.
6936 # The user is always right.
6937 if test "${PATH_SEPARATOR+set}" != set; then
6938 echo "#! /bin/sh" >conf$$.sh
6939 echo "exit 0" >>conf$$.sh
6941 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6949 if test "$GCC" = yes; then
6950 # Check if gcc -print-prog-name=ld gives a path.
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6952 $as_echo_n "checking for ld used by GCC... " >&6; }
6955 # gcc leaves a trailing carriage return which upsets mingw
6956 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6958 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6961 # Accept absolute paths.
6962 [\\/]* |
[A-Za-z
]:[\\/]*)
6963 re_direlt
='/[^/][^/]*/\.\./'
6964 # Canonicalize the path of ld
6965 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6966 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6967 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6969 test -z "$LD" && LD
="$ac_prog"
6972 # If it fails, then pretend we aren't using GCC.
6976 # If it is relative, then search for the first ld in PATH.
6980 elif test "$with_gnu_ld" = yes; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6982 $as_echo_n "checking for GNU ld... " >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6985 $as_echo_n "checking for non-GNU ld... " >&6; }
6987 if ${acl_cv_path_LD+:} false
; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -z "$LD"; then
6991 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6992 for ac_dir
in $PATH; do
6993 test -z "$ac_dir" && ac_dir
=.
6994 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6995 acl_cv_path_LD
="$ac_dir/$ac_prog"
6996 # Check to see if the program is GNU ld. I'd rather use --version,
6997 # but apparently some GNU ld's only accept -v.
6998 # Break only if it was the GNU/non-GNU ld that we prefer.
6999 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
$EGREP '(GNU|with BFD)' > /dev
/null
; then
7000 test "$with_gnu_ld" != no
&& break
7002 test "$with_gnu_ld" != yes && break
7008 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7012 LD
="$acl_cv_path_LD"
7013 if test -n "$LD"; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7015 $as_echo "$LD" >&6; }
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7020 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7022 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7023 if ${acl_cv_prog_gnu_ld+:} false
; then :
7024 $as_echo_n "(cached) " >&6
7026 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7027 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
7028 acl_cv_prog_gnu_ld
=yes
7030 acl_cv_prog_gnu_ld
=no
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7034 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7035 with_gnu_ld
=$acl_cv_prog_gnu_ld
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7040 $as_echo_n "checking for shared library run path origin... " >&6; }
7041 if ${acl_cv_rpath+:} false
; then :
7042 $as_echo_n "(cached) " >&6
7045 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7046 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7053 $as_echo "$acl_cv_rpath" >&6; }
7055 libext
="$acl_cv_libext"
7056 shlibext
="$acl_cv_shlibext"
7057 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7058 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7059 hardcode_direct
="$acl_cv_hardcode_direct"
7060 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7061 # Check whether --enable-rpath was given.
7062 if test "${enable_rpath+set}" = set; then :
7063 enableval
=$enable_rpath; :
7077 acl_save_prefix
="$prefix"
7078 prefix
="$acl_final_prefix"
7079 acl_save_exec_prefix
="$exec_prefix"
7080 exec_prefix
="$acl_final_exec_prefix"
7082 eval additional_includedir
=\"$includedir\"
7083 eval additional_libdir
=\"$libdir\"
7085 exec_prefix
="$acl_save_exec_prefix"
7086 prefix
="$acl_save_prefix"
7089 # Check whether --with-libiconv-prefix was given.
7090 if test "${with_libiconv_prefix+set}" = set; then :
7091 withval
=$with_libiconv_prefix;
7092 if test "X$withval" = "Xno"; then
7095 if test "X$withval" = "X"; then
7097 acl_save_prefix
="$prefix"
7098 prefix
="$acl_final_prefix"
7099 acl_save_exec_prefix
="$exec_prefix"
7100 exec_prefix
="$acl_final_exec_prefix"
7102 eval additional_includedir
=\"$includedir\"
7103 eval additional_libdir
=\"$libdir\"
7105 exec_prefix
="$acl_save_exec_prefix"
7106 prefix
="$acl_save_prefix"
7109 additional_includedir
="$withval/include"
7110 additional_libdir
="$withval/lib"
7117 # Check whether --with-libiconv-type was given.
7118 if test "${with_libiconv_type+set}" = set; then :
7119 withval
=$with_libiconv_type; with_libiconv_type
=$withval
7121 with_libiconv_type
=auto
7124 lib_type
=`eval echo \$with_libiconv_type`
7131 names_already_handled
=
7132 names_next_round
='iconv '
7133 while test -n "$names_next_round"; do
7134 names_this_round
="$names_next_round"
7136 for name
in $names_this_round; do
7138 for n
in $names_already_handled; do
7139 if test "$n" = "$name"; then
7144 if test -z "$already_handled"; then
7145 names_already_handled
="$names_already_handled $name"
7146 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7147 eval value
=\"\
$HAVE_LIB$uppername\"
7148 if test -n "$value"; then
7149 if test "$value" = yes; then
7150 eval value
=\"\
$LIB$uppername\"
7151 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7152 eval value
=\"\
$LTLIB$uppername\"
7153 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7162 if test $use_additional = yes; then
7163 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
7164 found_dir
="$additional_libdir"
7165 found_so
="$additional_libdir/lib$name.$shlibext"
7166 if test -f "$additional_libdir/lib$name.la"; then
7167 found_la
="$additional_libdir/lib$name.la"
7169 elif test x
$lib_type != xshared
; then
7170 if test -f "$additional_libdir/lib$name.$libext"; then
7171 found_dir
="$additional_libdir"
7172 found_a
="$additional_libdir/lib$name.$libext"
7173 if test -f "$additional_libdir/lib$name.la"; then
7174 found_la
="$additional_libdir/lib$name.la"
7179 if test "X$found_dir" = "X"; then
7180 for x
in $LDFLAGS $LTLIBICONV; do
7182 acl_save_prefix
="$prefix"
7183 prefix
="$acl_final_prefix"
7184 acl_save_exec_prefix
="$exec_prefix"
7185 exec_prefix
="$acl_final_exec_prefix"
7187 exec_prefix
="$acl_save_exec_prefix"
7188 prefix
="$acl_save_prefix"
7192 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7193 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
7195 found_so
="$dir/lib$name.$shlibext"
7196 if test -f "$dir/lib$name.la"; then
7197 found_la
="$dir/lib$name.la"
7199 elif test x
$lib_type != xshared
; then
7200 if test -f "$dir/lib$name.$libext"; then
7202 found_a
="$dir/lib$name.$libext"
7203 if test -f "$dir/lib$name.la"; then
7204 found_la
="$dir/lib$name.la"
7210 if test "X$found_dir" != "X"; then
7215 if test "X$found_dir" != "X"; then
7216 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7217 if test "X$found_so" != "X"; then
7218 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7219 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7222 for x
in $ltrpathdirs; do
7223 if test "X$x" = "X$found_dir"; then
7228 if test -z "$haveit"; then
7229 ltrpathdirs
="$ltrpathdirs $found_dir"
7231 if test "$hardcode_direct" = yes; then
7232 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7234 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7235 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7237 for x
in $rpathdirs; do
7238 if test "X$x" = "X$found_dir"; then
7243 if test -z "$haveit"; then
7244 rpathdirs
="$rpathdirs $found_dir"
7248 for x
in $LDFLAGS $LIBICONV; do
7250 acl_save_prefix
="$prefix"
7251 prefix
="$acl_final_prefix"
7252 acl_save_exec_prefix
="$exec_prefix"
7253 exec_prefix
="$acl_final_exec_prefix"
7255 exec_prefix
="$acl_save_exec_prefix"
7256 prefix
="$acl_save_prefix"
7258 if test "X$x" = "X-L$found_dir"; then
7263 if test -z "$haveit"; then
7264 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7266 if test "$hardcode_minus_L" != no
; then
7267 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7269 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7275 if test "X$found_a" != "X"; then
7276 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7278 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7281 additional_includedir
=
7282 case "$found_dir" in
7284 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7285 additional_includedir
="$basedir/include"
7288 if test "X$additional_includedir" != "X"; then
7289 if test "X$additional_includedir" != "X/usr/include"; then
7291 if test "X$additional_includedir" = "X/usr/local/include"; then
7292 if test -n "$GCC"; then
7294 linux
*) haveit
=yes;;
7298 if test -z "$haveit"; then
7299 for x
in $CPPFLAGS $INCICONV; do
7301 acl_save_prefix
="$prefix"
7302 prefix
="$acl_final_prefix"
7303 acl_save_exec_prefix
="$exec_prefix"
7304 exec_prefix
="$acl_final_exec_prefix"
7306 exec_prefix
="$acl_save_exec_prefix"
7307 prefix
="$acl_save_prefix"
7309 if test "X$x" = "X-I$additional_includedir"; then
7314 if test -z "$haveit"; then
7315 if test -d "$additional_includedir"; then
7316 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7322 if test -n "$found_la"; then
7323 save_libdir
="$libdir"
7325 */* |
*\\*) .
"$found_la" ;;
7326 *) .
"./$found_la" ;;
7328 libdir
="$save_libdir"
7329 for dep
in $dependency_libs; do
7332 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7333 if test "X$additional_libdir" != "X/usr/lib"; then
7335 if test "X$additional_libdir" = "X/usr/local/lib"; then
7336 if test -n "$GCC"; then
7338 linux
*) haveit
=yes;;
7342 if test -z "$haveit"; then
7344 for x
in $LDFLAGS $LIBICONV; do
7346 acl_save_prefix
="$prefix"
7347 prefix
="$acl_final_prefix"
7348 acl_save_exec_prefix
="$exec_prefix"
7349 exec_prefix
="$acl_final_exec_prefix"
7351 exec_prefix
="$acl_save_exec_prefix"
7352 prefix
="$acl_save_prefix"
7354 if test "X$x" = "X-L$additional_libdir"; then
7359 if test -z "$haveit"; then
7360 if test -d "$additional_libdir"; then
7361 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7365 for x
in $LDFLAGS $LTLIBICONV; do
7367 acl_save_prefix
="$prefix"
7368 prefix
="$acl_final_prefix"
7369 acl_save_exec_prefix
="$exec_prefix"
7370 exec_prefix
="$acl_final_exec_prefix"
7372 exec_prefix
="$acl_save_exec_prefix"
7373 prefix
="$acl_save_prefix"
7375 if test "X$x" = "X-L$additional_libdir"; then
7380 if test -z "$haveit"; then
7381 if test -d "$additional_libdir"; then
7382 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7389 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7390 if test "$enable_rpath" != no
; then
7392 for x
in $rpathdirs; do
7393 if test "X$x" = "X$dir"; then
7398 if test -z "$haveit"; then
7399 rpathdirs
="$rpathdirs $dir"
7402 for x
in $ltrpathdirs; do
7403 if test "X$x" = "X$dir"; then
7408 if test -z "$haveit"; then
7409 ltrpathdirs
="$ltrpathdirs $dir"
7414 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7417 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7420 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7421 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7427 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
7428 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7429 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7431 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
7432 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
7439 if test "X$rpathdirs" != "X"; then
7440 if test -n "$hardcode_libdir_separator"; then
7442 for found_dir
in $rpathdirs; do
7443 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7445 acl_save_libdir
="$libdir"
7447 eval flag
=\"$hardcode_libdir_flag_spec\"
7448 libdir
="$acl_save_libdir"
7449 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7451 for found_dir
in $rpathdirs; do
7452 acl_save_libdir
="$libdir"
7454 eval flag
=\"$hardcode_libdir_flag_spec\"
7455 libdir
="$acl_save_libdir"
7456 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7460 if test "X$ltrpathdirs" != "X"; then
7461 for found_dir
in $ltrpathdirs; do
7462 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7470 if test -f ..
/gettext
/uninstalled-config.sh
; then
7471 relative_builddir
='$(top_builddir)/../gettext'
7472 . ..
/gettext
/uninstalled-config.sh
7474 # The sister gettext directory doesn't exist and won't collect information on
7475 # using gettext for us. Call a bundled AM_GNU_GETTEXT.
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7500 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
7501 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
7502 $as_echo_n "(cached) " >&6
7504 gt_save_LIBS
="$LIBS"
7505 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7507 /* end confdefs.h. */
7508 #include <CoreFoundation/CFPreferences.h>
7512 CFPreferencesCopyAppValue(NULL, NULL)
7517 if ac_fn_c_try_link
"$LINENO"; then :
7518 gt_cv_func_CFPreferencesCopyAppValue
=yes
7520 gt_cv_func_CFPreferencesCopyAppValue
=no
7522 rm -f core conftest.err conftest.
$ac_objext \
7523 conftest
$ac_exeext conftest.
$ac_ext
7524 LIBS
="$gt_save_LIBS"
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7527 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7528 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7530 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
7534 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
7535 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false
; then :
7536 $as_echo_n "(cached) " >&6
7538 gt_save_LIBS
="$LIBS"
7539 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7542 #include <CoreFoundation/CFLocale.h>
7546 CFLocaleCopyPreferredLanguages();
7551 if ac_fn_c_try_link
"$LINENO"; then :
7552 gt_cv_func_CFLocaleCopyPreferredLanguages
=yes
7554 gt_cv_func_CFLocaleCopyPreferredLanguages
=no
7556 rm -f core conftest.err conftest.
$ac_objext \
7557 conftest
$ac_exeext conftest.
$ac_ext
7558 LIBS
="$gt_save_LIBS"
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
7561 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
7562 if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
7564 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
7568 if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
7569 ||
test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
7570 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
7582 case " $gt_needs " in
7583 *" need-formatstring-macros "*) gt_api_version
=3 ;;
7584 *" need-ngettext "*) gt_api_version
=2 ;;
7585 *) gt_api_version
=1 ;;
7587 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
7588 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
7590 if test "$USE_NLS" = "yes"; then
7591 gt_use_preinstalled_gnugettext
=no
7594 if test $gt_api_version -ge 3; then
7595 gt_revision_test_code
='
7596 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7597 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7599 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7602 gt_revision_test_code
=
7604 if test $gt_api_version -ge 2; then
7605 gt_expression_test_code
=' + * ngettext ("", "", 0)'
7607 gt_expression_test_code
=
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7611 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7612 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
7613 $as_echo_n "(cached) " >&6
7615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7616 /* end confdefs.h. */
7618 #include <libintl.h>
7619 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7620 extern int _nl_msg_cat_cntr;
7621 extern int *_nl_domain_bindings;
7622 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
7624 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7626 $gt_revision_test_code
7632 bindtextdomain ("", "");
7633 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7639 if ac_fn_c_try_link
"$LINENO"; then :
7640 eval "$gt_func_gnugettext_libc=yes"
7642 eval "$gt_func_gnugettext_libc=no"
7644 rm -f core conftest.err conftest.
$ac_objext \
7645 conftest
$ac_exeext conftest.
$ac_ext
7647 eval ac_res
=\$
$gt_func_gnugettext_libc
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7649 $as_echo "$ac_res" >&6; }
7651 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7657 am_save_CPPFLAGS
="$CPPFLAGS"
7659 for element
in $INCICONV; do
7661 for x
in $CPPFLAGS; do
7663 acl_save_prefix
="$prefix"
7664 prefix
="$acl_final_prefix"
7665 acl_save_exec_prefix
="$exec_prefix"
7666 exec_prefix
="$acl_final_exec_prefix"
7668 exec_prefix
="$acl_save_exec_prefix"
7669 prefix
="$acl_save_prefix"
7671 if test "X$x" = "X$element"; then
7676 if test -z "$haveit"; then
7677 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7683 $as_echo_n "checking for iconv... " >&6; }
7684 if ${am_cv_func_iconv+:} false
; then :
7685 $as_echo_n "(cached) " >&6
7688 am_cv_func_iconv
="no, consider installing GNU libiconv"
7690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7699 iconv_t cd = iconv_open("","");
7700 iconv(cd,NULL,NULL,NULL,NULL);
7706 if ac_fn_c_try_link
"$LINENO"; then :
7707 am_cv_func_iconv
=yes
7709 rm -f core conftest.err conftest.
$ac_objext \
7710 conftest
$ac_exeext conftest.
$ac_ext
7711 if test "$am_cv_func_iconv" != yes; then
7712 am_save_LIBS
="$LIBS"
7713 LIBS
="$LIBS $LIBICONV"
7714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h. */
7723 iconv_t cd = iconv_open("","");
7724 iconv(cd,NULL,NULL,NULL,NULL);
7730 if ac_fn_c_try_link
"$LINENO"; then :
7732 am_cv_func_iconv
=yes
7734 rm -f core conftest.err conftest.
$ac_objext \
7735 conftest
$ac_exeext conftest.
$ac_ext
7736 LIBS
="$am_save_LIBS"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7741 $as_echo "$am_cv_func_iconv" >&6; }
7742 if test "$am_cv_func_iconv" = yes; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7744 $as_echo_n "checking for working iconv... " >&6; }
7745 if ${am_cv_func_iconv_works+:} false
; then :
7746 $as_echo_n "(cached) " >&6
7749 am_save_LIBS
="$LIBS"
7750 if test $am_cv_lib_iconv = yes; then
7751 LIBS
="$LIBS $LIBICONV"
7753 am_cv_func_iconv_works
=no
7754 for ac_iconv_const
in '' 'const'; do
7755 if test "$cross_compiling" = yes; then :
7757 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
7758 *) am_cv_func_iconv_works
="guessing yes" ;;
7761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7762 /* end confdefs.h. */
7768 # define ICONV_CONST $ac_iconv_const
7775 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
7776 successful returns. This is even documented in
7777 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
7779 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
7780 if (cd_utf8_to_88591 != (iconv_t)(-1))
7782 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
7784 ICONV_CONST char *inptr = input;
7785 size_t inbytesleft = strlen (input);
7787 size_t outbytesleft = sizeof (buf);
7788 size_t res = iconv (cd_utf8_to_88591,
7789 &inptr, &inbytesleft,
7790 &outptr, &outbytesleft);
7793 iconv_close (cd_utf8_to_88591);
7796 /* Test against Solaris 10 bug: Failures are not distinguishable from
7797 successful returns. */
7799 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
7800 if (cd_ascii_to_88591 != (iconv_t)(-1))
7802 static ICONV_CONST char input[] = "\263";
7804 ICONV_CONST char *inptr = input;
7805 size_t inbytesleft = strlen (input);
7807 size_t outbytesleft = sizeof (buf);
7808 size_t res = iconv (cd_ascii_to_88591,
7809 &inptr, &inbytesleft,
7810 &outptr, &outbytesleft);
7813 iconv_close (cd_ascii_to_88591);
7816 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
7818 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
7819 if (cd_88591_to_utf8 != (iconv_t)(-1))
7821 static ICONV_CONST char input[] = "\304";
7822 static char buf[2] = { (char)0xDE, (char)0xAD };
7823 ICONV_CONST char *inptr = input;
7824 size_t inbytesleft = 1;
7826 size_t outbytesleft = 1;
7827 size_t res = iconv (cd_88591_to_utf8,
7828 &inptr, &inbytesleft,
7829 &outptr, &outbytesleft);
7830 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
7832 iconv_close (cd_88591_to_utf8);
7835 #if 0 /* This bug could be worked around by the caller. */
7836 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
7838 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
7839 if (cd_88591_to_utf8 != (iconv_t)(-1))
7841 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
7843 ICONV_CONST char *inptr = input;
7844 size_t inbytesleft = strlen (input);
7846 size_t outbytesleft = sizeof (buf);
7847 size_t res = iconv (cd_88591_to_utf8,
7848 &inptr, &inbytesleft,
7849 &outptr, &outbytesleft);
7852 iconv_close (cd_88591_to_utf8);
7856 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
7859 /* Try standardized names. */
7860 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
7861 /* Try IRIX, OSF/1 names. */
7862 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
7863 /* Try AIX names. */
7864 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
7865 /* Try HP-UX names. */
7866 iconv_t cd4 = iconv_open ("utf8", "eucJP");
7867 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
7868 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
7870 if (cd1 != (iconv_t)(-1))
7872 if (cd2 != (iconv_t)(-1))
7874 if (cd3 != (iconv_t)(-1))
7876 if (cd4 != (iconv_t)(-1))
7885 if ac_fn_c_try_run
"$LINENO"; then :
7886 am_cv_func_iconv_works
=yes
7888 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7889 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7892 test "$am_cv_func_iconv_works" = no ||
break
7894 LIBS
="$am_save_LIBS"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
7898 $as_echo "$am_cv_func_iconv_works" >&6; }
7899 case "$am_cv_func_iconv_works" in
7900 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
7901 *) am_func_iconv
=yes ;;
7904 am_func_iconv
=no am_cv_lib_iconv
=no
7906 if test "$am_func_iconv" = yes; then
7908 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
7911 if test "$am_cv_lib_iconv" = yes; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7913 $as_echo_n "checking how to link with libiconv... " >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7915 $as_echo "$LIBICONV" >&6; }
7917 CPPFLAGS
="$am_save_CPPFLAGS"
7929 acl_save_prefix
="$prefix"
7930 prefix
="$acl_final_prefix"
7931 acl_save_exec_prefix
="$exec_prefix"
7932 exec_prefix
="$acl_final_exec_prefix"
7934 eval additional_includedir
=\"$includedir\"
7935 eval additional_libdir
=\"$libdir\"
7937 exec_prefix
="$acl_save_exec_prefix"
7938 prefix
="$acl_save_prefix"
7941 # Check whether --with-libintl-prefix was given.
7942 if test "${with_libintl_prefix+set}" = set; then :
7943 withval
=$with_libintl_prefix;
7944 if test "X$withval" = "Xno"; then
7947 if test "X$withval" = "X"; then
7949 acl_save_prefix
="$prefix"
7950 prefix
="$acl_final_prefix"
7951 acl_save_exec_prefix
="$exec_prefix"
7952 exec_prefix
="$acl_final_exec_prefix"
7954 eval additional_includedir
=\"$includedir\"
7955 eval additional_libdir
=\"$libdir\"
7957 exec_prefix
="$acl_save_exec_prefix"
7958 prefix
="$acl_save_prefix"
7961 additional_includedir
="$withval/include"
7962 additional_libdir
="$withval/lib"
7969 # Check whether --with-libintl-type was given.
7970 if test "${with_libintl_type+set}" = set; then :
7971 withval
=$with_libintl_type; with_libintl_type
=$withval
7973 with_libintl_type
=auto
7976 lib_type
=`eval echo \$with_libintl_type`
7983 names_already_handled
=
7984 names_next_round
='intl '
7985 while test -n "$names_next_round"; do
7986 names_this_round
="$names_next_round"
7988 for name
in $names_this_round; do
7990 for n
in $names_already_handled; do
7991 if test "$n" = "$name"; then
7996 if test -z "$already_handled"; then
7997 names_already_handled
="$names_already_handled $name"
7998 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7999 eval value
=\"\
$HAVE_LIB$uppername\"
8000 if test -n "$value"; then
8001 if test "$value" = yes; then
8002 eval value
=\"\
$LIB$uppername\"
8003 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
8004 eval value
=\"\
$LTLIB$uppername\"
8005 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
8014 if test $use_additional = yes; then
8015 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
8016 found_dir
="$additional_libdir"
8017 found_so
="$additional_libdir/lib$name.$shlibext"
8018 if test -f "$additional_libdir/lib$name.la"; then
8019 found_la
="$additional_libdir/lib$name.la"
8021 elif test x
$lib_type != xshared
; then
8022 if test -f "$additional_libdir/lib$name.$libext"; then
8023 found_dir
="$additional_libdir"
8024 found_a
="$additional_libdir/lib$name.$libext"
8025 if test -f "$additional_libdir/lib$name.la"; then
8026 found_la
="$additional_libdir/lib$name.la"
8031 if test "X$found_dir" = "X"; then
8032 for x
in $LDFLAGS $LTLIBINTL; do
8034 acl_save_prefix
="$prefix"
8035 prefix
="$acl_final_prefix"
8036 acl_save_exec_prefix
="$exec_prefix"
8037 exec_prefix
="$acl_final_exec_prefix"
8039 exec_prefix
="$acl_save_exec_prefix"
8040 prefix
="$acl_save_prefix"
8044 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8045 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
8047 found_so
="$dir/lib$name.$shlibext"
8048 if test -f "$dir/lib$name.la"; then
8049 found_la
="$dir/lib$name.la"
8051 elif test x
$lib_type != xshared
; then
8052 if test -f "$dir/lib$name.$libext"; then
8054 found_a
="$dir/lib$name.$libext"
8055 if test -f "$dir/lib$name.la"; then
8056 found_la
="$dir/lib$name.la"
8062 if test "X$found_dir" != "X"; then
8067 if test "X$found_dir" != "X"; then
8068 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8069 if test "X$found_so" != "X"; then
8070 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
8071 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8074 for x
in $ltrpathdirs; do
8075 if test "X$x" = "X$found_dir"; then
8080 if test -z "$haveit"; then
8081 ltrpathdirs
="$ltrpathdirs $found_dir"
8083 if test "$hardcode_direct" = yes; then
8084 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8086 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
8087 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8089 for x
in $rpathdirs; do
8090 if test "X$x" = "X$found_dir"; then
8095 if test -z "$haveit"; then
8096 rpathdirs
="$rpathdirs $found_dir"
8100 for x
in $LDFLAGS $LIBINTL; do
8102 acl_save_prefix
="$prefix"
8103 prefix
="$acl_final_prefix"
8104 acl_save_exec_prefix
="$exec_prefix"
8105 exec_prefix
="$acl_final_exec_prefix"
8107 exec_prefix
="$acl_save_exec_prefix"
8108 prefix
="$acl_save_prefix"
8110 if test "X$x" = "X-L$found_dir"; then
8115 if test -z "$haveit"; then
8116 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8118 if test "$hardcode_minus_L" != no
; then
8119 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8121 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8127 if test "X$found_a" != "X"; then
8128 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
8130 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8133 additional_includedir
=
8134 case "$found_dir" in
8136 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
8137 additional_includedir
="$basedir/include"
8140 if test "X$additional_includedir" != "X"; then
8141 if test "X$additional_includedir" != "X/usr/include"; then
8143 if test "X$additional_includedir" = "X/usr/local/include"; then
8144 if test -n "$GCC"; then
8146 linux
*) haveit
=yes;;
8150 if test -z "$haveit"; then
8151 for x
in $CPPFLAGS $INCINTL; do
8153 acl_save_prefix
="$prefix"
8154 prefix
="$acl_final_prefix"
8155 acl_save_exec_prefix
="$exec_prefix"
8156 exec_prefix
="$acl_final_exec_prefix"
8158 exec_prefix
="$acl_save_exec_prefix"
8159 prefix
="$acl_save_prefix"
8161 if test "X$x" = "X-I$additional_includedir"; then
8166 if test -z "$haveit"; then
8167 if test -d "$additional_includedir"; then
8168 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8174 if test -n "$found_la"; then
8175 save_libdir
="$libdir"
8177 */* |
*\\*) .
"$found_la" ;;
8178 *) .
"./$found_la" ;;
8180 libdir
="$save_libdir"
8181 for dep
in $dependency_libs; do
8184 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8185 if test "X$additional_libdir" != "X/usr/lib"; then
8187 if test "X$additional_libdir" = "X/usr/local/lib"; then
8188 if test -n "$GCC"; then
8190 linux
*) haveit
=yes;;
8194 if test -z "$haveit"; then
8196 for x
in $LDFLAGS $LIBINTL; do
8198 acl_save_prefix
="$prefix"
8199 prefix
="$acl_final_prefix"
8200 acl_save_exec_prefix
="$exec_prefix"
8201 exec_prefix
="$acl_final_exec_prefix"
8203 exec_prefix
="$acl_save_exec_prefix"
8204 prefix
="$acl_save_prefix"
8206 if test "X$x" = "X-L$additional_libdir"; then
8211 if test -z "$haveit"; then
8212 if test -d "$additional_libdir"; then
8213 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8217 for x
in $LDFLAGS $LTLIBINTL; do
8219 acl_save_prefix
="$prefix"
8220 prefix
="$acl_final_prefix"
8221 acl_save_exec_prefix
="$exec_prefix"
8222 exec_prefix
="$acl_final_exec_prefix"
8224 exec_prefix
="$acl_save_exec_prefix"
8225 prefix
="$acl_save_prefix"
8227 if test "X$x" = "X-L$additional_libdir"; then
8232 if test -z "$haveit"; then
8233 if test -d "$additional_libdir"; then
8234 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8241 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8242 if test "$enable_rpath" != no
; then
8244 for x
in $rpathdirs; do
8245 if test "X$x" = "X$dir"; then
8250 if test -z "$haveit"; then
8251 rpathdirs
="$rpathdirs $dir"
8254 for x
in $ltrpathdirs; do
8255 if test "X$x" = "X$dir"; then
8260 if test -z "$haveit"; then
8261 ltrpathdirs
="$ltrpathdirs $dir"
8266 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8269 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8272 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
8273 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8279 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
8280 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8281 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8283 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
8284 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
8291 if test "X$rpathdirs" != "X"; then
8292 if test -n "$hardcode_libdir_separator"; then
8294 for found_dir
in $rpathdirs; do
8295 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8297 acl_save_libdir
="$libdir"
8299 eval flag
=\"$hardcode_libdir_flag_spec\"
8300 libdir
="$acl_save_libdir"
8301 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8303 for found_dir
in $rpathdirs; do
8304 acl_save_libdir
="$libdir"
8306 eval flag
=\"$hardcode_libdir_flag_spec\"
8307 libdir
="$acl_save_libdir"
8308 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8312 if test "X$ltrpathdirs" != "X"; then
8313 for found_dir
in $ltrpathdirs; do
8314 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8319 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
8320 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
8321 $as_echo_n "(cached) " >&6
8323 gt_save_CPPFLAGS
="$CPPFLAGS"
8324 CPPFLAGS
="$CPPFLAGS $INCINTL"
8325 gt_save_LIBS
="$LIBS"
8326 LIBS
="$LIBS $LIBINTL"
8327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8330 #include <libintl.h>
8331 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8332 extern int _nl_msg_cat_cntr;
8337 const char *_nl_expand_alias (const char *);
8338 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8340 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8342 $gt_revision_test_code
8348 bindtextdomain ("", "");
8349 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8355 if ac_fn_c_try_link
"$LINENO"; then :
8356 eval "$gt_func_gnugettext_libintl=yes"
8358 eval "$gt_func_gnugettext_libintl=no"
8360 rm -f core conftest.err conftest.
$ac_objext \
8361 conftest
$ac_exeext conftest.
$ac_ext
8362 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8363 LIBS
="$LIBS $LIBICONV"
8364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8367 #include <libintl.h>
8368 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8369 extern int _nl_msg_cat_cntr;
8374 const char *_nl_expand_alias (const char *);
8375 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8377 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8379 $gt_revision_test_code
8385 bindtextdomain ("", "");
8386 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8392 if ac_fn_c_try_link
"$LINENO"; then :
8393 LIBINTL
="$LIBINTL $LIBICONV"
8394 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
8395 eval "$gt_func_gnugettext_libintl=yes"
8398 rm -f core conftest.err conftest.
$ac_objext \
8399 conftest
$ac_exeext conftest.
$ac_ext
8401 CPPFLAGS
="$gt_save_CPPFLAGS"
8402 LIBS
="$gt_save_LIBS"
8404 eval ac_res
=\$
$gt_func_gnugettext_libintl
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8406 $as_echo "$ac_res" >&6; }
8409 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8410 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8411 && test "$PACKAGE" != gettext-runtime \
8412 && test "$PACKAGE" != gettext-tools
; }; then
8413 gt_use_preinstalled_gnugettext
=yes
8422 if test -n "$INTL_MACOSX_LIBS"; then
8423 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8424 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8425 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
8426 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
8430 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8431 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8433 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8441 $as_echo_n "checking whether to use NLS... " >&6; }
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8443 $as_echo "$USE_NLS" >&6; }
8444 if test "$USE_NLS" = "yes"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8446 $as_echo_n "checking where the gettext function comes from... " >&6; }
8447 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8448 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8449 gt_source
="external libintl"
8454 gt_source
="included intl directory"
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8457 $as_echo "$gt_source" >&6; }
8460 if test "$USE_NLS" = "yes"; then
8462 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8463 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8465 $as_echo_n "checking how to link with libintl... " >&6; }
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8467 $as_echo "$LIBINTL" >&6; }
8469 for element
in $INCINTL; do
8471 for x
in $CPPFLAGS; do
8473 acl_save_prefix
="$prefix"
8474 prefix
="$acl_final_prefix"
8475 acl_save_exec_prefix
="$exec_prefix"
8476 exec_prefix
="$acl_final_exec_prefix"
8478 exec_prefix
="$acl_save_exec_prefix"
8479 prefix
="$acl_save_prefix"
8481 if test "X$x" = "X$element"; then
8486 if test -z "$haveit"; then
8487 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8494 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8497 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8526 $as_echo_n "checking whether NLS is requested... " >&6; }
8527 if test x
"$USE_NLS" != xyes
; then
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8529 $as_echo "no" >&6; }
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8532 $as_echo "yes" >&6; }
8534 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
8538 $as_echo_n "checking for catalogs to be installed... " >&6; }
8539 # Look for .po and .gmo files in the source directory.
8542 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8543 # If there aren't any .gmo files the shell will give us the
8544 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8546 case "$cat" in *\
**)
8549 # The quadruple backslash is collapsed to a double backslash
8550 # by the backticks, then collapsed again by the double quotes,
8551 # leaving us with one backslash in the sed expression (right
8552 # before the dot that mustn't act as a wildcard).
8553 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8554 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8555 # The user is allowed to set LINGUAS to a list of languages to
8556 # install catalogs for. If it's empty that means "all of them."
8557 if test "x$LINGUAS" = x
; then
8558 CATALOGS
="$CATALOGS $cat"
8559 XLINGUAS
="$XLINGUAS $lang"
8561 case "$LINGUAS" in *$lang*)
8562 CATALOGS
="$CATALOGS $cat"
8563 XLINGUAS
="$XLINGUAS $lang"
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
8570 $as_echo "$LINGUAS" >&6; }
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uchar" >&5
8584 $as_echo_n "checking for uchar... " >&6; }
8585 if ${gcc_cv_type_uchar+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8591 #include <sys/types.h>
8596 if ((uchar *)0) return 0;
8597 if (sizeof(uchar)) return 0;
8602 if ac_fn_c_try_compile
"$LINENO"; then :
8603 ac_cv_type_uchar
=yes
8607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_type_uchar" >&5
8610 $as_echo "$gcc_cv_type_uchar" >&6; }
8611 if test $ac_cv_type_uchar = yes; then
8613 $as_echo "#define HAVE_UCHAR 1" >>confdefs.h
8617 # The cast to long int works around a bug in the HP C Compiler
8618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8620 # This bug is HP SR number 8606223364.
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ino_t" >&5
8622 $as_echo_n "checking size of ino_t... " >&6; }
8623 if ${ac_cv_sizeof_ino_t+:} false
; then :
8624 $as_echo_n "(cached) " >&6
8626 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (ino_t))" "ac_cv_sizeof_ino_t" "$ac_includes_default"; then :
8629 if test "$ac_cv_type_ino_t" = yes; then
8630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8632 as_fn_error
77 "cannot compute sizeof (ino_t)
8633 See \`config.log' for more details" "$LINENO" 5; }
8635 ac_cv_sizeof_ino_t
=0
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ino_t" >&5
8641 $as_echo "$ac_cv_sizeof_ino_t" >&6; }
8645 cat >>confdefs.h
<<_ACEOF
8646 #define SIZEOF_INO_T $ac_cv_sizeof_ino_t
8650 # The cast to long int works around a bug in the HP C Compiler
8651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8653 # This bug is HP SR number 8606223364.
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
8655 $as_echo_n "checking size of dev_t... " >&6; }
8656 if ${ac_cv_sizeof_dev_t+:} false
; then :
8657 $as_echo_n "(cached) " >&6
8659 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t" "$ac_includes_default"; then :
8662 if test "$ac_cv_type_dev_t" = yes; then
8663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8665 as_fn_error
77 "cannot compute sizeof (dev_t)
8666 See \`config.log' for more details" "$LINENO" 5; }
8668 ac_cv_sizeof_dev_t
=0
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
8674 $as_echo "$ac_cv_sizeof_dev_t" >&6; }
8678 cat >>confdefs.h
<<_ACEOF
8679 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
8684 # g++ on Solaris 10+ defines _XOPEN_SOURCE=600, which exposes a different
8685 # iconv() prototype.
8687 ac_cpp
='$CXXCPP $CPPFLAGS'
8688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8697 am_save_CPPFLAGS
="$CPPFLAGS"
8699 for element
in $INCICONV; do
8701 for x
in $CPPFLAGS; do
8703 acl_save_prefix
="$prefix"
8704 prefix
="$acl_final_prefix"
8705 acl_save_exec_prefix
="$exec_prefix"
8706 exec_prefix
="$acl_final_exec_prefix"
8708 exec_prefix
="$acl_save_exec_prefix"
8709 prefix
="$acl_save_prefix"
8711 if test "X$x" = "X$element"; then
8716 if test -z "$haveit"; then
8717 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
8723 $as_echo_n "checking for iconv... " >&6; }
8724 if ${am_cv_func_iconv+:} false
; then :
8725 $as_echo_n "(cached) " >&6
8728 am_cv_func_iconv
="no, consider installing GNU libiconv"
8730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8739 iconv_t cd = iconv_open("","");
8740 iconv(cd,NULL,NULL,NULL,NULL);
8746 if ac_fn_cxx_try_link
"$LINENO"; then :
8747 am_cv_func_iconv
=yes
8749 rm -f core conftest.err conftest.
$ac_objext \
8750 conftest
$ac_exeext conftest.
$ac_ext
8751 if test "$am_cv_func_iconv" != yes; then
8752 am_save_LIBS
="$LIBS"
8753 LIBS
="$LIBS $LIBICONV"
8754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8763 iconv_t cd = iconv_open("","");
8764 iconv(cd,NULL,NULL,NULL,NULL);
8770 if ac_fn_cxx_try_link
"$LINENO"; then :
8772 am_cv_func_iconv
=yes
8774 rm -f core conftest.err conftest.
$ac_objext \
8775 conftest
$ac_exeext conftest.
$ac_ext
8776 LIBS
="$am_save_LIBS"
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
8781 $as_echo "$am_cv_func_iconv" >&6; }
8782 if test "$am_cv_func_iconv" = yes; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
8784 $as_echo_n "checking for working iconv... " >&6; }
8785 if ${am_cv_func_iconv_works+:} false
; then :
8786 $as_echo_n "(cached) " >&6
8789 am_save_LIBS
="$LIBS"
8790 if test $am_cv_lib_iconv = yes; then
8791 LIBS
="$LIBS $LIBICONV"
8793 am_cv_func_iconv_works
=no
8794 for ac_iconv_const
in '' 'const'; do
8795 if test "$cross_compiling" = yes; then :
8797 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
8798 *) am_cv_func_iconv_works
="guessing yes" ;;
8801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8808 # define ICONV_CONST $ac_iconv_const
8815 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
8816 successful returns. This is even documented in
8817 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
8819 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8820 if (cd_utf8_to_88591 != (iconv_t)(-1))
8822 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
8824 ICONV_CONST char *inptr = input;
8825 size_t inbytesleft = strlen (input);
8827 size_t outbytesleft = sizeof (buf);
8828 size_t res = iconv (cd_utf8_to_88591,
8829 &inptr, &inbytesleft,
8830 &outptr, &outbytesleft);
8833 iconv_close (cd_utf8_to_88591);
8836 /* Test against Solaris 10 bug: Failures are not distinguishable from
8837 successful returns. */
8839 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8840 if (cd_ascii_to_88591 != (iconv_t)(-1))
8842 static ICONV_CONST char input[] = "\263";
8844 ICONV_CONST char *inptr = input;
8845 size_t inbytesleft = strlen (input);
8847 size_t outbytesleft = sizeof (buf);
8848 size_t res = iconv (cd_ascii_to_88591,
8849 &inptr, &inbytesleft,
8850 &outptr, &outbytesleft);
8853 iconv_close (cd_ascii_to_88591);
8856 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
8858 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8859 if (cd_88591_to_utf8 != (iconv_t)(-1))
8861 static ICONV_CONST char input[] = "\304";
8862 static char buf[2] = { (char)0xDE, (char)0xAD };
8863 ICONV_CONST char *inptr = input;
8864 size_t inbytesleft = 1;
8866 size_t outbytesleft = 1;
8867 size_t res = iconv (cd_88591_to_utf8,
8868 &inptr, &inbytesleft,
8869 &outptr, &outbytesleft);
8870 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8872 iconv_close (cd_88591_to_utf8);
8875 #if 0 /* This bug could be worked around by the caller. */
8876 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8878 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8879 if (cd_88591_to_utf8 != (iconv_t)(-1))
8881 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8883 ICONV_CONST char *inptr = input;
8884 size_t inbytesleft = strlen (input);
8886 size_t outbytesleft = sizeof (buf);
8887 size_t res = iconv (cd_88591_to_utf8,
8888 &inptr, &inbytesleft,
8889 &outptr, &outbytesleft);
8892 iconv_close (cd_88591_to_utf8);
8896 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8899 /* Try standardized names. */
8900 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
8901 /* Try IRIX, OSF/1 names. */
8902 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
8903 /* Try AIX names. */
8904 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
8905 /* Try HP-UX names. */
8906 iconv_t cd4 = iconv_open ("utf8", "eucJP");
8907 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
8908 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
8910 if (cd1 != (iconv_t)(-1))
8912 if (cd2 != (iconv_t)(-1))
8914 if (cd3 != (iconv_t)(-1))
8916 if (cd4 != (iconv_t)(-1))
8925 if ac_fn_cxx_try_run
"$LINENO"; then :
8926 am_cv_func_iconv_works
=yes
8928 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8929 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8932 test "$am_cv_func_iconv_works" = no ||
break
8934 LIBS
="$am_save_LIBS"
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8938 $as_echo "$am_cv_func_iconv_works" >&6; }
8939 case "$am_cv_func_iconv_works" in
8940 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
8941 *) am_func_iconv
=yes ;;
8944 am_func_iconv
=no am_cv_lib_iconv
=no
8946 if test "$am_func_iconv" = yes; then
8948 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8951 if test "$am_cv_lib_iconv" = yes; then
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8953 $as_echo_n "checking how to link with libiconv... " >&6; }
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8955 $as_echo "$LIBICONV" >&6; }
8957 CPPFLAGS
="$am_save_CPPFLAGS"
8964 if test "$am_cv_func_iconv" = yes; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv is compatible with its POSIX signature" >&5
8966 $as_echo_n "checking whether iconv is compatible with its POSIX signature... " >&6; }
8967 if ${gl_cv_iconv_nonconst+:} false
; then :
8968 $as_echo_n "(cached) " >&6
8970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8979 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8989 if ac_fn_cxx_try_compile
"$LINENO"; then :
8990 gl_cv_iconv_nonconst
=yes
8992 gl_cv_iconv_nonconst
=no
8994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_iconv_nonconst" >&5
8998 $as_echo "$gl_cv_iconv_nonconst" >&6; }
9000 gl_cv_iconv_nonconst
=yes
9002 if test $gl_cv_iconv_nonconst = yes; then
9008 cat >>confdefs.h
<<_ACEOF
9009 #define ICONV_CONST $iconv_arg1
9014 if test "$am_func_iconv" = yes; then
9015 if test -n "$LIBICONV"; then
9016 am_cv_func_iconv_summary
='yes, in libiconv'
9018 am_cv_func_iconv_summary
='yes, in libc'
9021 if test "$am_cv_func_iconv" = yes; then
9022 am_cv_func_iconv_summary
='not working, consider installing GNU libiconv'
9024 am_cv_func_iconv_summary
='no, consider installing GNU libiconv'
9029 ac_cpp
='$CPP $CPPFLAGS'
9030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9035 # More defines and substitutions.
9036 PACKAGE
="$PACKAGE_TARNAME"
9038 cat >>confdefs.h
<<_ACEOF
9039 #define PACKAGE "$PACKAGE"
9044 if test "x$enable_nls" != xno
; then
9045 USED_CATALOGS
='$(CATALOGS)'
9051 # Check whether --enable-maintainer-mode was given.
9052 if test "${enable_maintainer_mode+set}" = set; then :
9053 enableval
=$enable_maintainer_mode;
9055 enable_maintainer_mode
=no
9059 if test "x$enable_maintainer_mode" = xno
; then
9066 # Enable expensive internal checks
9068 if test -f $srcdir/..
/gcc
/DEV-PHASE \
9069 && test x
"`cat $srcdir/../gcc/DEV-PHASE`" != xexperimental
; then
9073 # Check whether --enable-checking was given.
9074 if test "${enable_checking+set}" = set; then :
9075 enableval
=$enable_checking; ac_checking_flags
="${enableval}"
9078 # Determine the default checks.
9079 if test x
$is_release = x
; then
9080 ac_checking_flags
=yes
9082 ac_checking_flags
=release
9086 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="$IFS,"
9087 for check
in release
$ac_checking_flags
9090 # these set all the flags to specific states
9091 yes|all
) ac_checking
=1 ; ac_assert_checking
=1 ; ac_valgrind_checking
= ;;
9092 no|none
) ac_checking
= ; ac_assert_checking
= ; ac_valgrind_checking
= ;;
9093 release
) ac_checking
= ; ac_assert_checking
=1 ; ac_valgrind_checking
= ;;
9094 # these enable particular checks
9095 assert
) ac_assert_checking
=1 ;;
9096 misc
) ac_checking
=1 ;;
9097 valgrind
) ac_valgrind_checking
=1 ;;
9104 if test x
$ac_checking != x
; then
9106 $as_echo "#define CHECKING_P 1" >>confdefs.h
9109 $as_echo "#define CHECKING_P 0" >>confdefs.h
9113 if test x
$ac_assert_checking != x
; then
9115 $as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h
9119 # Check whether --enable-canonical-system-headers was given.
9120 if test "${enable_canonical_system_headers+set}" = set; then :
9121 enableval
=$enable_canonical_system_headers;
9123 enable_canonical_system_headers
=yes
9126 if test $enable_canonical_system_headers != no
; then
9128 $as_echo "#define ENABLE_CANONICAL_SYSTEM_HEADERS 1" >>confdefs.h
9134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9140 asm ("pcmpestri %0, %%xmm0, %%xmm1" : : "i"(0))
9145 if ac_fn_c_try_compile
"$LINENO"; then :
9147 $as_echo "#define HAVE_SSE4 1" >>confdefs.h
9150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9153 # Enable --enable-host-shared.
9154 # Check whether --enable-host-shared was given.
9155 if test "${enable_host_shared+set}" = set; then :
9156 enableval
=$enable_host_shared;
9161 # Enable --enable-host-pie.
9162 # Check whether --enable-host-pie was given.
9163 if test "${enable_host_pie+set}" = set; then :
9164 enableval
=$enable_host_pie;
9169 if test x
$enable_host_shared = xyes
; then
9171 elif test x
$enable_host_pie = xyes
; then
9179 # Enable Intel CET on Intel CET enabled host if jit is enabled.
9180 # Check whether --enable-cet was given.
9181 if test "${enable_cet+set}" = set; then :
9182 enableval
=$enable_cet;
9183 case "$enableval" in
9185 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
9194 $as_echo_n "checking for CET support... " >&6; }
9197 i
[34567]86-*-linux* | x86_64-
*-linux*)
9199 cet_save_CFLAGS
="$CFLAGS"
9200 CFLAGS
="$CFLAGS -fcf-protection"
9201 case "$enable_cet" in
9203 # Check if target supports multi-byte NOPs
9204 # and if compiler and assembler support CET.
9205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9206 /* end confdefs.h. */
9212 #if !defined(__SSE2__)
9213 #error target does not support multi-byte NOPs
9222 if ac_fn_c_try_compile
"$LINENO"; then :
9227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9230 # Check if compiler and assembler support CET.
9231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9242 if ac_fn_c_try_compile
"$LINENO"; then :
9247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9248 if test $support_cet = "no"; then
9249 if test x
$enable_bootstrap != xno \
9250 && test -z "${with_build_subdir}" \
9251 && (test ! -f ..
/stage_current \
9252 ||
test `cat ../stage_current` != "stage1"); then
9253 # Require CET support only for the final GCC build.
9254 as_fn_error $?
"compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
9256 # Don't enable CET without CET support for non-bootstrap
9257 # build, in stage1 nor for build support.
9263 CFLAGS
="$cet_save_CFLAGS"
9271 cet_save_CFLAGS
="$CFLAGS"
9272 CFLAGS
="$CFLAGS -fcf-protection=none"
9273 cet_save_LDFLAGS
="$LDFLAGS"
9274 LDFLAGS
="$LDFLAGS -Wl,-z,ibt,-z,shstk"
9275 if test x
$may_have_cet = xyes
; then
9276 # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
9277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9288 if ac_fn_c_try_link
"$LINENO"; then :
9293 rm -f core conftest.err conftest.
$ac_objext \
9294 conftest
$ac_exeext conftest.
$ac_ext
9297 if test x
$may_have_cet = xyes
; then
9298 if test x
$cross_compiling = xno
; then
9299 if test "$cross_compiling" = yes; then :
9300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9302 as_fn_error $?
"cannot run test program while cross compiling
9303 See \`config.log' for more details" "$LINENO" 5; }
9305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9316 if ac_fn_c_try_run
"$LINENO"; then :
9317 have_multi_byte_nop
=yes
9319 have_multi_byte_nop
=no
9321 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9322 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9326 if test x
$have_multi_byte_nop = xyes
; then
9327 if test "$cross_compiling" = yes; then :
9328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9330 as_fn_error $?
"cannot run test program while cross compiling
9331 See \`config.log' for more details" "$LINENO" 5; }
9333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h. */
9342 __attribute__ ((noinline, noclone))
9343 xxx (void (*f) (void))
9349 __attribute__ ((noinline, noclone))
9363 if ac_fn_c_try_run
"$LINENO"; then :
9368 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9369 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9373 if test x
$enable_cet = xno
-a x
$have_cet = xyes
; then
9374 as_fn_error $?
"Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
9378 # Enable CET in cross compiler if possible so that it will run on both
9379 # CET and non-CET hosts.
9382 if test x
$enable_cet = xyes
; then
9383 CET_HOST_FLAGS
="-fcf-protection"
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9385 $as_echo "yes" >&6; }
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9388 $as_echo "no" >&6; }
9390 CFLAGS
="$cet_save_CFLAGS"
9391 LDFLAGS
="$cet_save_LDFLAGS"
9393 case x
$enable_languages in
9402 # Check whether --enable-valgrind-annotations was given.
9403 if test "${enable_valgrind_annotations+set}" = set; then :
9404 enableval
=$enable_valgrind_annotations;
9406 enable_valgrind_annotations
=no
9409 if test x
$enable_valgrind_annotations != xno \
9410 ||
test x
$ac_valgrind_checking != x
; then
9412 $as_echo "#define ENABLE_VALGRIND_WORKAROUNDS 1" >>confdefs.h
9418 ac_config_headers
="$ac_config_headers config.h:config.in"
9420 ac_config_files
="$ac_config_files Makefile"
9422 cat >confcache
<<\_ACEOF
9423 # This file is a shell script that caches the results of configure
9424 # tests run on this system so they can be shared between configure
9425 # scripts and configure runs, see configure's option --config-cache.
9426 # It is not useful on other systems. If it contains results you don't
9427 # want to keep, you may remove or edit it.
9429 # config.status only pays attention to the cache file if you give it
9430 # the --recheck option to rerun configure.
9432 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9438 # The following way of writing the cache mishandles newlines in values,
9439 # but we know of no workaround that is simple, portable, and efficient.
9440 # So, we kill variables containing newlines.
9441 # Ultrix sh set writes to stderr and can't be redirected directly,
9442 # and sets the high bit in the cache file unless we assign to the vars.
9444 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9445 eval ac_val
=\$
$ac_var
9449 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9450 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9453 _ | IFS | as_nl
) ;; #(
9454 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
9455 *) { eval $ac_var=; unset $ac_var;} ;;
9461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9462 *${as_nl}ac_space
=\
*)
9463 # `set' does not quote correctly, so add quotes: double-quote
9464 # substitution turns \\\\ into \\, and sed turns \\ into \.
9467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9470 # `set' quotes correctly as required by POSIX, so do not add quotes.
9471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9484 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9485 if test -w "$cache_file"; then
9486 if test "x$cache_file" != "x/dev/null"; then
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9488 $as_echo "$as_me: updating cache $cache_file" >&6;}
9489 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
9490 cat confcache
>"$cache_file"
9492 case $cache_file in #(
9494 mv -f confcache
"$cache_file"$$
&&
9495 mv -f "$cache_file"$$
"$cache_file" ;; #(
9497 mv -f confcache
"$cache_file" ;;
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9503 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9508 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9509 # Let make expand exec_prefix.
9510 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9512 DEFS
=-DHAVE_CONFIG_H
9517 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9518 # 1. Remove the extension, and $U if already installed.
9519 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9520 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
9521 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9522 # will be set to the directory where LIBOBJS objects are built.
9523 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9524 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
9528 LTLIBOBJS
=$ac_ltlibobjs
9533 : "${CONFIG_STATUS=./config.status}"
9535 ac_clean_files_save
=$ac_clean_files
9536 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9538 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9540 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9542 # Generated by $as_me.
9543 # Run this file to recreate the current configuration.
9544 # Compiler output produced by configure, useful for debugging
9545 # configure, is in config.log if it exists.
9551 SHELL=\${CONFIG_SHELL-$SHELL}
9554 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
9555 ## -------------------- ##
9556 ## M4sh Initialization. ##
9557 ## -------------------- ##
9559 # Be more Bourne compatible
9560 DUALCASE
=1; export DUALCASE
# for MKS sh
9561 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
9564 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9565 # is contrary to our usage. Disable this feature.
9566 alias -g '${1+"$@"}'='"$@"'
9567 setopt NO_GLOB_SUBST
9569 case `(set -o) 2>/dev/null` in #(
9581 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9582 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9583 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9584 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9585 # Prefer a ksh shell builtin over an external printf program on Solaris,
9586 # but without wasting forks for bash or zsh.
9587 if test -z "$BASH_VERSION$ZSH_VERSION" \
9588 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9589 as_echo='print
-r --'
9590 as_echo_n='print
-rn --'
9591 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9592 as_echo='printf %s
\n'
9593 as_echo_n='printf %s
'
9595 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9596 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9597 as_echo_n='/usr
/ucb
/echo -n'
9599 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9600 as_echo_n_body='eval
9604 expr "X$arg" : "X\\(.*\\)$as_nl";
9605 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9607 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9609 export as_echo_n_body
9610 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9613 as_echo='sh
-c $as_echo_body as_echo
'
9616 # The user is always right.
9617 if test "${PATH_SEPARATOR+set}" != set; then
9619 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9620 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9627 # We need space, tab and new line, in precisely that order. Quoting is
9628 # there to prevent editors from complaining about space-tab.
9629 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9630 # splitting by setting IFS to empty value.)
9633 # Find who we are. Look in the path if we contain no directory separator.
9636 *[\\/]* ) as_myself=$0 ;;
9637 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9641 test -z "$as_dir" && as_dir=.
9642 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9648 # We did not find ourselves, most probably we were run as `sh COMMAND'
9649 # in which case we are not to be found in the path.
9650 if test "x$as_myself" = x
; then
9653 if test ! -f "$as_myself"; then
9654 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9658 # Unset variables that we do not need and which cause bugs (e.g. in
9659 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9660 # suppresses any "Segmentation fault" message there. '((' could
9661 # trigger a bug in pdksh 5.2.14.
9662 for as_var
in BASH_ENV ENV MAIL MAILPATH
9663 do eval test x\
${$as_var+set} = xset \
9664 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
9677 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
9680 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9681 # ----------------------------------------
9682 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9683 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9684 # script with STATUS, using 1 if that was 0.
9687 as_status
=$1; test $as_status -eq 0 && as_status
=1
9689 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
9690 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9692 $as_echo "$as_me: error: $2" >&2
9693 as_fn_exit
$as_status
9697 # as_fn_set_status STATUS
9698 # -----------------------
9699 # Set $? to STATUS, without forking.
9703 } # as_fn_set_status
9707 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9717 # Portably unset VAR.
9720 { eval $1=; unset $1;}
9722 as_unset
=as_fn_unset
9723 # as_fn_append VAR VALUE
9724 # ----------------------
9725 # Append the text in VALUE to the end of the definition contained in VAR. Take
9726 # advantage of any shell optimizations that allow amortized linear growth over
9727 # repeated appends, instead of the typical quadratic growth present in naive
9729 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
9730 eval 'as_fn_append ()
9741 # as_fn_arith ARG...
9742 # ------------------
9743 # Perform arithmetic evaluation on the ARGs, and store the result in the
9744 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9745 # must be portable across $(()) and expr.
9746 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
9747 eval 'as_fn_arith ()
9754 as_val
=`expr "$@" || test $? -eq 1`
9759 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9760 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9766 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9767 as_basename
=basename
9772 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9778 as_me
=`$as_basename -- "$0" ||
9779 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9780 X"$0" : 'X\(//\)$' \| \
9781 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9783 sed '/^.*\/\([^/][^/]*\)\/*$/{
9797 # Avoid depending upon Character Ranges.
9798 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9799 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9800 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9801 as_cr_digits
='0123456789'
9802 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9804 ECHO_C
= ECHO_N
= ECHO_T
=
9805 case `echo -n x` in #(((((
9807 case `echo 'xy\c'` in
9808 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9810 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
9817 rm -f conf$$ conf$$.exe conf$$.
file
9818 if test -d conf$$.dir
; then
9819 rm -f conf$$.dir
/conf$$.
file
9822 mkdir conf$$.dir
2>/dev
/null
9824 if (echo >conf$$.
file) 2>/dev
/null
; then
9825 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9827 # ... but there are two gotchas:
9828 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9829 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9830 # In both cases, we have to default to `cp -pR'.
9831 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9833 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9841 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9842 rmdir conf$$.dir
2>/dev
/null
9847 # Create "$as_dir" as a directory, including parents if necessary.
9852 -*) as_dir
=.
/$as_dir;;
9854 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
9858 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9859 *) as_qdir
=$as_dir;;
9861 as_dirs
="'$as_qdir' $as_dirs"
9862 as_dir
=`$as_dirname -- "$as_dir" ||
9863 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9864 X"$as_dir" : 'X\(//\)[^/]' \| \
9865 X"$as_dir" : 'X\(//\)$' \| \
9866 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9867 $as_echo X"$as_dir" |
9868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9885 test -d "$as_dir" && break
9887 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9888 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
9892 if mkdir
-p .
2>/dev
/null
; then
9893 as_mkdir_p
='mkdir -p "$as_dir"'
9895 test -d .
/-p && rmdir .
/-p
9900 # as_fn_executable_p FILE
9901 # -----------------------
9902 # Test if FILE is an executable regular file.
9903 as_fn_executable_p
()
9905 test -f "$1" && test -x "$1"
9906 } # as_fn_executable_p
9908 as_executable_p
=as_fn_executable_p
9910 # Sed expression to map a string onto a valid CPP name.
9911 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9913 # Sed expression to map a string onto a valid variable name.
9914 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9918 ## ----------------------------------- ##
9919 ## Main body of $CONFIG_STATUS script. ##
9920 ## ----------------------------------- ##
9922 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
9924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9925 # Save the log message, to keep $0 and so on meaningful, and to
9926 # report actual input values of CONFIG_FILES etc. instead of their
9927 # values after options handling.
9929 This file was extended by cpplib $as_me , which was
9930 generated by GNU Autoconf 2.69. Invocation command line was
9932 CONFIG_FILES = $CONFIG_FILES
9933 CONFIG_HEADERS = $CONFIG_HEADERS
9934 CONFIG_LINKS = $CONFIG_LINKS
9935 CONFIG_COMMANDS = $CONFIG_COMMANDS
9938 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9943 case $ac_config_files in *"
9944 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9947 case $ac_config_headers in *"
9948 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9953 # Files that config.status was made for.
9954 config_files="$ac_config_files"
9955 config_headers="$ac_config_headers"
9956 config_commands="$ac_config_commands"
9960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9962 \`$as_me' instantiates files and other configuration actions
9963 from templates according to the current configuration. Unless the files
9964 and actions are specified as TAGs, all are instantiated by default.
9966 Usage: $0 [OPTION]... [TAG]...
9968 -h, --help print this help, then exit
9969 -V, --version print version number and configuration settings, then exit
9970 --config print configuration, then exit
9971 -q, --quiet, --silent
9972 do not print progress messages
9973 -d, --debug don't remove temporary files
9974 --recheck update $as_me by reconfiguring in the same conditions
9975 --file=FILE[:TEMPLATE]
9976 instantiate the configuration file FILE
9977 --header=FILE[:TEMPLATE]
9978 instantiate the configuration header FILE
9980 Configuration files:
9983 Configuration headers:
9986 Configuration commands:
9989 Report bugs to <gcc-bugs@gcc.gnu.org>."
9992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9993 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9995 cpplib config.status
9996 configured by $0, generated by GNU Autoconf 2.69,
9997 with options \\"\$ac_cs_config\\"
9999 Copyright (C) 2012 Free Software Foundation, Inc.
10000 This config.status script is free software; the Free Software Foundation
10001 gives unlimited permission to copy, distribute and modify it."
10006 test -n "\$AWK" || AWK=awk
10009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10010 # The default lists apply if the user does not specify any file.
10016 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10017 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10021 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10033 # Handling of the options.
10034 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10036 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10037 $as_echo "$ac_cs_version"; exit ;;
10038 --config |
--confi |
--conf |
--con |
--co |
--c )
10039 $as_echo "$ac_cs_config"; exit ;;
10040 --debug |
--debu |
--deb |
--de |
--d |
-d )
10042 --file |
--fil |
--fi |
--f )
10045 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10046 '') as_fn_error $?
"missing file argument" ;;
10048 as_fn_append CONFIG_FILES
" '$ac_optarg'"
10049 ac_need_defaults
=false
;;
10050 --header |
--heade |
--head |
--hea )
10053 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10055 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
10056 ac_need_defaults
=false
;;
10058 # Conflict between --help and --header
10059 as_fn_error $?
"ambiguous option: \`$1'
10060 Try \`$0 --help' for more information.";;
10061 --help |
--hel |
-h )
10062 $as_echo "$ac_cs_usage"; exit ;;
10063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10064 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10067 # This is an error.
10068 -*) as_fn_error $?
"unrecognized option: \`$1'
10069 Try \`$0 --help' for more information." ;;
10071 *) as_fn_append ac_config_targets
" $1"
10072 ac_need_defaults
=false
;;
10078 ac_configure_extra_args
=
10080 if $ac_cs_silent; then
10082 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10087 if \$ac_cs_recheck; then
10088 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10090 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10091 CONFIG_SHELL='$SHELL'
10092 export CONFIG_SHELL
10097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10101 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10102 ## Running $as_me. ##
10108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10112 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
10113 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
10114 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
10116 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
10117 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10118 LINGUAS="${LINGUAS-%UNSET%}"
10123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10125 # Handling of arguments.
10126 for ac_config_target
in $ac_config_targets
10128 case $ac_config_target in
10129 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
10130 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10131 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
10132 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10134 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10139 # If the user did not use the arguments to specify the items to instantiate,
10140 # then the envvar interface is used. Set only those that are not.
10141 # We use the long form for the default assignment because of an extremely
10142 # bizarre bug on SunOS 4.1.3.
10143 if $ac_need_defaults; then
10144 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10145 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10146 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10149 # Have a temporary directory for convenience. Make it in the build tree
10150 # simply because there is no reason against having it here, and in addition,
10151 # creating and moving files from /tmp can sometimes cause problems.
10152 # Hook for its removal unless debugging.
10153 # Note that there is a small window in which the directory will not be cleaned:
10154 # after its creation but before its name has been assigned to `$tmp'.
10158 trap 'exit_status=$?
10159 : "${ac_tmp:=$tmp}"
10160 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10162 trap 'as_fn_exit 1' 1 2 13 15
10164 # Create a (secure) tmp directory for tmp files.
10167 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10171 tmp
=.
/conf$$
-$RANDOM
10172 (umask 077 && mkdir
"$tmp")
10173 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
10176 # Set up the scripts for CONFIG_FILES section.
10177 # No need to generate them if there are no CONFIG_FILES.
10178 # This happens for instance with `./config.status config.h'.
10179 if test -n "$CONFIG_FILES"; then
10182 ac_cr
=`echo X | tr X '\015'`
10183 # On cygwin, bash can eat \r inside `` if the user requested igncr.
10184 # But we know of no other shell where ac_cr would be empty at this
10185 # point, so we can use a bashism as a fallback.
10186 if test "x$ac_cr" = x
; then
10187 eval ac_cr
=\$
\'\\r
\'
10189 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10190 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10193 ac_cs_awk_cr
=$ac_cr
10196 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10201 echo "cat >conf$$subs.awk <<_ACEOF" &&
10202 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10204 } >conf$$subs.sh ||
10205 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10206 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10208 for ac_last_try in false false false false false :; do
10209 . ./conf$$subs.sh ||
10210 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10212 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
10213 if test $ac_delim_n = $ac_delim_num; then
10215 elif $ac_last_try; then
10216 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10218 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10221 rm -f conf$$subs.sh
10223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10224 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
10228 s/^/S["/; s
/!.
*/"]=/
10238 s/\(.\{148\}\)..*/\1/
10240 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
10245 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10252 s/\(.\{148\}\)..*/\1/
10254 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
10258 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10263 ' <conf$$subs.awk | sed '
10268 ' >>$CONFIG_STATUS || ac_write_fail=1
10269 rm -f conf$$subs.awk
10270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10272 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
10273 for (key in S) S_is_set[key] = 1
10279 nfields = split(line, field, "@
")
10281 len = length(field[1])
10282 for (i = 2; i < nfields; i++) {
10284 keylen = length(key)
10285 if (S_is_set[key]) {
10287 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10288 len += length(value) + length(field[++i])
10299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10300 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10301 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
10304 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
10305 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
10308 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10309 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
10310 # trailing colons and then remove the whole line if VPATH becomes empty
10311 # (actually we leave an empty line to preserve line numbers).
10312 if test "x
$srcdir" = x.; then
10313 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10332 fi # test -n "$CONFIG_FILES"
10334 # Set up the scripts for CONFIG_HEADERS section.
10335 # No need to generate them if there are no CONFIG_HEADERS.
10336 # This happens for instance with `./config.status Makefile'.
10337 if test -n "$CONFIG_HEADERS"; then
10338 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
10342 # Transform confdefs.h into an awk script `defines.awk', embedded as
10343 # here-document in config.status, that substitutes the proper values into
10344 # config.h.in to produce config.h.
10346 # Create a delimiter string that does not exist in confdefs.h, to ease
10347 # handling of long lines.
10349 for ac_last_try in false false :; do
10350 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
10351 if test -z "$ac_tt"; then
10353 elif $ac_last_try; then
10354 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
10356 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10360 # For the awk script, D is an array of macro values keyed by name,
10361 # likewise P contains macro parameters if any. Preserve backslash
10362 # newline sequences.
10364 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10366 s/.\{148\}/&'"$ac_delim"'/g
10369 s/^[ ]*#[ ]*define[ ][ ]*/ /
10376 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
10378 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
10382 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
10383 D["\
1"]=" \
3\\\\\\n
"\\/p
10385 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
10390 s/.\{148\}/&'"$ac_delim"'/g
10395 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
10398 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
10400 ' <confdefs.h | sed '
10401 s/'"$ac_delim"'/"\\\
10402 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10405 for (key in D) D_is_set[key] = 1
10408 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10410 split(line, arg, " ")
10411 if (arg[1] == "#") {
10415 defundef
= substr
(arg
[1], 2)
10418 split(mac1
, mac2
, "(") #)
10420 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
10421 if (D_is_set
[macro
]) {
10422 # Preserve the white space surrounding the "#".
10423 print prefix
"define", macro P
[macro
] D
[macro
]
10426 # Replace #undef with comments. This is necessary, for example,
10427 # in the case of _POSIX_SOURCE, which is predefined and required
10428 # on some systems where configure will not decide to define it.
10429 if (defundef
== "undef") {
10430 print
"/*", prefix defundef
, macro
, "*/"
10438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10439 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
10440 fi # test -n "$CONFIG_HEADERS"
10443 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10448 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10450 case $ac_mode$ac_tag in
10452 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
10453 :[FH
]-) ac_tag
=-:-;;
10454 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10471 -) ac_f
="$ac_tmp/stdin";;
10472 *) # Look for the file first in the build tree, then in the source tree
10473 # (if the path is not absolute). The absolute path cannot be DOS-style,
10474 # because $ac_f cannot contain `:'.
10478 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10480 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10482 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10483 as_fn_append ac_file_inputs
" '$ac_f'"
10486 # Let's still pretend it is `configure' which instantiates (i.e., don't
10487 # use $as_me), people would be surprised to read:
10488 # /* config.h. Generated by config.status. */
10489 configure_input
='Generated from '`
10490 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10492 if test x
"$ac_file" != x-
; then
10493 configure_input
="$ac_file. $configure_input"
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10495 $as_echo "$as_me: creating $ac_file" >&6;}
10497 # Neutralize special characters interpreted by sed in replacement strings.
10498 case $configure_input in #(
10499 *\
&* |
*\|
* |
*\\* )
10500 ac_sed_conf_input
=`$as_echo "$configure_input" |
10501 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10502 *) ac_sed_conf_input
=$configure_input;;
10506 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
10507 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
10512 ac_dir
=`$as_dirname -- "$ac_file" ||
10513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10514 X"$ac_file" : 'X\(//\)[^/]' \| \
10515 X"$ac_file" : 'X\(//\)$' \| \
10516 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10517 $as_echo X"$ac_file" |
10518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10522 /^X\(\/\/\)[^/].*/{
10535 as_dir
="$ac_dir"; as_fn_mkdir_p
10539 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10541 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10542 # A ".." for each directory in $ac_dir_suffix.
10543 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10544 case $ac_top_builddir_sub in
10545 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10546 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10549 ac_abs_top_builddir
=$ac_pwd
10550 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10551 # for backward compatibility:
10552 ac_top_builddir
=$ac_top_build_prefix
10555 .
) # We are building in place.
10557 ac_top_srcdir
=$ac_top_builddir_sub
10558 ac_abs_top_srcdir
=$ac_pwd ;;
10559 [\\/]* | ?
:[\\/]* ) # Absolute name.
10560 ac_srcdir
=$srcdir$ac_dir_suffix;
10561 ac_top_srcdir
=$srcdir
10562 ac_abs_top_srcdir
=$srcdir ;;
10563 *) # Relative name.
10564 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10565 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10566 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10568 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10578 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10579 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10584 # If the template does not know about datarootdir, expand it.
10585 # FIXME: This hack should be removed a few years after 2.60.
10586 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10597 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10598 *datarootdir
*) ac_datarootdir_seen
=yes;;
10599 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10601 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10604 ac_datarootdir_hack='
10605 s&@datadir@&$datadir&g
10606 s&@docdir@&$docdir&g
10607 s&@infodir@&$infodir&g
10608 s&@localedir@&$localedir&g
10609 s&@mandir@&$mandir&g
10610 s&\\\${datarootdir}&$datarootdir&g' ;;
10614 # Neutralize VPATH when `$srcdir' = `.'.
10615 # Shell code in configure.ac might set extrasub.
10616 # FIXME: do we really want to maintain this feature?
10617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10618 ac_sed_extra="$ac_vpsub
10621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10623 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10624 s|@configure_input@|
$ac_sed_conf_input|
;t t
10625 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10626 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10627 s
&@srcdir@
&$ac_srcdir&;t t
10628 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10629 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10630 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10631 s
&@builddir@
&$ac_builddir&;t t
10632 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10633 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10634 s
&@INSTALL@
&$ac_INSTALL&;t t
10635 $ac_datarootdir_hack
10637 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
10638 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
10640 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10641 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
10642 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10643 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10645 which seems to be undefined. Please make sure it is defined" >&5
10646 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10647 which seems to be undefined. Please make sure it is defined" >&2;}
10649 rm -f "$ac_tmp/stdin"
10651 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10652 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10654 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10660 if test x"$ac_file" != x-; then
10662 $as_echo "/* $configure_input */" \
10663 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10664 } >"$ac_tmp/config.h" \
10665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10666 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10668 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10671 mv "$ac_tmp/config.h" "$ac_file" \
10672 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10675 $as_echo "/* $configure_input */" \
10676 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10677 || as_fn_error $? "could not create -" "$LINENO" 5
10681 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10682 $as_echo "$as_me: executing $ac_file commands" >&6;}
10687 case $ac_file$ac_mode in
10688 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
10690 for ac_file in $CONFIG_FILES; do
10691 # Support "outfile[:infile[:infile...]]"
10693 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
10695 # PO directories have a Makefile.in generated from Makefile.in.in.
10696 case "$ac_file" in */Makefile.in)
10697 # Adjust a relative srcdir.
10698 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
10699 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
10700 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
10701 # In autoconf-2.13 it is called $ac_given_srcdir.
10702 # In autoconf-2.50 it is called $srcdir.
10703 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10704 case "$ac_given_srcdir" in
10705 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
10706 /*) top_srcdir="$ac_given_srcdir" ;;
10707 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
10709 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10710 rm -f "$ac_dir/POTFILES"
10711 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10712 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10713 POMAKEFILEDEPS="POTFILES.in"
10714 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
10715 # on $ac_dir but don't depend on user-specified configuration
10717 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10718 # The LINGUAS file contains the set of available languages.
10719 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10720 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
10722 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10723 # Hide the ALL_LINGUAS assigment from automake.
10724 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10725 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
10727 # The set of available languages was given in configure.ac.
10728 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10730 case "$ac_given_srcdir" in
10732 *) srcdirpre
='$(srcdir)/' ;;
10738 for lang
in $ALL_LINGUAS; do
10739 POFILES
="$POFILES $srcdirpre$lang.po"
10740 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
10741 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
10742 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
10744 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10745 # environment variable.
10747 if test -n "$ALL_LINGUAS"; then
10748 for presentlang
in $ALL_LINGUAS; do
10750 if test "%UNSET%" != "$LINGUAS"; then
10751 desiredlanguages
="$LINGUAS"
10753 desiredlanguages
="$ALL_LINGUAS"
10755 for desiredlang
in $desiredlanguages; do
10756 # Use the presentlang catalog if desiredlang is
10757 # a. equal to presentlang, or
10758 # b. a variant of presentlang (because in this case,
10759 # presentlang can be used as a fallback for messages
10760 # which are not translated in the desiredlang catalog).
10761 case "$desiredlang" in
10762 "$presentlang"*) useit
=yes;;
10765 if test $useit = yes; then
10766 INST_LINGUAS
="$INST_LINGUAS $presentlang"
10771 if test -n "$INST_LINGUAS"; then
10772 for lang
in $INST_LINGUAS; do
10773 CATALOGS
="$CATALOGS $lang.gmo"
10776 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
10777 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"
10778 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
10779 if test -f "$f"; then
10781 *.orig |
*.bak |
*~
) ;;
10782 *) cat "$f" >> "$ac_dir/Makefile" ;;
10790 "config.h":H
) echo timestamp
> stamp-h1
;;
10798 ac_clean_files
=$ac_clean_files_save
10800 test $ac_write_fail = 0 ||
10801 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
10804 # configure is writing to config.log, and then calls config.status.
10805 # config.status does its own redirection, appending to config.log.
10806 # Unfortunately, on DOS this fails, as config.log is still kept open
10807 # by configure, so config.status won't be able to write to it; its
10808 # output is simply discarded. So we exec the FD to /dev/null,
10809 # effectively closing config.log, so it can be properly (re)opened and
10810 # appended to by config.status. When coming back to configure, we
10811 # need to make the FD available again.
10812 if test "$no_create" != yes; then
10814 ac_config_status_args
=
10815 test "$silent" = yes &&
10816 ac_config_status_args
="$ac_config_status_args --quiet"
10818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10821 # would make configure fail if this is the last instruction.
10822 $ac_cs_success || as_fn_exit
1
10824 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10826 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}