2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for cpplib .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: gcc-bugs@gcc.gnu.org about your system, including any
233 $0: error possibly output before this message. Then install
234 $0: a modern shell, or manually run the script under such a
235 $0: shell if you do have one."
241 SHELL
=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE
= GREP_OPTIONS
=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir
=.
/$as_dir;;
286 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
290 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs
="'$as_qdir' $as_dirs"
294 as_dir
=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
320 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
355 as_val
=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status
=$?
; test $as_status -eq 0 && as_status
=1
369 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit
$as_status
376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
383 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
395 as_me
=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits
='0123456789'
419 as_cr_alnum
=$as_cr_Letters$as_cr_digits
422 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
423 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x
"$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C
= ECHO_N
= ECHO_T
=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
466 rm -f conf$$ conf$$.exe conf$$.
file
467 if test -d conf$$.dir
; then
468 rm -f conf$$.dir
/conf$$.
file
471 mkdir conf$$.dir
2>/dev
/null
473 if (echo >conf$$.
file) 2>/dev
/null
; then
474 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
490 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
491 rmdir conf$$.dir
2>/dev
/null
493 if mkdir
-p .
2>/dev
/null
; then
494 as_mkdir_p
='mkdir -p "$as_dir"'
496 test -d .
/-p && rmdir .
/-p
500 if test -x / >/dev
/null
2>&1; then
503 if ls -dL / >/dev
/null
2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p
=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 exec 7<&0 </dev
/null
6>&1
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
550 PACKAGE_NAME
='cpplib'
551 PACKAGE_TARNAME
='cpplib'
553 PACKAGE_STRING
='cpplib '
554 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
557 ac_unique_file
="ucnid.h"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars
='LTLIBOBJS
629 ENABLE_BUILD_WITH_CXX
684 program_transform_name
697 enable_option_checking
698 enable_build_with_cxx
703 enable_maintainer_mode
706 ac_precious_vars
='build_alias
721 # Initialize some variables set by options.
723 ac_init_version
=false
724 ac_unrecognized_opts
=
726 # The variables have the same names as the options, with
727 # dashes changed to underlines.
735 program_transform_name
=s
,x
,x
,
743 # Installation directory options.
744 # These are left unexpanded so users can "make install exec_prefix=/foo"
745 # and all the variables that are supposed to be based on exec_prefix
746 # by default will actually change.
747 # Use braces instead of parens because sh, perl, etc. also accept them.
748 # (The list follows the same order as the GNU Coding Standards.)
749 bindir
='${exec_prefix}/bin'
750 sbindir
='${exec_prefix}/sbin'
751 libexecdir
='${exec_prefix}/libexec'
752 datarootdir
='${prefix}/share'
753 datadir
='${datarootdir}'
754 sysconfdir
='${prefix}/etc'
755 sharedstatedir
='${prefix}/com'
756 localstatedir
='${prefix}/var'
757 includedir
='${prefix}/include'
758 oldincludedir
='/usr/include'
759 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
760 infodir
='${datarootdir}/info'
765 libdir
='${exec_prefix}/lib'
766 localedir
='${datarootdir}/locale'
767 mandir
='${datarootdir}/man'
773 # If the previous option needs an argument, assign it.
774 if test -n "$ac_prev"; then
775 eval $ac_prev=\
$ac_option
781 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
785 # Accept the important Cygnus configure options, so we can diagnose typos.
787 case $ac_dashdash$ac_option in
791 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
793 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
796 -build |
--build |
--buil |
--bui |
--bu)
797 ac_prev
=build_alias
;;
798 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
799 build_alias
=$ac_optarg ;;
801 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
802 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
803 ac_prev
=cache_file
;;
804 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
805 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
806 cache_file
=$ac_optarg ;;
809 cache_file
=config.cache
;;
811 -datadir |
--datadir |
--datadi |
--datad)
813 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
814 datadir
=$ac_optarg ;;
816 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
817 |
--dataroo |
--dataro |
--datar)
818 ac_prev
=datarootdir
;;
819 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
820 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
821 datarootdir
=$ac_optarg ;;
823 -disable-* |
--disable-*)
824 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
825 # Reject names that are not valid shell variable names.
826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
827 as_fn_error
"invalid feature name: $ac_useropt"
828 ac_useropt_orig
=$ac_useropt
829 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
830 case $ac_user_opts in
834 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
835 ac_unrecognized_sep
=', ';;
837 eval enable_
$ac_useropt=no
;;
839 -docdir |
--docdir |
--docdi |
--doc |
--do)
841 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
844 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
846 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
849 -enable-* |
--enable-*)
850 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
853 as_fn_error
"invalid feature name: $ac_useropt"
854 ac_useropt_orig
=$ac_useropt
855 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
860 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
861 ac_unrecognized_sep
=', ';;
863 eval enable_
$ac_useropt=\
$ac_optarg ;;
865 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
866 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
867 |
--exec |
--exe |
--ex)
868 ac_prev
=exec_prefix
;;
869 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
870 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
871 |
--exec=* |
--exe=* |
--ex=*)
872 exec_prefix
=$ac_optarg ;;
874 -gas |
--gas |
--ga |
--g)
875 # Obsolete; use --with-gas.
878 -help |
--help |
--hel |
--he |
-h)
880 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
881 ac_init_help
=recursive
;;
882 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
883 ac_init_help
=short
;;
885 -host |
--host |
--hos |
--ho)
886 ac_prev
=host_alias
;;
887 -host=* |
--host=* |
--hos=* |
--ho=*)
888 host_alias
=$ac_optarg ;;
890 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
892 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
894 htmldir
=$ac_optarg ;;
896 -includedir |
--includedir |
--includedi |
--included |
--include \
897 |
--includ |
--inclu |
--incl |
--inc)
898 ac_prev
=includedir
;;
899 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
900 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
901 includedir
=$ac_optarg ;;
903 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
905 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
906 infodir
=$ac_optarg ;;
908 -libdir |
--libdir |
--libdi |
--libd)
910 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
913 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
914 |
--libexe |
--libex |
--libe)
915 ac_prev
=libexecdir
;;
916 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
917 |
--libexe=* |
--libex=* |
--libe=*)
918 libexecdir
=$ac_optarg ;;
920 -localedir |
--localedir |
--localedi |
--localed |
--locale)
922 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
923 localedir
=$ac_optarg ;;
925 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
926 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
927 ac_prev
=localstatedir
;;
928 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
929 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
930 localstatedir
=$ac_optarg ;;
932 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
934 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
938 # Obsolete; use --without-fp.
941 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
942 |
--no-cr |
--no-c |
-n)
945 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
946 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
949 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
950 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
951 |
--oldin |
--oldi |
--old |
--ol |
--o)
952 ac_prev
=oldincludedir
;;
953 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
954 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
955 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
956 oldincludedir
=$ac_optarg ;;
958 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
960 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
963 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
964 |
--program-pre |
--program-pr |
--program-p)
965 ac_prev
=program_prefix
;;
966 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
967 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
968 program_prefix
=$ac_optarg ;;
970 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
971 |
--program-suf |
--program-su |
--program-s)
972 ac_prev
=program_suffix
;;
973 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
974 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
975 program_suffix
=$ac_optarg ;;
977 -program-transform-name |
--program-transform-name \
978 |
--program-transform-nam |
--program-transform-na \
979 |
--program-transform-n |
--program-transform- \
980 |
--program-transform |
--program-transfor \
981 |
--program-transfo |
--program-transf \
982 |
--program-trans |
--program-tran \
983 |
--progr-tra |
--program-tr |
--program-t)
984 ac_prev
=program_transform_name
;;
985 -program-transform-name=* |
--program-transform-name=* \
986 |
--program-transform-nam=* |
--program-transform-na=* \
987 |
--program-transform-n=* |
--program-transform-=* \
988 |
--program-transform=* |
--program-transfor=* \
989 |
--program-transfo=* |
--program-transf=* \
990 |
--program-trans=* |
--program-tran=* \
991 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
992 program_transform_name
=$ac_optarg ;;
994 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
996 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
999 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1001 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1004 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1005 |
-silent |
--silent |
--silen |
--sile |
--sil)
1008 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1010 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1012 sbindir
=$ac_optarg ;;
1014 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1015 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1016 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1018 ac_prev
=sharedstatedir
;;
1019 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1020 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1021 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1023 sharedstatedir
=$ac_optarg ;;
1025 -site |
--site |
--sit)
1027 -site=* |
--site=* |
--sit=*)
1030 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1032 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1033 srcdir
=$ac_optarg ;;
1035 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1036 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1037 ac_prev
=sysconfdir
;;
1038 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1039 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1040 sysconfdir
=$ac_optarg ;;
1042 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1043 ac_prev
=target_alias
;;
1044 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1045 target_alias
=$ac_optarg ;;
1047 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1050 -version |
--version |
--versio |
--versi |
--vers |
-V)
1051 ac_init_version
=: ;;
1054 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1057 as_fn_error
"invalid package name: $ac_useropt"
1058 ac_useropt_orig
=$ac_useropt
1059 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1064 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1065 ac_unrecognized_sep
=', ';;
1067 eval with_
$ac_useropt=\
$ac_optarg ;;
1069 -without-* |
--without-*)
1070 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1073 as_fn_error
"invalid package name: $ac_useropt"
1074 ac_useropt_orig
=$ac_useropt
1075 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1080 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1081 ac_unrecognized_sep
=', ';;
1083 eval with_
$ac_useropt=no
;;
1086 # Obsolete; use --with-x.
1089 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1090 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1091 ac_prev
=x_includes
;;
1092 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1093 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1094 x_includes
=$ac_optarg ;;
1096 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1097 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1098 ac_prev
=x_libraries
;;
1099 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1100 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1101 x_libraries
=$ac_optarg ;;
1103 -*) as_fn_error
"unrecognized option: \`$ac_option'
1104 Try \`$0 --help' for more information."
1108 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1109 # Reject names that are not valid shell variable names.
1110 case $ac_envvar in #(
1111 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1112 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1114 eval $ac_envvar=\
$ac_optarg
1115 export $ac_envvar ;;
1118 # FIXME: should be removed in autoconf 3.0.
1119 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1120 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1121 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1122 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1128 if test -n "$ac_prev"; then
1129 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1130 as_fn_error
"missing argument to $ac_option"
1133 if test -n "$ac_unrecognized_opts"; then
1134 case $enable_option_checking in
1136 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1137 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1141 # Check all directory arguments for consistency.
1142 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1143 datadir sysconfdir sharedstatedir localstatedir includedir \
1144 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1145 libdir localedir mandir
1147 eval ac_val
=\$
$ac_var
1148 # Remove trailing slashes.
1151 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1152 eval $ac_var=\
$ac_val;;
1154 # Be sure to have absolute directory names.
1156 [\\/$
]* | ?
:[\\/]* ) continue;;
1157 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1159 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1162 # There might be people who depend on the old broken behavior: `$host'
1163 # used to hold the argument of --host etc.
1164 # FIXME: To remove some day.
1167 target
=$target_alias
1169 # FIXME: To remove some day.
1170 if test "x$host_alias" != x
; then
1171 if test "x$build_alias" = x
; then
1172 cross_compiling
=maybe
1173 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1174 If a cross compiler is detected then cross compile mode will be used." >&2
1175 elif test "x$build_alias" != "x$host_alias"; then
1181 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1183 test "$silent" = yes && exec 6>/dev
/null
1186 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1187 ac_ls_di
=`ls -di .` &&
1188 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1189 as_fn_error
"working directory cannot be determined"
1190 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1191 as_fn_error
"pwd does not report name of working directory"
1194 # Find the source files, if location was not specified.
1195 if test -z "$srcdir"; then
1196 ac_srcdir_defaulted
=yes
1197 # Try the directory containing this script, then the parent directory.
1198 ac_confdir
=`$as_dirname -- "$as_myself" ||
1199 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1200 X"$as_myself" : 'X\(//\)[^/]' \| \
1201 X"$as_myself" : 'X\(//\)$' \| \
1202 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1203 $as_echo X"$as_myself" |
1204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1222 if test ! -r "$srcdir/$ac_unique_file"; then
1226 ac_srcdir_defaulted
=no
1228 if test ! -r "$srcdir/$ac_unique_file"; then
1229 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1230 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1232 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1234 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1236 # When building in place, set srcdir=.
1237 if test "$ac_abs_confdir" = "$ac_pwd"; then
1240 # Remove unnecessary trailing slashes from srcdir.
1241 # Double slashes in file names in object file debugging info
1242 # mess up M-x gdb in Emacs.
1244 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1246 for ac_var
in $ac_precious_vars; do
1247 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1248 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1249 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1250 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1254 # Report the --help message.
1256 if test "$ac_init_help" = "long"; then
1257 # Omit some internal or obsolete options to make the list less imposing.
1258 # This message is too long to be a string in the A/UX 3.1 sh.
1260 \`configure' configures cpplib to adapt to many kinds of systems.
1262 Usage: $0 [OPTION]... [VAR=VALUE]...
1264 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1265 VAR=VALUE. See below for descriptions of some of the useful variables.
1267 Defaults for the options are specified in brackets.
1270 -h, --help display this help and exit
1271 --help=short display options specific to this package
1272 --help=recursive display the short help of all the included packages
1273 -V, --version display version information and exit
1274 -q, --quiet, --silent do not print \`checking...' messages
1275 --cache-file=FILE cache test results in FILE [disabled]
1276 -C, --config-cache alias for \`--cache-file=config.cache'
1277 -n, --no-create do not create output files
1278 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1280 Installation directories:
1281 --prefix=PREFIX install architecture-independent files in PREFIX
1282 [$ac_default_prefix]
1283 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1286 By default, \`make install' will install all the files in
1287 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1288 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1289 for instance \`--prefix=\$HOME'.
1291 For better control, use the options below.
1293 Fine tuning of the installation directories:
1294 --bindir=DIR user executables [EPREFIX/bin]
1295 --sbindir=DIR system admin executables [EPREFIX/sbin]
1296 --libexecdir=DIR program executables [EPREFIX/libexec]
1297 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1298 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1299 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1300 --libdir=DIR object code libraries [EPREFIX/lib]
1301 --includedir=DIR C header files [PREFIX/include]
1302 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1303 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1304 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1305 --infodir=DIR info documentation [DATAROOTDIR/info]
1306 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1307 --mandir=DIR man documentation [DATAROOTDIR/man]
1308 --docdir=DIR documentation root [DATAROOTDIR/doc/cpplib]
1309 --htmldir=DIR html documentation [DOCDIR]
1310 --dvidir=DIR dvi documentation [DOCDIR]
1311 --pdfdir=DIR pdf documentation [DOCDIR]
1312 --psdir=DIR ps documentation [DOCDIR]
1318 --build=BUILD configure
for building on BUILD
[guessed
]
1319 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1320 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1324 if test -n "$ac_init_help"; then
1325 case $ac_init_help in
1326 short | recursive
) echo "Configuration of cpplib :";;
1331 --disable-option-checking ignore unrecognized
--enable/--with options
1332 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1333 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1334 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1335 --enable-werror-always enable -Werror despite compiler version
1336 --disable-rpath do not hardcode runtime library paths
1337 --enable-maintainer-mode enable rules only needed by maintainers
1338 --enable-checking enable expensive run-time checks
1341 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1342 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1343 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1344 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1345 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1347 Some influential environment variables:
1348 CC C compiler command
1349 CFLAGS C compiler flags
1350 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1351 nonstandard directory <lib dir>
1352 LIBS libraries to pass to the linker, e.g. -l<library>
1353 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1354 you have headers in a nonstandard directory <include dir>
1355 CXX C++ compiler command
1356 CXXFLAGS C++ compiler flags
1358 CXXCPP C++ preprocessor
1360 Use these variables to override the choices made by `configure' or to
help
1361 it to
find libraries and programs with nonstandard names
/locations.
1363 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
1368 if test "$ac_init_help" = "recursive"; then
1369 # If there are subdirs, report their specific --help.
1370 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1371 test -d "$ac_dir" ||
1372 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1377 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1379 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1380 # A ".." for each directory in $ac_dir_suffix.
1381 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1382 case $ac_top_builddir_sub in
1383 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1384 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1387 ac_abs_top_builddir
=$ac_pwd
1388 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1389 # for backward compatibility:
1390 ac_top_builddir
=$ac_top_build_prefix
1393 .
) # We are building in place.
1395 ac_top_srcdir
=$ac_top_builddir_sub
1396 ac_abs_top_srcdir
=$ac_pwd ;;
1397 [\\/]* | ?
:[\\/]* ) # Absolute name.
1398 ac_srcdir
=$srcdir$ac_dir_suffix;
1399 ac_top_srcdir
=$srcdir
1400 ac_abs_top_srcdir
=$srcdir ;;
1402 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1403 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1404 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1406 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1408 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1409 # Check for guested configure.
1410 if test -f "$ac_srcdir/configure.gnu"; then
1412 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1413 elif test -f "$ac_srcdir/configure"; then
1415 $SHELL "$ac_srcdir/configure" --help=recursive
1417 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1419 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1423 test -n "$ac_init_help" && exit $ac_status
1424 if $ac_init_version; then
1427 generated by GNU Autoconf
2.64
1429 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1430 This configure
script is free software
; the Free Software Foundation
1431 gives unlimited permission to copy
, distribute and modify it.
1436 ## ------------------------ ##
1437 ## Autoconf initialization. ##
1438 ## ------------------------ ##
1440 # ac_fn_c_try_compile LINENO
1441 # --------------------------
1442 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1443 ac_fn_c_try_compile
()
1445 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1446 rm -f conftest.
$ac_objext
1447 if { { ac_try
="$ac_compile"
1449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1450 *) ac_try_echo=$ac_try;;
1452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1453 $as_echo "$ac_try_echo"; } >&5
1454 (eval "$ac_compile") 2>conftest.err
1456 if test -s conftest.err; then
1457 grep -v '^ *+' conftest.err >conftest.er1
1458 cat conftest.er1 >&5
1459 mv -f conftest.er1 conftest.err
1461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1462 test $ac_status = 0; } && {
1463 test -z "$ac_c_werror_flag" ||
1464 test ! -s conftest.err
1465 } && test -s conftest.$ac_objext; then :
1468 $as_echo "$as_me: failed program was:" >&5
1469 sed 's/^/| /' conftest.$ac_ext >&5
1473 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1476 } # ac_fn_c_try_compile
1478 # ac_fn_cxx_try_compile LINENO
1479 # ----------------------------
1480 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1481 ac_fn_cxx_try_compile ()
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 rm -f conftest.$ac_objext
1485 if { { ac_try="$ac_compile"
1487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1488 *) ac_try_echo
=$ac_try;;
1490 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_compile") 2>conftest.err
1494 if test -s conftest.err
; then
1495 grep -v '^ *+' conftest.err
>conftest.er1
1496 cat conftest.er1
>&5
1497 mv -f conftest.er1 conftest.err
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } && {
1501 test -z "$ac_cxx_werror_flag" ||
1502 test ! -s conftest.err
1503 } && test -s conftest.
$ac_objext; then :
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.
$ac_ext >&5
1511 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1514 } # ac_fn_cxx_try_compile
1516 # ac_fn_c_try_cpp LINENO
1517 # ----------------------
1518 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1521 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1522 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1525 *) ac_try_echo=$ac_try;;
1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1531 if test -s conftest.err; then
1532 grep -v '^ *+' conftest.err >conftest.er1
1533 cat conftest.er1 >&5
1534 mv -f conftest.er1 conftest.err
1536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537 test $ac_status = 0; } >/dev/null && {
1538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1539 test ! -s conftest.err
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.$ac_ext >&5
1548 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1553 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1554 # -------------------------------------------------------
1555 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1556 # the include files in INCLUDES and setting the cache variable VAR
1558 ac_fn_c_check_header_mongrel ()
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1563 $as_echo_n "checking for $2... " >&6; }
1564 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1565 $as_echo_n "(cached) " >&6
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1569 $as_echo "$ac_res" >&6; }
1571 # Is the header compilable?
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1573 $as_echo_n "checking $2 usability... " >&6; }
1574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1575 /* end confdefs.h. */
1579 if ac_fn_c_try_compile "$LINENO"; then :
1580 ac_header_compiler=yes
1582 ac_header_compiler=no
1584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1586 $as_echo "$ac_header_compiler" >&6; }
1588 # Is the header present?
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1590 $as_echo_n "checking $2 presence... " >&6; }
1591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592 /* end confdefs.h. */
1595 if ac_fn_c_try_cpp "$LINENO"; then :
1596 ac_header_preproc=yes
1598 ac_header_preproc=no
1600 rm -f conftest.err conftest.$ac_ext
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1602 $as_echo "$ac_header_preproc" >&6; }
1604 # So? What about this header?
1605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1608 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1610 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1614 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1616 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1618 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1620 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1622 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1624 ## ----------------------------------- ##
1625 ## Report this to gcc-bugs@gcc.gnu.org ##
1626 ## ----------------------------------- ##
1628 ) | sed "s/^/$as_me: WARNING: /" >&2
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1634 $as_echo_n "(cached) " >&6
1636 eval "$3=\$ac_header_compiler"
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640 $as_echo "$ac_res" >&6; }
1642 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1644 } # ac_fn_c_check_header_mongrel
1646 # ac_fn_c_try_run LINENO
1647 # ----------------------
1648 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1649 # that executables *can* be run.
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 if { { ac_try="$ac_link"
1655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1656 *) ac_try_echo
=$ac_try;;
1658 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_link") 2>&5
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1664 { { case "(($ac_try" in
1665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1666 *) ac_try_echo=$ac_try;;
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_try") 2>&5
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; }; }; then :
1676 $as_echo "$as_me: program exited with status $ac_status" >&5
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1680 ac_retval=$ac_status
1682 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists and can be compiled using the include files in
1691 # INCLUDES, setting the cache variable VAR accordingly.
1692 ac_fn_c_check_header_compile ()
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1698 $as_echo_n "(cached) " >&6
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1705 if ac_fn_c_try_compile "$LINENO"; then :
1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1714 $as_echo "$ac_res" >&6; }
1715 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717 } # ac_fn_c_check_header_compile
1719 # ac_fn_cxx_try_cpp LINENO
1720 # ------------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_cxx_try_cpp ()
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.err
1734 if test -s conftest.err
; then
1735 grep -v '^ *+' conftest.err
>conftest.er1
1736 cat conftest.er1
>&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } >/dev
/null
&& {
1741 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1742 test ! -s conftest.err
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.
$ac_ext >&5
1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1754 } # ac_fn_cxx_try_cpp
1756 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1757 # ---------------------------------------------------------
1758 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1759 # the include files in INCLUDES and setting the cache variable VAR
1761 ac_fn_cxx_check_header_mongrel
()
1763 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1764 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1768 $as_echo_n "(cached) " >&6
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1774 # Is the header compilable?
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1776 $as_echo_n "checking $2 usability... " >&6; }
1777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1782 if ac_fn_cxx_try_compile
"$LINENO"; then :
1783 ac_header_compiler
=yes
1785 ac_header_compiler
=no
1787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1789 $as_echo "$ac_header_compiler" >&6; }
1791 # Is the header present?
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1793 $as_echo_n "checking $2 presence... " >&6; }
1794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1798 if ac_fn_cxx_try_cpp
"$LINENO"; then :
1799 ac_header_preproc
=yes
1801 ac_header_preproc
=no
1803 rm -f conftest.err conftest.
$ac_ext
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1805 $as_echo "$ac_header_preproc" >&6; }
1807 # So? What about this header?
1808 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1811 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1813 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1817 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1819 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1821 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1823 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1827 ## ----------------------------------- ##
1828 ## Report this to gcc-bugs@gcc.gnu.org ##
1829 ## ----------------------------------- ##
1831 ) |
sed "s/^/$as_me: WARNING: /" >&2
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; }
1836 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1837 $as_echo_n "(cached) " >&6
1839 eval "$3=\$ac_header_compiler"
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1847 } # ac_fn_cxx_check_header_mongrel
1849 # ac_fn_cxx_try_link LINENO
1850 # -------------------------
1851 # Try to link conftest.$ac_ext, and return whether this succeeded.
1852 ac_fn_cxx_try_link
()
1854 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1855 rm -f conftest.
$ac_objext conftest
$ac_exeext
1856 if { { ac_try
="$ac_link"
1858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_link") 2>conftest.err
1865 if test -s conftest.err; then
1866 grep -v '^ *+' conftest.err >conftest.er1
1867 cat conftest.er1 >&5
1868 mv -f conftest.er1 conftest.err
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } && {
1872 test -z "$ac_cxx_werror_flag" ||
1873 test ! -s conftest.err
1874 } && test -s conftest$ac_exeext && {
1875 test "$cross_compiling" = yes ||
1876 $as_test_x conftest$ac_exeext
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.$ac_ext >&5
1885 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1886 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1887 # interfere with the next link command; also delete a directory that is
1888 # left behind by Apple's compiler. We do this before executing the actions.
1889 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893 } # ac_fn_cxx_try_link
1895 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1896 # ---------------------------------------------
1897 # Tests whether TYPE exists after having included INCLUDES, setting cache
1898 # variable VAR accordingly.
1899 ac_fn_cxx_check_type ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1905 $as_echo_n "(cached) " >&6
1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1920 if ac_fn_cxx_try_compile "$LINENO"; then :
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1933 if ac_fn_cxx_try_compile "$LINENO"; then :
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947 } # ac_fn_cxx_check_type
1949 # ac_fn_cxx_try_run LINENO
1950 # ------------------------
1951 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1952 # that executables *can* be run.
1953 ac_fn_cxx_try_run ()
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 if { { ac_try="$ac_link"
1958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1959 *) ac_try_echo
=$ac_try;;
1961 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 $as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_link") 2>&5
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1967 { { case "(($ac_try" in
1968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1969 *) ac_try_echo=$ac_try;;
1971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1972 $as_echo "$ac_try_echo"; } >&5
1973 (eval "$ac_try") 2>&5
1975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1976 test $ac_status = 0; }; }; then :
1979 $as_echo "$as_me: program exited with status $ac_status" >&5
1980 $as_echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.$ac_ext >&5
1983 ac_retval=$ac_status
1985 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1986 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1989 } # ac_fn_cxx_try_run
1991 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
1992 # ----------------------------------------------
1993 # Tries to find the compile-time value of EXPR in a program that includes
1994 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1996 ac_fn_cxx_compute_int ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if test "$cross_compiling" = yes; then
2000 # Depending upon the size, compute the lo and hi bounds.
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2007 static int test_array [1 - 2 * !(($2) >= 0)];
2014 if ac_fn_cxx_try_compile "$LINENO"; then :
2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2023 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2030 if ac_fn_cxx_try_compile "$LINENO"; then :
2031 ac_hi=$ac_mid; break
2033 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2034 if test $ac_lo -le $ac_mid; then
2038 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2049 static int test_array [1 - 2 * !(($2) < 0)];
2056 if ac_fn_cxx_try_compile "$LINENO"; then :
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2065 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2072 if ac_fn_cxx_try_compile "$LINENO"; then :
2073 ac_lo=$ac_mid; break
2075 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2076 if test $ac_mid -le $ac_hi; then
2080 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 # Binary search between lo and hi bounds.
2091 while test "x$ac_lo" != "x$ac_hi"; do
2092 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2099 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2106 if ac_fn_cxx_try_compile "$LINENO"; then :
2109 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2114 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2121 static long int longval () { return $2; }
2122 static unsigned long int ulongval () { return $2; }
2129 FILE *f = fopen ("conftest.val", "w");
2134 long int i = longval ();
2137 fprintf (f, "%ld", i);
2141 unsigned long int i = ulongval ();
2144 fprintf (f, "%lu", i);
2146 /* Do not output a trailing newline, as this causes \r\n confusion
2147 on some platforms. */
2148 return ferror (f) || fclose (f) != 0;
2154 if ac_fn_cxx_try_run "$LINENO"; then :
2155 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2160 conftest.$ac_objext conftest.beam conftest.$ac_ext
2164 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2167 } # ac_fn_cxx_compute_int
2169 # ac_fn_cxx_check_func LINENO FUNC VAR
2170 # ------------------------------------
2171 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2172 ac_fn_cxx_check_func ()
2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2176 $as_echo_n "checking for $2... " >&6; }
2177 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2178 $as_echo_n "(cached) " >&6
2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */
2182 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2184 #define $2 innocuous_$2
2186 /* System header to define __stub macros and hopefully few prototypes,
2187 which can conflict with char $2 (); below.
2188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2189 <limits.h> exists even on freestanding compilers. */
2192 # include <limits.h>
2194 # include <assert.h>
2199 /* Override any GCC internal prototype to avoid an error.
2200 Use char because int might match the return type of a GCC
2201 builtin and then its argument prototype would still apply. */
2206 /* The GNU C library defines this for functions which it implements
2207 to always fail with ENOSYS. Some functions are actually named
2208 something starting with __ and the normal name is an alias. */
2209 #if defined __stub_$2 || defined __stub___$2
2221 if ac_fn_cxx_try_link "$LINENO"; then :
2226 rm -f core conftest.err conftest.$ac_objext \
2227 conftest$ac_exeext conftest.$ac_ext
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2231 $as_echo "$ac_res" >&6; }
2232 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2234 } # ac_fn_cxx_check_func
2236 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2237 # --------------------------------------
2238 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2239 ac_fn_cxx_check_decl ()
2241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2243 $as_echo_n "checking whether $2 is declared... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245 $as_echo_n "(cached) " >&6
2247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2261 if ac_fn_cxx_try_compile "$LINENO"; then :
2266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2270 $as_echo "$ac_res" >&6; }
2271 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2273 } # ac_fn_cxx_check_decl
2274 cat >config.log <<_ACEOF
2275 This file contains any messages produced by compilers while
2276 running configure, to aid debugging if configure makes a mistake.
2278 It was created by cpplib $as_me , which was
2279 generated by GNU Autoconf 2.64. Invocation command line was
2291 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2292 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2293 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2294 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2295 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2297 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2298 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2300 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2301 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2302 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2303 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2304 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2305 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2306 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 test -z "$as_dir" && as_dir=.
2315 $as_echo "PATH: $as_dir"
2331 # Keep a trace of the command line.
2332 # Strip out --no-create and --no-recursion so they do not pile up.
2333 # Strip out --silent because we don't want to record it for future runs.
2334 # Also quote any args containing shell meta-characters.
2335 # Make two passes to allow for proper duplicate-argument suppression.
2339 ac_must_keep_next=false
2345 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2347 | -silent | --silent | --silen | --sile | --sil)
2350 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2353 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2355 as_fn_append ac_configure_args1 " '$ac_arg'"
2356 if test $ac_must_keep_next = true; then
2357 ac_must_keep_next=false # Got value, back to normal.
2360 *=* | --config-cache | -C | -disable-* | --disable-* \
2361 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2362 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2363 | -with-* | --with-* | -without-* | --without-* | --x)
2364 case "$ac_configure_args0 " in
2365 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2368 -* ) ac_must_keep_next=true ;;
2371 as_fn_append ac_configure_args " '$ac_arg'"
2376 { ac_configure_args0=; unset ac_configure_args0;}
2377 { ac_configure_args1=; unset ac_configure_args1;}
2379 # When interrupted or exit'd, cleanup temporary files, and complete
2380 # config.log. We remove comments because anyway the quotes in there
2381 # would cause problems or look ugly.
2382 # WARNING: Use '\'' to represent an apostrophe within the trap.
2383 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2384 trap 'exit_status=$?
2385 # Save into config.log some information that might help in debugging.
2390 ## ---------------- ##
2391 ## Cache variables. ##
2392 ## ---------------- ##
2395 # The following way of writing the cache mishandles newlines in values,
2397 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2398 eval ac_val=\$$ac_var
2402 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2403 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2406 _ | IFS | as_nl) ;; #(
2407 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2408 *) { eval $ac_var=; unset $ac_var;} ;;
2413 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2414 *${as_nl}ac_space=\ *)
2416 "s/'\''/'\''\\\\'\'''\''/g;
2417 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2420 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2428 ## ----------------- ##
2429 ## Output variables. ##
2430 ## ----------------- ##
2433 for ac_var in $ac_subst_vars
2435 eval ac_val=\$$ac_var
2437 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2439 $as_echo "$ac_var='\''$ac_val'\''"
2443 if test -n "$ac_subst_files"; then
2445 ## ------------------- ##
2446 ## File substitutions. ##
2447 ## ------------------- ##
2450 for ac_var in $ac_subst_files
2452 eval ac_val=\$$ac_var
2454 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2456 $as_echo "$ac_var='\''$ac_val'\''"
2461 if test -s confdefs.h; then
2471 test "$ac_signal" != 0 &&
2472 $as_echo "$as_me: caught signal $ac_signal"
2473 $as_echo "$as_me: exit $exit_status"
2475 rm -f core *.core core.conftest.* &&
2476 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2479 for ac_signal in 1 2 13 15; do
2480 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2484 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2485 rm -f -r conftest* confdefs.h
2487 $as_echo "/* confdefs.h */" > confdefs.h
2489 # Predefined preprocessor variables.
2491 cat >>confdefs.h <<_ACEOF
2492 #define PACKAGE_NAME "$PACKAGE_NAME"
2495 cat >>confdefs.h <<_ACEOF
2496 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2499 cat >>confdefs.h <<_ACEOF
2500 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2503 cat >>confdefs.h <<_ACEOF
2504 #define PACKAGE_STRING "$PACKAGE_STRING"
2507 cat >>confdefs.h <<_ACEOF
2508 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2511 cat >>confdefs.h <<_ACEOF
2512 #define PACKAGE_URL "$PACKAGE_URL"
2516 # Let the site file select an alternate cache file if it wants to.
2517 # Prefer an explicitly selected file to automatically selected ones.
2520 if test -n "$CONFIG_SITE"; then
2521 ac_site_file1=$CONFIG_SITE
2522 elif test "x$prefix" != xNONE; then
2523 ac_site_file1=$prefix/share/config.site
2524 ac_site_file2=$prefix/etc/config.site
2526 ac_site_file1=$ac_default_prefix/share/config.site
2527 ac_site_file2=$ac_default_prefix/etc/config.site
2529 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2531 test "x$ac_site_file" = xNONE && continue
2532 if test -r "$ac_site_file"; then
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2534 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2535 sed 's/^/| /' "$ac_site_file" >&5
2540 if test -r "$cache_file"; then
2541 # Some versions of bash will fail to source /dev/null (special
2542 # files actually), so we avoid doing that.
2543 if test -f "$cache_file"; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2545 $as_echo "$as_me: loading cache $cache_file" >&6;}
2547 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2548 *) . "./$cache_file";;
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2553 $as_echo "$as_me: creating cache $cache_file" >&6;}
2557 # Check that the precious variables saved in the cache have kept the same
2559 ac_cache_corrupted=false
2560 for ac_var in $ac_precious_vars; do
2561 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2562 eval ac_new_set=\$ac_env_${ac_var}_set
2563 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2564 eval ac_new_val=\$ac_env_${ac_var}_value
2565 case $ac_old_set,$ac_new_set in
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2568 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2569 ac_cache_corrupted=: ;;
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2572 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2573 ac_cache_corrupted=: ;;
2576 if test "x$ac_old_val" != "x$ac_new_val"; then
2577 # differences in whitespace do not lead to failure.
2578 ac_old_val_w=`echo x
$ac_old_val`
2579 ac_new_val_w=`echo x
$ac_new_val`
2580 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2582 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2583 ac_cache_corrupted=:
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2586 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2587 eval $ac_var=\$ac_old_val
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2590 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2592 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2595 # Pass precious variables to config.status.
2596 if test "$ac_new_set" = set; then
2598 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2599 *) ac_arg=$ac_var=$ac_new_val ;;
2601 case " $ac_configure_args " in
2602 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2603 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2607 if $ac_cache_corrupted; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2611 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2612 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2614 ## -------------------- ##
2615 ## Main body of script. ##
2616 ## -------------------- ##
2619 ac_cpp='$CPP $CPPFLAGS'
2620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2631 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2632 for ac_t in install-sh install.sh shtool; do
2633 if test -f "$ac_dir/$ac_t"; then
2635 ac_install_sh="$ac_aux_dir/$ac_t -c"
2640 if test -z "$ac_aux_dir"; then
2641 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2644 # These three variables are undocumented and unsupported,
2645 # and are intended to be withdrawn in a future Autoconf release.
2646 # They can cause serious problems if a builder's source tree is in a directory
2647 # whose full name contains unusual characters.
2648 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2649 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2650 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2653 # Make sure we can run config.sub.
2654 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2655 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2658 $as_echo_n "checking build system type... " >&6; }
2659 if test "${ac_cv_build+set}" = set; then :
2660 $as_echo_n "(cached) " >&6
2662 ac_build_alias=$build_alias
2663 test "x$ac_build_alias" = x &&
2664 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2665 test "x$ac_build_alias" = x &&
2666 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2667 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2668 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2672 $as_echo "$ac_cv_build" >&6; }
2673 case $ac_cv_build in
2675 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2678 ac_save_IFS=$IFS; IFS='-'
2684 # Remember, the first character of IFS is used to create $*,
2685 # except with old shells:
2688 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2692 $as_echo_n "checking host system type... " >&6; }
2693 if test "${ac_cv_host+set}" = set; then :
2694 $as_echo_n "(cached) " >&6
2696 if test "x$host_alias" = x; then
2697 ac_cv_host=$ac_cv_build
2699 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2700 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2705 $as_echo "$ac_cv_host" >&6; }
2708 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2711 ac_save_IFS=$IFS; IFS='-'
2717 # Remember, the first character of IFS is used to create $*,
2718 # except with old shells:
2721 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2725 $as_echo_n "checking target system type... " >&6; }
2726 if test "${ac_cv_target+set}" = set; then :
2727 $as_echo_n "(cached) " >&6
2729 if test "x$target_alias" = x; then
2730 ac_cv_target=$ac_cv_host
2732 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2733 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2738 $as_echo "$ac_cv_target" >&6; }
2739 case $ac_cv_target in
2741 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2743 target=$ac_cv_target
2744 ac_save_IFS=$IFS; IFS='-'
2750 # Remember, the first character of IFS is used to create $*,
2751 # except with old shells:
2754 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2757 # The aliases save the names the user supplied, while $host etc.
2758 # will get canonicalized.
2759 test -n "$target_alias" &&
2760 test "$program_prefix$program_suffix$program_transform_name" = \
2762 program_prefix=${target_alias}-
2765 # Checks for programs.
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2767 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2769 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2770 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2771 $as_echo_n "(cached) " >&6
2773 cat >conftest.make <<\_ACEOF
2776 @echo '@@@%%%=$(MAKE)=@@@%%%'
2778 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2779 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2781 eval ac_cv_prog_make_${ac_make}_set=yes;;
2783 eval ac_cv_prog_make_${ac_make}_set=no;;
2787 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2789 $as_echo "yes" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2794 SET_MAKE="MAKE=${MAKE-make}"
2797 # Find a good install program. We prefer a C program (faster),
2798 # so one script is as good as another. But avoid the broken or
2799 # incompatible versions:
2800 # SysV /etc/install, /usr/sbin/install
2801 # SunOS /usr/etc/install
2802 # IRIX /sbin/install
2804 # AmigaOS /C/install, which installs bootblocks on floppy discs
2805 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2806 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2807 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2808 # OS/2's system install, which has a completely different semantic
2809 # ./install, which can be erroneously created by make from ./install.sh.
2810 # Reject install programs that cannot install multiple files.
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2812 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2813 if test -z "$INSTALL"; then
2814 if test "${ac_cv_path_install+set}" = set; then :
2815 $as_echo_n "(cached) " >&6
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir=.
2822 # Account for people who put trailing slashes in PATH elements.
2823 case $as_dir/ in #((
2824 ./ | .// | /[cC]/* | \
2825 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2826 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2829 # OSF1 and SCO ODT 3.0 have their own names for install.
2830 # Don't use installbsd from OSF since it installs stuff as root
2832 for ac_prog in ginstall scoinst install; do
2833 for ac_exec_ext in '' $ac_executable_extensions; do
2834 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2835 if test $ac_prog = install &&
2836 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2837 # AIX install. It has an incompatible calling convention.
2839 elif test $ac_prog = install &&
2840 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2841 # program-specific install script used by HP pwplus--don't use.
2844 rm -rf conftest.one conftest.two conftest.dir
2845 echo one > conftest.one
2846 echo two > conftest.two
2848 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2849 test -s conftest.one && test -s conftest.two &&
2850 test -s conftest.dir/conftest.one &&
2851 test -s conftest.dir/conftest.two
2853 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2866 rm -rf conftest.one conftest.two conftest.dir
2869 if test "${ac_cv_path_install+set}" = set; then
2870 INSTALL=$ac_cv_path_install
2872 # As a last resort, use the slow shell script. Don't cache a
2873 # value for INSTALL within a source directory, because that will
2874 # break other packages using the cache if that directory is
2875 # removed, or if the value is a relative name.
2876 INSTALL=$ac_install_sh
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2880 $as_echo "$INSTALL" >&6; }
2882 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2883 # It thinks the first close brace ends the variable substitution.
2884 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2886 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2888 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2891 ac_cpp='$CPP $CPPFLAGS'
2892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2895 if test -n "$ac_tool_prefix"; then
2896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2897 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test "${ac_cv_prog_CC+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$CC"; then
2904 ac_cv_prog_CC="$CC" # Let the user override the test.
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test -n "$CC"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2926 $as_echo "$CC" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2934 if test -z "$ac_cv_prog_CC"; then
2936 # Extract the first word of "gcc", so it can be a program name with args.
2937 set dummy gcc; ac_word=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$ac_ct_CC"; then
2944 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_ac_ct_CC="gcc"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2964 if test -n "$ac_ct_CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2966 $as_echo "$ac_ct_CC" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2972 if test "x$ac_ct_CC" = x; then
2975 case $cross_compiling:$ac_tool_warned in
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2979 ac_tool_warned=yes ;;
2987 if test -z "$CC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2990 set dummy ${ac_tool_prefix}cc; ac_word=$2
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992 $as_echo_n "checking for $ac_word... " >&6; }
2993 if test "${ac_cv_prog_CC+set}" = set; then :
2994 $as_echo_n "(cached) " >&6
2996 if test -n "$CC"; then
2997 ac_cv_prog_CC="$CC" # Let the user override the test.
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir=.
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3006 ac_cv_prog_CC="${ac_tool_prefix}cc"
3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 if test -n "$CC"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019 $as_echo "$CC" >&6; }
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3028 if test -z "$CC"; then
3029 # Extract the first word of "cc", so it can be a program name with args.
3030 set dummy cc; ac_word=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if test "${ac_cv_prog_CC+set}" = set; then :
3034 $as_echo_n "(cached) " >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC="$CC" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3048 ac_prog_rejected=yes
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 if test $ac_prog_rejected = yes; then
3060 # We found a bogon in the path, so make sure we never use it.
3061 set dummy $ac_cv_prog_CC
3063 if test $# != 0; then
3064 # We chose a different compiler from the bogus one.
3065 # However, it has the same basename, so the bogon will be chosen
3066 # first if we set CC to just the basename; use the full file name.
3068 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3074 if test -n "$CC"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3076 $as_echo "$CC" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3084 if test -z "$CC"; then
3085 if test -n "$ac_tool_prefix"; then
3086 for ac_prog in cl.exe
3088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3089 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if test "${ac_cv_prog_CC+set}" = set; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$CC"; then
3096 ac_cv_prog_CC="$CC" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test -n "$CC"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118 $as_echo "$CC" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3125 test -n "$CC" && break
3128 if test -z "$CC"; then
3130 for ac_prog in cl.exe
3132 # Extract the first word of "$ac_prog", so it can be a program name with args.
3133 set dummy $ac_prog; ac_word=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$ac_ct_CC"; then
3140 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir=.
3147 for ac_exec_ext in '' $ac_executable_extensions; do
3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149 ac_cv_prog_ac_ct_CC="$ac_prog"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3160 if test -n "$ac_ct_CC"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3162 $as_echo "$ac_ct_CC" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3169 test -n "$ac_ct_CC" && break
3172 if test "x$ac_ct_CC" = x; then
3175 case $cross_compiling:$ac_tool_warned in
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3179 ac_tool_warned=yes ;;
3188 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 as_fn_error "no acceptable C compiler found
in \
$PATH
3191 See \
`config.log' for more details." "$LINENO" 5; }
3193 # Provide some information about the compiler.
3194 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3197 for ac_option in --version -v -V -qversion; do
3198 { { ac_try="$ac_compiler $ac_option >&5"
3200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3201 *) ac_try_echo
=$ac_try;;
3203 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204 $as_echo "$ac_try_echo"; } >&5
3205 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3207 if test -s conftest.err
; then
3209 ... rest of stderr output deleted ...
3210 10q' conftest.err
>conftest.er1
3211 cat conftest.er1
>&5
3212 rm -f conftest.er1 conftest.err
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; }
3218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3229 ac_clean_files_save
=$ac_clean_files
3230 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3231 # Try to create an executable without -o first, disregard a.out.
3232 # It will help us diagnose broken compilers, and finding out an intuition
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3235 $as_echo_n "checking for C compiler default output file name... " >&6; }
3236 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3238 # The possible output files:
3239 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3242 for ac_file
in $ac_files
3245 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3246 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3251 if { { ac_try
="$ac_link_default"
3253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257 $as_echo "$ac_try_echo"; } >&5
3258 (eval "$ac_link_default") 2>&5
3260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261 test $ac_status = 0; }; then :
3262 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3263 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3264 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3265 # so that the user can short-circuit this test for compilers unknown to
3267 for ac_file in $ac_files ''
3269 test -f "$ac_file" || continue
3271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3274 # We found the default executable, but exeext='' is most
3278 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3280 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3282 # We set ac_cv_exeext here because the later test for it is not
3283 # safe: cross compilers may not add the suffix if given an `-o'
3284 # argument, so we may need to know it at that point already.
3285 # Even if this section looks crufty: it has the advantage of
3292 test "$ac_cv_exeext" = no && ac_cv_exeext=
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3298 $as_echo "$ac_file" >&6; }
3299 if test -z "$ac_file"; then :
3300 $as_echo "$as_me: failed program was:" >&5
3301 sed 's
/^
/|
/' conftest.$ac_ext >&5
3303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3305 { as_fn_set_status 77
3306 as_fn_error "C compiler cannot create executables
3307 See \`config.log
' for more details." "$LINENO" 5; }; }
3309 ac_exeext=$ac_cv_exeext
3311 # Check that the compiler produces executables we can run. If not, either
3312 # the compiler is broken, or we cross compile.
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3314 $as_echo_n "checking whether the C compiler works... " >&6; }
3315 # If not cross compiling, check that we can run a simple program.
3316 if test "$cross_compiling" != yes; then
3317 if { ac_try='.
/$ac_file'
3318 { { case "(($ac_try" in
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323 $as_echo "$ac_try_echo"; } >&5
3324 (eval "$ac_try") 2>&5
3326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327 test $ac_status = 0; }; }; then
3330 if test "$cross_compiling" = maybe; then
3333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3335 as_fn_error "cannot run C compiled programs.
3336 If you meant to cross compile, use \`--host'.
3337 See \`config.log' for more details.
" "$LINENO" 5; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3342 $as_echo "yes" >&6; }
3344 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3345 ac_clean_files=$ac_clean_files_save
3346 # Check that the compiler produces executables we can run. If not, either
3347 # the compiler is broken, or we cross compile.
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3349 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3351 $as_echo "$cross_compiling" >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3354 $as_echo_n "checking
for suffix of executables...
" >&6; }
3355 if { { ac_try="$ac_link"
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361 $as_echo "$ac_try_echo"; } >&5
3362 (eval "$ac_link") 2>&5
3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3365 test $ac_status = 0; }; then :
3366 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3367 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3368 # work properly (i.e., refer to `conftest.exe'), while it won't with
3370 for ac_file in conftest.exe conftest conftest.*; do
3371 test -f "$ac_file" || continue
3373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3374 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error "cannot compute suffix of executables: cannot compile and link
3383 See \`config.log' for more details.
" "$LINENO" 5; }
3385 rm -f conftest$ac_cv_exeext
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3387 $as_echo "$ac_cv_exeext" >&6; }
3389 rm -f conftest.$ac_ext
3390 EXEEXT=$ac_cv_exeext
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3393 $as_echo_n "checking
for suffix of object files...
" >&6; }
3394 if test "${ac_cv_objext+set}" = set; then :
3395 $as_echo_n "(cached
) " >&6
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3408 rm -f conftest.o conftest.obj
3409 if { { ac_try="$ac_compile"
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3415 $as_echo "$ac_try_echo"; } >&5
3416 (eval "$ac_compile") 2>&5
3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3419 test $ac_status = 0; }; then :
3420 for ac_file in conftest.o conftest.obj conftest.*; do
3421 test -f "$ac_file" || continue;
3423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3424 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3429 $as_echo "$as_me: failed program was
:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3434 as_fn_error "cannot compute suffix of object files: cannot compile
3435 See \`config.log' for more details.
" "$LINENO" 5; }
3437 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3440 $as_echo "$ac_cv_objext" >&6; }
3441 OBJEXT=$ac_cv_objext
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3444 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3445 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3446 $as_echo_n "(cached
) " >&6
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3462 if ac_fn_c_try_compile "$LINENO"; then :
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3472 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3473 if test $ac_compiler_gnu = yes; then
3478 ac_test_CFLAGS=${CFLAGS+set}
3479 ac_save_CFLAGS=$CFLAGS
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3481 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3482 if test "${ac_cv_prog_cc_g+set}" = set; then :
3483 $as_echo_n "(cached
) " >&6
3485 ac_save_c_werror_flag=$ac_c_werror_flag
3486 ac_c_werror_flag=yes
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h. */
3500 if ac_fn_c_try_compile "$LINENO"; then :
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3515 if ac_fn_c_try_compile "$LINENO"; then :
3518 ac_c_werror_flag=$ac_save_c_werror_flag
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3531 if ac_fn_c_try_compile "$LINENO"; then :
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 ac_c_werror_flag=$ac_save_c_werror_flag
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3542 $as_echo "$ac_cv_prog_cc_g" >&6; }
3543 if test "$ac_test_CFLAGS" = set; then
3544 CFLAGS=$ac_save_CFLAGS
3545 elif test $ac_cv_prog_cc_g = yes; then
3546 if test "$GCC" = yes; then
3552 if test "$GCC" = yes; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3559 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3560 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3561 $as_echo_n "(cached
) " >&6
3563 ac_cv_prog_cc_c89=no
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3569 #include <sys/types.h>
3570 #include <sys/stat.h>
3571 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3572 struct buf { int x; };
3573 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3574 static char *e (p, i)
3580 static char *f (char * (*g) (char **, int), char **p, ...)
3585 s = g (p, va_arg (v,int));
3590 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3591 function prototypes and stuff, but not '\xHH' hex character constants.
3592 These don't provoke an error unfortunately, instead are silently treated
3593 as 'x'. The following induces an error, until -std is added to get
3594 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3595 array size at least. It's necessary to write '\x00'==0 to get something
3596 that's true only with -std. */
3597 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3599 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3600 inside strings and character constants. */
3602 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3604 int test (int i, double x);
3605 struct s1 {int (*f) (int a);};
3606 struct s2 {int (*f) (double a);};
3607 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3613 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3618 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3619 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3621 CC="$ac_save_CC $ac_arg"
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623 ac_cv_prog_cc_c89=$ac_arg
3625 rm -f core conftest.err conftest.$ac_objext
3626 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3628 rm -f conftest.$ac_ext
3633 case "x
$ac_cv_prog_cc_c89" in
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3636 $as_echo "none needed
" >&6; } ;;
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3639 $as_echo "unsupported
" >&6; } ;;
3641 CC="$CC $ac_cv_prog_cc_c89"
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3643 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3645 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3650 ac_cpp='$CPP $CPPFLAGS'
3651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3656 ac_cpp='$CXXCPP $CPPFLAGS'
3657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3660 if test -z "$CXX"; then
3661 if test -n "$CCC"; then
3664 if test -n "$ac_tool_prefix"; then
3665 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3667 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3668 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3670 $as_echo_n "checking
for $ac_word...
" >&6; }
3671 if test "${ac_cv_prog_CXX+set}" = set; then :
3672 $as_echo_n "(cached
) " >&6
3674 if test -n "$CXX"; then
3675 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir=.
3682 for ac_exec_ext in '' $ac_executable_extensions; do
3683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3684 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3695 if test -n "$CXX"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX" >&5
3697 $as_echo "$CXX" >&6; }
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3700 $as_echo "no
" >&6; }
3704 test -n "$CXX" && break
3707 if test -z "$CXX"; then
3709 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3711 # Extract the first word of "$ac_prog", so it can be a program name with args.
3712 set dummy $ac_prog; ac_word=$2
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3714 $as_echo_n "checking
for $ac_word...
" >&6; }
3715 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3716 $as_echo_n "(cached
) " >&6
3718 if test -n "$ac_ct_CXX"; then
3719 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir=.
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3728 ac_cv_prog_ac_ct_CXX="$ac_prog"
3729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3738 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3739 if test -n "$ac_ct_CXX"; then
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CXX" >&5
3741 $as_echo "$ac_ct_CXX" >&6; }
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3744 $as_echo "no
" >&6; }
3748 test -n "$ac_ct_CXX" && break
3751 if test "x
$ac_ct_CXX" = x; then
3754 case $cross_compiling:$ac_tool_warned in
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3757 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3758 ac_tool_warned=yes ;;
3766 # Provide some information about the compiler.
3767 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C
++ compiler version
" >&5
3770 for ac_option in --version -v -V -qversion; do
3771 { { ac_try="$ac_compiler $ac_option >&5"
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3777 $as_echo "$ac_try_echo"; } >&5
3778 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3780 if test -s conftest.err; then
3782 ... rest of stderr output deleted ...
3783 10q' conftest.err >conftest.er1
3784 cat conftest.er1 >&5
3785 rm -f conftest.er1 conftest.err
3787 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3788 test $ac_status = 0; }
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
++ compiler
" >&5
3792 $as_echo_n "checking whether we are using the GNU C
++ compiler...
" >&6; }
3793 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3794 $as_echo_n "(cached
) " >&6
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3810 if ac_fn_cxx_try_compile "$LINENO"; then :
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_cxx_compiler_gnu" >&5
3820 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3821 if test $ac_compiler_gnu = yes; then
3826 ac_test_CXXFLAGS=${CXXFLAGS+set}
3827 ac_save_CXXFLAGS=$CXXFLAGS
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX accepts
-g" >&5
3829 $as_echo_n "checking whether
$CXX accepts
-g...
" >&6; }
3830 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3831 $as_echo_n "(cached
) " >&6
3833 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3834 ac_cxx_werror_flag=yes
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3848 if ac_fn_cxx_try_compile "$LINENO"; then :
3849 ac_cv_prog_cxx_g=yes
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3863 if ac_fn_cxx_try_compile "$LINENO"; then :
3866 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3879 if ac_fn_cxx_try_compile "$LINENO"; then :
3880 ac_cv_prog_cxx_g=yes
3882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3887 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cxx_g" >&5
3890 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3891 if test "$ac_test_CXXFLAGS" = set; then
3892 CXXFLAGS=$ac_save_CXXFLAGS
3893 elif test $ac_cv_prog_cxx_g = yes; then
3894 if test "$GXX" = yes; then
3900 if test "$GXX" = yes; then
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3912 if test -n "$ac_tool_prefix"; then
3913 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
3914 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3916 $as_echo_n "checking
for $ac_word...
" >&6; }
3917 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3918 $as_echo_n "(cached
) " >&6
3920 if test -n "$RANLIB"; then
3921 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir=.
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3930 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
3931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3940 RANLIB=$ac_cv_prog_RANLIB
3941 if test -n "$RANLIB"; then
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
3943 $as_echo "$RANLIB" >&6; }
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3946 $as_echo "no
" >&6; }
3951 if test -z "$ac_cv_prog_RANLIB"; then
3952 ac_ct_RANLIB=$RANLIB
3953 # Extract the first word of "ranlib
", so it can be a program name with args.
3954 set dummy ranlib; ac_word=$2
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3956 $as_echo_n "checking
for $ac_word...
" >&6; }
3957 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3958 $as_echo_n "(cached
) " >&6
3960 if test -n "$ac_ct_RANLIB"; then
3961 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967 test -z "$as_dir" && as_dir=.
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3970 ac_cv_prog_ac_ct_RANLIB="ranlib
"
3971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3980 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3981 if test -n "$ac_ct_RANLIB"; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
3983 $as_echo "$ac_ct_RANLIB" >&6; }
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3986 $as_echo "no
" >&6; }
3989 if test "x
$ac_ct_RANLIB" = x; then
3992 case $cross_compiling:$ac_tool_warned in
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3995 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3996 ac_tool_warned=yes ;;
3998 RANLIB=$ac_ct_RANLIB
4001 RANLIB="$ac_cv_prog_RANLIB"
4005 # See if we are building gcc with C++.
4006 # Do this early so setting lang to C++ affects following tests
4007 # Check whether --enable-build-with-cxx was given.
4008 if test "${enable_build_with_cxx+set}" = set; then :
4009 enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
4011 ENABLE_BUILD_WITH_CXX=no
4016 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
4017 for ac_prog in aclocal
4019 # Extract the first word of "$ac_prog", so it can be a program name with args.
4020 set dummy $ac_prog; ac_word=$2
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4022 $as_echo_n "checking
for $ac_word...
" >&6; }
4023 if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
4024 $as_echo_n "(cached
) " >&6
4026 if test -n "$ACLOCAL"; then
4027 ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033 test -z "$as_dir" && as_dir=.
4034 for ac_exec_ext in '' $ac_executable_extensions; do
4035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036 ac_cv_prog_ACLOCAL="$ac_prog"
4037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4046 ACLOCAL=$ac_cv_prog_ACLOCAL
4047 if test -n "$ACLOCAL"; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ACLOCAL" >&5
4049 $as_echo "$ACLOCAL" >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4052 $as_echo "no
" >&6; }
4056 test -n "$ACLOCAL" && break
4058 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal
"
4060 for ac_prog in autoconf
4062 # Extract the first word of "$ac_prog", so it can be a program name with args.
4063 set dummy $ac_prog; ac_word=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4065 $as_echo_n "checking
for $ac_word...
" >&6; }
4066 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
4067 $as_echo_n "(cached
) " >&6
4069 if test -n "$AUTOCONF"; then
4070 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4079 ac_cv_prog_AUTOCONF="$ac_prog"
4080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4089 AUTOCONF=$ac_cv_prog_AUTOCONF
4090 if test -n "$AUTOCONF"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AUTOCONF" >&5
4092 $as_echo "$AUTOCONF" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4095 $as_echo "no
" >&6; }
4099 test -n "$AUTOCONF" && break
4101 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf
"
4103 for ac_prog in autoheader
4105 # Extract the first word of "$ac_prog", so it can be a program name with args.
4106 set dummy $ac_prog; ac_word=$2
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4108 $as_echo_n "checking
for $ac_word...
" >&6; }
4109 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then :
4110 $as_echo_n "(cached
) " >&6
4112 if test -n "$AUTOHEADER"; then
4113 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir=.
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122 ac_cv_prog_AUTOHEADER="$ac_prog"
4123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4132 AUTOHEADER=$ac_cv_prog_AUTOHEADER
4133 if test -n "$AUTOHEADER"; then
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AUTOHEADER" >&5
4135 $as_echo "$AUTOHEADER" >&6; }
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4138 $as_echo "no
" >&6; }
4142 test -n "$AUTOHEADER" && break
4144 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader
"
4147 # Figure out what compiler warnings we can enable.
4148 # See config/warnings.m4 for details.
4152 save_CFLAGS="$CFLAGS"
4153 for option in -W -Wall -Wwrite-strings \
4154 -Wmissing-format-attribute; do
4155 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_
$option" | $as_tr_sh`
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
$option" >&5
4158 $as_echo_n "checking whether
$CC supports
$option...
" >&6; }
4159 if { as_var=$as_acx_Woption; eval "test \"\
${$as_var+set}\" = set"; }; then :
4160 $as_echo_n "(cached
) " >&6
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4174 if ac_fn_c_try_compile "$LINENO"; then :
4175 eval "$as_acx_Woption=yes"
4177 eval "$as_acx_Woption=no
"
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4182 eval ac_res=\$$as_acx_Woption
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
4184 $as_echo "$ac_res" >&6; }
4185 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4186 warn="$warn${warn:+ }$option"
4189 CFLAGS="$save_CFLAGS"
4192 save_CFLAGS="$CFLAGS"
4193 for option in -Wstrict-prototypes -Wmissing-prototypes \
4194 -Wold-style-definition -Wc++-compat; do
4195 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_
$option" | $as_tr_sh`
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
$option" >&5
4198 $as_echo_n "checking whether
$CC supports
$option...
" >&6; }
4199 if { as_var=$as_acx_Woption; eval "test \"\
${$as_var+set}\" = set"; }; then :
4200 $as_echo_n "(cached
) " >&6
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215 eval "$as_acx_Woption=yes"
4217 eval "$as_acx_Woption=no
"
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 eval ac_res=\$$as_acx_Woption
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
4224 $as_echo "$ac_res" >&6; }
4225 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4226 c_warn="$c_warn${c_warn:+ }$option"
4229 CFLAGS="$save_CFLAGS"
4232 if test "$GCC" = yes; then :
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC supports
-pedantic -Wno-long-long" >&5
4234 $as_echo_n "checking whether
$CC supports
-pedantic -Wno-long-long...
" >&6; }
4235 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then :
4236 $as_echo_n "(cached
) " >&6
4238 save_CFLAGS="$CFLAGS"
4239 CFLAGS="-pedantic -Wno-long-long"
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4251 if ac_fn_c_try_compile "$LINENO"; then :
4252 acx_cv_prog_cc_pedantic__Wno_long_long=yes
4254 acx_cv_prog_cc_pedantic__Wno_long_long=no
4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4257 CFLAGS="$save_CFLAGS"
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
4260 $as_echo "$acx_cv_prog_cc_pedantic__Wno_long_long" >&6; }
4261 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then :
4262 WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
4268 # Only enable with --enable-werror-always until existing warnings are
4271 # Check whether --enable-werror-always was given.
4272 if test "${enable_werror_always+set}" = set; then :
4273 enableval=$enable_werror_always;
4275 enable_werror_always=no
4278 if test $enable_werror_always = yes; then :
4279 WERROR="$WERROR${WERROR:+ }-Werror"
4284 # Dependency checking.
4285 rm -rf .tst 2>/dev/null
4286 mkdir .tst 2>/dev/null
4287 if test -d .tst; then
4292 rmdir .tst 2>/dev/null
4294 DEPDIR="${am__leading_dot}deps
"
4296 ac_config_commands="$ac_config_commands depdir
"
4299 if test "$ENABLE_BUILD_WITH_CXX" = "no
"; then
4300 depcc="$CC" am_compiler_list=
4302 am_depcomp=$ac_aux_dir/depcomp
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of
$depcc" >&5
4304 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
4305 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4306 $as_echo_n "(cached
) " >&6
4308 if test -f "$am_depcomp"; then
4309 # We make a subdir and do the tests there. Otherwise we can end up
4310 # making bogus files that we don't know about and never remove. For
4311 # instance it was reported that on HP-UX the gcc test will end up
4312 # making a dummy file named `D' -- because `-MD' means `put the output
4315 # Copy depcomp to subdir because otherwise we won't find it if we're
4316 # using a relative directory.
4317 cp "$am_depcomp" conftest.dir
4319 # We will build objects and dependencies in a subdirectory because
4320 # it helps to detect inapplicable dependency modes. For instance
4321 # both Tru64's cc and ICC support -MD to output dependencies as a
4322 # side effect of compilation, but ICC will put the dependencies in
4323 # the current directory while Tru64 will put them in the object
4327 am_cv_CC_dependencies_compiler_type=none
4328 if test "$am_compiler_list" = ""; then
4329 am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4331 for depmode in $am_compiler_list; do
4332 if test $depmode = none; then break; fi
4334 $as_echo "$as_me:$LINENO: trying
$depmode" >&5
4335 # Setup a source with many dependencies, because some compilers
4336 # like to wrap large dependency lists on column 80 (with \), and
4337 # we should not choose a depcomp mode which is confused by this.
4339 # We need to recreate these files for each test, as the compiler may
4340 # overwrite some of them when testing with obscure command lines.
4341 # This happens at least with the AIX C compiler.
4343 for i in 1 2 3 4 5 6; do
4344 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
4345 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4346 # Solaris 8's {/usr,}/bin/sh.
4347 touch sub/conftst$i.h
4349 echo "include sub
/conftest.Po
" > confmf
4351 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
4352 # mode. It turns out that the SunPro C++ compiler does not properly
4353 # handle `-M -o', and we need to detect this.
4354 depcmd="depmode
=$depmode \
4355 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4356 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4357 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c
"
4358 echo "|
$depcmd" | sed -e 's/ */ /g' >&5
4359 if env $depcmd > conftest.err 2>&1 &&
4360 grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
4361 grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
4362 ${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
4363 # icc doesn't choke on unknown options, it will just issue warnings
4364 # or remarks (even with -Werror). So we grep stderr for any message
4365 # that says an option was ignored or not supported.
4366 # When given -MP, icc 7.0 and 7.1 complain thusly:
4367 # icc: Command line warning: ignoring option '-M'; no argument required
4368 # The diagnosis changed in icc 8.0:
4369 # icc: Command line remark: option '-MP' not supported
4370 if (grep 'ignoring option' conftest.err ||
4371 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4372 am_cv_CC_dependencies_compiler_type=$depmode
4373 $as_echo "$as_me:$LINENO: success
" >&5
4377 $as_echo "$as_me:$LINENO: failure
, diagnostics are
:" >&5
4378 sed -e 's/^/| /' < conftest.err >&5
4384 am_cv_CC_dependencies_compiler_type=none
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $am_cv_CC_dependencies_compiler_type" >&5
4389 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4390 if test x${am_cv_CC_dependencies_compiler_type-none} = xnone
4391 then as_fn_error "no usable dependency style found
" "$LINENO" 5
4392 else CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4397 depcc="$CXX" am_compiler_list=
4399 am_depcomp=$ac_aux_dir/depcomp
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of
$depcc" >&5
4401 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
4402 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4403 $as_echo_n "(cached
) " >&6
4405 if test -f "$am_depcomp"; then
4406 # We make a subdir and do the tests there. Otherwise we can end up
4407 # making bogus files that we don't know about and never remove. For
4408 # instance it was reported that on HP-UX the gcc test will end up
4409 # making a dummy file named `D' -- because `-MD' means `put the output
4412 # Copy depcomp to subdir because otherwise we won't find it if we're
4413 # using a relative directory.
4414 cp "$am_depcomp" conftest.dir
4416 # We will build objects and dependencies in a subdirectory because
4417 # it helps to detect inapplicable dependency modes. For instance
4418 # both Tru64's cc and ICC support -MD to output dependencies as a
4419 # side effect of compilation, but ICC will put the dependencies in
4420 # the current directory while Tru64 will put them in the object
4424 am_cv_CXX_dependencies_compiler_type=none
4425 if test "$am_compiler_list" = ""; then
4426 am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4428 for depmode in $am_compiler_list; do
4429 if test $depmode = none; then break; fi
4431 $as_echo "$as_me:$LINENO: trying
$depmode" >&5
4432 # Setup a source with many dependencies, because some compilers
4433 # like to wrap large dependency lists on column 80 (with \), and
4434 # we should not choose a depcomp mode which is confused by this.
4436 # We need to recreate these files for each test, as the compiler may
4437 # overwrite some of them when testing with obscure command lines.
4438 # This happens at least with the AIX C compiler.
4440 for i in 1 2 3 4 5 6; do
4441 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
4442 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4443 # Solaris 8's {/usr,}/bin/sh.
4444 touch sub/conftst$i.h
4446 echo "include sub
/conftest.Po
" > confmf
4448 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
4449 # mode. It turns out that the SunPro C++ compiler does not properly
4450 # handle `-M -o', and we need to detect this.
4451 depcmd="depmode
=$depmode \
4452 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4453 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4454 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c
"
4455 echo "|
$depcmd" | sed -e 's/ */ /g' >&5
4456 if env $depcmd > conftest.err 2>&1 &&
4457 grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
4458 grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
4459 ${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
4460 # icc doesn't choke on unknown options, it will just issue warnings
4461 # or remarks (even with -Werror). So we grep stderr for any message
4462 # that says an option was ignored or not supported.
4463 # When given -MP, icc 7.0 and 7.1 complain thusly:
4464 # icc: Command line warning: ignoring option '-M'; no argument required
4465 # The diagnosis changed in icc 8.0:
4466 # icc: Command line remark: option '-MP' not supported
4467 if (grep 'ignoring option' conftest.err ||
4468 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4469 am_cv_CXX_dependencies_compiler_type=$depmode
4470 $as_echo "$as_me:$LINENO: success
" >&5
4474 $as_echo "$as_me:$LINENO: failure
, diagnostics are
:" >&5
4475 sed -e 's/^/| /' < conftest.err >&5
4481 am_cv_CXX_dependencies_compiler_type=none
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $am_cv_CXX_dependencies_compiler_type" >&5
4486 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4487 if test x${am_cv_CXX_dependencies_compiler_type-none} = xnone
4488 then as_fn_error "no usable dependency style found
" "$LINENO" 5
4489 else CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4495 # Checks for header files.
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
time.h and sys
/time.h may both be included
" >&5
4497 $as_echo_n "checking whether
time.h and sys
/time.h may both be included...
" >&6; }
4498 if test "${ac_cv_header_time+set}" = set; then :
4499 $as_echo_n "(cached
) " >&6
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4503 #include <sys/types.h>
4504 #include <sys/time.h>
4510 if ((struct tm *) 0)
4516 if ac_fn_c_try_compile "$LINENO"; then :
4517 ac_cv_header_time=yes
4519 ac_cv_header_time=no
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_time" >&5
4524 $as_echo "$ac_cv_header_time" >&6; }
4525 if test $ac_cv_header_time = yes; then
4527 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
4532 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
4533 if test "${gcc_cv_header_string+set}" = set; then :
4534 $as_echo_n "(cached) " >&6
4536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4539 #include <strings.h>
4548 if ac_fn_c_try_compile
"$LINENO"; then :
4549 gcc_cv_header_string
=yes
4551 gcc_cv_header_string
=no
4553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
4556 $as_echo "$gcc_cv_header_string" >&6; }
4557 if test $gcc_cv_header_string = yes; then
4559 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
4564 # AC_CHECK_HEADERS is repeated to work around apparent autoconf 2.59 bug. If
4565 # AC_CHECK_HEADERS comes after the if clause, the last AC_LANG call gets used,
4566 # no matter which branch is taken.
4567 if test "$ENABLE_BUILD_WITH_CXX" = "no"; then
4569 ac_cpp
='$CPP $CPPFLAGS'
4570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4575 ac_cpp
='$CPP $CPPFLAGS'
4576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4580 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4581 # On Suns, sometimes $CPP names a directory.
4582 if test -n "$CPP" && test -d "$CPP"; then
4585 if test -z "$CPP"; then
4586 if test "${ac_cv_prog_CPP+set}" = set; then :
4587 $as_echo_n "(cached) " >&6
4589 # Double quotes because CPP needs to be expanded
4590 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4593 for ac_c_preproc_warn_flag
in '' yes
4595 # Use a header file that comes with gcc, so configuring glibc
4596 # with a fresh cross-compiler works.
4597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4598 # <limits.h> exists even on freestanding compilers.
4599 # On the NeXT, cc -E runs the code through the compiler's parser,
4600 # not just through cpp. "Syntax error" is here to catch this case.
4601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4604 # include <limits.h>
4606 # include <assert.h>
4610 if ac_fn_c_try_cpp
"$LINENO"; then :
4613 # Broken: fails on valid input.
4616 rm -f conftest.err conftest.
$ac_ext
4618 # OK, works on sane cases. Now check whether nonexistent headers
4619 # can be detected and how.
4620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4622 #include <ac_nonexistent.h>
4624 if ac_fn_c_try_cpp
"$LINENO"; then :
4625 # Broken: success on invalid input.
4628 # Passes both tests.
4632 rm -f conftest.err conftest.
$ac_ext
4635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4636 rm -f conftest.err conftest.
$ac_ext
4637 if $ac_preproc_ok; then :
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4650 $as_echo "$CPP" >&6; }
4652 for ac_c_preproc_warn_flag
in '' yes
4654 # Use a header file that comes with gcc, so configuring glibc
4655 # with a fresh cross-compiler works.
4656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4657 # <limits.h> exists even on freestanding compilers.
4658 # On the NeXT, cc -E runs the code through the compiler's parser,
4659 # not just through cpp. "Syntax error" is here to catch this case.
4660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4663 # include <limits.h>
4665 # include <assert.h>
4669 if ac_fn_c_try_cpp
"$LINENO"; then :
4672 # Broken: fails on valid input.
4675 rm -f conftest.err conftest.
$ac_ext
4677 # OK, works on sane cases. Now check whether nonexistent headers
4678 # can be detected and how.
4679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681 #include <ac_nonexistent.h>
4683 if ac_fn_c_try_cpp
"$LINENO"; then :
4684 # Broken: success on invalid input.
4687 # Passes both tests.
4691 rm -f conftest.err conftest.
$ac_ext
4694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4695 rm -f conftest.err conftest.
$ac_ext
4696 if $ac_preproc_ok; then :
4699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4701 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4702 See \`config.log' for more details." "$LINENO" 5; }
4706 ac_cpp
='$CPP $CPPFLAGS'
4707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4713 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4714 if test "${ac_cv_path_GREP+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4717 if test -z "$GREP"; then
4718 ac_path_GREP_found
=false
4719 # Loop through the user's path and test for each of PROGNAME-LIST
4720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4724 test -z "$as_dir" && as_dir
=.
4725 for ac_prog
in grep ggrep
; do
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4728 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4729 # Check for GNU ac_path_GREP and select it if it is found.
4730 # Check for GNU $ac_path_GREP
4731 case `"$ac_path_GREP" --version 2>&1` in
4733 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4736 $as_echo_n 0123456789 >"conftest.in"
4739 cat "conftest.in" "conftest.in" >"conftest.tmp"
4740 mv "conftest.tmp" "conftest.in"
4741 cp "conftest.in" "conftest.nl"
4742 $as_echo 'GREP' >> "conftest.nl"
4743 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4744 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4745 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4746 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4747 # Best one so far, save it but keep looking for a better one
4748 ac_cv_path_GREP
="$ac_path_GREP"
4749 ac_path_GREP_max
=$ac_count
4751 # 10*(2^10) chars as input seems more than enough
4752 test $ac_count -gt 10 && break
4754 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4757 $ac_path_GREP_found && break 3
4762 if test -z "$ac_cv_path_GREP"; then
4763 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4766 ac_cv_path_GREP
=$GREP
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4771 $as_echo "$ac_cv_path_GREP" >&6; }
4772 GREP
="$ac_cv_path_GREP"
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4776 $as_echo_n "checking for egrep... " >&6; }
4777 if test "${ac_cv_path_EGREP+set}" = set; then :
4778 $as_echo_n "(cached) " >&6
4780 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4781 then ac_cv_path_EGREP
="$GREP -E"
4783 if test -z "$EGREP"; then
4784 ac_path_EGREP_found
=false
4785 # Loop through the user's path and test for each of PROGNAME-LIST
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4787 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4790 test -z "$as_dir" && as_dir
=.
4791 for ac_prog
in egrep; do
4792 for ac_exec_ext
in '' $ac_executable_extensions; do
4793 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4794 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4795 # Check for GNU ac_path_EGREP and select it if it is found.
4796 # Check for GNU $ac_path_EGREP
4797 case `"$ac_path_EGREP" --version 2>&1` in
4799 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4802 $as_echo_n 0123456789 >"conftest.in"
4805 cat "conftest.in" "conftest.in" >"conftest.tmp"
4806 mv "conftest.tmp" "conftest.in"
4807 cp "conftest.in" "conftest.nl"
4808 $as_echo 'EGREP' >> "conftest.nl"
4809 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4810 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4811 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4812 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4813 # Best one so far, save it but keep looking for a better one
4814 ac_cv_path_EGREP
="$ac_path_EGREP"
4815 ac_path_EGREP_max
=$ac_count
4817 # 10*(2^10) chars as input seems more than enough
4818 test $ac_count -gt 10 && break
4820 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4823 $ac_path_EGREP_found && break 3
4828 if test -z "$ac_cv_path_EGREP"; then
4829 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4832 ac_cv_path_EGREP
=$EGREP
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4838 $as_echo "$ac_cv_path_EGREP" >&6; }
4839 EGREP
="$ac_cv_path_EGREP"
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4843 $as_echo_n "checking for ANSI C header files... " >&6; }
4844 if test "${ac_cv_header_stdc+set}" = set; then :
4845 $as_echo_n "(cached) " >&6
4847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4862 if ac_fn_c_try_compile
"$LINENO"; then :
4863 ac_cv_header_stdc
=yes
4865 ac_cv_header_stdc
=no
4867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4869 if test $ac_cv_header_stdc = yes; then
4870 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4877 $EGREP "memchr" >/dev
/null
2>&1; then :
4880 ac_cv_header_stdc
=no
4886 if test $ac_cv_header_stdc = yes; then
4887 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4894 $EGREP "free" >/dev
/null
2>&1; then :
4897 ac_cv_header_stdc
=no
4903 if test $ac_cv_header_stdc = yes; then
4904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4905 if test "$cross_compiling" = yes; then :
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4912 #if ((' ' & 0x0FF) == 0x020)
4913 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4914 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4916 # define ISLOWER(c) \
4917 (('a' <= (c) && (c) <= 'i') \
4918 || ('j' <= (c) && (c) <= 'r') \
4919 || ('s' <= (c) && (c) <= 'z'))
4920 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4923 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4928 for (i = 0; i < 256; i++)
4929 if (XOR (islower (i), ISLOWER (i))
4930 || toupper (i) != TOUPPER (i))
4935 if ac_fn_c_try_run
"$LINENO"; then :
4938 ac_cv_header_stdc
=no
4940 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4941 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4947 $as_echo "$ac_cv_header_stdc" >&6; }
4948 if test $ac_cv_header_stdc = yes; then
4950 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4954 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4955 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4956 inttypes.h stdint.h unistd.h
4958 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4959 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4961 eval as_val
=\$
$as_ac_Header
4962 if test "x$as_val" = x
""yes; then :
4963 cat >>confdefs.h
<<_ACEOF
4964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4972 for ac_header
in locale.h fcntl.h limits.h stddef.h \
4973 stdlib.h
strings.h string.h sys
/file.h unistd.h
4975 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4976 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4977 eval as_val
=\$
$as_ac_Header
4978 if test "x$as_val" = x
""yes; then :
4979 cat >>confdefs.h
<<_ACEOF
4980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4989 ac_cpp
='$CXXCPP $CPPFLAGS'
4990 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4991 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4992 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4996 ac_cpp
='$CXXCPP $CPPFLAGS'
4997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5001 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5002 if test -z "$CXXCPP"; then
5003 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
5004 $as_echo_n "(cached) " >&6
5006 # Double quotes because CXXCPP needs to be expanded
5007 for CXXCPP
in "$CXX -E" "/lib/cpp"
5010 for ac_cxx_preproc_warn_flag
in '' yes
5012 # Use a header file that comes with gcc, so configuring glibc
5013 # with a fresh cross-compiler works.
5014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5015 # <limits.h> exists even on freestanding compilers.
5016 # On the NeXT, cc -E runs the code through the compiler's parser,
5017 # not just through cpp. "Syntax error" is here to catch this case.
5018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5021 # include <limits.h>
5023 # include <assert.h>
5027 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5030 # Broken: fails on valid input.
5033 rm -f conftest.err conftest.
$ac_ext
5035 # OK, works on sane cases. Now check whether nonexistent headers
5036 # can be detected and how.
5037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5039 #include <ac_nonexistent.h>
5041 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5042 # Broken: success on invalid input.
5045 # Passes both tests.
5049 rm -f conftest.err conftest.
$ac_ext
5052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5053 rm -f conftest.err conftest.
$ac_ext
5054 if $ac_preproc_ok; then :
5059 ac_cv_prog_CXXCPP
=$CXXCPP
5062 CXXCPP
=$ac_cv_prog_CXXCPP
5064 ac_cv_prog_CXXCPP
=$CXXCPP
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
5067 $as_echo "$CXXCPP" >&6; }
5069 for ac_cxx_preproc_warn_flag
in '' yes
5071 # Use a header file that comes with gcc, so configuring glibc
5072 # with a fresh cross-compiler works.
5073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5074 # <limits.h> exists even on freestanding compilers.
5075 # On the NeXT, cc -E runs the code through the compiler's parser,
5076 # not just through cpp. "Syntax error" is here to catch this case.
5077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5080 # include <limits.h>
5082 # include <assert.h>
5086 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5089 # Broken: fails on valid input.
5092 rm -f conftest.err conftest.
$ac_ext
5094 # OK, works on sane cases. Now check whether nonexistent headers
5095 # can be detected and how.
5096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 #include <ac_nonexistent.h>
5100 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5101 # Broken: success on invalid input.
5104 # Passes both tests.
5108 rm -f conftest.err conftest.
$ac_ext
5111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5112 rm -f conftest.err conftest.
$ac_ext
5113 if $ac_preproc_ok; then :
5116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5118 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
5119 See \`config.log' for more details." "$LINENO" 5; }
5123 ac_cpp
='$CXXCPP $CPPFLAGS'
5124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5129 for ac_header
in locale.h fcntl.h limits.h stddef.h \
5130 stdlib.h
strings.h string.h sys
/stat.h sys
/file.h unistd.h
5132 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5133 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5134 eval as_val
=\$
$as_ac_Header
5135 if test "x$as_val" = x
""yes; then :
5136 cat >>confdefs.h
<<_ACEOF
5137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5146 # Checks for typedefs, structures, and compiler characteristics.
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5148 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5149 if test "${ac_cv_c_const+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5158 /* FIXME: Include the comments suggested by Paul. */
5160 /* Ultrix mips cc rejects this. */
5161 typedef int charset[2];
5163 /* SunOS 4.1.1 cc rejects this. */
5164 char const *const *pcpcc;
5166 /* NEC SVR4.0.2 mips cc rejects this. */
5167 struct point {int x, y;};
5168 static struct point const zero = {0,0};
5169 /* AIX XL C 1.02.0.0 rejects this.
5170 It does not let you subtract one const X* pointer from another in
5171 an arm of an if-expression whose if-part is not a constant
5173 const char *g = "string";
5174 pcpcc = &g + (g ? g-g : 0);
5175 /* HPUX 7.0 cc rejects these. */
5177 ppc = (char**) pcpcc;
5178 pcpcc = (char const *const *) ppc;
5179 { /* SCO 3.2v4 cc rejects this. */
5181 char const *s = 0 ? (char *) 0 : (char const *) 0;
5186 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5188 const int *foo = &x[0];
5191 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5192 typedef const int *iptr;
5196 { /* AIX XL C 1.02.0.0 rejects this saying
5197 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5198 struct s { int j; const int *ap[3]; };
5199 struct s *b; b->j = 5;
5201 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5205 return !cs[0] && !zero.x;
5212 if ac_fn_cxx_try_compile
"$LINENO"; then :
5217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5220 $as_echo "$ac_cv_c_const" >&6; }
5221 if test $ac_cv_c_const = no
; then
5223 $as_echo "#define const /**/" >>confdefs.h
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5228 $as_echo_n "checking for inline... " >&6; }
5229 if test "${ac_cv_c_inline+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5233 for ac_kw
in inline __inline__ __inline
; do
5234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5238 static $ac_kw foo_t static_foo () {return 0; }
5239 $ac_kw foo_t foo () {return 0; }
5243 if ac_fn_cxx_try_compile
"$LINENO"; then :
5244 ac_cv_c_inline
=$ac_kw
5246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5247 test "$ac_cv_c_inline" != no
&& break
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5252 $as_echo "$ac_cv_c_inline" >&6; }
5254 case $ac_cv_c_inline in
5257 case $ac_cv_c_inline in
5259 *) ac_val
=$ac_cv_c_inline;;
5261 cat >>confdefs.h
<<_ACEOF
5263 #define inline $ac_val
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
5270 $as_echo_n "checking for obstacks... " >&6; }
5271 if test "${ac_cv_func_obstack+set}" = set; then :
5272 $as_echo_n "(cached) " >&6
5274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5276 $ac_includes_default
5277 #include "obstack.h"
5282 #define obstack_chunk_alloc malloc
5283 #define obstack_chunk_free free
5284 obstack_init (&mem);
5285 obstack_free (&mem, 0);
5290 if ac_fn_cxx_try_link
"$LINENO"; then :
5291 ac_cv_func_obstack
=yes
5293 ac_cv_func_obstack
=no
5295 rm -f core conftest.err conftest.
$ac_objext \
5296 conftest
$ac_exeext conftest.
$ac_ext
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
5299 $as_echo "$ac_cv_func_obstack" >&6; }
5300 if test $ac_cv_func_obstack = yes; then
5302 $as_echo "#define HAVE_OBSTACK 1" >>confdefs.h
5305 case " $LIBOBJS " in
5306 *" obstack.$ac_objext "* ) ;;
5307 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext"
5313 ac_fn_cxx_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5314 if test "x$ac_cv_type_off_t" = x
""yes; then :
5318 cat >>confdefs.h
<<_ACEOF
5319 #define off_t long int
5324 ac_fn_cxx_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5325 if test "x$ac_cv_type_size_t" = x
""yes; then :
5329 cat >>confdefs.h
<<_ACEOF
5330 #define size_t unsigned int
5335 ac_fn_cxx_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5336 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
5340 cat >>confdefs.h
<<_ACEOF
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5347 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5348 if test "${ac_cv_struct_tm+set}" = set; then :
5349 $as_echo_n "(cached) " >&6
5351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5352 /* end confdefs.h. */
5353 #include <sys/types.h>
5360 int *p = &tm.tm_sec;
5366 if ac_fn_cxx_try_compile
"$LINENO"; then :
5367 ac_cv_struct_tm
=time.h
5369 ac_cv_struct_tm
=sys
/time.h
5371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5374 $as_echo "$ac_cv_struct_tm" >&6; }
5375 if test $ac_cv_struct_tm = sys
/time.h
; then
5377 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5381 # The cast to long int works around a bug in the HP C Compiler
5382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5384 # This bug is HP SR number 8606223364.
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5386 $as_echo_n "checking size of int... " >&6; }
5387 if test "${ac_cv_sizeof_int+set}" = set; then :
5388 $as_echo_n "(cached) " >&6
5390 if ac_fn_cxx_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5393 if test "$ac_cv_type_int" = yes; then
5394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5396 { as_fn_set_status
77
5397 as_fn_error
"cannot compute sizeof (int)
5398 See \`config.log' for more details." "$LINENO" 5; }; }
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5406 $as_echo "$ac_cv_sizeof_int" >&6; }
5410 cat >>confdefs.h
<<_ACEOF
5411 #define SIZEOF_INT $ac_cv_sizeof_int
5415 # The cast to long int works around a bug in the HP C Compiler
5416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5418 # This bug is HP SR number 8606223364.
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5420 $as_echo_n "checking size of long... " >&6; }
5421 if test "${ac_cv_sizeof_long+set}" = set; then :
5422 $as_echo_n "(cached) " >&6
5424 if ac_fn_cxx_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5427 if test "$ac_cv_type_long" = yes; then
5428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5430 { as_fn_set_status
77
5431 as_fn_error
"cannot compute sizeof (long)
5432 See \`config.log' for more details." "$LINENO" 5; }; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5440 $as_echo "$ac_cv_sizeof_long" >&6; }
5444 cat >>confdefs.h
<<_ACEOF
5445 #define SIZEOF_LONG $ac_cv_sizeof_long
5450 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
5452 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5453 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5454 eval as_val
=\$
$as_ac_var
5455 if test "x$as_val" = x
""yes; then :
5456 cat >>confdefs.h
<<_ACEOF
5457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5463 ac_fn_cxx_check_decl
"$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
5464 if test "x$ac_cv_have_decl_abort" = x
""yes; then :
5470 cat >>confdefs.h
<<_ACEOF
5471 #define HAVE_DECL_ABORT $ac_have_decl
5473 ac_fn_cxx_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
5474 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
5480 cat >>confdefs.h
<<_ACEOF
5481 #define HAVE_DECL_ASPRINTF $ac_have_decl
5483 ac_fn_cxx_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
5484 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
5490 cat >>confdefs.h
<<_ACEOF
5491 #define HAVE_DECL_BASENAME $ac_have_decl
5493 ac_fn_cxx_check_decl
"$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
5494 if test "x$ac_cv_have_decl_errno" = x
""yes; then :
5500 cat >>confdefs.h
<<_ACEOF
5501 #define HAVE_DECL_ERRNO $ac_have_decl
5503 ac_fn_cxx_check_decl
"$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
5504 if test "x$ac_cv_have_decl_getopt" = x
""yes; then :
5510 cat >>confdefs.h
<<_ACEOF
5511 #define HAVE_DECL_GETOPT $ac_have_decl
5513 ac_fn_cxx_check_decl
"$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
5514 if test "x$ac_cv_have_decl_clearerr_unlocked" = x
""yes; then :
5520 cat >>confdefs.h
<<_ACEOF
5521 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
5523 ac_fn_cxx_check_decl
"$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
5524 if test "x$ac_cv_have_decl_feof_unlocked" = x
""yes; then :
5530 cat >>confdefs.h
<<_ACEOF
5531 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
5533 ac_fn_cxx_check_decl
"$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
5534 if test "x$ac_cv_have_decl_ferror_unlocked" = x
""yes; then :
5540 cat >>confdefs.h
<<_ACEOF
5541 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
5543 ac_fn_cxx_check_decl
"$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
5544 if test "x$ac_cv_have_decl_fflush_unlocked" = x
""yes; then :
5550 cat >>confdefs.h
<<_ACEOF
5551 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
5553 ac_fn_cxx_check_decl
"$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
5554 if test "x$ac_cv_have_decl_fgetc_unlocked" = x
""yes; then :
5560 cat >>confdefs.h
<<_ACEOF
5561 #define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
5563 ac_fn_cxx_check_decl
"$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
5564 if test "x$ac_cv_have_decl_fgets_unlocked" = x
""yes; then :
5570 cat >>confdefs.h
<<_ACEOF
5571 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
5573 ac_fn_cxx_check_decl
"$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
5574 if test "x$ac_cv_have_decl_fileno_unlocked" = x
""yes; then :
5580 cat >>confdefs.h
<<_ACEOF
5581 #define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
5583 ac_fn_cxx_check_decl
"$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
5584 if test "x$ac_cv_have_decl_fprintf_unlocked" = x
""yes; then :
5590 cat >>confdefs.h
<<_ACEOF
5591 #define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
5593 ac_fn_cxx_check_decl
"$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
5594 if test "x$ac_cv_have_decl_fputc_unlocked" = x
""yes; then :
5600 cat >>confdefs.h
<<_ACEOF
5601 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
5603 ac_fn_cxx_check_decl
"$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
5604 if test "x$ac_cv_have_decl_fputs_unlocked" = x
""yes; then :
5610 cat >>confdefs.h
<<_ACEOF
5611 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
5613 ac_fn_cxx_check_decl
"$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
5614 if test "x$ac_cv_have_decl_fread_unlocked" = x
""yes; then :
5620 cat >>confdefs.h
<<_ACEOF
5621 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
5623 ac_fn_cxx_check_decl
"$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
5624 if test "x$ac_cv_have_decl_fwrite_unlocked" = x
""yes; then :
5630 cat >>confdefs.h
<<_ACEOF
5631 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
5633 ac_fn_cxx_check_decl
"$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
5634 if test "x$ac_cv_have_decl_getchar_unlocked" = x
""yes; then :
5640 cat >>confdefs.h
<<_ACEOF
5641 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
5643 ac_fn_cxx_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
5644 if test "x$ac_cv_have_decl_getc_unlocked" = x
""yes; then :
5650 cat >>confdefs.h
<<_ACEOF
5651 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
5653 ac_fn_cxx_check_decl
"$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
5654 if test "x$ac_cv_have_decl_putchar_unlocked" = x
""yes; then :
5660 cat >>confdefs.h
<<_ACEOF
5661 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
5663 ac_fn_cxx_check_decl
"$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
5664 if test "x$ac_cv_have_decl_putc_unlocked" = x
""yes; then :
5670 cat >>confdefs.h
<<_ACEOF
5671 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
5673 ac_fn_cxx_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
5674 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
5680 cat >>confdefs.h
<<_ACEOF
5681 #define HAVE_DECL_VASPRINTF $ac_have_decl
5685 # Checks for library functions.
5686 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5687 # for constant arguments. Useless!
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5689 $as_echo_n "checking for working alloca.h... " >&6; }
5690 if test "${ac_cv_working_alloca_h+set}" = set; then :
5691 $as_echo_n "(cached) " >&6
5693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5694 /* end confdefs.h. */
5699 char *p = (char *) alloca (2 * sizeof (int));
5705 if ac_fn_cxx_try_link
"$LINENO"; then :
5706 ac_cv_working_alloca_h
=yes
5708 ac_cv_working_alloca_h
=no
5710 rm -f core conftest.err conftest.
$ac_objext \
5711 conftest
$ac_exeext conftest.
$ac_ext
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5714 $as_echo "$ac_cv_working_alloca_h" >&6; }
5715 if test $ac_cv_working_alloca_h = yes; then
5717 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5722 $as_echo_n "checking for alloca... " >&6; }
5723 if test "${ac_cv_func_alloca_works+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5727 /* end confdefs.h. */
5729 # define alloca __builtin_alloca
5732 # include <malloc.h>
5733 # define alloca _alloca
5735 # ifdef HAVE_ALLOCA_H
5736 # include <alloca.h>
5741 # ifndef alloca /* predefined by HP cc +Olibcalls */
5752 char *p = (char *) alloca (1);
5758 if ac_fn_cxx_try_link
"$LINENO"; then :
5759 ac_cv_func_alloca_works
=yes
5761 ac_cv_func_alloca_works
=no
5763 rm -f core conftest.err conftest.
$ac_objext \
5764 conftest
$ac_exeext conftest.
$ac_ext
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5767 $as_echo "$ac_cv_func_alloca_works" >&6; }
5769 if test $ac_cv_func_alloca_works = yes; then
5771 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5774 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5775 # that cause trouble. Some versions do not even contain alloca or
5776 # contain a buggy version. If you still want to use their alloca,
5777 # use ar to extract alloca.o from them instead of compiling alloca.c.
5779 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5781 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5785 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5786 if test "${ac_cv_os_cray+set}" = set; then :
5787 $as_echo_n "(cached) " >&6
5789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5791 #if defined CRAY && ! defined CRAY2
5798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5799 $EGREP "webecray" >/dev
/null
2>&1; then :
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5808 $as_echo "$ac_cv_os_cray" >&6; }
5809 if test $ac_cv_os_cray = yes; then
5810 for ac_func
in _getb67 GETB67 getb67
; do
5811 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5812 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5813 eval as_val
=\$
$as_ac_var
5814 if test "x$as_val" = x
""yes; then :
5816 cat >>confdefs.h
<<_ACEOF
5817 #define CRAY_STACKSEG_END $ac_func
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5827 $as_echo_n "checking stack direction for C alloca... " >&6; }
5828 if test "${ac_cv_c_stack_direction+set}" = set; then :
5829 $as_echo_n "(cached) " >&6
5831 if test "$cross_compiling" = yes; then :
5832 ac_cv_c_stack_direction
=0
5834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5836 $ac_includes_default
5838 find_stack_direction ()
5840 static char *addr = 0;
5845 return find_stack_direction ();
5848 return (&dummy > addr) ? 1 : -1;
5854 return find_stack_direction () < 0;
5857 if ac_fn_cxx_try_run
"$LINENO"; then :
5858 ac_cv_c_stack_direction
=1
5860 ac_cv_c_stack_direction
=-1
5862 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5863 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5868 $as_echo "$ac_cv_c_stack_direction" >&6; }
5869 cat >>confdefs.h
<<_ACEOF
5870 #define STACK_DIRECTION $ac_cv_c_stack_direction
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5877 $as_echo_n "checking for ANSI C header files... " >&6; }
5878 if test "${ac_cv_header_stdc+set}" = set; then :
5879 $as_echo_n "(cached) " >&6
5881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5896 if ac_fn_cxx_try_compile
"$LINENO"; then :
5897 ac_cv_header_stdc
=yes
5899 ac_cv_header_stdc
=no
5901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5903 if test $ac_cv_header_stdc = yes; then
5904 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5911 $EGREP "memchr" >/dev
/null
2>&1; then :
5914 ac_cv_header_stdc
=no
5920 if test $ac_cv_header_stdc = yes; then
5921 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5928 $EGREP "free" >/dev
/null
2>&1; then :
5931 ac_cv_header_stdc
=no
5937 if test $ac_cv_header_stdc = yes; then
5938 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5939 if test "$cross_compiling" = yes; then :
5942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5943 /* end confdefs.h. */
5946 #if ((' ' & 0x0FF) == 0x020)
5947 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5948 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5950 # define ISLOWER(c) \
5951 (('a' <= (c) && (c) <= 'i') \
5952 || ('j' <= (c) && (c) <= 'r') \
5953 || ('s' <= (c) && (c) <= 'z'))
5954 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5957 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5962 for (i = 0; i < 256; i++)
5963 if (XOR (islower (i), ISLOWER (i))
5964 || toupper (i) != TOUPPER (i))
5969 if ac_fn_cxx_try_run
"$LINENO"; then :
5972 ac_cv_header_stdc
=no
5974 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5975 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5981 $as_echo "$ac_cv_header_stdc" >&6; }
5982 if test $ac_cv_header_stdc = yes; then
5984 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
5990 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
5991 if test "${am_cv_langinfo_codeset+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 #include <langinfo.h>
6000 char* cs = nl_langinfo(CODESET);
6005 if ac_fn_cxx_try_link
"$LINENO"; then :
6006 am_cv_langinfo_codeset
=yes
6008 am_cv_langinfo_codeset
=no
6010 rm -f core conftest.err conftest.
$ac_objext \
6011 conftest
$ac_exeext conftest.
$ac_ext
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
6015 $as_echo "$am_cv_langinfo_codeset" >&6; }
6016 if test $am_cv_langinfo_codeset = yes; then
6018 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
6022 # If we haven't got the data from the intl directory,
6023 # assume NLS is disabled.
6032 if test -f ..
/intl
/config.intl
; then
6033 . ..
/intl
/config.intl
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6036 $as_echo_n "checking whether NLS is requested... " >&6; }
6037 if test x
"$USE_NLS" != xyes
; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6042 $as_echo "yes" >&6; }
6044 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6048 $as_echo_n "checking for catalogs to be installed... " >&6; }
6049 # Look for .po and .gmo files in the source directory.
6052 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
6053 # If there aren't any .gmo files the shell will give us the
6054 # literal string "../path/to/srcdir/po/*.gmo" which has to be
6056 case "$cat" in *\
**)
6059 # The quadruple backslash is collapsed to a double backslash
6060 # by the backticks, then collapsed again by the double quotes,
6061 # leaving us with one backslash in the sed expression (right
6062 # before the dot that mustn't act as a wildcard).
6063 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
6064 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
6065 # The user is allowed to set LINGUAS to a list of languages to
6066 # install catalogs for. If it's empty that means "all of them."
6067 if test "x$LINGUAS" = x
; then
6068 CATALOGS
="$CATALOGS $cat"
6069 XLINGUAS
="$XLINGUAS $lang"
6071 case "$LINGUAS" in *$lang*)
6072 CATALOGS
="$CATALOGS $cat"
6073 XLINGUAS
="$XLINGUAS $lang"
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6080 $as_echo "$LINGUAS" >&6; }
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uchar" >&5
6094 $as_echo_n "checking for uchar... " >&6; }
6095 if test "${gcc_cv_type_uchar+set}" = set; then :
6096 $as_echo_n "(cached) " >&6
6098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6099 /* end confdefs.h. */
6101 #include <sys/types.h>
6106 if ((uchar *)0) return 0;
6107 if (sizeof(uchar)) return 0;
6112 if ac_fn_cxx_try_compile
"$LINENO"; then :
6113 ac_cv_type_uchar
=yes
6117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_type_uchar" >&5
6120 $as_echo "$gcc_cv_type_uchar" >&6; }
6121 if test $ac_cv_type_uchar = yes; then
6123 $as_echo "#define HAVE_UCHAR 1" >>confdefs.h
6128 if test "X$prefix" = "XNONE"; then
6129 acl_final_prefix
="$ac_default_prefix"
6131 acl_final_prefix
="$prefix"
6133 if test "X$exec_prefix" = "XNONE"; then
6134 acl_final_exec_prefix
='${prefix}'
6136 acl_final_exec_prefix
="$exec_prefix"
6138 acl_save_prefix
="$prefix"
6139 prefix
="$acl_final_prefix"
6140 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6141 prefix
="$acl_save_prefix"
6144 # Check whether --with-gnu-ld was given.
6145 if test "${with_gnu_ld+set}" = set; then :
6146 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6151 # Prepare PATH_SEPARATOR.
6152 # The user is always right.
6153 if test "${PATH_SEPARATOR+set}" != set; then
6154 echo "#! /bin/sh" >conf$$.sh
6155 echo "exit 0" >>conf$$.sh
6157 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6165 if test "$GCC" = yes; then
6166 # Check if gcc -print-prog-name=ld gives a path.
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6168 $as_echo_n "checking for ld used by GCC... " >&6; }
6171 # gcc leaves a trailing carriage return which upsets mingw
6172 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6174 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6177 # Accept absolute paths.
6178 [\\/]* |
[A-Za-z
]:[\\/]*)
6179 re_direlt
='/[^/][^/]*/\.\./'
6180 # Canonicalize the path of ld
6181 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6182 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6183 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6185 test -z "$LD" && LD
="$ac_prog"
6188 # If it fails, then pretend we aren't using GCC.
6192 # If it is relative, then search for the first ld in PATH.
6196 elif test "$with_gnu_ld" = yes; then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6198 $as_echo_n "checking for GNU ld... " >&6; }
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6201 $as_echo_n "checking for non-GNU ld... " >&6; }
6203 if test "${acl_cv_path_LD+set}" = set; then :
6204 $as_echo_n "(cached) " >&6
6206 if test -z "$LD"; then
6207 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6208 for ac_dir
in $PATH; do
6209 test -z "$ac_dir" && ac_dir
=.
6210 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6211 acl_cv_path_LD
="$ac_dir/$ac_prog"
6212 # Check to see if the program is GNU ld. I'd rather use --version,
6213 # but apparently some GNU ld's only accept -v.
6214 # Break only if it was the GNU/non-GNU ld that we prefer.
6215 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
6216 test "$with_gnu_ld" != no
&& break
6218 test "$with_gnu_ld" != yes && break
6224 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6228 LD
="$acl_cv_path_LD"
6229 if test -n "$LD"; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6231 $as_echo "$LD" >&6; }
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 $as_echo "no" >&6; }
6236 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6238 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6239 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
6240 $as_echo_n "(cached) " >&6
6242 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6243 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
6244 acl_cv_prog_gnu_ld
=yes
6246 acl_cv_prog_gnu_ld
=no
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6250 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
6251 with_gnu_ld
=$acl_cv_prog_gnu_ld
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6256 $as_echo_n "checking for shared library run path origin... " >&6; }
6257 if test "${acl_cv_rpath+set}" = set; then :
6258 $as_echo_n "(cached) " >&6
6261 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6262 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6269 $as_echo "$acl_cv_rpath" >&6; }
6271 libext
="$acl_cv_libext"
6272 shlibext
="$acl_cv_shlibext"
6273 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6274 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6275 hardcode_direct
="$acl_cv_hardcode_direct"
6276 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6277 # Check whether --enable-rpath was given.
6278 if test "${enable_rpath+set}" = set; then :
6279 enableval
=$enable_rpath; :
6293 acl_save_prefix
="$prefix"
6294 prefix
="$acl_final_prefix"
6295 acl_save_exec_prefix
="$exec_prefix"
6296 exec_prefix
="$acl_final_exec_prefix"
6298 eval additional_includedir
=\"$includedir\"
6299 eval additional_libdir
=\"$libdir\"
6301 exec_prefix
="$acl_save_exec_prefix"
6302 prefix
="$acl_save_prefix"
6305 # Check whether --with-libiconv-prefix was given.
6306 if test "${with_libiconv_prefix+set}" = set; then :
6307 withval
=$with_libiconv_prefix;
6308 if test "X$withval" = "Xno"; then
6311 if test "X$withval" = "X"; then
6313 acl_save_prefix
="$prefix"
6314 prefix
="$acl_final_prefix"
6315 acl_save_exec_prefix
="$exec_prefix"
6316 exec_prefix
="$acl_final_exec_prefix"
6318 eval additional_includedir
=\"$includedir\"
6319 eval additional_libdir
=\"$libdir\"
6321 exec_prefix
="$acl_save_exec_prefix"
6322 prefix
="$acl_save_prefix"
6325 additional_includedir
="$withval/include"
6326 additional_libdir
="$withval/lib"
6337 names_already_handled
=
6338 names_next_round
='iconv '
6339 while test -n "$names_next_round"; do
6340 names_this_round
="$names_next_round"
6342 for name
in $names_this_round; do
6344 for n
in $names_already_handled; do
6345 if test "$n" = "$name"; then
6350 if test -z "$already_handled"; then
6351 names_already_handled
="$names_already_handled $name"
6352 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6353 eval value
=\"\
$HAVE_LIB$uppername\"
6354 if test -n "$value"; then
6355 if test "$value" = yes; then
6356 eval value
=\"\
$LIB$uppername\"
6357 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6358 eval value
=\"\
$LTLIB$uppername\"
6359 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6368 if test $use_additional = yes; then
6369 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6370 found_dir
="$additional_libdir"
6371 found_so
="$additional_libdir/lib$name.$shlibext"
6372 if test -f "$additional_libdir/lib$name.la"; then
6373 found_la
="$additional_libdir/lib$name.la"
6376 if test -f "$additional_libdir/lib$name.$libext"; then
6377 found_dir
="$additional_libdir"
6378 found_a
="$additional_libdir/lib$name.$libext"
6379 if test -f "$additional_libdir/lib$name.la"; then
6380 found_la
="$additional_libdir/lib$name.la"
6385 if test "X$found_dir" = "X"; then
6386 for x
in $LDFLAGS $LTLIBICONV; do
6388 acl_save_prefix
="$prefix"
6389 prefix
="$acl_final_prefix"
6390 acl_save_exec_prefix
="$exec_prefix"
6391 exec_prefix
="$acl_final_exec_prefix"
6393 exec_prefix
="$acl_save_exec_prefix"
6394 prefix
="$acl_save_prefix"
6398 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6399 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6401 found_so
="$dir/lib$name.$shlibext"
6402 if test -f "$dir/lib$name.la"; then
6403 found_la
="$dir/lib$name.la"
6406 if test -f "$dir/lib$name.$libext"; then
6408 found_a
="$dir/lib$name.$libext"
6409 if test -f "$dir/lib$name.la"; then
6410 found_la
="$dir/lib$name.la"
6416 if test "X$found_dir" != "X"; then
6421 if test "X$found_dir" != "X"; then
6422 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6423 if test "X$found_so" != "X"; then
6424 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6425 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6428 for x
in $ltrpathdirs; do
6429 if test "X$x" = "X$found_dir"; then
6434 if test -z "$haveit"; then
6435 ltrpathdirs
="$ltrpathdirs $found_dir"
6437 if test "$hardcode_direct" = yes; then
6438 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6440 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6441 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6443 for x
in $rpathdirs; do
6444 if test "X$x" = "X$found_dir"; then
6449 if test -z "$haveit"; then
6450 rpathdirs
="$rpathdirs $found_dir"
6454 for x
in $LDFLAGS $LIBICONV; do
6456 acl_save_prefix
="$prefix"
6457 prefix
="$acl_final_prefix"
6458 acl_save_exec_prefix
="$exec_prefix"
6459 exec_prefix
="$acl_final_exec_prefix"
6461 exec_prefix
="$acl_save_exec_prefix"
6462 prefix
="$acl_save_prefix"
6464 if test "X$x" = "X-L$found_dir"; then
6469 if test -z "$haveit"; then
6470 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6472 if test "$hardcode_minus_L" != no
; then
6473 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6475 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6481 if test "X$found_a" != "X"; then
6482 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6484 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6487 additional_includedir
=
6488 case "$found_dir" in
6490 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6491 additional_includedir
="$basedir/include"
6494 if test "X$additional_includedir" != "X"; then
6495 if test "X$additional_includedir" != "X/usr/include"; then
6497 if test "X$additional_includedir" = "X/usr/local/include"; then
6498 if test -n "$GCC"; then
6500 linux
*) haveit
=yes;;
6504 if test -z "$haveit"; then
6505 for x
in $CPPFLAGS $INCICONV; do
6507 acl_save_prefix
="$prefix"
6508 prefix
="$acl_final_prefix"
6509 acl_save_exec_prefix
="$exec_prefix"
6510 exec_prefix
="$acl_final_exec_prefix"
6512 exec_prefix
="$acl_save_exec_prefix"
6513 prefix
="$acl_save_prefix"
6515 if test "X$x" = "X-I$additional_includedir"; then
6520 if test -z "$haveit"; then
6521 if test -d "$additional_includedir"; then
6522 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6528 if test -n "$found_la"; then
6529 save_libdir
="$libdir"
6531 */* |
*\\*) .
"$found_la" ;;
6532 *) .
"./$found_la" ;;
6534 libdir
="$save_libdir"
6535 for dep
in $dependency_libs; do
6538 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6539 if test "X$additional_libdir" != "X/usr/lib"; then
6541 if test "X$additional_libdir" = "X/usr/local/lib"; then
6542 if test -n "$GCC"; then
6544 linux
*) haveit
=yes;;
6548 if test -z "$haveit"; then
6550 for x
in $LDFLAGS $LIBICONV; do
6552 acl_save_prefix
="$prefix"
6553 prefix
="$acl_final_prefix"
6554 acl_save_exec_prefix
="$exec_prefix"
6555 exec_prefix
="$acl_final_exec_prefix"
6557 exec_prefix
="$acl_save_exec_prefix"
6558 prefix
="$acl_save_prefix"
6560 if test "X$x" = "X-L$additional_libdir"; then
6565 if test -z "$haveit"; then
6566 if test -d "$additional_libdir"; then
6567 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6571 for x
in $LDFLAGS $LTLIBICONV; do
6573 acl_save_prefix
="$prefix"
6574 prefix
="$acl_final_prefix"
6575 acl_save_exec_prefix
="$exec_prefix"
6576 exec_prefix
="$acl_final_exec_prefix"
6578 exec_prefix
="$acl_save_exec_prefix"
6579 prefix
="$acl_save_prefix"
6581 if test "X$x" = "X-L$additional_libdir"; then
6586 if test -z "$haveit"; then
6587 if test -d "$additional_libdir"; then
6588 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6595 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6596 if test "$enable_rpath" != no
; then
6598 for x
in $rpathdirs; do
6599 if test "X$x" = "X$dir"; then
6604 if test -z "$haveit"; then
6605 rpathdirs
="$rpathdirs $dir"
6608 for x
in $ltrpathdirs; do
6609 if test "X$x" = "X$dir"; then
6614 if test -z "$haveit"; then
6615 ltrpathdirs
="$ltrpathdirs $dir"
6620 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6623 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6626 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6627 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6633 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6634 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6640 if test "X$rpathdirs" != "X"; then
6641 if test -n "$hardcode_libdir_separator"; then
6643 for found_dir
in $rpathdirs; do
6644 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6646 acl_save_libdir
="$libdir"
6648 eval flag
=\"$hardcode_libdir_flag_spec\"
6649 libdir
="$acl_save_libdir"
6650 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6652 for found_dir
in $rpathdirs; do
6653 acl_save_libdir
="$libdir"
6655 eval flag
=\"$hardcode_libdir_flag_spec\"
6656 libdir
="$acl_save_libdir"
6657 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6661 if test "X$ltrpathdirs" != "X"; then
6662 for found_dir
in $ltrpathdirs; do
6663 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6673 am_save_CPPFLAGS
="$CPPFLAGS"
6675 for element
in $INCICONV; do
6677 for x
in $CPPFLAGS; do
6679 acl_save_prefix
="$prefix"
6680 prefix
="$acl_final_prefix"
6681 acl_save_exec_prefix
="$exec_prefix"
6682 exec_prefix
="$acl_final_exec_prefix"
6684 exec_prefix
="$acl_save_exec_prefix"
6685 prefix
="$acl_save_prefix"
6687 if test "X$x" = "X$element"; then
6692 if test -z "$haveit"; then
6693 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6699 $as_echo_n "checking for iconv... " >&6; }
6700 if test "${am_cv_func_iconv+set}" = set; then :
6701 $as_echo_n "(cached) " >&6
6704 am_cv_func_iconv
="no, consider installing GNU libiconv"
6706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6713 iconv_t cd = iconv_open("","");
6714 iconv(cd,NULL,NULL,NULL,NULL);
6720 if ac_fn_cxx_try_link
"$LINENO"; then :
6721 am_cv_func_iconv
=yes
6723 rm -f core conftest.err conftest.
$ac_objext \
6724 conftest
$ac_exeext conftest.
$ac_ext
6725 if test "$am_cv_func_iconv" != yes; then
6726 am_save_LIBS
="$LIBS"
6727 LIBS
="$LIBS $LIBICONV"
6728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6729 /* end confdefs.h. */
6735 iconv_t cd = iconv_open("","");
6736 iconv(cd,NULL,NULL,NULL,NULL);
6742 if ac_fn_cxx_try_link
"$LINENO"; then :
6744 am_cv_func_iconv
=yes
6746 rm -f core conftest.err conftest.
$ac_objext \
6747 conftest
$ac_exeext conftest.
$ac_ext
6748 LIBS
="$am_save_LIBS"
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6753 $as_echo "$am_cv_func_iconv" >&6; }
6754 if test "$am_cv_func_iconv" = yes; then
6756 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6759 if test "$am_cv_lib_iconv" = yes; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6761 $as_echo_n "checking how to link with libiconv... " >&6; }
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6763 $as_echo "$LIBICONV" >&6; }
6765 CPPFLAGS
="$am_save_CPPFLAGS"
6772 if test "$am_cv_func_iconv" = yes; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
6774 $as_echo_n "checking for iconv declaration... " >&6; }
6775 if test "${am_cv_proto_iconv+set}" = set; then :
6776 $as_echo_n "(cached) " >&6
6779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6788 #if defined(__STDC__) || defined(__cplusplus)
6789 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
6802 if ac_fn_cxx_try_compile
"$LINENO"; then :
6803 am_cv_proto_iconv_arg1
=""
6805 am_cv_proto_iconv_arg1
="const"
6807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6808 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
6811 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
6813 }$am_cv_proto_iconv" >&5
6815 }$am_cv_proto_iconv" >&6; }
6817 cat >>confdefs.h
<<_ACEOF
6818 #define ICONV_CONST $am_cv_proto_iconv_arg1
6824 # More defines and substitutions.
6825 PACKAGE
="$PACKAGE_TARNAME"
6827 cat >>confdefs.h
<<_ACEOF
6828 #define PACKAGE "$PACKAGE"
6833 if test "x$enable_nls" != xno
; then
6834 USED_CATALOGS
='$(CATALOGS)'
6840 # Check whether --enable-maintainer-mode was given.
6841 if test "${enable_maintainer_mode+set}" = set; then :
6842 enableval
=$enable_maintainer_mode;
6844 enable_maintainer_mode
=no
6848 if test "x$enable_maintainer_mode" = xno
; then
6855 # Check whether --enable-checking was given.
6856 if test "${enable_checking+set}" = set; then :
6857 enableval
=$enable_checking;
6863 if test $enable_checking != no
; then
6865 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
6873 arm
*-*-symbianelf* | \
6877 i
[34567]86-*-darwin* | \
6878 i
[34567]86-*-solaris2.1
[0-9]* | \
6879 i
[34567]86-w64-mingw* | \
6887 sh
[123456789lbe
]*-*-* | sh-
*-*)
6888 need_64bit_hwint
=yes ;;
6889 i
[34567]86-*-linux*)
6890 if test "x$enable_targets" = xall
; then
6891 need_64bit_hwint
=yes
6897 need_64bit_hwint
=no
;;
6900 case $need_64bit_hwint:$ac_cv_sizeof_long in
6901 *:8 | no
:*) host_wide_int
=long
;;
6902 *) host_wide_int
='long long' ;;
6907 cat >>confdefs.h
<<_ACEOF
6908 #define HOST_WIDE_INT $host_wide_int
6914 ac_config_headers
="$ac_config_headers config.h:config.in"
6916 ac_config_files
="$ac_config_files Makefile"
6918 cat >confcache
<<\_ACEOF
6919 # This file is a shell script that caches the results of configure
6920 # tests run on this system so they can be shared between configure
6921 # scripts and configure runs, see configure's option --config-cache.
6922 # It is not useful on other systems. If it contains results you don't
6923 # want to keep, you may remove or edit it.
6925 # config.status only pays attention to the cache file if you give it
6926 # the --recheck option to rerun configure.
6928 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6929 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6934 # The following way of writing the cache mishandles newlines in values,
6935 # but we know of no workaround that is simple, portable, and efficient.
6936 # So, we kill variables containing newlines.
6937 # Ultrix sh set writes to stderr and can't be redirected directly,
6938 # and sets the high bit in the cache file unless we assign to the vars.
6940 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6941 eval ac_val
=\$
$ac_var
6945 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6946 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6949 _ | IFS | as_nl
) ;; #(
6950 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6951 *) { eval $ac_var=; unset $ac_var;} ;;
6957 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6958 *${as_nl}ac_space
=\
*)
6959 # `set' does not quote correctly, so add quotes: double-quote
6960 # substitution turns \\\\ into \\, and sed turns \\ into \.
6963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6966 # `set' quotes correctly as required by POSIX, so do not add quotes.
6967 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6976 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6978 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6980 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6981 if test -w "$cache_file"; then
6982 test "x$cache_file" != "x/dev/null" &&
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6984 $as_echo "$as_me: updating cache $cache_file" >&6;}
6985 cat confcache
>$cache_file
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6988 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6993 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6994 # Let make expand exec_prefix.
6995 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6997 DEFS
=-DHAVE_CONFIG_H
7001 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7002 # 1. Remove the extension, and $U if already installed.
7003 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7004 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7005 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7006 # will be set to the directory where LIBOBJS objects are built.
7007 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7008 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7012 LTLIBOBJS
=$ac_ltlibobjs
7016 : ${CONFIG_STATUS=./config.status}
7018 ac_clean_files_save
=$ac_clean_files
7019 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7021 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7023 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7025 # Generated by $as_me.
7026 # Run this file to recreate the current configuration.
7027 # Compiler output produced by configure, useful for debugging
7028 # configure, is in config.log if it exists.
7034 SHELL=\${CONFIG_SHELL-$SHELL}
7037 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7038 ## -------------------- ##
7039 ## M4sh Initialization. ##
7040 ## -------------------- ##
7042 # Be more Bourne compatible
7043 DUALCASE
=1; export DUALCASE
# for MKS sh
7044 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7047 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7048 # is contrary to our usage. Disable this feature.
7049 alias -g '${1+"$@"}'='"$@"'
7050 setopt NO_GLOB_SUBST
7052 case `(set -o) 2>/dev/null` in #(
7064 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7065 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7066 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7067 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7068 # Prefer a ksh shell builtin over an external printf program on Solaris,
7069 # but without wasting forks for bash or zsh.
7070 if test -z "$BASH_VERSION$ZSH_VERSION" \
7071 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7072 as_echo='print
-r --'
7073 as_echo_n='print
-rn --'
7074 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7075 as_echo='printf %s
\n'
7076 as_echo_n='printf %s
'
7078 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7079 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7080 as_echo_n='/usr
/ucb
/echo -n'
7082 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7083 as_echo_n_body='eval
7087 expr "X$arg" : "X\\(.*\\)$as_nl";
7088 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7090 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7092 export as_echo_n_body
7093 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7096 as_echo='sh
-c $as_echo_body as_echo
'
7099 # The user is always right.
7100 if test "${PATH_SEPARATOR+set}" != set; then
7102 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7103 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7110 # We need space, tab and new line, in precisely that order. Quoting is
7111 # there to prevent editors from complaining about space-tab.
7112 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7113 # splitting by setting IFS to empty value.)
7116 # Find who we are. Look in the path if we contain no directory separator.
7118 *[\\/]* ) as_myself=$0 ;;
7119 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 test -z "$as_dir" && as_dir=.
7124 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7130 # We did not find ourselves, most probably we were run as `sh COMMAND'
7131 # in which case we are not to be found in the path.
7132 if test "x$as_myself" = x
; then
7135 if test ! -f "$as_myself"; then
7136 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7140 # Unset variables that we do not need and which cause bugs (e.g. in
7141 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7142 # suppresses any "Segmentation fault" message there. '((' could
7143 # trigger a bug in pdksh 5.2.14.
7144 for as_var
in BASH_ENV ENV MAIL MAILPATH
7145 do eval test x\
${$as_var+set} = xset \
7146 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7159 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7162 # as_fn_error ERROR [LINENO LOG_FD]
7163 # ---------------------------------
7164 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7165 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7166 # script with status $?, using 1 if that was 0.
7169 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7171 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7172 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7174 $as_echo "$as_me: error: $1" >&2
7175 as_fn_exit
$as_status
7179 # as_fn_set_status STATUS
7180 # -----------------------
7181 # Set $? to STATUS, without forking.
7185 } # as_fn_set_status
7189 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7199 # Portably unset VAR.
7202 { eval $1=; unset $1;}
7204 as_unset
=as_fn_unset
7205 # as_fn_append VAR VALUE
7206 # ----------------------
7207 # Append the text in VALUE to the end of the definition contained in VAR. Take
7208 # advantage of any shell optimizations that allow amortized linear growth over
7209 # repeated appends, instead of the typical quadratic growth present in naive
7211 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7212 eval 'as_fn_append ()
7223 # as_fn_arith ARG...
7224 # ------------------
7225 # Perform arithmetic evaluation on the ARGs, and store the result in the
7226 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7227 # must be portable across $(()) and expr.
7228 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7229 eval 'as_fn_arith ()
7236 as_val
=`expr "$@" || test $? -eq 1`
7241 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7242 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7248 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7249 as_basename
=basename
7254 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7260 as_me
=`$as_basename -- "$0" ||
7261 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7262 X"$0" : 'X\(//\)$' \| \
7263 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7265 sed '/^.*\/\([^/][^/]*\)\/*$/{
7279 # Avoid depending upon Character Ranges.
7280 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7281 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7282 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7283 as_cr_digits
='0123456789'
7284 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7286 ECHO_C
= ECHO_N
= ECHO_T
=
7287 case `echo -n x` in #(((((
7289 case `echo 'xy\c'` in
7290 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7292 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7299 rm -f conf$$ conf$$.exe conf$$.
file
7300 if test -d conf$$.dir
; then
7301 rm -f conf$$.dir
/conf$$.
file
7304 mkdir conf$$.dir
2>/dev
/null
7306 if (echo >conf$$.
file) 2>/dev
/null
; then
7307 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7309 # ... but there are two gotchas:
7310 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7311 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7312 # In both cases, we have to default to `cp -p'.
7313 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7315 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7323 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7324 rmdir conf$$.dir
2>/dev
/null
7329 # Create "$as_dir" as a directory, including parents if necessary.
7334 -*) as_dir
=.
/$as_dir;;
7336 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7340 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7341 *) as_qdir
=$as_dir;;
7343 as_dirs
="'$as_qdir' $as_dirs"
7344 as_dir
=`$as_dirname -- "$as_dir" ||
7345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7346 X"$as_dir" : 'X\(//\)[^/]' \| \
7347 X"$as_dir" : 'X\(//\)$' \| \
7348 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7349 $as_echo X"$as_dir" |
7350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7367 test -d "$as_dir" && break
7369 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7370 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7374 if mkdir
-p .
2>/dev
/null
; then
7375 as_mkdir_p
='mkdir -p "$as_dir"'
7377 test -d .
/-p && rmdir .
/-p
7381 if test -x / >/dev
/null
2>&1; then
7384 if ls -dL / >/dev
/null
2>&1; then
7391 if test -d "$1"; then
7397 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7398 ???[sx]*):;;*)false;;esac;fi
7402 as_executable_p
=$as_test_x
7404 # Sed expression to map a string onto a valid CPP name.
7405 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7407 # Sed expression to map a string onto a valid variable name.
7408 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7412 ## ----------------------------------- ##
7413 ## Main body of $CONFIG_STATUS script. ##
7414 ## ----------------------------------- ##
7416 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7419 # Save the log message, to keep $0 and so on meaningful, and to
7420 # report actual input values of CONFIG_FILES etc. instead of their
7421 # values after options handling.
7423 This file was extended by cpplib $as_me , which was
7424 generated by GNU Autoconf 2.64. Invocation command line was
7426 CONFIG_FILES = $CONFIG_FILES
7427 CONFIG_HEADERS = $CONFIG_HEADERS
7428 CONFIG_LINKS = $CONFIG_LINKS
7429 CONFIG_COMMANDS = $CONFIG_COMMANDS
7432 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7437 case $ac_config_files in *"
7438 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7441 case $ac_config_headers in *"
7442 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7447 # Files that config.status was made for.
7448 config_files="$ac_config_files"
7449 config_headers="$ac_config_headers"
7450 config_commands="$ac_config_commands"
7454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7456 \`$as_me' instantiates files and other configuration actions
7457 from templates according to the current configuration. Unless the files
7458 and actions are specified as TAGs, all are instantiated by default.
7460 Usage: $0 [OPTION]... [TAG]...
7462 -h, --help print this help, then exit
7463 -V, --version print version number and configuration settings, then exit
7464 -q, --quiet, --silent
7465 do not print progress messages
7466 -d, --debug don't remove temporary files
7467 --recheck update $as_me by reconfiguring in the same conditions
7468 --file=FILE[:TEMPLATE]
7469 instantiate the configuration file FILE
7470 --header=FILE[:TEMPLATE]
7471 instantiate the configuration header FILE
7473 Configuration files:
7476 Configuration headers:
7479 Configuration commands:
7482 Report bugs to <gcc-bugs@gcc.gnu.org>."
7485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7487 cpplib config.status
7488 configured by $0, generated by GNU Autoconf 2.64,
7489 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7491 Copyright (C) 2009 Free Software Foundation, Inc.
7492 This config.status script is free software; the Free Software Foundation
7493 gives unlimited permission to copy, distribute and modify it."
7498 test -n "\$AWK" || AWK=awk
7501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7502 # The default lists apply if the user does not specify any file.
7508 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7509 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7520 # Handling of the options.
7521 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7523 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7524 $as_echo "$ac_cs_version"; exit ;;
7525 --debug |
--debu |
--deb |
--de |
--d |
-d )
7527 --file |
--fil |
--fi |
--f )
7530 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7532 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7533 ac_need_defaults
=false
;;
7534 --header |
--heade |
--head |
--hea )
7537 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7539 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7540 ac_need_defaults
=false
;;
7542 # Conflict between --help and --header
7543 as_fn_error
"ambiguous option: \`$1'
7544 Try \`$0 --help' for more information.";;
7545 --help |
--hel |
-h )
7546 $as_echo "$ac_cs_usage"; exit ;;
7547 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7548 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7552 -*) as_fn_error
"unrecognized option: \`$1'
7553 Try \`$0 --help' for more information." ;;
7555 *) as_fn_append ac_config_targets
" $1"
7556 ac_need_defaults
=false
;;
7562 ac_configure_extra_args
=
7564 if $ac_cs_silent; then
7566 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7571 if \$ac_cs_recheck; then
7572 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7574 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7575 CONFIG_SHELL='$SHELL'
7581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7585 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7586 ## Running $as_me. ##
7592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7596 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
7600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7602 # Handling of arguments.
7603 for ac_config_target
in $ac_config_targets
7605 case $ac_config_target in
7606 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
7607 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7608 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7610 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7615 # If the user did not use the arguments to specify the items to instantiate,
7616 # then the envvar interface is used. Set only those that are not.
7617 # We use the long form for the default assignment because of an extremely
7618 # bizarre bug on SunOS 4.1.3.
7619 if $ac_need_defaults; then
7620 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7621 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7622 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7625 # Have a temporary directory for convenience. Make it in the build tree
7626 # simply because there is no reason against having it here, and in addition,
7627 # creating and moving files from /tmp can sometimes cause problems.
7628 # Hook for its removal unless debugging.
7629 # Note that there is a small window in which the directory will not be cleaned:
7630 # after its creation but before its name has been assigned to `$tmp'.
7634 trap 'exit_status=$?
7635 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7637 trap 'as_fn_exit 1' 1 2 13 15
7639 # Create a (secure) tmp directory for tmp files.
7642 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7643 test -n "$tmp" && test -d "$tmp"
7646 tmp
=.
/conf$$
-$RANDOM
7647 (umask 077 && mkdir
"$tmp")
7648 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
7650 # Set up the scripts for CONFIG_FILES section.
7651 # No need to generate them if there are no CONFIG_FILES.
7652 # This happens for instance with `./config.status config.h'.
7653 if test -n "$CONFIG_FILES"; then
7656 ac_cr
=`echo X | tr X '\015'`
7657 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7658 # But we know of no other shell where ac_cr would be empty at this
7659 # point, so we can use a bashism as a fallback.
7660 if test "x$ac_cr" = x
; then
7661 eval ac_cr
=\$
\'\\r
\'
7663 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7664 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7670 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7675 echo "cat >conf$$subs.awk <<_ACEOF" &&
7676 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7679 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7680 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7682 for ac_last_try in false false false false false :; do
7683 . ./conf$$subs.sh ||
7684 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7686 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7687 if test $ac_delim_n = $ac_delim_num; then
7689 elif $ac_last_try; then
7690 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7692 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7698 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
7702 s/^/S["/; s
/!.
*/"]=/
7712 s/\(.\{148\}\).*/\1/
7714 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7719 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7726 s/\(.\{148\}\).*/\1/
7728 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7732 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7737 ' <conf$$subs.awk | sed '
7742 ' >>$CONFIG_STATUS || ac_write_fail=1
7743 rm -f conf$$subs.awk
7744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7746 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
7747 for (key in S) S_is_set[key] = 1
7753 nfields = split(line, field, "@
")
7755 len = length(field[1])
7756 for (i = 2; i < nfields; i++) {
7758 keylen = length(key)
7759 if (S_is_set[key]) {
7761 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7762 len += length(value) + length(field[++i])
7773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7774 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7775 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7778 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
7779 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
7782 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7783 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
7784 # trailing colons and then remove the whole line if VPATH becomes empty
7785 # (actually we leave an empty line to preserve line numbers).
7786 if test "x
$srcdir" = x.; then
7787 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7791 s/^\([^=]*=[ ]*\):*/\1/
7797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7798 fi # test -n "$CONFIG_FILES"
7800 # Set up the scripts for CONFIG_HEADERS section.
7801 # No need to generate them if there are no CONFIG_HEADERS.
7802 # This happens for instance with `./config.status Makefile'.
7803 if test -n "$CONFIG_HEADERS"; then
7804 cat >"$tmp/defines.
awk" <<\_ACAWK ||
7808 # Transform confdefs.h into an awk script `defines.awk', embedded as
7809 # here-document in config.status, that substitutes the proper values into
7810 # config.h.in to produce config.h.
7812 # Create a delimiter string that does not exist in confdefs.h, to ease
7813 # handling of long lines.
7815 for ac_last_try in false false :; do
7816 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
7817 if test -z "$ac_t"; then
7819 elif $ac_last_try; then
7820 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
7822 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7826 # For the awk script, D is an array of macro values keyed by name,
7827 # likewise P contains macro parameters if any. Preserve backslash
7828 # newline sequences.
7830 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7832 s/.\{148\}/&'"$ac_delim"'/g
7835 s/^[ ]*#[ ]*define[ ][ ]*/ /
7842 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7844 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7848 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7849 D["\
1"]=" \
3\\\\\\n
"\\/p
7851 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7856 s/.\{148\}/&'"$ac_delim"'/g
7861 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7864 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7866 ' <confdefs.h | sed '
7867 s/'"$ac_delim"'/"\\\
7868 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7871 for (key in D) D_is_set[key] = 1
7874 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7876 split(line, arg, " ")
7877 if (arg[1] == "#") {
7881 defundef
= substr
(arg
[1], 2)
7884 split(mac1
, mac2
, "(") #)
7886 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7887 if (D_is_set
[macro
]) {
7888 # Preserve the white space surrounding the "#".
7889 print prefix
"define", macro P
[macro
] D
[macro
]
7892 # Replace #undef with comments. This is necessary, for example,
7893 # in the case of _POSIX_SOURCE, which is predefined and required
7894 # on some systems where configure will not decide to define it.
7895 if (defundef
== "undef") {
7896 print
"/*", prefix defundef
, macro
, "*/"
7904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7905 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
7906 fi # test -n "$CONFIG_HEADERS"
7909 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7914 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7916 case $ac_mode$ac_tag in
7918 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7919 :[FH
]-) ac_tag
=-:-;;
7920 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7937 -) ac_f
="$tmp/stdin";;
7938 *) # Look for the file first in the build tree, then in the source tree
7939 # (if the path is not absolute). The absolute path cannot be DOS-style,
7940 # because $ac_f cannot contain `:'.
7944 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7946 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
7948 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7949 as_fn_append ac_file_inputs
" '$ac_f'"
7952 # Let's still pretend it is `configure' which instantiates (i.e., don't
7953 # use $as_me), people would be surprised to read:
7954 # /* config.h. Generated by config.status. */
7955 configure_input
='Generated from '`
7956 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7958 if test x
"$ac_file" != x-
; then
7959 configure_input
="$ac_file. $configure_input"
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7961 $as_echo "$as_me: creating $ac_file" >&6;}
7963 # Neutralize special characters interpreted by sed in replacement strings.
7964 case $configure_input in #(
7965 *\
&* |
*\|
* |
*\\* )
7966 ac_sed_conf_input
=`$as_echo "$configure_input" |
7967 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7968 *) ac_sed_conf_input
=$configure_input;;
7972 *:-:* |
*:-) cat >"$tmp/stdin" \
7973 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
7978 ac_dir
=`$as_dirname -- "$ac_file" ||
7979 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7980 X"$ac_file" : 'X\(//\)[^/]' \| \
7981 X"$ac_file" : 'X\(//\)$' \| \
7982 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7983 $as_echo X"$ac_file" |
7984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8001 as_dir
="$ac_dir"; as_fn_mkdir_p
8005 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8007 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8008 # A ".." for each directory in $ac_dir_suffix.
8009 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8010 case $ac_top_builddir_sub in
8011 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8012 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8015 ac_abs_top_builddir
=$ac_pwd
8016 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8017 # for backward compatibility:
8018 ac_top_builddir
=$ac_top_build_prefix
8021 .
) # We are building in place.
8023 ac_top_srcdir
=$ac_top_builddir_sub
8024 ac_abs_top_srcdir
=$ac_pwd ;;
8025 [\\/]* | ?
:[\\/]* ) # Absolute name.
8026 ac_srcdir
=$srcdir$ac_dir_suffix;
8027 ac_top_srcdir
=$srcdir
8028 ac_abs_top_srcdir
=$srcdir ;;
8030 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8031 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8032 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8034 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8044 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8045 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8050 # If the template does not know about datarootdir, expand it.
8051 # FIXME: This hack should be removed a few years after 2.60.
8052 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8063 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8064 *datarootdir
*) ac_datarootdir_seen
=yes;;
8065 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8067 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8070 ac_datarootdir_hack='
8071 s&@datadir@&$datadir&g
8072 s&@docdir@&$docdir&g
8073 s&@infodir@&$infodir&g
8074 s&@localedir@&$localedir&g
8075 s&@mandir@&$mandir&g
8076 s&\\\${datarootdir}&$datarootdir&g' ;;
8080 # Neutralize VPATH when `$srcdir' = `.'.
8081 # Shell code in configure.ac might set extrasub.
8082 # FIXME: do we really want to maintain this feature?
8083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8084 ac_sed_extra="$ac_vpsub
8087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8089 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8090 s|@configure_input@|
$ac_sed_conf_input|
;t t
8091 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8092 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8093 s
&@srcdir@
&$ac_srcdir&;t t
8094 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8095 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8096 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8097 s
&@builddir@
&$ac_builddir&;t t
8098 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8099 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8100 s
&@INSTALL@
&$ac_INSTALL&;t t
8101 $ac_datarootdir_hack
8103 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8104 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8106 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8107 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8108 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8110 which seems to be undefined. Please make sure it is defined." >&5
8111 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8112 which seems to be undefined. Please make sure it is defined." >&2;}
8116 -) cat "$tmp/out" && rm -f "$tmp/out";;
8117 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8119 || as_fn_error "could not create $ac_file" "$LINENO" 5
8125 if test x"$ac_file" != x-; then
8127 $as_echo "/* $configure_input */" \
8128 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8129 } >"$tmp/config.h" \
8130 || as_fn_error "could not create $ac_file" "$LINENO" 5
8131 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8133 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8136 mv "$tmp/config.h" "$ac_file" \
8137 || as_fn_error "could not create $ac_file" "$LINENO" 5
8140 $as_echo "/* $configure_input */" \
8141 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8142 || as_fn_error "could not create -" "$LINENO" 5
8146 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8147 $as_echo "$as_me: executing $ac_file commands" >&6;}
8152 case $ac_file$ac_mode in
8153 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
8154 "config.h":H) echo timestamp > stamp-h1 ;;
8162 ac_clean_files=$ac_clean_files_save
8164 test $ac_write_fail = 0 ||
8165 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8168 # configure is writing to config.log, and then calls config.status.
8169 # config.status does its own redirection, appending to config.log.
8170 # Unfortunately, on DOS this fails, as config.log is still kept open
8171 # by configure, so config.status won't be able to
write to it
; its
8172 # output is simply discarded. So we exec the FD to /dev/null,
8173 # effectively closing config.log, so it can be properly (re)opened and
8174 # appended to by config.status. When coming back to configure, we
8175 # need to make the FD available again.
8176 if test "$no_create" != yes; then
8178 ac_config_status_args
=
8179 test "$silent" = yes &&
8180 ac_config_status_args
="$ac_config_status_args --quiet"
8182 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8184 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8185 # would make configure fail if this is the last instruction.
8186 $ac_cs_success || as_fn_exit $?
8188 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8190 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}