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
683 program_transform_name
696 enable_option_checking
702 enable_maintainer_mode
704 enable_canonical_system_headers
706 enable_valgrind_annotations
708 ac_precious_vars
='build_alias
722 # Initialize some variables set by options.
724 ac_init_version
=false
725 ac_unrecognized_opts
=
727 # The variables have the same names as the options, with
728 # dashes changed to underlines.
736 program_transform_name
=s
,x
,x
,
744 # Installation directory options.
745 # These are left unexpanded so users can "make install exec_prefix=/foo"
746 # and all the variables that are supposed to be based on exec_prefix
747 # by default will actually change.
748 # Use braces instead of parens because sh, perl, etc. also accept them.
749 # (The list follows the same order as the GNU Coding Standards.)
750 bindir
='${exec_prefix}/bin'
751 sbindir
='${exec_prefix}/sbin'
752 libexecdir
='${exec_prefix}/libexec'
753 datarootdir
='${prefix}/share'
754 datadir
='${datarootdir}'
755 sysconfdir
='${prefix}/etc'
756 sharedstatedir
='${prefix}/com'
757 localstatedir
='${prefix}/var'
758 includedir
='${prefix}/include'
759 oldincludedir
='/usr/include'
760 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
761 infodir
='${datarootdir}/info'
766 libdir
='${exec_prefix}/lib'
767 localedir
='${datarootdir}/locale'
768 mandir
='${datarootdir}/man'
774 # If the previous option needs an argument, assign it.
775 if test -n "$ac_prev"; then
776 eval $ac_prev=\
$ac_option
782 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
792 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
794 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
797 -build |
--build |
--buil |
--bui |
--bu)
798 ac_prev
=build_alias
;;
799 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
800 build_alias
=$ac_optarg ;;
802 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
803 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
804 ac_prev
=cache_file
;;
805 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
806 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
807 cache_file
=$ac_optarg ;;
810 cache_file
=config.cache
;;
812 -datadir |
--datadir |
--datadi |
--datad)
814 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
815 datadir
=$ac_optarg ;;
817 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
818 |
--dataroo |
--dataro |
--datar)
819 ac_prev
=datarootdir
;;
820 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
821 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
822 datarootdir
=$ac_optarg ;;
824 -disable-* |
--disable-*)
825 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
828 as_fn_error
"invalid feature name: $ac_useropt"
829 ac_useropt_orig
=$ac_useropt
830 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
835 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
836 ac_unrecognized_sep
=', ';;
838 eval enable_
$ac_useropt=no
;;
840 -docdir |
--docdir |
--docdi |
--doc |
--do)
842 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
845 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
847 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
850 -enable-* |
--enable-*)
851 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
852 # Reject names that are not valid shell variable names.
853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
854 as_fn_error
"invalid feature name: $ac_useropt"
855 ac_useropt_orig
=$ac_useropt
856 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857 case $ac_user_opts in
861 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
862 ac_unrecognized_sep
=', ';;
864 eval enable_
$ac_useropt=\
$ac_optarg ;;
866 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
867 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
868 |
--exec |
--exe |
--ex)
869 ac_prev
=exec_prefix
;;
870 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
871 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
872 |
--exec=* |
--exe=* |
--ex=*)
873 exec_prefix
=$ac_optarg ;;
875 -gas |
--gas |
--ga |
--g)
876 # Obsolete; use --with-gas.
879 -help |
--help |
--hel |
--he |
-h)
881 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
882 ac_init_help
=recursive
;;
883 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
884 ac_init_help
=short
;;
886 -host |
--host |
--hos |
--ho)
887 ac_prev
=host_alias
;;
888 -host=* |
--host=* |
--hos=* |
--ho=*)
889 host_alias
=$ac_optarg ;;
891 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
893 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
895 htmldir
=$ac_optarg ;;
897 -includedir |
--includedir |
--includedi |
--included |
--include \
898 |
--includ |
--inclu |
--incl |
--inc)
899 ac_prev
=includedir
;;
900 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
901 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
902 includedir
=$ac_optarg ;;
904 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
906 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
907 infodir
=$ac_optarg ;;
909 -libdir |
--libdir |
--libdi |
--libd)
911 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
914 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
915 |
--libexe |
--libex |
--libe)
916 ac_prev
=libexecdir
;;
917 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
918 |
--libexe=* |
--libex=* |
--libe=*)
919 libexecdir
=$ac_optarg ;;
921 -localedir |
--localedir |
--localedi |
--localed |
--locale)
923 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
924 localedir
=$ac_optarg ;;
926 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
927 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
928 ac_prev
=localstatedir
;;
929 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
930 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
931 localstatedir
=$ac_optarg ;;
933 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
935 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
939 # Obsolete; use --without-fp.
942 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
943 |
--no-cr |
--no-c |
-n)
946 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
947 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
950 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
951 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
952 |
--oldin |
--oldi |
--old |
--ol |
--o)
953 ac_prev
=oldincludedir
;;
954 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
955 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
956 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
957 oldincludedir
=$ac_optarg ;;
959 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
961 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
964 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
965 |
--program-pre |
--program-pr |
--program-p)
966 ac_prev
=program_prefix
;;
967 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
968 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
969 program_prefix
=$ac_optarg ;;
971 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
972 |
--program-suf |
--program-su |
--program-s)
973 ac_prev
=program_suffix
;;
974 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
975 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
976 program_suffix
=$ac_optarg ;;
978 -program-transform-name |
--program-transform-name \
979 |
--program-transform-nam |
--program-transform-na \
980 |
--program-transform-n |
--program-transform- \
981 |
--program-transform |
--program-transfor \
982 |
--program-transfo |
--program-transf \
983 |
--program-trans |
--program-tran \
984 |
--progr-tra |
--program-tr |
--program-t)
985 ac_prev
=program_transform_name
;;
986 -program-transform-name=* |
--program-transform-name=* \
987 |
--program-transform-nam=* |
--program-transform-na=* \
988 |
--program-transform-n=* |
--program-transform-=* \
989 |
--program-transform=* |
--program-transfor=* \
990 |
--program-transfo=* |
--program-transf=* \
991 |
--program-trans=* |
--program-tran=* \
992 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
993 program_transform_name
=$ac_optarg ;;
995 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
997 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1000 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1002 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1005 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1006 |
-silent |
--silent |
--silen |
--sile |
--sil)
1009 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1011 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1013 sbindir
=$ac_optarg ;;
1015 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1016 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1017 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1019 ac_prev
=sharedstatedir
;;
1020 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1021 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1022 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1024 sharedstatedir
=$ac_optarg ;;
1026 -site |
--site |
--sit)
1028 -site=* |
--site=* |
--sit=*)
1031 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1033 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1034 srcdir
=$ac_optarg ;;
1036 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1037 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1038 ac_prev
=sysconfdir
;;
1039 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1040 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1041 sysconfdir
=$ac_optarg ;;
1043 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1044 ac_prev
=target_alias
;;
1045 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1046 target_alias
=$ac_optarg ;;
1048 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1051 -version |
--version |
--versio |
--versi |
--vers |
-V)
1052 ac_init_version
=: ;;
1055 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1058 as_fn_error
"invalid package name: $ac_useropt"
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval with_
$ac_useropt=\
$ac_optarg ;;
1070 -without-* |
--without-*)
1071 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1074 as_fn_error
"invalid package name: $ac_useropt"
1075 ac_useropt_orig
=$ac_useropt
1076 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1081 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1082 ac_unrecognized_sep
=', ';;
1084 eval with_
$ac_useropt=no
;;
1087 # Obsolete; use --with-x.
1090 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1091 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1092 ac_prev
=x_includes
;;
1093 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1094 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1095 x_includes
=$ac_optarg ;;
1097 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1098 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1099 ac_prev
=x_libraries
;;
1100 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1101 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1102 x_libraries
=$ac_optarg ;;
1104 -*) as_fn_error
"unrecognized option: \`$ac_option'
1105 Try \`$0 --help' for more information."
1109 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1110 # Reject names that are not valid shell variable names.
1111 case $ac_envvar in #(
1112 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1113 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1115 eval $ac_envvar=\
$ac_optarg
1116 export $ac_envvar ;;
1119 # FIXME: should be removed in autoconf 3.0.
1120 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1123 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1129 if test -n "$ac_prev"; then
1130 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1131 as_fn_error
"missing argument to $ac_option"
1134 if test -n "$ac_unrecognized_opts"; then
1135 case $enable_option_checking in
1137 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1142 # Check all directory arguments for consistency.
1143 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144 datadir sysconfdir sharedstatedir localstatedir includedir \
1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146 libdir localedir mandir
1148 eval ac_val
=\$
$ac_var
1149 # Remove trailing slashes.
1152 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1153 eval $ac_var=\
$ac_val;;
1155 # Be sure to have absolute directory names.
1157 [\\/$
]* | ?
:[\\/]* ) continue;;
1158 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1160 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1163 # There might be people who depend on the old broken behavior: `$host'
1164 # used to hold the argument of --host etc.
1165 # FIXME: To remove some day.
1168 target
=$target_alias
1170 # FIXME: To remove some day.
1171 if test "x$host_alias" != x
; then
1172 if test "x$build_alias" = x
; then
1173 cross_compiling
=maybe
1174 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1175 If a cross compiler is detected then cross compile mode will be used." >&2
1176 elif test "x$build_alias" != "x$host_alias"; then
1182 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1184 test "$silent" = yes && exec 6>/dev
/null
1187 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1188 ac_ls_di
=`ls -di .` &&
1189 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1190 as_fn_error
"working directory cannot be determined"
1191 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1192 as_fn_error
"pwd does not report name of working directory"
1195 # Find the source files, if location was not specified.
1196 if test -z "$srcdir"; then
1197 ac_srcdir_defaulted
=yes
1198 # Try the directory containing this script, then the parent directory.
1199 ac_confdir
=`$as_dirname -- "$as_myself" ||
1200 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1201 X"$as_myself" : 'X\(//\)[^/]' \| \
1202 X"$as_myself" : 'X\(//\)$' \| \
1203 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1204 $as_echo X"$as_myself" |
1205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 if test ! -r "$srcdir/$ac_unique_file"; then
1227 ac_srcdir_defaulted
=no
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1230 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1231 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1233 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1235 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1237 # When building in place, set srcdir=.
1238 if test "$ac_abs_confdir" = "$ac_pwd"; then
1241 # Remove unnecessary trailing slashes from srcdir.
1242 # Double slashes in file names in object file debugging info
1243 # mess up M-x gdb in Emacs.
1245 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1247 for ac_var
in $ac_precious_vars; do
1248 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1249 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1250 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1251 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1255 # Report the --help message.
1257 if test "$ac_init_help" = "long"; then
1258 # Omit some internal or obsolete options to make the list less imposing.
1259 # This message is too long to be a string in the A/UX 3.1 sh.
1261 \`configure' configures cpplib to adapt to many kinds of systems.
1263 Usage: $0 [OPTION]... [VAR=VALUE]...
1265 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1266 VAR=VALUE. See below for descriptions of some of the useful variables.
1268 Defaults for the options are specified in brackets.
1271 -h, --help display this help and exit
1272 --help=short display options specific to this package
1273 --help=recursive display the short help of all the included packages
1274 -V, --version display version information and exit
1275 -q, --quiet, --silent do not print \`checking...' messages
1276 --cache-file=FILE cache test results in FILE [disabled]
1277 -C, --config-cache alias for \`--cache-file=config.cache'
1278 -n, --no-create do not create output files
1279 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1281 Installation directories:
1282 --prefix=PREFIX install architecture-independent files in PREFIX
1283 [$ac_default_prefix]
1284 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1287 By default, \`make install' will install all the files in
1288 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1289 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1290 for instance \`--prefix=\$HOME'.
1292 For better control, use the options below.
1294 Fine tuning of the installation directories:
1295 --bindir=DIR user executables [EPREFIX/bin]
1296 --sbindir=DIR system admin executables [EPREFIX/sbin]
1297 --libexecdir=DIR program executables [EPREFIX/libexec]
1298 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1299 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1300 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1301 --libdir=DIR object code libraries [EPREFIX/lib]
1302 --includedir=DIR C header files [PREFIX/include]
1303 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1304 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1305 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1306 --infodir=DIR info documentation [DATAROOTDIR/info]
1307 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1308 --mandir=DIR man documentation [DATAROOTDIR/man]
1309 --docdir=DIR documentation root [DATAROOTDIR/doc/cpplib]
1310 --htmldir=DIR html documentation [DOCDIR]
1311 --dvidir=DIR dvi documentation [DOCDIR]
1312 --pdfdir=DIR pdf documentation [DOCDIR]
1313 --psdir=DIR ps documentation [DOCDIR]
1319 --build=BUILD configure
for building on BUILD
[guessed
]
1320 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1321 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1325 if test -n "$ac_init_help"; then
1326 case $ac_init_help in
1327 short | recursive
) echo "Configuration of cpplib :";;
1332 --disable-option-checking ignore unrecognized
--enable/--with options
1333 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1334 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1335 --disable-largefile omit support
for large files
1336 --enable-werror-always enable -Werror despite compiler version
1337 --disable-rpath do not hardcode runtime library paths
1338 --enable-maintainer-mode enable rules only needed by maintainers
1339 --enable-checking[=LIST
]
1340 enable expensive run-time checks. With LIST
, enable
1341 only specific categories of checks. Categories are
:
1342 yes,no
,all
,none
,release. Flags are
: misc
,valgrind or
1344 --enable-canonical-system-headers
1345 enable or disable system headers canonicalization
1346 --enable-host-shared build
host code as shared libraries
1347 --enable-valgrind-annotations
1348 enable valgrind runtime interaction
1351 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1352 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1353 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1354 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1355 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1357 Some influential environment variables:
1358 CC C compiler command
1359 CFLAGS C compiler flags
1360 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1361 nonstandard directory <lib dir>
1362 LIBS libraries to pass to the linker, e.g. -l<library>
1363 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1364 you have headers in a nonstandard directory <include dir>
1365 CXX C++ compiler command
1366 CXXFLAGS C++ compiler flags
1369 Use these variables to override the choices made by `configure' or to
help
1370 it to
find libraries and programs with nonstandard names
/locations.
1372 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
1377 if test "$ac_init_help" = "recursive"; then
1378 # If there are subdirs, report their specific --help.
1379 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1380 test -d "$ac_dir" ||
1381 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1386 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1388 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1389 # A ".." for each directory in $ac_dir_suffix.
1390 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1391 case $ac_top_builddir_sub in
1392 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1393 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1396 ac_abs_top_builddir
=$ac_pwd
1397 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1398 # for backward compatibility:
1399 ac_top_builddir
=$ac_top_build_prefix
1402 .
) # We are building in place.
1404 ac_top_srcdir
=$ac_top_builddir_sub
1405 ac_abs_top_srcdir
=$ac_pwd ;;
1406 [\\/]* | ?
:[\\/]* ) # Absolute name.
1407 ac_srcdir
=$srcdir$ac_dir_suffix;
1408 ac_top_srcdir
=$srcdir
1409 ac_abs_top_srcdir
=$srcdir ;;
1411 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1412 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1413 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1415 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1417 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1418 # Check for guested configure.
1419 if test -f "$ac_srcdir/configure.gnu"; then
1421 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1422 elif test -f "$ac_srcdir/configure"; then
1424 $SHELL "$ac_srcdir/configure" --help=recursive
1426 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1428 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1432 test -n "$ac_init_help" && exit $ac_status
1433 if $ac_init_version; then
1436 generated by GNU Autoconf
2.64
1438 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1439 This configure
script is free software
; the Free Software Foundation
1440 gives unlimited permission to copy
, distribute and modify it.
1445 ## ------------------------ ##
1446 ## Autoconf initialization. ##
1447 ## ------------------------ ##
1449 # ac_fn_c_try_compile LINENO
1450 # --------------------------
1451 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1452 ac_fn_c_try_compile
()
1454 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1455 rm -f conftest.
$ac_objext
1456 if { { ac_try
="$ac_compile"
1458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1459 *) ac_try_echo=$ac_try;;
1461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1462 $as_echo "$ac_try_echo"; } >&5
1463 (eval "$ac_compile") 2>conftest.err
1465 if test -s conftest.err; then
1466 grep -v '^ *+' conftest.err >conftest.er1
1467 cat conftest.er1 >&5
1468 mv -f conftest.er1 conftest.err
1470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1471 test $ac_status = 0; } && {
1472 test -z "$ac_c_werror_flag" ||
1473 test ! -s conftest.err
1474 } && test -s conftest.$ac_objext; then :
1477 $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1485 } # ac_fn_c_try_compile
1487 # ac_fn_cxx_try_compile LINENO
1488 # ----------------------------
1489 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1490 ac_fn_cxx_try_compile ()
1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493 rm -f conftest.$ac_objext
1494 if { { ac_try="$ac_compile"
1496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1497 *) ac_try_echo
=$ac_try;;
1499 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500 $as_echo "$ac_try_echo"; } >&5
1501 (eval "$ac_compile") 2>conftest.err
1503 if test -s conftest.err
; then
1504 grep -v '^ *+' conftest.err
>conftest.er1
1505 cat conftest.er1
>&5
1506 mv -f conftest.er1 conftest.err
1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509 test $ac_status = 0; } && {
1510 test -z "$ac_cxx_werror_flag" ||
1511 test ! -s conftest.err
1512 } && test -s conftest.
$ac_objext; then :
1515 $as_echo "$as_me: failed program was:" >&5
1516 sed 's/^/| /' conftest.
$ac_ext >&5
1520 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1523 } # ac_fn_cxx_try_compile
1525 # ac_fn_c_try_cpp LINENO
1526 # ----------------------
1527 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1530 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1531 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1534 *) ac_try_echo=$ac_try;;
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537 $as_echo "$ac_try_echo"; } >&5
1538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1540 if test -s conftest.err; then
1541 grep -v '^ *+' conftest.err >conftest.er1
1542 cat conftest.er1 >&5
1543 mv -f conftest.er1 conftest.err
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; } >/dev/null && {
1547 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1548 test ! -s conftest.err
1552 $as_echo "$as_me: failed program was:" >&5
1553 sed 's/^/| /' conftest.$ac_ext >&5
1557 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1563 # -------------------------------------------------------
1564 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1565 # the include files in INCLUDES and setting the cache variable VAR
1567 ac_fn_c_check_header_mongrel ()
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1572 $as_echo_n "checking for $2... " >&6; }
1573 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1574 $as_echo_n "(cached) " >&6
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1578 $as_echo "$ac_res" >&6; }
1580 # Is the header compilable?
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1582 $as_echo_n "checking $2 usability... " >&6; }
1583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1584 /* end confdefs.h. */
1588 if ac_fn_c_try_compile "$LINENO"; then :
1589 ac_header_compiler=yes
1591 ac_header_compiler=no
1593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1595 $as_echo "$ac_header_compiler" >&6; }
1597 # Is the header present?
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1599 $as_echo_n "checking $2 presence... " >&6; }
1600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1601 /* end confdefs.h. */
1604 if ac_fn_c_try_cpp "$LINENO"; then :
1605 ac_header_preproc=yes
1607 ac_header_preproc=no
1609 rm -f conftest.err conftest.$ac_ext
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1611 $as_echo "$ac_header_preproc" >&6; }
1613 # So? What about this header?
1614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1617 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1619 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1623 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1625 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1627 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1629 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1631 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1633 ## ----------------------------------- ##
1634 ## Report this to gcc-bugs@gcc.gnu.org ##
1635 ## ----------------------------------- ##
1637 ) | sed "s/^/$as_me: WARNING: /" >&2
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1641 $as_echo_n "checking for $2... " >&6; }
1642 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1643 $as_echo_n "(cached) " >&6
1645 eval "$3=\$ac_header_compiler"
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1651 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1653 } # ac_fn_c_check_header_mongrel
1655 # ac_fn_c_try_run LINENO
1656 # ----------------------
1657 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1658 # that executables *can* be run.
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 if { { ac_try="$ac_link"
1664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_link") 2>&5
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1673 { { case "(($ac_try" in
1674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_try") 2>&5
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; }; }; then :
1685 $as_echo "$as_me: program exited with status $ac_status" >&5
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1689 ac_retval=$ac_status
1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists and can be compiled using the include files in
1700 # INCLUDES, setting the cache variable VAR accordingly.
1701 ac_fn_c_check_header_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 $as_echo_n "checking for $2... " >&6; }
1706 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1707 $as_echo_n "(cached) " >&6
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1714 if ac_fn_c_try_compile "$LINENO"; then :
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1723 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 } # ac_fn_c_check_header_compile
1728 # ac_fn_c_try_link LINENO
1729 # -----------------------
1730 # Try to link conftest.$ac_ext, and return whether this succeeded.
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 rm -f conftest.$ac_objext conftest$ac_exeext
1735 if { { ac_try="$ac_link"
1737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1738 *) ac_try_echo
=$ac_try;;
1740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_link") 2>conftest.err
1744 if test -s conftest.err
; then
1745 grep -v '^ *+' conftest.err
>conftest.er1
1746 cat conftest.er1
>&5
1747 mv -f conftest.er1 conftest.err
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; } && {
1751 test -z "$ac_c_werror_flag" ||
1752 test ! -s conftest.err
1753 } && test -s conftest
$ac_exeext && {
1754 test "$cross_compiling" = yes ||
1755 $as_test_x conftest
$ac_exeext
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.
$ac_ext >&5
1764 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1765 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1766 # interfere with the next link command; also delete a directory that is
1767 # left behind by Apple's compiler. We do this before executing the actions.
1768 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1772 } # ac_fn_c_try_link
1774 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1775 # -------------------------------------------
1776 # Tests whether TYPE exists after having included INCLUDES, setting cache
1777 # variable VAR accordingly.
1778 ac_fn_c_check_type
()
1780 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782 $as_echo_n "checking for $2... " >&6; }
1783 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1784 $as_echo_n "(cached) " >&6
1787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1799 if ac_fn_c_try_compile
"$LINENO"; then :
1800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1812 if ac_fn_c_try_compile
"$LINENO"; then :
1817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1826 } # ac_fn_c_check_type
1828 # ac_fn_c_find_uintX_t LINENO BITS VAR
1829 # ------------------------------------
1830 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1832 ac_fn_c_find_uintX_t
()
1834 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1836 $as_echo_n "checking for uint$2_t... " >&6; }
1837 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1838 $as_echo_n "(cached) " >&6
1841 for ac_type
in uint
$2_t 'unsigned int' 'unsigned long int' \
1842 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1845 $ac_includes_default
1849 static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)];
1856 if ac_fn_c_try_compile
"$LINENO"; then :
1861 eval "$3=\$ac_type" ;;
1864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1866 if test "x$as_val" = x
""no
; then :
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1878 } # ac_fn_c_find_uintX_t
1880 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1881 # --------------------------------------------
1882 # Tries to find the compile-time value of EXPR in a program that includes
1883 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1885 ac_fn_c_compute_int
()
1887 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1888 if test "$cross_compiling" = yes; then
1889 # Depending upon the size, compute the lo and hi bounds.
1890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1896 static int test_array [1 - 2 * !(($2) >= 0)];
1903 if ac_fn_c_try_compile
"$LINENO"; then :
1906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1912 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1919 if ac_fn_c_try_compile
"$LINENO"; then :
1920 ac_hi
=$ac_mid; break
1922 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1923 if test $ac_lo -le $ac_mid; then
1927 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1938 static int test_array [1 - 2 * !(($2) < 0)];
1945 if ac_fn_c_try_compile
"$LINENO"; then :
1948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1954 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1961 if ac_fn_c_try_compile
"$LINENO"; then :
1962 ac_lo
=$ac_mid; break
1964 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1965 if test $ac_mid -le $ac_hi; then
1969 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1979 # Binary search between lo and hi bounds.
1980 while test "x$ac_lo" != "x$ac_hi"; do
1981 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1988 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1995 if ac_fn_c_try_compile
"$LINENO"; then :
1998 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2003 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2010 static long int longval () { return $2; }
2011 static unsigned long int ulongval () { return $2; }
2018 FILE *f = fopen ("conftest.val", "w");
2023 long int i = longval ();
2026 fprintf (f, "%ld", i);
2030 unsigned long int i = ulongval ();
2033 fprintf (f, "%lu", i);
2035 /* Do not output a trailing newline, as this causes \r\n confusion
2036 on some platforms. */
2037 return ferror (f) || fclose (f) != 0;
2043 if ac_fn_c_try_run
"$LINENO"; then :
2044 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2048 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2049 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2053 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2056 } # ac_fn_c_compute_int
2058 # ac_fn_c_check_func LINENO FUNC VAR
2059 # ----------------------------------
2060 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2061 ac_fn_c_check_func
()
2063 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2067 $as_echo_n "(cached) " >&6
2069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2071 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2073 #define $2 innocuous_$2
2075 /* System header to define __stub macros and hopefully few prototypes,
2076 which can conflict with char $2 (); below.
2077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2078 <limits.h> exists even on freestanding compilers. */
2081 # include <limits.h>
2083 # include <assert.h>
2088 /* Override any GCC internal prototype to avoid an error.
2089 Use char because int might match the return type of a GCC
2090 builtin and then its argument prototype would still apply. */
2095 /* The GNU C library defines this for functions which it implements
2096 to always fail with ENOSYS. Some functions are actually named
2097 something starting with __ and the normal name is an alias. */
2098 #if defined __stub_$2 || defined __stub___$2
2110 if ac_fn_c_try_link
"$LINENO"; then :
2115 rm -f core conftest.err conftest.
$ac_objext \
2116 conftest
$ac_exeext conftest.
$ac_ext
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2121 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2123 } # ac_fn_c_check_func
2125 # ac_fn_c_check_decl LINENO SYMBOL VAR
2126 # ------------------------------------
2127 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2128 ac_fn_c_check_decl
()
2130 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2131 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2132 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2134 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2135 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2136 $as_echo_n "(cached) " >&6
2138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2144 #ifndef $as_decl_name
2146 (void) $as_decl_use;
2148 (void) $as_decl_name;
2156 if ac_fn_c_try_compile
"$LINENO"; then :
2161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2165 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2168 } # ac_fn_c_check_decl
2170 # ac_fn_cxx_try_link LINENO
2171 # -------------------------
2172 # Try to link conftest.$ac_ext, and return whether this succeeded.
2173 ac_fn_cxx_try_link
()
2175 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2176 rm -f conftest.
$ac_objext conftest
$ac_exeext
2177 if { { ac_try
="$ac_link"
2179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2180 *) ac_try_echo=$ac_try;;
2182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2183 $as_echo "$ac_try_echo"; } >&5
2184 (eval "$ac_link") 2>conftest.err
2186 if test -s conftest.err; then
2187 grep -v '^ *+' conftest.err >conftest.er1
2188 cat conftest.er1 >&5
2189 mv -f conftest.er1 conftest.err
2191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2192 test $ac_status = 0; } && {
2193 test -z "$ac_cxx_werror_flag" ||
2194 test ! -s conftest.err
2195 } && test -s conftest$ac_exeext && {
2196 test "$cross_compiling" = yes ||
2197 $as_test_x conftest$ac_exeext
2201 $as_echo "$as_me: failed program was:" >&5
2202 sed 's/^/| /' conftest.$ac_ext >&5
2206 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2207 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2208 # interfere with the next link command; also delete a directory that is
2209 # left behind by Apple's compiler. We do this before executing the actions.
2210 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2211 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2214 } # ac_fn_cxx_try_link
2215 cat >config.log <<_ACEOF
2216 This file contains any messages produced by compilers while
2217 running configure, to aid debugging if configure makes a mistake.
2219 It was created by cpplib $as_me , which was
2220 generated by GNU Autoconf 2.64. Invocation command line was
2232 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2233 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2234 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2235 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2236 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2238 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2239 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2241 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2242 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2243 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2244 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2245 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2246 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2247 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir=.
2256 $as_echo "PATH: $as_dir"
2272 # Keep a trace of the command line.
2273 # Strip out --no-create and --no-recursion so they do not pile up.
2274 # Strip out --silent because we don't want to record it for future runs.
2275 # Also quote any args containing shell meta-characters.
2276 # Make two passes to allow for proper duplicate-argument suppression.
2280 ac_must_keep_next=false
2286 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2287 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2288 | -silent | --silent | --silen | --sile | --sil)
2291 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2294 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2296 as_fn_append ac_configure_args1 " '$ac_arg'"
2297 if test $ac_must_keep_next = true; then
2298 ac_must_keep_next=false # Got value, back to normal.
2301 *=* | --config-cache | -C | -disable-* | --disable-* \
2302 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2303 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2304 | -with-* | --with-* | -without-* | --without-* | --x)
2305 case "$ac_configure_args0 " in
2306 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2309 -* ) ac_must_keep_next=true ;;
2312 as_fn_append ac_configure_args " '$ac_arg'"
2317 { ac_configure_args0=; unset ac_configure_args0;}
2318 { ac_configure_args1=; unset ac_configure_args1;}
2320 # When interrupted or exit'd, cleanup temporary files, and complete
2321 # config.log. We remove comments because anyway the quotes in there
2322 # would cause problems or look ugly.
2323 # WARNING: Use '\'' to represent an apostrophe within the trap.
2324 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2325 trap 'exit_status=$?
2326 # Save into config.log some information that might help in debugging.
2331 ## ---------------- ##
2332 ## Cache variables. ##
2333 ## ---------------- ##
2336 # The following way of writing the cache mishandles newlines in values,
2338 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2339 eval ac_val=\$$ac_var
2343 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2344 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2347 _ | IFS | as_nl) ;; #(
2348 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2349 *) { eval $ac_var=; unset $ac_var;} ;;
2354 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2355 *${as_nl}ac_space=\ *)
2357 "s/'\''/'\''\\\\'\'''\''/g;
2358 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2361 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2369 ## ----------------- ##
2370 ## Output variables. ##
2371 ## ----------------- ##
2374 for ac_var in $ac_subst_vars
2376 eval ac_val=\$$ac_var
2378 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2380 $as_echo "$ac_var='\''$ac_val'\''"
2384 if test -n "$ac_subst_files"; then
2386 ## ------------------- ##
2387 ## File substitutions. ##
2388 ## ------------------- ##
2391 for ac_var in $ac_subst_files
2393 eval ac_val=\$$ac_var
2395 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2397 $as_echo "$ac_var='\''$ac_val'\''"
2402 if test -s confdefs.h; then
2412 test "$ac_signal" != 0 &&
2413 $as_echo "$as_me: caught signal $ac_signal"
2414 $as_echo "$as_me: exit $exit_status"
2416 rm -f core *.core core.conftest.* &&
2417 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2420 for ac_signal in 1 2 13 15; do
2421 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2425 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2426 rm -f -r conftest* confdefs.h
2428 $as_echo "/* confdefs.h */" > confdefs.h
2430 # Predefined preprocessor variables.
2432 cat >>confdefs.h <<_ACEOF
2433 #define PACKAGE_NAME "$PACKAGE_NAME"
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2440 cat >>confdefs.h <<_ACEOF
2441 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2444 cat >>confdefs.h <<_ACEOF
2445 #define PACKAGE_STRING "$PACKAGE_STRING"
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_URL "$PACKAGE_URL"
2457 # Let the site file select an alternate cache file if it wants to.
2458 # Prefer an explicitly selected file to automatically selected ones.
2461 if test -n "$CONFIG_SITE"; then
2462 ac_site_file1=$CONFIG_SITE
2463 elif test "x$prefix" != xNONE; then
2464 ac_site_file1=$prefix/share/config.site
2465 ac_site_file2=$prefix/etc/config.site
2467 ac_site_file1=$ac_default_prefix/share/config.site
2468 ac_site_file2=$ac_default_prefix/etc/config.site
2470 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2472 test "x$ac_site_file" = xNONE && continue
2473 if test -r "$ac_site_file"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2475 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2476 sed 's/^/| /' "$ac_site_file" >&5
2481 if test -r "$cache_file"; then
2482 # Some versions of bash will fail to source /dev/null (special
2483 # files actually), so we avoid doing that.
2484 if test -f "$cache_file"; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2486 $as_echo "$as_me: loading cache $cache_file" >&6;}
2488 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2489 *) . "./$cache_file";;
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2494 $as_echo "$as_me: creating cache $cache_file" >&6;}
2498 # Check that the precious variables saved in the cache have kept the same
2500 ac_cache_corrupted=false
2501 for ac_var in $ac_precious_vars; do
2502 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2503 eval ac_new_set=\$ac_env_${ac_var}_set
2504 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2505 eval ac_new_val=\$ac_env_${ac_var}_value
2506 case $ac_old_set,$ac_new_set in
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2509 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2510 ac_cache_corrupted=: ;;
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2513 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2514 ac_cache_corrupted=: ;;
2517 if test "x$ac_old_val" != "x$ac_new_val"; then
2518 # differences in whitespace do not lead to failure.
2519 ac_old_val_w=`echo x
$ac_old_val`
2520 ac_new_val_w=`echo x
$ac_new_val`
2521 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2523 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2524 ac_cache_corrupted=:
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2527 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2528 eval $ac_var=\$ac_old_val
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2531 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2533 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2536 # Pass precious variables to config.status.
2537 if test "$ac_new_set" = set; then
2539 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2540 *) ac_arg=$ac_var=$ac_new_val ;;
2542 case " $ac_configure_args " in
2543 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2544 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2548 if $ac_cache_corrupted; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2552 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2553 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2555 ## -------------------- ##
2556 ## Main body of script. ##
2557 ## -------------------- ##
2560 ac_cpp='$CPP $CPPFLAGS'
2561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2572 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2573 for ac_t in install-sh install.sh shtool; do
2574 if test -f "$ac_dir/$ac_t"; then
2576 ac_install_sh="$ac_aux_dir/$ac_t -c"
2581 if test -z "$ac_aux_dir"; then
2582 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2585 # These three variables are undocumented and unsupported,
2586 # and are intended to be withdrawn in a future Autoconf release.
2587 # They can cause serious problems if a builder's source tree is in a directory
2588 # whose full name contains unusual characters.
2589 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2590 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2591 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2594 # Make sure we can run config.sub.
2595 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2596 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2599 $as_echo_n "checking build system type... " >&6; }
2600 if test "${ac_cv_build+set}" = set; then :
2601 $as_echo_n "(cached) " >&6
2603 ac_build_alias=$build_alias
2604 test "x$ac_build_alias" = x &&
2605 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2606 test "x$ac_build_alias" = x &&
2607 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2608 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2609 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2613 $as_echo "$ac_cv_build" >&6; }
2614 case $ac_cv_build in
2616 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2619 ac_save_IFS=$IFS; IFS='-'
2625 # Remember, the first character of IFS is used to create $*,
2626 # except with old shells:
2629 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2633 $as_echo_n "checking host system type... " >&6; }
2634 if test "${ac_cv_host+set}" = set; then :
2635 $as_echo_n "(cached) " >&6
2637 if test "x$host_alias" = x; then
2638 ac_cv_host=$ac_cv_build
2640 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2641 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2646 $as_echo "$ac_cv_host" >&6; }
2649 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2652 ac_save_IFS=$IFS; IFS='-'
2658 # Remember, the first character of IFS is used to create $*,
2659 # except with old shells:
2662 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2666 $as_echo_n "checking target system type... " >&6; }
2667 if test "${ac_cv_target+set}" = set; then :
2668 $as_echo_n "(cached) " >&6
2670 if test "x$target_alias" = x; then
2671 ac_cv_target=$ac_cv_host
2673 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2674 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2679 $as_echo "$ac_cv_target" >&6; }
2680 case $ac_cv_target in
2682 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2684 target=$ac_cv_target
2685 ac_save_IFS=$IFS; IFS='-'
2691 # Remember, the first character of IFS is used to create $*,
2692 # except with old shells:
2695 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2698 # The aliases save the names the user supplied, while $host etc.
2699 # will get canonicalized.
2700 test -n "$target_alias" &&
2701 test "$program_prefix$program_suffix$program_transform_name" = \
2703 program_prefix=${target_alias}-
2706 # Checks for programs.
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2708 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2710 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2711 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2712 $as_echo_n "(cached) " >&6
2714 cat >conftest.make <<\_ACEOF
2717 @echo '@@@%%%=$(MAKE)=@@@%%%'
2719 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2720 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2722 eval ac_cv_prog_make_${ac_make}_set=yes;;
2724 eval ac_cv_prog_make_${ac_make}_set=no;;
2728 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2730 $as_echo "yes" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2735 SET_MAKE="MAKE=${MAKE-make}"
2738 # Find a good install program. We prefer a C program (faster),
2739 # so one script is as good as another. But avoid the broken or
2740 # incompatible versions:
2741 # SysV /etc/install, /usr/sbin/install
2742 # SunOS /usr/etc/install
2743 # IRIX /sbin/install
2745 # AmigaOS /C/install, which installs bootblocks on floppy discs
2746 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2747 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2748 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2749 # OS/2's system install, which has a completely different semantic
2750 # ./install, which can be erroneously created by make from ./install.sh.
2751 # Reject install programs that cannot install multiple files.
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2753 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2754 if test -z "$INSTALL"; then
2755 if test "${ac_cv_path_install+set}" = set; then :
2756 $as_echo_n "(cached) " >&6
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir=.
2763 # Account for people who put trailing slashes in PATH elements.
2764 case $as_dir/ in #((
2765 ./ | .// | /[cC]/* | \
2766 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2767 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2770 # OSF1 and SCO ODT 3.0 have their own names for install.
2771 # Don't use installbsd from OSF since it installs stuff as root
2773 for ac_prog in ginstall scoinst install; do
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2776 if test $ac_prog = install &&
2777 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2778 # AIX install. It has an incompatible calling convention.
2780 elif test $ac_prog = install &&
2781 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2782 # program-specific install script used by HP pwplus--don't use.
2785 rm -rf conftest.one conftest.two conftest.dir
2786 echo one > conftest.one
2787 echo two > conftest.two
2789 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2790 test -s conftest.one && test -s conftest.two &&
2791 test -s conftest.dir/conftest.one &&
2792 test -s conftest.dir/conftest.two
2794 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2807 rm -rf conftest.one conftest.two conftest.dir
2810 if test "${ac_cv_path_install+set}" = set; then
2811 INSTALL=$ac_cv_path_install
2813 # As a last resort, use the slow shell script. Don't cache a
2814 # value for INSTALL within a source directory, because that will
2815 # break other packages using the cache if that directory is
2816 # removed, or if the value is a relative name.
2817 INSTALL=$ac_install_sh
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2821 $as_echo "$INSTALL" >&6; }
2823 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2824 # It thinks the first close brace ends the variable substitution.
2825 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2827 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2829 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2832 ac_cpp='$CPP $CPPFLAGS'
2833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 if test -n "$ac_tool_prefix"; then
2837 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2838 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840 $as_echo_n "checking for $ac_word... " >&6; }
2841 if test "${ac_cv_prog_CC+set}" = set; then :
2842 $as_echo_n "(cached) " >&6
2844 if test -n "$CC"; then
2845 ac_cv_prog_CC="$CC" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2854 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 if test -n "$CC"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867 $as_echo "$CC" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2875 if test -z "$ac_cv_prog_CC"; then
2877 # Extract the first word of "gcc", so it can be a program name with args.
2878 set dummy gcc; ac_word=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$ac_ct_CC"; then
2885 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir=.
2892 for ac_exec_ext in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894 ac_cv_prog_ac_ct_CC="gcc"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2905 if test -n "$ac_ct_CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2907 $as_echo "$ac_ct_CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2913 if test "x$ac_ct_CC" = x; then
2916 case $cross_compiling:$ac_tool_warned in
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2920 ac_tool_warned=yes ;;
2928 if test -z "$CC"; then
2929 if test -n "$ac_tool_prefix"; then
2930 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2931 set dummy ${ac_tool_prefix}cc; ac_word=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if test "${ac_cv_prog_CC+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$CC"; then
2938 ac_cv_prog_CC="$CC" # Let the user override the test.
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947 ac_cv_prog_CC="${ac_tool_prefix}cc"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 if test -n "$CC"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2960 $as_echo "$CC" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2969 if test -z "$CC"; then
2970 # Extract the first word of "cc", so it can be a program name with args.
2971 set dummy cc; ac_word=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if test "${ac_cv_prog_CC+set}" = set; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$CC"; then
2978 ac_cv_prog_CC="$CC" # Let the user override the test.
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2989 ac_prog_rejected=yes
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 if test $ac_prog_rejected = yes; then
3001 # We found a bogon in the path, so make sure we never use it.
3002 set dummy $ac_cv_prog_CC
3004 if test $# != 0; then
3005 # We chose a different compiler from the bogus one.
3006 # However, it has the same basename, so the bogon will be chosen
3007 # first if we set CC to just the basename; use the full file name.
3009 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3015 if test -n "$CC"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3017 $as_echo "$CC" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3025 if test -z "$CC"; then
3026 if test -n "$ac_tool_prefix"; then
3027 for ac_prog in cl.exe
3029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3030 set dummy $ac_tool_prefix$ac_prog; 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.
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3046 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 if test -n "$CC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059 $as_echo "$CC" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3066 test -n "$CC" && break
3069 if test -z "$CC"; then
3071 for ac_prog in cl.exe
3073 # Extract the first word of "$ac_prog", so it can be a program name with args.
3074 set dummy $ac_prog; ac_word=$2
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3078 $as_echo_n "(cached) " >&6
3080 if test -n "$ac_ct_CC"; then
3081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir=.
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3090 ac_cv_prog_ac_ct_CC="$ac_prog"
3091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3101 if test -n "$ac_ct_CC"; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3103 $as_echo "$ac_ct_CC" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
3110 test -n "$ac_ct_CC" && break
3113 if test "x$ac_ct_CC" = x; then
3116 case $cross_compiling:$ac_tool_warned in
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3120 ac_tool_warned=yes ;;
3129 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3131 as_fn_error "no acceptable C compiler found
in \
$PATH
3132 See \
`config.log' for more details." "$LINENO" 5; }
3134 # Provide some information about the compiler.
3135 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3138 for ac_option in --version -v -V -qversion; do
3139 { { ac_try="$ac_compiler $ac_option >&5"
3141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3142 *) ac_try_echo
=$ac_try;;
3144 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145 $as_echo "$ac_try_echo"; } >&5
3146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3148 if test -s conftest.err
; then
3150 ... rest of stderr output deleted ...
3151 10q' conftest.err
>conftest.er1
3152 cat conftest.er1
>&5
3153 rm -f conftest.er1 conftest.err
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; }
3159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3170 ac_clean_files_save
=$ac_clean_files
3171 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3172 # Try to create an executable without -o first, disregard a.out.
3173 # It will help us diagnose broken compilers, and finding out an intuition
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3176 $as_echo_n "checking for C compiler default output file name... " >&6; }
3177 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3179 # The possible output files:
3180 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3183 for ac_file
in $ac_files
3186 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3187 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3192 if { { ac_try
="$ac_link_default"
3194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_link_default") 2>&5
3201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3202 test $ac_status = 0; }; then :
3203 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3204 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3205 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3206 # so that the user can short-circuit this test for compilers unknown to
3208 for ac_file in $ac_files ''
3210 test -f "$ac_file" || continue
3212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3215 # We found the default executable, but exeext='' is most
3219 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3221 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3223 # We set ac_cv_exeext here because the later test for it is not
3224 # safe: cross compilers may not add the suffix if given an `-o'
3225 # argument, so we may need to know it at that point already.
3226 # Even if this section looks crufty: it has the advantage of
3233 test "$ac_cv_exeext" = no && ac_cv_exeext=
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3239 $as_echo "$ac_file" >&6; }
3240 if test -z "$ac_file"; then :
3241 $as_echo "$as_me: failed program was:" >&5
3242 sed 's
/^
/|
/' conftest.$ac_ext >&5
3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3245 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3246 { as_fn_set_status 77
3247 as_fn_error "C compiler cannot create executables
3248 See \`config.log
' for more details." "$LINENO" 5; }; }
3250 ac_exeext=$ac_cv_exeext
3252 # Check that the compiler produces executables we can run. If not, either
3253 # the compiler is broken, or we cross compile.
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3255 $as_echo_n "checking whether the C compiler works... " >&6; }
3256 # If not cross compiling, check that we can run a simple program.
3257 if test "$cross_compiling" != yes; then
3258 if { ac_try='.
/$ac_file'
3259 { { case "(($ac_try" in
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_try") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; }; then
3271 if test "$cross_compiling" = maybe; then
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3276 as_fn_error "cannot run C compiled programs.
3277 If you meant to cross compile, use \`--host'.
3278 See \`config.log' for more details.
" "$LINENO" 5; }
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3283 $as_echo "yes" >&6; }
3285 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3286 ac_clean_files=$ac_clean_files_save
3287 # Check that the compiler produces executables we can run. If not, either
3288 # the compiler is broken, or we cross compile.
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3290 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3292 $as_echo "$cross_compiling" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3295 $as_echo_n "checking
for suffix of executables...
" >&6; }
3296 if { { ac_try="$ac_link"
3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3301 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3302 $as_echo "$ac_try_echo"; } >&5
3303 (eval "$ac_link") 2>&5
3305 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3306 test $ac_status = 0; }; then :
3307 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3308 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3309 # work properly (i.e., refer to `conftest.exe'), while it won't with
3311 for ac_file in conftest.exe conftest conftest.*; do
3312 test -f "$ac_file" || continue
3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3315 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323 as_fn_error "cannot compute suffix of executables: cannot compile and link
3324 See \`config.log' for more details.
" "$LINENO" 5; }
3326 rm -f conftest$ac_cv_exeext
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3328 $as_echo "$ac_cv_exeext" >&6; }
3330 rm -f conftest.$ac_ext
3331 EXEEXT=$ac_cv_exeext
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3334 $as_echo_n "checking
for suffix of object files...
" >&6; }
3335 if test "${ac_cv_objext+set}" = set; then :
3336 $as_echo_n "(cached
) " >&6
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3349 rm -f conftest.o conftest.obj
3350 if { { ac_try="$ac_compile"
3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353 *) ac_try_echo=$ac_try;;
3355 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3356 $as_echo "$ac_try_echo"; } >&5
3357 (eval "$ac_compile") 2>&5
3359 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3360 test $ac_status = 0; }; then :
3361 for ac_file in conftest.o conftest.obj conftest.*; do
3362 test -f "$ac_file" || continue;
3364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3365 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3370 $as_echo "$as_me: failed program was
:" >&5
3371 sed 's/^/| /' conftest.$ac_ext >&5
3373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3375 as_fn_error "cannot compute suffix of object files: cannot compile
3376 See \`config.log' for more details.
" "$LINENO" 5; }
3378 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3381 $as_echo "$ac_cv_objext" >&6; }
3382 OBJEXT=$ac_cv_objext
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3385 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3386 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3387 $as_echo_n "(cached
) " >&6
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3403 if ac_fn_c_try_compile "$LINENO"; then :
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3413 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3414 if test $ac_compiler_gnu = yes; then
3419 ac_test_CFLAGS=${CFLAGS+set}
3420 ac_save_CFLAGS=$CFLAGS
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3422 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3423 if test "${ac_cv_prog_cc_g+set}" = set; then :
3424 $as_echo_n "(cached
) " >&6
3426 ac_save_c_werror_flag=$ac_c_werror_flag
3427 ac_c_werror_flag=yes
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3441 if ac_fn_c_try_compile "$LINENO"; then :
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3456 if ac_fn_c_try_compile "$LINENO"; then :
3459 ac_c_werror_flag=$ac_save_c_werror_flag
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3472 if ac_fn_c_try_compile "$LINENO"; then :
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 ac_c_werror_flag=$ac_save_c_werror_flag
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3483 $as_echo "$ac_cv_prog_cc_g" >&6; }
3484 if test "$ac_test_CFLAGS" = set; then
3485 CFLAGS=$ac_save_CFLAGS
3486 elif test $ac_cv_prog_cc_g = yes; then
3487 if test "$GCC" = yes; then
3493 if test "$GCC" = yes; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3500 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3501 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3502 $as_echo_n "(cached
) " >&6
3504 ac_cv_prog_cc_c89=no
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3510 #include <sys/types.h>
3511 #include <sys/stat.h>
3512 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3513 struct buf { int x; };
3514 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3515 static char *e (p, i)
3521 static char *f (char * (*g) (char **, int), char **p, ...)
3526 s = g (p, va_arg (v,int));
3531 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3532 function prototypes and stuff, but not '\xHH' hex character constants.
3533 These don't provoke an error unfortunately, instead are silently treated
3534 as 'x'. The following induces an error, until -std is added to get
3535 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3536 array size at least. It's necessary to write '\x00'==0 to get something
3537 that's true only with -std. */
3538 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3540 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3541 inside strings and character constants. */
3543 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3545 int test (int i, double x);
3546 struct s1 {int (*f) (int a);};
3547 struct s2 {int (*f) (double a);};
3548 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3554 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3559 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3560 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3562 CC="$ac_save_CC $ac_arg"
3563 if ac_fn_c_try_compile "$LINENO"; then :
3564 ac_cv_prog_cc_c89=$ac_arg
3566 rm -f core conftest.err conftest.$ac_objext
3567 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3569 rm -f conftest.$ac_ext
3574 case "x
$ac_cv_prog_cc_c89" in
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3577 $as_echo "none needed
" >&6; } ;;
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3580 $as_echo "unsupported
" >&6; } ;;
3582 CC="$CC $ac_cv_prog_cc_c89"
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3584 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3586 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3597 ac_cpp='$CXXCPP $CPPFLAGS'
3598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3601 if test -z "$CXX"; then
3602 if test -n "$CCC"; then
3605 if test -n "$ac_tool_prefix"; then
3606 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3609 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3611 $as_echo_n "checking
for $ac_word...
" >&6; }
3612 if test "${ac_cv_prog_CXX+set}" = set; then :
3613 $as_echo_n "(cached
) " >&6
3615 if test -n "$CXX"; then
3616 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3636 if test -n "$CXX"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX" >&5
3638 $as_echo "$CXX" >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3641 $as_echo "no
" >&6; }
3645 test -n "$CXX" && break
3648 if test -z "$CXX"; then
3650 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3652 # Extract the first word of "$ac_prog", so it can be a program name with args.
3653 set dummy $ac_prog; ac_word=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3655 $as_echo_n "checking
for $ac_word...
" >&6; }
3656 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3657 $as_echo_n "(cached
) " >&6
3659 if test -n "$ac_ct_CXX"; then
3660 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir=.
3667 for ac_exec_ext in '' $ac_executable_extensions; do
3668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3669 ac_cv_prog_ac_ct_CXX="$ac_prog"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3679 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3680 if test -n "$ac_ct_CXX"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CXX" >&5
3682 $as_echo "$ac_ct_CXX" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3685 $as_echo "no
" >&6; }
3689 test -n "$ac_ct_CXX" && break
3692 if test "x
$ac_ct_CXX" = x; then
3695 case $cross_compiling:$ac_tool_warned in
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3698 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3699 ac_tool_warned=yes ;;
3707 # Provide some information about the compiler.
3708 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C
++ compiler version
" >&5
3711 for ac_option in --version -v -V -qversion; do
3712 { { ac_try="$ac_compiler $ac_option >&5"
3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3717 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 $as_echo "$ac_try_echo"; } >&5
3719 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3721 if test -s conftest.err; then
3723 ... rest of stderr output deleted ...
3724 10q' conftest.err >conftest.er1
3725 cat conftest.er1 >&5
3726 rm -f conftest.er1 conftest.err
3728 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3729 test $ac_status = 0; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
++ compiler
" >&5
3733 $as_echo_n "checking whether we are using the GNU C
++ compiler...
" >&6; }
3734 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3735 $as_echo_n "(cached
) " >&6
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3751 if ac_fn_cxx_try_compile "$LINENO"; then :
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_cxx_compiler_gnu" >&5
3761 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3762 if test $ac_compiler_gnu = yes; then
3767 ac_test_CXXFLAGS=${CXXFLAGS+set}
3768 ac_save_CXXFLAGS=$CXXFLAGS
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX accepts
-g" >&5
3770 $as_echo_n "checking whether
$CXX accepts
-g...
" >&6; }
3771 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3772 $as_echo_n "(cached
) " >&6
3774 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3775 ac_cxx_werror_flag=yes
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3789 if ac_fn_cxx_try_compile "$LINENO"; then :
3790 ac_cv_prog_cxx_g=yes
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_cxx_try_compile "$LINENO"; then :
3807 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 if ac_fn_cxx_try_compile "$LINENO"; then :
3821 ac_cv_prog_cxx_g=yes
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cxx_g" >&5
3831 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3832 if test "$ac_test_CXXFLAGS" = set; then
3833 CXXFLAGS=$ac_save_CXXFLAGS
3834 elif test $ac_cv_prog_cxx_g = yes; then
3835 if test "$GXX" = yes; then
3841 if test "$GXX" = yes; then
3848 ac_cpp='$CPP $CPPFLAGS'
3849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3853 if test -n "$ac_tool_prefix"; then
3854 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
3855 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3857 $as_echo_n "checking
for $ac_word...
" >&6; }
3858 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3859 $as_echo_n "(cached
) " >&6
3861 if test -n "$RANLIB"; then
3862 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3871 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
3872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3881 RANLIB=$ac_cv_prog_RANLIB
3882 if test -n "$RANLIB"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
3884 $as_echo "$RANLIB" >&6; }
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3887 $as_echo "no
" >&6; }
3892 if test -z "$ac_cv_prog_RANLIB"; then
3893 ac_ct_RANLIB=$RANLIB
3894 # Extract the first word of "ranlib
", so it can be a program name with args.
3895 set dummy ranlib; ac_word=$2
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3897 $as_echo_n "checking
for $ac_word...
" >&6; }
3898 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3899 $as_echo_n "(cached
) " >&6
3901 if test -n "$ac_ct_RANLIB"; then
3902 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3908 test -z "$as_dir" && as_dir=.
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3911 ac_cv_prog_ac_ct_RANLIB="ranlib
"
3912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3921 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3922 if test -n "$ac_ct_RANLIB"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
3924 $as_echo "$ac_ct_RANLIB" >&6; }
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3927 $as_echo "no
" >&6; }
3930 if test "x
$ac_ct_RANLIB" = x; then
3933 case $cross_compiling:$ac_tool_warned in
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3936 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3937 ac_tool_warned=yes ;;
3939 RANLIB=$ac_ct_RANLIB
3942 RANLIB="$ac_cv_prog_RANLIB"
3948 ac_cpp='$CPP $CPPFLAGS'
3949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3953 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3954 # On Suns, sometimes $CPP names a directory.
3955 if test -n "$CPP" && test -d "$CPP"; then
3958 if test -z "$CPP"; then
3959 if test "${ac_cv_prog_CPP+set}" = set; then :
3960 $as_echo_n "(cached
) " >&6
3962 # Double quotes because CPP needs to be expanded
3963 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3966 for ac_c_preproc_warn_flag in '' yes
3968 # Use a header file that comes with gcc, so configuring glibc
3969 # with a fresh cross-compiler works.
3970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3971 # <limits.h> exists even on freestanding compilers.
3972 # On the NeXT, cc -E runs the code through the compiler's parser,
3973 # not just through cpp. "Syntax error
" is here to catch this case.
3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3977 # include <limits.h>
3979 # include <assert.h>
3983 if ac_fn_c_try_cpp "$LINENO"; then :
3986 # Broken: fails on valid input.
3989 rm -f conftest.err conftest.$ac_ext
3991 # OK, works on sane cases. Now check whether nonexistent headers
3992 # can be detected and how.
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
3995 #include <ac_nonexistent.h>
3997 if ac_fn_c_try_cpp "$LINENO"; then :
3998 # Broken: success on invalid input.
4001 # Passes both tests.
4005 rm -f conftest.err conftest.$ac_ext
4008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4009 rm -f conftest.err conftest.$ac_ext
4010 if $ac_preproc_ok; then :
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
4023 $as_echo "$CPP" >&6; }
4025 for ac_c_preproc_warn_flag in '' yes
4027 # Use a header file that comes with gcc, so configuring glibc
4028 # with a fresh cross-compiler works.
4029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4030 # <limits.h> exists even on freestanding compilers.
4031 # On the NeXT, cc -E runs the code through the compiler's parser,
4032 # not just through cpp. "Syntax error
" is here to catch this case.
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4036 # include <limits.h>
4038 # include <assert.h>
4042 if ac_fn_c_try_cpp "$LINENO"; then :
4045 # Broken: fails on valid input.
4048 rm -f conftest.err conftest.$ac_ext
4050 # OK, works on sane cases. Now check whether nonexistent headers
4051 # can be detected and how.
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4054 #include <ac_nonexistent.h>
4056 if ac_fn_c_try_cpp "$LINENO"; then :
4057 # Broken: success on invalid input.
4060 # Passes both tests.
4064 rm -f conftest.err conftest.$ac_ext
4067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4068 rm -f conftest.err conftest.$ac_ext
4069 if $ac_preproc_ok; then :
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4075 See \`config.log' for more details.
" "$LINENO" 5; }
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4086 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4087 if test "${ac_cv_path_GREP+set}" = set; then :
4088 $as_echo_n "(cached
) " >&6
4090 if test -z "$GREP"; then
4091 ac_path_GREP_found=false
4092 # Loop through the user's path and test for each of PROGNAME-LIST
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4097 test -z "$as_dir" && as_dir=.
4098 for ac_prog in grep ggrep; do
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4101 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4102 # Check for GNU ac_path_GREP and select it if it is found.
4103 # Check for GNU $ac_path_GREP
4104 case `"$ac_path_GREP" --version 2>&1` in
4106 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4109 $as_echo_n 0123456789 >"conftest.
in"
4112 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4113 mv "conftest.tmp
" "conftest.
in"
4114 cp "conftest.
in" "conftest.
nl"
4115 $as_echo 'GREP' >> "conftest.
nl"
4116 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4117 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4118 as_fn_arith $ac_count + 1 && ac_count=$as_val
4119 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4120 # Best one so far, save it but keep looking for a better one
4121 ac_cv_path_GREP="$ac_path_GREP"
4122 ac_path_GREP_max=$ac_count
4124 # 10*(2^10) chars as input seems more than enough
4125 test $ac_count -gt 10 && break
4127 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4130 $ac_path_GREP_found && break 3
4135 if test -z "$ac_cv_path_GREP"; then
4136 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4139 ac_cv_path_GREP=$GREP
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4144 $as_echo "$ac_cv_path_GREP" >&6; }
4145 GREP="$ac_cv_path_GREP"
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4149 $as_echo_n "checking
for egrep...
" >&6; }
4150 if test "${ac_cv_path_EGREP+set}" = set; then :
4151 $as_echo_n "(cached
) " >&6
4153 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4154 then ac_cv_path_EGREP="$GREP -E"
4156 if test -z "$EGREP"; then
4157 ac_path_EGREP_found=false
4158 # Loop through the user's path and test for each of PROGNAME-LIST
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4163 test -z "$as_dir" && as_dir=.
4164 for ac_prog in egrep; do
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4167 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4168 # Check for GNU ac_path_EGREP and select it if it is found.
4169 # Check for GNU $ac_path_EGREP
4170 case `"$ac_path_EGREP" --version 2>&1` in
4172 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4175 $as_echo_n 0123456789 >"conftest.
in"
4178 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4179 mv "conftest.tmp
" "conftest.
in"
4180 cp "conftest.
in" "conftest.
nl"
4181 $as_echo 'EGREP' >> "conftest.
nl"
4182 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4183 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4184 as_fn_arith $ac_count + 1 && ac_count=$as_val
4185 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4186 # Best one so far, save it but keep looking for a better one
4187 ac_cv_path_EGREP="$ac_path_EGREP"
4188 ac_path_EGREP_max=$ac_count
4190 # 10*(2^10) chars as input seems more than enough
4191 test $ac_count -gt 10 && break
4193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4196 $ac_path_EGREP_found && break 3
4201 if test -z "$ac_cv_path_EGREP"; then
4202 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4205 ac_cv_path_EGREP=$EGREP
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4211 $as_echo "$ac_cv_path_EGREP" >&6; }
4212 EGREP="$ac_cv_path_EGREP"
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
4216 $as_echo_n "checking
for ANSI C header files...
" >&6; }
4217 if test "${ac_cv_header_stdc+set}" = set; then :
4218 $as_echo_n "(cached
) " >&6
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4235 if ac_fn_c_try_compile "$LINENO"; then :
4236 ac_cv_header_stdc=yes
4238 ac_cv_header_stdc=no
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 if test $ac_cv_header_stdc = yes; then
4243 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4249 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
4250 $EGREP "memchr
" >/dev/null 2>&1; then :
4253 ac_cv_header_stdc=no
4259 if test $ac_cv_header_stdc = yes; then
4260 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4266 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
4267 $EGREP "free
" >/dev/null 2>&1; then :
4270 ac_cv_header_stdc=no
4276 if test $ac_cv_header_stdc = yes; then
4277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4278 if test "$cross_compiling" = yes; then :
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4285 #if ((' ' & 0x0FF) == 0x020)
4286 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4287 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4289 # define ISLOWER(c) \
4290 (('a' <= (c) && (c) <= 'i') \
4291 || ('j' <= (c) && (c) <= 'r') \
4292 || ('s' <= (c) && (c) <= 'z'))
4293 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4296 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4301 for (i = 0; i < 256; i++)
4302 if (XOR (islower (i), ISLOWER (i))
4303 || toupper (i) != TOUPPER (i))
4308 if ac_fn_c_try_run "$LINENO"; then :
4311 ac_cv_header_stdc=no
4313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4314 conftest.$ac_objext conftest.beam conftest.$ac_ext
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
4320 $as_echo "$ac_cv_header_stdc" >&6; }
4321 if test $ac_cv_header_stdc = yes; then
4323 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4327 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4328 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4329 inttypes.h stdint.h unistd.h
4331 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4332 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4334 eval as_val
=\$
$as_ac_Header
4335 if test "x$as_val" = x
""yes; then :
4336 cat >>confdefs.h
<<_ACEOF
4337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4346 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4347 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4354 if test "$MINIX" = yes; then
4356 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4359 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4362 $as_echo "#define _MINIX 1" >>confdefs.h
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4368 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4369 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4370 $as_echo_n "(cached) " >&6
4372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4375 # define __EXTENSIONS__ 1
4376 $ac_includes_default
4385 if ac_fn_c_try_compile
"$LINENO"; then :
4386 ac_cv_safe_to_define___extensions__
=yes
4388 ac_cv_safe_to_define___extensions__
=no
4390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4393 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4394 test $ac_cv_safe_to_define___extensions__ = yes &&
4395 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4397 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4399 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4401 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4403 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4406 # Check whether --enable-largefile was given.
4407 if test "${enable_largefile+set}" = set; then :
4408 enableval
=$enable_largefile;
4411 if test "$enable_largefile" != no
; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4414 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4415 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4416 $as_echo_n "(cached) " >&6
4418 ac_cv_sys_largefile_CC
=no
4419 if test "$GCC" != yes; then
4422 # IRIX 6.2 and later do not support large files by default,
4423 # so use the C compiler's -n32 option if that helps.
4424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4426 #include <sys/types.h>
4427 /* Check that off_t can represent 2**63 - 1 correctly.
4428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4429 since some C++ compilers masquerading as C compilers
4430 incorrectly reject 9223372036854775807. */
4431 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4433 && LARGE_OFF_T % 2147483647 == 1)
4443 if ac_fn_c_try_compile
"$LINENO"; then :
4446 rm -f core conftest.err conftest.
$ac_objext
4448 if ac_fn_c_try_compile
"$LINENO"; then :
4449 ac_cv_sys_largefile_CC
=' -n32'; break
4451 rm -f core conftest.err conftest.
$ac_objext
4455 rm -f conftest.
$ac_ext
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4459 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4460 if test "$ac_cv_sys_largefile_CC" != no
; then
4461 CC
=$CC$ac_cv_sys_largefile_CC
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4465 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4466 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4467 $as_echo_n "(cached) " >&6
4470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4472 #include <sys/types.h>
4473 /* Check that off_t can represent 2**63 - 1 correctly.
4474 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4475 since some C++ compilers masquerading as C compilers
4476 incorrectly reject 9223372036854775807. */
4477 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4478 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4479 && LARGE_OFF_T % 2147483647 == 1)
4489 if ac_fn_c_try_compile
"$LINENO"; then :
4490 ac_cv_sys_file_offset_bits
=no
; break
4492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4495 #define _FILE_OFFSET_BITS 64
4496 #include <sys/types.h>
4497 /* Check that off_t can represent 2**63 - 1 correctly.
4498 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4499 since some C++ compilers masquerading as C compilers
4500 incorrectly reject 9223372036854775807. */
4501 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4502 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4503 && LARGE_OFF_T % 2147483647 == 1)
4513 if ac_fn_c_try_compile
"$LINENO"; then :
4514 ac_cv_sys_file_offset_bits
=64; break
4516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4517 ac_cv_sys_file_offset_bits
=unknown
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4522 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4523 case $ac_cv_sys_file_offset_bits in #(
4526 cat >>confdefs.h
<<_ACEOF
4527 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4532 if test $ac_cv_sys_file_offset_bits = unknown
; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4534 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4535 if test "${ac_cv_sys_large_files+set}" = set; then :
4536 $as_echo_n "(cached) " >&6
4539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4541 #include <sys/types.h>
4542 /* Check that off_t can represent 2**63 - 1 correctly.
4543 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4544 since some C++ compilers masquerading as C compilers
4545 incorrectly reject 9223372036854775807. */
4546 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4547 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4548 && LARGE_OFF_T % 2147483647 == 1)
4558 if ac_fn_c_try_compile
"$LINENO"; then :
4559 ac_cv_sys_large_files
=no
; break
4561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4564 #define _LARGE_FILES 1
4565 #include <sys/types.h>
4566 /* Check that off_t can represent 2**63 - 1 correctly.
4567 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4568 since some C++ compilers masquerading as C compilers
4569 incorrectly reject 9223372036854775807. */
4570 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4571 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4572 && LARGE_OFF_T % 2147483647 == 1)
4582 if ac_fn_c_try_compile
"$LINENO"; then :
4583 ac_cv_sys_large_files
=1; break
4585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4586 ac_cv_sys_large_files
=unknown
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4591 $as_echo "$ac_cv_sys_large_files" >&6; }
4592 case $ac_cv_sys_large_files in #(
4595 cat >>confdefs.h
<<_ACEOF
4596 #define _LARGE_FILES $ac_cv_sys_large_files
4605 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
4606 for ac_prog
in aclocal
4608 # Extract the first word of "$ac_prog", so it can be a program name with args.
4609 set dummy
$ac_prog; ac_word
=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -n "$ACLOCAL"; then
4616 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4625 ac_cv_prog_ACLOCAL
="$ac_prog"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 ACLOCAL
=$ac_cv_prog_ACLOCAL
4636 if test -n "$ACLOCAL"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
4638 $as_echo "$ACLOCAL" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4645 test -n "$ACLOCAL" && break
4647 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
4649 for ac_prog
in autoconf
4651 # Extract the first word of "$ac_prog", so it can be a program name with args.
4652 set dummy
$ac_prog; ac_word
=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$AUTOCONF"; then
4659 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
4661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir
=.
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_AUTOCONF
="$ac_prog"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 AUTOCONF
=$ac_cv_prog_AUTOCONF
4679 if test -n "$AUTOCONF"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
4681 $as_echo "$AUTOCONF" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688 test -n "$AUTOCONF" && break
4690 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
4692 for ac_prog
in autoheader
4694 # Extract the first word of "$ac_prog", so it can be a program name with args.
4695 set dummy
$ac_prog; ac_word
=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then :
4699 $as_echo_n "(cached) " >&6
4701 if test -n "$AUTOHEADER"; then
4702 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
4704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir
=.
4709 for ac_exec_ext
in '' $ac_executable_extensions; do
4710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4711 ac_cv_prog_AUTOHEADER
="$ac_prog"
4712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
4722 if test -n "$AUTOHEADER"; then
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
4724 $as_echo "$AUTOHEADER" >&6; }
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4731 test -n "$AUTOHEADER" && break
4733 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
4736 # Figure out what compiler warnings we can enable.
4737 # See config/warnings.m4 for details.
4740 ac_cpp
='$CPP $CPPFLAGS'
4741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4746 save_CFLAGS
="$CFLAGS"
4747 for real_option
in -W -Wall -Wno-narrowing -Wwrite-strings \
4748 -Wmissing-format-attribute; do
4749 # Do the check with the no- prefix removed since gcc silently
4750 # accepts any -Wno-* option on purpose
4751 case $real_option in
4752 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4753 *) option
=$real_option ;;
4755 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4758 $as_echo_n "checking whether $CC supports $option... " >&6; }
4759 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4760 $as_echo_n "(cached) " >&6
4763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4774 if ac_fn_c_try_compile
"$LINENO"; then :
4775 eval "$as_acx_Woption=yes"
4777 eval "$as_acx_Woption=no"
4779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4782 eval ac_res
=\$
$as_acx_Woption
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4784 $as_echo "$ac_res" >&6; }
4785 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4786 warn
="$warn${warn:+ }$real_option"
4789 CFLAGS
="$save_CFLAGS"
4791 ac_cpp
='$CPP $CPPFLAGS'
4792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4798 ac_cpp
='$CPP $CPPFLAGS'
4799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4804 save_CFLAGS
="$CFLAGS"
4805 for real_option
in -Wstrict-prototypes -Wmissing-prototypes \
4806 -Wold-style-definition -Wc++-compat; do
4807 # Do the check with the no- prefix removed since gcc silently
4808 # accepts any -Wno-* option on purpose
4809 case $real_option in
4810 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4811 *) option
=$real_option ;;
4813 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4816 $as_echo_n "checking whether $CC supports $option... " >&6; }
4817 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4818 $as_echo_n "(cached) " >&6
4821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4832 if ac_fn_c_try_compile
"$LINENO"; then :
4833 eval "$as_acx_Woption=yes"
4835 eval "$as_acx_Woption=no"
4837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4840 eval ac_res
=\$
$as_acx_Woption
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4842 $as_echo "$ac_res" >&6; }
4843 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4844 c_warn
="$c_warn${c_warn:+ }$real_option"
4847 CFLAGS
="$save_CFLAGS"
4849 ac_cpp
='$CPP $CPPFLAGS'
4850 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4856 ac_cpp
='$CPP $CPPFLAGS'
4857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4862 # Do the check with the no- prefix removed from the warning options
4863 # since gcc silently accepts any -Wno-* option on purpose
4864 if test "$GCC" = yes; then :
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
4866 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
4867 if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then :
4868 $as_echo_n "(cached) " >&6
4870 save_CFLAGS
="$CFLAGS"
4871 CFLAGS
="-pedantic -Wlong-long"
4872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4883 if ac_fn_c_try_compile
"$LINENO"; then :
4884 acx_cv_prog_cc_pedantic__Wlong_long
=yes
4886 acx_cv_prog_cc_pedantic__Wlong_long
=no
4888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4889 CFLAGS
="$save_CFLAGS"
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
4892 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
4893 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
4894 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
4899 ac_cpp
='$CPP $CPPFLAGS'
4900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4906 # Disable exceptions and RTTI if building with g++
4908 ac_cpp
='$CPP $CPPFLAGS'
4909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4914 save_CFLAGS
="$CFLAGS"
4915 for real_option
in -fno-exceptions -fno-rtti; do
4916 # Do the check with the no- prefix removed since gcc silently
4917 # accepts any -Wno-* option on purpose
4918 case $real_option in
4919 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4920 *) option
=$real_option ;;
4922 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4925 $as_echo_n "checking whether $CC supports $option... " >&6; }
4926 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4927 $as_echo_n "(cached) " >&6
4930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4941 if ac_fn_c_try_compile
"$LINENO"; then :
4942 eval "$as_acx_Woption=yes"
4944 eval "$as_acx_Woption=no"
4946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4949 eval ac_res
=\$
$as_acx_Woption
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4951 $as_echo "$ac_res" >&6; }
4952 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4953 noexception_flags
="$noexception_flags${noexception_flags:+ }$real_option"
4956 CFLAGS
="$save_CFLAGS"
4958 ac_cpp
='$CPP $CPPFLAGS'
4959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4965 # Only enable with --enable-werror-always until existing warnings are
4968 ac_cpp
='$CPP $CPPFLAGS'
4969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4974 # Check whether --enable-werror-always was given.
4975 if test "${enable_werror_always+set}" = set; then :
4976 enableval
=$enable_werror_always;
4978 enable_werror_always
=no
4981 if test $enable_werror_always = yes; then :
4982 WERROR
="$WERROR${WERROR:+ }-Werror"
4986 ac_cpp
='$CPP $CPPFLAGS'
4987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4993 # Dependency checking.
4994 rm -rf .tst
2>/dev
/null
4995 mkdir .tst
2>/dev
/null
4996 if test -d .tst
; then
5001 rmdir .tst
2>/dev
/null
5003 DEPDIR
="${am__leading_dot}deps"
5005 ac_config_commands
="$ac_config_commands depdir"
5009 ac_cpp
='$CXXCPP $CPPFLAGS'
5010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5019 if ac_fn_cxx_try_compile
"$LINENO"; then :
5022 as_fn_error
"C++ compiler missing or inoperational" "$LINENO" 5
5024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5026 ac_cpp
='$CPP $CPPFLAGS'
5027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5031 depcc
="$CXX" am_compiler_list
=
5033 am_depcomp
=$ac_aux_dir/depcomp
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5035 $as_echo_n "checking dependency style of $depcc... " >&6; }
5036 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5037 $as_echo_n "(cached) " >&6
5039 if test -f "$am_depcomp"; then
5040 # We make a subdir and do the tests there. Otherwise we can end up
5041 # making bogus files that we don't know about and never remove. For
5042 # instance it was reported that on HP-UX the gcc test will end up
5043 # making a dummy file named `D' -- because `-MD' means `put the output
5046 # Copy depcomp to subdir because otherwise we won't find it if we're
5047 # using a relative directory.
5048 cp "$am_depcomp" conftest.dir
5050 # We will build objects and dependencies in a subdirectory because
5051 # it helps to detect inapplicable dependency modes. For instance
5052 # both Tru64's cc and ICC support -MD to output dependencies as a
5053 # side effect of compilation, but ICC will put the dependencies in
5054 # the current directory while Tru64 will put them in the object
5058 am_cv_CXX_dependencies_compiler_type
=none
5059 if test "$am_compiler_list" = ""; then
5060 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5062 for depmode
in $am_compiler_list; do
5063 if test $depmode = none
; then break; fi
5065 $as_echo "$as_me:$LINENO: trying $depmode" >&5
5066 # Setup a source with many dependencies, because some compilers
5067 # like to wrap large dependency lists on column 80 (with \), and
5068 # we should not choose a depcomp mode which is confused by this.
5070 # We need to recreate these files for each test, as the compiler may
5071 # overwrite some of them when testing with obscure command lines.
5072 # This happens at least with the AIX C compiler.
5074 for i
in 1 2 3 4 5 6; do
5075 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5076 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5077 # Solaris 8's {/usr,}/bin/sh.
5078 touch sub
/conftst
$i.h
5080 echo "include sub/conftest.Po" > confmf
5082 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5083 # mode. It turns out that the SunPro C++ compiler does not properly
5084 # handle `-M -o', and we need to detect this.
5085 depcmd
="depmode=$depmode \
5086 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5087 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5088 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
5089 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
5090 if env
$depcmd > conftest.err
2>&1 &&
5091 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
5092 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
5093 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
5094 # icc doesn't choke on unknown options, it will just issue warnings
5095 # or remarks (even with -Werror). So we grep stderr for any message
5096 # that says an option was ignored or not supported.
5097 # When given -MP, icc 7.0 and 7.1 complain thusly:
5098 # icc: Command line warning: ignoring option '-M'; no argument required
5099 # The diagnosis changed in icc 8.0:
5100 # icc: Command line remark: option '-MP' not supported
5101 if (grep 'ignoring option' conftest.err ||
5102 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5103 am_cv_CXX_dependencies_compiler_type
=$depmode
5104 $as_echo "$as_me:$LINENO: success" >&5
5108 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
5109 sed -e 's/^/| /' < conftest.err
>&5
5115 am_cv_CXX_dependencies_compiler_type
=none
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5120 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5121 if test x
${am_cv_CXX_dependencies_compiler_type-none} = xnone
5122 then as_fn_error
"no usable dependency style found" "$LINENO" 5
5123 else CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5128 # Checks for header files.
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5130 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5131 if test "${ac_cv_header_time+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5135 /* end confdefs.h. */
5136 #include <sys/types.h>
5137 #include <sys/time.h>
5143 if ((struct tm *) 0)
5149 if ac_fn_c_try_compile
"$LINENO"; then :
5150 ac_cv_header_time
=yes
5152 ac_cv_header_time
=no
5154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5157 $as_echo "$ac_cv_header_time" >&6; }
5158 if test $ac_cv_header_time = yes; then
5160 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
5165 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
5166 if test "${gcc_cv_header_string+set}" = set; then :
5167 $as_echo_n "(cached) " >&6
5169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5170 /* end confdefs.h. */
5172 #include <strings.h>
5181 if ac_fn_c_try_compile
"$LINENO"; then :
5182 gcc_cv_header_string
=yes
5184 gcc_cv_header_string
=no
5186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
5189 $as_echo "$gcc_cv_header_string" >&6; }
5190 if test $gcc_cv_header_string = yes; then
5192 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
5197 for ac_header
in locale.h fcntl.h limits.h stddef.h \
5198 stdlib.h
strings.h string.h sys
/file.h unistd.h
5200 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5201 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5202 eval as_val
=\$
$as_ac_Header
5203 if test "x$as_val" = x
""yes; then :
5204 cat >>confdefs.h
<<_ACEOF
5205 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5213 # Checks for typedefs, structures, and compiler characteristics.
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5215 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5216 if test "${ac_cv_c_bigendian+set}" = set; then :
5217 $as_echo_n "(cached) " >&6
5219 ac_cv_c_bigendian
=unknown
5220 # See if we're dealing with a universal compiler.
5221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5223 #ifndef __APPLE_CC__
5224 not a universal capable compiler
5229 if ac_fn_c_try_compile
"$LINENO"; then :
5231 # Check for potential -arch flags. It is not universal unless
5232 # there are at least two -arch flags with different values.
5235 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5236 if test -n "$ac_prev"; then
5238 i?
86 | x86_64 | ppc | ppc64
)
5239 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5242 ac_cv_c_bigendian
=universal
5248 elif test "x$ac_word" = "x-arch"; then
5253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5254 if test $ac_cv_c_bigendian = unknown
; then
5255 # See if sys/param.h defines the BYTE_ORDER macro.
5256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5258 #include <sys/types.h>
5259 #include <sys/param.h>
5264 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5265 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5274 if ac_fn_c_try_compile
"$LINENO"; then :
5275 # It does; now see whether it defined to BIG_ENDIAN or not.
5276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5278 #include <sys/types.h>
5279 #include <sys/param.h>
5284 #if BYTE_ORDER != BIG_ENDIAN
5292 if ac_fn_c_try_compile
"$LINENO"; then :
5293 ac_cv_c_bigendian
=yes
5295 ac_cv_c_bigendian
=no
5297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5301 if test $ac_cv_c_bigendian = unknown
; then
5302 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5310 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5318 if ac_fn_c_try_compile
"$LINENO"; then :
5319 # It does; now see whether it defined to _BIG_ENDIAN or not.
5320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5335 if ac_fn_c_try_compile
"$LINENO"; then :
5336 ac_cv_c_bigendian
=yes
5338 ac_cv_c_bigendian
=no
5340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5344 if test $ac_cv_c_bigendian = unknown
; then
5345 # Compile a test program.
5346 if test "$cross_compiling" = yes; then :
5347 # Try to guess by grepping values from an object file.
5348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5350 short int ascii_mm[] =
5351 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5352 short int ascii_ii[] =
5353 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5354 int use_ascii (int i) {
5355 return ascii_mm[i] + ascii_ii[i];
5357 short int ebcdic_ii[] =
5358 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5359 short int ebcdic_mm[] =
5360 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5361 int use_ebcdic (int i) {
5362 return ebcdic_mm[i] + ebcdic_ii[i];
5369 return use_ascii (foo) == use_ebcdic (foo);
5374 if ac_fn_c_try_compile
"$LINENO"; then :
5375 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5376 ac_cv_c_bigendian
=yes
5378 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5379 if test "$ac_cv_c_bigendian" = unknown
; then
5380 ac_cv_c_bigendian
=no
5382 # finding both strings is unlikely to happen, but who knows?
5383 ac_cv_c_bigendian
=unknown
5387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5390 /* end confdefs.h. */
5391 $ac_includes_default
5396 /* Are we little or big endian? From Harbison&Steele. */
5400 char c[sizeof (long int)];
5403 return u.c[sizeof (long int) - 1] == 1;
5409 if ac_fn_c_try_run
"$LINENO"; then :
5410 ac_cv_c_bigendian
=no
5412 ac_cv_c_bigendian
=yes
5414 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5415 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5421 $as_echo "$ac_cv_c_bigendian" >&6; }
5422 case $ac_cv_c_bigendian in #(
5424 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5430 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5434 as_fn_error
"unknown endianness
5435 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5439 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5440 if test "${ac_cv_c_const+set}" = set; then :
5441 $as_echo_n "(cached) " >&6
5443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5444 /* end confdefs.h. */
5449 /* FIXME: Include the comments suggested by Paul. */
5451 /* Ultrix mips cc rejects this. */
5452 typedef int charset[2];
5454 /* SunOS 4.1.1 cc rejects this. */
5455 char const *const *pcpcc;
5457 /* NEC SVR4.0.2 mips cc rejects this. */
5458 struct point {int x, y;};
5459 static struct point const zero = {0,0};
5460 /* AIX XL C 1.02.0.0 rejects this.
5461 It does not let you subtract one const X* pointer from another in
5462 an arm of an if-expression whose if-part is not a constant
5464 const char *g = "string";
5465 pcpcc = &g + (g ? g-g : 0);
5466 /* HPUX 7.0 cc rejects these. */
5468 ppc = (char**) pcpcc;
5469 pcpcc = (char const *const *) ppc;
5470 { /* SCO 3.2v4 cc rejects this. */
5472 char const *s = 0 ? (char *) 0 : (char const *) 0;
5477 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5479 const int *foo = &x[0];
5482 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5483 typedef const int *iptr;
5487 { /* AIX XL C 1.02.0.0 rejects this saying
5488 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5489 struct s { int j; const int *ap[3]; };
5490 struct s *b; b->j = 5;
5492 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5496 return !cs[0] && !zero.x;
5503 if ac_fn_c_try_compile
"$LINENO"; then :
5508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5511 $as_echo "$ac_cv_c_const" >&6; }
5512 if test $ac_cv_c_const = no
; then
5514 $as_echo "#define const /**/" >>confdefs.h
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5519 $as_echo_n "checking for inline... " >&6; }
5520 if test "${ac_cv_c_inline+set}" = set; then :
5521 $as_echo_n "(cached) " >&6
5524 for ac_kw
in inline __inline__ __inline
; do
5525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5526 /* end confdefs.h. */
5529 static $ac_kw foo_t static_foo () {return 0; }
5530 $ac_kw foo_t foo () {return 0; }
5534 if ac_fn_c_try_compile
"$LINENO"; then :
5535 ac_cv_c_inline
=$ac_kw
5537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5538 test "$ac_cv_c_inline" != no
&& break
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5543 $as_echo "$ac_cv_c_inline" >&6; }
5545 case $ac_cv_c_inline in
5548 case $ac_cv_c_inline in
5550 *) ac_val
=$ac_cv_c_inline;;
5552 cat >>confdefs.h
<<_ACEOF
5554 #define inline $ac_val
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
5561 $as_echo_n "checking for obstacks... " >&6; }
5562 if test "${ac_cv_func_obstack+set}" = set; then :
5563 $as_echo_n "(cached) " >&6
5565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5567 $ac_includes_default
5568 #include "obstack.h"
5573 #define obstack_chunk_alloc malloc
5574 #define obstack_chunk_free free
5575 obstack_init (&mem);
5576 obstack_free (&mem, 0);
5581 if ac_fn_c_try_link
"$LINENO"; then :
5582 ac_cv_func_obstack
=yes
5584 ac_cv_func_obstack
=no
5586 rm -f core conftest.err conftest.
$ac_objext \
5587 conftest
$ac_exeext conftest.
$ac_ext
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
5590 $as_echo "$ac_cv_func_obstack" >&6; }
5591 if test $ac_cv_func_obstack = yes; then
5593 $as_echo "#define HAVE_OBSTACK 1" >>confdefs.h
5596 case " $LIBOBJS " in
5597 *" obstack.$ac_objext "* ) ;;
5598 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext"
5604 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5605 if test "x$ac_cv_type_off_t" = x
""yes; then :
5609 cat >>confdefs.h
<<_ACEOF
5610 #define off_t long int
5615 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5616 if test "x$ac_cv_type_size_t" = x
""yes; then :
5620 cat >>confdefs.h
<<_ACEOF
5621 #define size_t unsigned int
5626 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5627 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
5631 cat >>confdefs.h
<<_ACEOF
5638 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
5639 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
5641 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
5644 for ac_type
in 'unsigned int' 'unsigned long int' \
5645 'unsigned long long int'; do
5646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5647 /* end confdefs.h. */
5648 $ac_includes_default
5652 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
5659 if ac_fn_c_try_compile
"$LINENO"; then :
5661 cat >>confdefs.h
<<_ACEOF
5662 #define uintptr_t $ac_type
5667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5668 test -z "$ac_type" && break
5673 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
5674 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
5678 cat >>confdefs.h
<<_ACEOF
5679 #define ptrdiff_t int
5684 ac_fn_c_find_uintX_t
"$LINENO" "64" "ac_cv_c_uint64_t"
5685 case $ac_cv_c_uint64_t in #(
5689 $as_echo "#define _UINT64_T 1" >>confdefs.h
5692 cat >>confdefs.h
<<_ACEOF
5693 #define uint64_t $ac_cv_c_uint64_t
5698 if test x
"$ac_cv_c_uint64_t" = x
"no"; then
5699 as_fn_error
"uint64_t not found" "$LINENO" 5
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5702 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5703 if test "${ac_cv_struct_tm+set}" = set; then :
5704 $as_echo_n "(cached) " >&6
5706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5708 #include <sys/types.h>
5715 int *p = &tm.tm_sec;
5721 if ac_fn_c_try_compile
"$LINENO"; then :
5722 ac_cv_struct_tm
=time.h
5724 ac_cv_struct_tm
=sys
/time.h
5726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5729 $as_echo "$ac_cv_struct_tm" >&6; }
5730 if test $ac_cv_struct_tm = sys
/time.h
; then
5732 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5736 # The cast to long int works around a bug in the HP C Compiler
5737 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5738 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5739 # This bug is HP SR number 8606223364.
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5741 $as_echo_n "checking size of int... " >&6; }
5742 if test "${ac_cv_sizeof_int+set}" = set; then :
5743 $as_echo_n "(cached) " >&6
5745 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5748 if test "$ac_cv_type_int" = yes; then
5749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5751 { as_fn_set_status
77
5752 as_fn_error
"cannot compute sizeof (int)
5753 See \`config.log' for more details." "$LINENO" 5; }; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5761 $as_echo "$ac_cv_sizeof_int" >&6; }
5765 cat >>confdefs.h
<<_ACEOF
5766 #define SIZEOF_INT $ac_cv_sizeof_int
5770 # The cast to long int works around a bug in the HP C Compiler
5771 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5772 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5773 # This bug is HP SR number 8606223364.
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5775 $as_echo_n "checking size of long... " >&6; }
5776 if test "${ac_cv_sizeof_long+set}" = set; then :
5777 $as_echo_n "(cached) " >&6
5779 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5782 if test "$ac_cv_type_long" = yes; then
5783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5785 { as_fn_set_status
77
5786 as_fn_error
"cannot compute sizeof (long)
5787 See \`config.log' for more details." "$LINENO" 5; }; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5795 $as_echo "$ac_cv_sizeof_long" >&6; }
5799 cat >>confdefs.h
<<_ACEOF
5800 #define SIZEOF_LONG $ac_cv_sizeof_long
5805 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
5807 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5808 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5809 eval as_val
=\$
$as_ac_var
5810 if test "x$as_val" = x
""yes; then :
5811 cat >>confdefs.h
<<_ACEOF
5812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5818 ac_fn_c_check_decl
"$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
5819 if test "x$ac_cv_have_decl_abort" = x
""yes; then :
5825 cat >>confdefs.h
<<_ACEOF
5826 #define HAVE_DECL_ABORT $ac_have_decl
5828 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
5829 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
5835 cat >>confdefs.h
<<_ACEOF
5836 #define HAVE_DECL_ASPRINTF $ac_have_decl
5838 ac_fn_c_check_decl
"$LINENO" "basename(char *)" "ac_cv_have_decl_basename_char_p_" "$ac_includes_default"
5839 if test "x$ac_cv_have_decl_basename_char_p_" = x
""yes; then :
5845 cat >>confdefs.h
<<_ACEOF
5846 #define HAVE_DECL_BASENAME $ac_have_decl
5848 ac_fn_c_check_decl
"$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
5849 if test "x$ac_cv_have_decl_errno" = x
""yes; then :
5855 cat >>confdefs.h
<<_ACEOF
5856 #define HAVE_DECL_ERRNO $ac_have_decl
5858 ac_fn_c_check_decl
"$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
5859 if test "x$ac_cv_have_decl_getopt" = x
""yes; then :
5865 cat >>confdefs.h
<<_ACEOF
5866 #define HAVE_DECL_GETOPT $ac_have_decl
5868 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
5869 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
5875 cat >>confdefs.h
<<_ACEOF
5876 #define HAVE_DECL_VASPRINTF $ac_have_decl
5879 ac_fn_c_check_decl
"$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
5880 if test "x$ac_cv_have_decl_clearerr_unlocked" = x
""yes; then :
5886 cat >>confdefs.h
<<_ACEOF
5887 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
5889 ac_fn_c_check_decl
"$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
5890 if test "x$ac_cv_have_decl_feof_unlocked" = x
""yes; then :
5896 cat >>confdefs.h
<<_ACEOF
5897 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
5899 ac_fn_c_check_decl
"$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
5900 if test "x$ac_cv_have_decl_ferror_unlocked" = x
""yes; then :
5906 cat >>confdefs.h
<<_ACEOF
5907 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
5909 ac_fn_c_check_decl
"$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
5910 if test "x$ac_cv_have_decl_fflush_unlocked" = x
""yes; then :
5916 cat >>confdefs.h
<<_ACEOF
5917 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
5919 ac_fn_c_check_decl
"$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
5920 if test "x$ac_cv_have_decl_fgetc_unlocked" = x
""yes; then :
5926 cat >>confdefs.h
<<_ACEOF
5927 #define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
5929 ac_fn_c_check_decl
"$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
5930 if test "x$ac_cv_have_decl_fgets_unlocked" = x
""yes; then :
5936 cat >>confdefs.h
<<_ACEOF
5937 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
5939 ac_fn_c_check_decl
"$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
5940 if test "x$ac_cv_have_decl_fileno_unlocked" = x
""yes; then :
5946 cat >>confdefs.h
<<_ACEOF
5947 #define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
5949 ac_fn_c_check_decl
"$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
5950 if test "x$ac_cv_have_decl_fprintf_unlocked" = x
""yes; then :
5956 cat >>confdefs.h
<<_ACEOF
5957 #define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
5959 ac_fn_c_check_decl
"$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
5960 if test "x$ac_cv_have_decl_fputc_unlocked" = x
""yes; then :
5966 cat >>confdefs.h
<<_ACEOF
5967 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
5969 ac_fn_c_check_decl
"$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
5970 if test "x$ac_cv_have_decl_fputs_unlocked" = x
""yes; then :
5976 cat >>confdefs.h
<<_ACEOF
5977 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
5979 ac_fn_c_check_decl
"$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
5980 if test "x$ac_cv_have_decl_fread_unlocked" = x
""yes; then :
5986 cat >>confdefs.h
<<_ACEOF
5987 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
5989 ac_fn_c_check_decl
"$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
5990 if test "x$ac_cv_have_decl_fwrite_unlocked" = x
""yes; then :
5996 cat >>confdefs.h
<<_ACEOF
5997 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
5999 ac_fn_c_check_decl
"$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
6000 if test "x$ac_cv_have_decl_getchar_unlocked" = x
""yes; then :
6006 cat >>confdefs.h
<<_ACEOF
6007 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
6009 ac_fn_c_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
6010 if test "x$ac_cv_have_decl_getc_unlocked" = x
""yes; then :
6016 cat >>confdefs.h
<<_ACEOF
6017 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
6019 ac_fn_c_check_decl
"$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
6020 if test "x$ac_cv_have_decl_putchar_unlocked" = x
""yes; then :
6026 cat >>confdefs.h
<<_ACEOF
6027 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
6029 ac_fn_c_check_decl
"$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
6030 if test "x$ac_cv_have_decl_putc_unlocked" = x
""yes; then :
6036 cat >>confdefs.h
<<_ACEOF
6037 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
6041 # Checks for library functions.
6042 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6043 # for constant arguments. Useless!
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6045 $as_echo_n "checking for working alloca.h... " >&6; }
6046 if test "${ac_cv_working_alloca_h+set}" = set; then :
6047 $as_echo_n "(cached) " >&6
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6055 char *p = (char *) alloca (2 * sizeof (int));
6061 if ac_fn_c_try_link
"$LINENO"; then :
6062 ac_cv_working_alloca_h
=yes
6064 ac_cv_working_alloca_h
=no
6066 rm -f core conftest.err conftest.
$ac_objext \
6067 conftest
$ac_exeext conftest.
$ac_ext
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6070 $as_echo "$ac_cv_working_alloca_h" >&6; }
6071 if test $ac_cv_working_alloca_h = yes; then
6073 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6078 $as_echo_n "checking for alloca... " >&6; }
6079 if test "${ac_cv_func_alloca_works+set}" = set; then :
6080 $as_echo_n "(cached) " >&6
6082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6085 # define alloca __builtin_alloca
6088 # include <malloc.h>
6089 # define alloca _alloca
6091 # ifdef HAVE_ALLOCA_H
6092 # include <alloca.h>
6097 # ifndef alloca /* predefined by HP cc +Olibcalls */
6108 char *p = (char *) alloca (1);
6114 if ac_fn_c_try_link
"$LINENO"; then :
6115 ac_cv_func_alloca_works
=yes
6117 ac_cv_func_alloca_works
=no
6119 rm -f core conftest.err conftest.
$ac_objext \
6120 conftest
$ac_exeext conftest.
$ac_ext
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6123 $as_echo "$ac_cv_func_alloca_works" >&6; }
6125 if test $ac_cv_func_alloca_works = yes; then
6127 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6130 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6131 # that cause trouble. Some versions do not even contain alloca or
6132 # contain a buggy version. If you still want to use their alloca,
6133 # use ar to extract alloca.o from them instead of compiling alloca.c.
6135 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6137 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6141 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6142 if test "${ac_cv_os_cray+set}" = set; then :
6143 $as_echo_n "(cached) " >&6
6145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6146 /* end confdefs.h. */
6147 #if defined CRAY && ! defined CRAY2
6154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6155 $EGREP "webecray" >/dev
/null
2>&1; then :
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6164 $as_echo "$ac_cv_os_cray" >&6; }
6165 if test $ac_cv_os_cray = yes; then
6166 for ac_func
in _getb67 GETB67 getb67
; do
6167 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6168 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6169 eval as_val
=\$
$as_ac_var
6170 if test "x$as_val" = x
""yes; then :
6172 cat >>confdefs.h
<<_ACEOF
6173 #define CRAY_STACKSEG_END $ac_func
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6183 $as_echo_n "checking stack direction for C alloca... " >&6; }
6184 if test "${ac_cv_c_stack_direction+set}" = set; then :
6185 $as_echo_n "(cached) " >&6
6187 if test "$cross_compiling" = yes; then :
6188 ac_cv_c_stack_direction
=0
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6192 $ac_includes_default
6194 find_stack_direction ()
6196 static char *addr = 0;
6201 return find_stack_direction ();
6204 return (&dummy > addr) ? 1 : -1;
6210 return find_stack_direction () < 0;
6213 if ac_fn_c_try_run
"$LINENO"; then :
6214 ac_cv_c_stack_direction
=1
6216 ac_cv_c_stack_direction
=-1
6218 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6219 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6224 $as_echo "$ac_cv_c_stack_direction" >&6; }
6225 cat >>confdefs.h
<<_ACEOF
6226 #define STACK_DIRECTION $ac_cv_c_stack_direction
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6233 $as_echo_n "checking for ANSI C header files... " >&6; }
6234 if test "${ac_cv_header_stdc+set}" = set; then :
6235 $as_echo_n "(cached) " >&6
6237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6252 if ac_fn_c_try_compile
"$LINENO"; then :
6253 ac_cv_header_stdc
=yes
6255 ac_cv_header_stdc
=no
6257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6259 if test $ac_cv_header_stdc = yes; then
6260 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6267 $EGREP "memchr" >/dev
/null
2>&1; then :
6270 ac_cv_header_stdc
=no
6276 if test $ac_cv_header_stdc = yes; then
6277 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6284 $EGREP "free" >/dev
/null
2>&1; then :
6287 ac_cv_header_stdc
=no
6293 if test $ac_cv_header_stdc = yes; then
6294 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6295 if test "$cross_compiling" = yes; then :
6298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6302 #if ((' ' & 0x0FF) == 0x020)
6303 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6304 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6306 # define ISLOWER(c) \
6307 (('a' <= (c) && (c) <= 'i') \
6308 || ('j' <= (c) && (c) <= 'r') \
6309 || ('s' <= (c) && (c) <= 'z'))
6310 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6313 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6318 for (i = 0; i < 256; i++)
6319 if (XOR (islower (i), ISLOWER (i))
6320 || toupper (i) != TOUPPER (i))
6325 if ac_fn_c_try_run
"$LINENO"; then :
6328 ac_cv_header_stdc
=no
6330 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6331 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6337 $as_echo "$ac_cv_header_stdc" >&6; }
6338 if test $ac_cv_header_stdc = yes; then
6340 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
6346 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
6347 if test "${am_cv_langinfo_codeset+set}" = set; then :
6348 $as_echo_n "(cached) " >&6
6350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6352 #include <langinfo.h>
6356 char* cs = nl_langinfo(CODESET);
6361 if ac_fn_c_try_link
"$LINENO"; then :
6362 am_cv_langinfo_codeset
=yes
6364 am_cv_langinfo_codeset
=no
6366 rm -f core conftest.err conftest.
$ac_objext \
6367 conftest
$ac_exeext conftest.
$ac_ext
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
6371 $as_echo "$am_cv_langinfo_codeset" >&6; }
6372 if test $am_cv_langinfo_codeset = yes; then
6374 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
6378 # If we haven't got the data from the intl directory,
6379 # assume NLS is disabled.
6388 if test -f ..
/intl
/config.intl
; then
6389 . ..
/intl
/config.intl
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6392 $as_echo_n "checking whether NLS is requested... " >&6; }
6393 if test x
"$USE_NLS" != xyes
; then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 $as_echo "no" >&6; }
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6398 $as_echo "yes" >&6; }
6400 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6404 $as_echo_n "checking for catalogs to be installed... " >&6; }
6405 # Look for .po and .gmo files in the source directory.
6408 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
6409 # If there aren't any .gmo files the shell will give us the
6410 # literal string "../path/to/srcdir/po/*.gmo" which has to be
6412 case "$cat" in *\
**)
6415 # The quadruple backslash is collapsed to a double backslash
6416 # by the backticks, then collapsed again by the double quotes,
6417 # leaving us with one backslash in the sed expression (right
6418 # before the dot that mustn't act as a wildcard).
6419 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
6420 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
6421 # The user is allowed to set LINGUAS to a list of languages to
6422 # install catalogs for. If it's empty that means "all of them."
6423 if test "x$LINGUAS" = x
; then
6424 CATALOGS
="$CATALOGS $cat"
6425 XLINGUAS
="$XLINGUAS $lang"
6427 case "$LINGUAS" in *$lang*)
6428 CATALOGS
="$CATALOGS $cat"
6429 XLINGUAS
="$XLINGUAS $lang"
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6436 $as_echo "$LINGUAS" >&6; }
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uchar" >&5
6450 $as_echo_n "checking for uchar... " >&6; }
6451 if test "${gcc_cv_type_uchar+set}" = set; then :
6452 $as_echo_n "(cached) " >&6
6454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6457 #include <sys/types.h>
6462 if ((uchar *)0) return 0;
6463 if (sizeof(uchar)) return 0;
6468 if ac_fn_c_try_compile
"$LINENO"; then :
6469 ac_cv_type_uchar
=yes
6473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_type_uchar" >&5
6476 $as_echo "$gcc_cv_type_uchar" >&6; }
6477 if test $ac_cv_type_uchar = yes; then
6479 $as_echo "#define HAVE_UCHAR 1" >>confdefs.h
6483 # g++ on Solaris 10+ defines _XOPEN_SOURCE=600, which exposes a different
6484 # iconv() prototype.
6486 ac_cpp
='$CXXCPP $CPPFLAGS'
6487 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6488 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6489 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6492 if test "X$prefix" = "XNONE"; then
6493 acl_final_prefix
="$ac_default_prefix"
6495 acl_final_prefix
="$prefix"
6497 if test "X$exec_prefix" = "XNONE"; then
6498 acl_final_exec_prefix
='${prefix}'
6500 acl_final_exec_prefix
="$exec_prefix"
6502 acl_save_prefix
="$prefix"
6503 prefix
="$acl_final_prefix"
6504 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6505 prefix
="$acl_save_prefix"
6508 # Check whether --with-gnu-ld was given.
6509 if test "${with_gnu_ld+set}" = set; then :
6510 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6515 # Prepare PATH_SEPARATOR.
6516 # The user is always right.
6517 if test "${PATH_SEPARATOR+set}" != set; then
6518 echo "#! /bin/sh" >conf$$.sh
6519 echo "exit 0" >>conf$$.sh
6521 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6529 if test "$GCC" = yes; then
6530 # Check if gcc -print-prog-name=ld gives a path.
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6532 $as_echo_n "checking for ld used by GCC... " >&6; }
6535 # gcc leaves a trailing carriage return which upsets mingw
6536 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6538 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6541 # Accept absolute paths.
6542 [\\/]* |
[A-Za-z
]:[\\/]*)
6543 re_direlt
='/[^/][^/]*/\.\./'
6544 # Canonicalize the path of ld
6545 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6546 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6547 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6549 test -z "$LD" && LD
="$ac_prog"
6552 # If it fails, then pretend we aren't using GCC.
6556 # If it is relative, then search for the first ld in PATH.
6560 elif test "$with_gnu_ld" = yes; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6562 $as_echo_n "checking for GNU ld... " >&6; }
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6565 $as_echo_n "checking for non-GNU ld... " >&6; }
6567 if test "${acl_cv_path_LD+set}" = set; then :
6568 $as_echo_n "(cached) " >&6
6570 if test -z "$LD"; then
6571 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6572 for ac_dir
in $PATH; do
6573 test -z "$ac_dir" && ac_dir
=.
6574 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6575 acl_cv_path_LD
="$ac_dir/$ac_prog"
6576 # Check to see if the program is GNU ld. I'd rather use --version,
6577 # but apparently some GNU ld's only accept -v.
6578 # Break only if it was the GNU/non-GNU ld that we prefer.
6579 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
6580 test "$with_gnu_ld" != no
&& break
6582 test "$with_gnu_ld" != yes && break
6588 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6592 LD
="$acl_cv_path_LD"
6593 if test -n "$LD"; then
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6595 $as_echo "$LD" >&6; }
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6600 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6602 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6603 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
6604 $as_echo_n "(cached) " >&6
6606 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6607 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
6608 acl_cv_prog_gnu_ld
=yes
6610 acl_cv_prog_gnu_ld
=no
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6614 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
6615 with_gnu_ld
=$acl_cv_prog_gnu_ld
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6620 $as_echo_n "checking for shared library run path origin... " >&6; }
6621 if test "${acl_cv_rpath+set}" = set; then :
6622 $as_echo_n "(cached) " >&6
6625 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6626 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6633 $as_echo "$acl_cv_rpath" >&6; }
6635 libext
="$acl_cv_libext"
6636 shlibext
="$acl_cv_shlibext"
6637 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6638 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6639 hardcode_direct
="$acl_cv_hardcode_direct"
6640 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6641 # Check whether --enable-rpath was given.
6642 if test "${enable_rpath+set}" = set; then :
6643 enableval
=$enable_rpath; :
6657 acl_save_prefix
="$prefix"
6658 prefix
="$acl_final_prefix"
6659 acl_save_exec_prefix
="$exec_prefix"
6660 exec_prefix
="$acl_final_exec_prefix"
6662 eval additional_includedir
=\"$includedir\"
6663 eval additional_libdir
=\"$libdir\"
6665 exec_prefix
="$acl_save_exec_prefix"
6666 prefix
="$acl_save_prefix"
6669 # Check whether --with-libiconv-prefix was given.
6670 if test "${with_libiconv_prefix+set}" = set; then :
6671 withval
=$with_libiconv_prefix;
6672 if test "X$withval" = "Xno"; then
6675 if test "X$withval" = "X"; then
6677 acl_save_prefix
="$prefix"
6678 prefix
="$acl_final_prefix"
6679 acl_save_exec_prefix
="$exec_prefix"
6680 exec_prefix
="$acl_final_exec_prefix"
6682 eval additional_includedir
=\"$includedir\"
6683 eval additional_libdir
=\"$libdir\"
6685 exec_prefix
="$acl_save_exec_prefix"
6686 prefix
="$acl_save_prefix"
6689 additional_includedir
="$withval/include"
6690 additional_libdir
="$withval/lib"
6701 names_already_handled
=
6702 names_next_round
='iconv '
6703 while test -n "$names_next_round"; do
6704 names_this_round
="$names_next_round"
6706 for name
in $names_this_round; do
6708 for n
in $names_already_handled; do
6709 if test "$n" = "$name"; then
6714 if test -z "$already_handled"; then
6715 names_already_handled
="$names_already_handled $name"
6716 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6717 eval value
=\"\
$HAVE_LIB$uppername\"
6718 if test -n "$value"; then
6719 if test "$value" = yes; then
6720 eval value
=\"\
$LIB$uppername\"
6721 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6722 eval value
=\"\
$LTLIB$uppername\"
6723 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6732 if test $use_additional = yes; then
6733 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6734 found_dir
="$additional_libdir"
6735 found_so
="$additional_libdir/lib$name.$shlibext"
6736 if test -f "$additional_libdir/lib$name.la"; then
6737 found_la
="$additional_libdir/lib$name.la"
6740 if test -f "$additional_libdir/lib$name.$libext"; then
6741 found_dir
="$additional_libdir"
6742 found_a
="$additional_libdir/lib$name.$libext"
6743 if test -f "$additional_libdir/lib$name.la"; then
6744 found_la
="$additional_libdir/lib$name.la"
6749 if test "X$found_dir" = "X"; then
6750 for x
in $LDFLAGS $LTLIBICONV; do
6752 acl_save_prefix
="$prefix"
6753 prefix
="$acl_final_prefix"
6754 acl_save_exec_prefix
="$exec_prefix"
6755 exec_prefix
="$acl_final_exec_prefix"
6757 exec_prefix
="$acl_save_exec_prefix"
6758 prefix
="$acl_save_prefix"
6762 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6763 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6765 found_so
="$dir/lib$name.$shlibext"
6766 if test -f "$dir/lib$name.la"; then
6767 found_la
="$dir/lib$name.la"
6770 if test -f "$dir/lib$name.$libext"; then
6772 found_a
="$dir/lib$name.$libext"
6773 if test -f "$dir/lib$name.la"; then
6774 found_la
="$dir/lib$name.la"
6780 if test "X$found_dir" != "X"; then
6785 if test "X$found_dir" != "X"; then
6786 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6787 if test "X$found_so" != "X"; then
6788 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6789 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6792 for x
in $ltrpathdirs; do
6793 if test "X$x" = "X$found_dir"; then
6798 if test -z "$haveit"; then
6799 ltrpathdirs
="$ltrpathdirs $found_dir"
6801 if test "$hardcode_direct" = yes; then
6802 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6804 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6805 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6807 for x
in $rpathdirs; do
6808 if test "X$x" = "X$found_dir"; then
6813 if test -z "$haveit"; then
6814 rpathdirs
="$rpathdirs $found_dir"
6818 for x
in $LDFLAGS $LIBICONV; do
6820 acl_save_prefix
="$prefix"
6821 prefix
="$acl_final_prefix"
6822 acl_save_exec_prefix
="$exec_prefix"
6823 exec_prefix
="$acl_final_exec_prefix"
6825 exec_prefix
="$acl_save_exec_prefix"
6826 prefix
="$acl_save_prefix"
6828 if test "X$x" = "X-L$found_dir"; then
6833 if test -z "$haveit"; then
6834 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6836 if test "$hardcode_minus_L" != no
; then
6837 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6839 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6845 if test "X$found_a" != "X"; then
6846 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6848 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6851 additional_includedir
=
6852 case "$found_dir" in
6854 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6855 additional_includedir
="$basedir/include"
6858 if test "X$additional_includedir" != "X"; then
6859 if test "X$additional_includedir" != "X/usr/include"; then
6861 if test "X$additional_includedir" = "X/usr/local/include"; then
6862 if test -n "$GCC"; then
6864 linux
*) haveit
=yes;;
6868 if test -z "$haveit"; then
6869 for x
in $CPPFLAGS $INCICONV; do
6871 acl_save_prefix
="$prefix"
6872 prefix
="$acl_final_prefix"
6873 acl_save_exec_prefix
="$exec_prefix"
6874 exec_prefix
="$acl_final_exec_prefix"
6876 exec_prefix
="$acl_save_exec_prefix"
6877 prefix
="$acl_save_prefix"
6879 if test "X$x" = "X-I$additional_includedir"; then
6884 if test -z "$haveit"; then
6885 if test -d "$additional_includedir"; then
6886 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6892 if test -n "$found_la"; then
6893 save_libdir
="$libdir"
6895 */* |
*\\*) .
"$found_la" ;;
6896 *) .
"./$found_la" ;;
6898 libdir
="$save_libdir"
6899 for dep
in $dependency_libs; do
6902 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6903 if test "X$additional_libdir" != "X/usr/lib"; then
6905 if test "X$additional_libdir" = "X/usr/local/lib"; then
6906 if test -n "$GCC"; then
6908 linux
*) haveit
=yes;;
6912 if test -z "$haveit"; then
6914 for x
in $LDFLAGS $LIBICONV; do
6916 acl_save_prefix
="$prefix"
6917 prefix
="$acl_final_prefix"
6918 acl_save_exec_prefix
="$exec_prefix"
6919 exec_prefix
="$acl_final_exec_prefix"
6921 exec_prefix
="$acl_save_exec_prefix"
6922 prefix
="$acl_save_prefix"
6924 if test "X$x" = "X-L$additional_libdir"; then
6929 if test -z "$haveit"; then
6930 if test -d "$additional_libdir"; then
6931 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6935 for x
in $LDFLAGS $LTLIBICONV; do
6937 acl_save_prefix
="$prefix"
6938 prefix
="$acl_final_prefix"
6939 acl_save_exec_prefix
="$exec_prefix"
6940 exec_prefix
="$acl_final_exec_prefix"
6942 exec_prefix
="$acl_save_exec_prefix"
6943 prefix
="$acl_save_prefix"
6945 if test "X$x" = "X-L$additional_libdir"; then
6950 if test -z "$haveit"; then
6951 if test -d "$additional_libdir"; then
6952 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6959 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6960 if test "$enable_rpath" != no
; then
6962 for x
in $rpathdirs; do
6963 if test "X$x" = "X$dir"; then
6968 if test -z "$haveit"; then
6969 rpathdirs
="$rpathdirs $dir"
6972 for x
in $ltrpathdirs; do
6973 if test "X$x" = "X$dir"; then
6978 if test -z "$haveit"; then
6979 ltrpathdirs
="$ltrpathdirs $dir"
6984 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6987 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6990 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6991 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6997 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6998 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7004 if test "X$rpathdirs" != "X"; then
7005 if test -n "$hardcode_libdir_separator"; then
7007 for found_dir
in $rpathdirs; do
7008 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7010 acl_save_libdir
="$libdir"
7012 eval flag
=\"$hardcode_libdir_flag_spec\"
7013 libdir
="$acl_save_libdir"
7014 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7016 for found_dir
in $rpathdirs; do
7017 acl_save_libdir
="$libdir"
7019 eval flag
=\"$hardcode_libdir_flag_spec\"
7020 libdir
="$acl_save_libdir"
7021 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7025 if test "X$ltrpathdirs" != "X"; then
7026 for found_dir
in $ltrpathdirs; do
7027 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7038 $as_echo_n "checking for iconv... " >&6; }
7039 if test "${am_cv_func_iconv+set}" = set; then :
7040 $as_echo_n "(cached) " >&6
7043 am_cv_func_iconv
="no, consider installing GNU libiconv"
7045 am_save_CPPFLAGS
="$CPPFLAGS"
7046 CPPFLAGS
="$CPPFLAGS $INCICONV"
7047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7054 iconv_t cd = iconv_open("","");
7055 iconv(cd,NULL,NULL,NULL,NULL);
7061 if ac_fn_cxx_try_link
"$LINENO"; then :
7062 am_cv_func_iconv
=yes
7064 rm -f core conftest.err conftest.
$ac_objext \
7065 conftest
$ac_exeext conftest.
$ac_ext
7066 CPPFLAGS
="$am_save_CPPFLAGS"
7068 if test "$am_cv_func_iconv" != yes && test -d ..
/libiconv
; then
7069 for _libs
in .libs _libs
; do
7070 am_save_CPPFLAGS
="$CPPFLAGS"
7071 am_save_LIBS
="$LIBS"
7072 CPPFLAGS
="$CPPFLAGS -I../libiconv/include"
7073 LIBS
="$LIBS ../libiconv/lib/$_libs/libiconv.a"
7074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7075 /* end confdefs.h. */
7081 iconv_t cd = iconv_open("","");
7082 iconv(cd,NULL,NULL,NULL,NULL);
7088 if ac_fn_cxx_try_link
"$LINENO"; then :
7089 INCICONV
="-I../libiconv/include"
7090 LIBICONV
='${top_builddir}'/..
/libiconv
/lib
/$_libs/libiconv.a
7091 LTLIBICONV
='${top_builddir}'/..
/libiconv
/lib
/libiconv.la
7093 am_cv_func_iconv
=yes
7095 rm -f core conftest.err conftest.
$ac_objext \
7096 conftest
$ac_exeext conftest.
$ac_ext
7097 CPPFLAGS
="$am_save_CPPFLAGS"
7098 LIBS
="$am_save_LIBS"
7099 if test "$am_cv_func_iconv" = "yes"; then
7105 if test "$am_cv_func_iconv" != yes; then
7106 am_save_CPPFLAGS
="$CPPFLAGS"
7107 am_save_LIBS
="$LIBS"
7108 CPPFLAGS
="$LIBS $INCICONV"
7109 LIBS
="$LIBS $LIBICONV"
7110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7111 /* end confdefs.h. */
7117 iconv_t cd = iconv_open("","");
7118 iconv(cd,NULL,NULL,NULL,NULL);
7124 if ac_fn_cxx_try_link
"$LINENO"; then :
7126 am_cv_func_iconv
=yes
7128 rm -f core conftest.err conftest.
$ac_objext \
7129 conftest
$ac_exeext conftest.
$ac_ext
7130 CPPFLAGS
="$am_save_CPPFLAGS"
7131 LIBS
="$am_save_LIBS"
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7136 $as_echo "$am_cv_func_iconv" >&6; }
7137 if test "$am_cv_func_iconv" = yes; then
7139 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
7142 if test "$am_cv_lib_iconv" = yes; then
7144 for element
in $INCICONV; do
7146 for x
in $CPPFLAGS; do
7148 acl_save_prefix
="$prefix"
7149 prefix
="$acl_final_prefix"
7150 acl_save_exec_prefix
="$exec_prefix"
7151 exec_prefix
="$acl_final_exec_prefix"
7153 exec_prefix
="$acl_save_exec_prefix"
7154 prefix
="$acl_save_prefix"
7156 if test "X$x" = "X$element"; then
7161 if test -z "$haveit"; then
7162 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7167 $as_echo_n "checking how to link with libiconv... " >&6; }
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7169 $as_echo "$LIBICONV" >&6; }
7177 if test "$am_cv_func_iconv" = yes; then
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
7179 $as_echo_n "checking for iconv declaration... " >&6; }
7180 if test "${am_cv_proto_iconv+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7193 #if defined(__STDC__) || defined(__cplusplus)
7194 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7207 if ac_fn_cxx_try_compile
"$LINENO"; then :
7208 am_cv_proto_iconv_arg1
=""
7210 am_cv_proto_iconv_arg1
="const"
7212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7213 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);"
7216 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
7218 }$am_cv_proto_iconv" >&5
7220 }$am_cv_proto_iconv" >&6; }
7222 cat >>confdefs.h
<<_ACEOF
7223 #define ICONV_CONST $am_cv_proto_iconv_arg1
7229 ac_cpp
='$CPP $CPPFLAGS'
7230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7235 # More defines and substitutions.
7236 PACKAGE
="$PACKAGE_TARNAME"
7238 cat >>confdefs.h
<<_ACEOF
7239 #define PACKAGE "$PACKAGE"
7244 if test "x$enable_nls" != xno
; then
7245 USED_CATALOGS
='$(CATALOGS)'
7251 # Check whether --enable-maintainer-mode was given.
7252 if test "${enable_maintainer_mode+set}" = set; then :
7253 enableval
=$enable_maintainer_mode;
7255 enable_maintainer_mode
=no
7259 if test "x$enable_maintainer_mode" = xno
; then
7266 # Enable expensive internal checks
7268 if test -f $srcdir/..
/gcc
/DEV-PHASE \
7269 && test x
"`cat $srcdir/../gcc/DEV-PHASE`" != xexperimental
; then
7273 # Check whether --enable-checking was given.
7274 if test "${enable_checking+set}" = set; then :
7275 enableval
=$enable_checking; ac_checking_flags
="${enableval}"
7278 # Determine the default checks.
7279 if test x
$is_release = x
; then
7280 ac_checking_flags
=yes
7282 ac_checking_flags
=release
7286 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="$IFS,"
7287 for check
in release
$ac_checking_flags
7290 # these set all the flags to specific states
7291 yes|all
) ac_checking
=1 ; ac_assert_checking
=1 ; ac_valgrind_checking
= ;;
7292 no|none
) ac_checking
= ; ac_assert_checking
= ; ac_valgrind_checking
= ;;
7293 release
) ac_checking
= ; ac_assert_checking
=1 ; ac_valgrind_checking
= ;;
7294 # these enable particular checks
7295 assert
) ac_assert_checking
=1 ;;
7296 misc
) ac_checking
=1 ;;
7297 valgrind
) ac_valgrind_checking
=1 ;;
7304 if test x
$ac_checking != x
; then
7306 $as_echo "#define CHECKING_P 1" >>confdefs.h
7309 $as_echo "#define CHECKING_P 0" >>confdefs.h
7313 if test x
$ac_assert_checking != x
; then
7315 $as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h
7319 if test x
$ac_valgrind_checking != x
; then
7321 $as_echo "#define ENABLE_VALGRIND_CHECKING 1" >>confdefs.h
7325 # Check whether --enable-canonical-system-headers was given.
7326 if test "${enable_canonical_system_headers+set}" = set; then :
7327 enableval
=$enable_canonical_system_headers;
7329 enable_canonical_system_headers
=yes
7332 if test $enable_canonical_system_headers != no
; then
7334 $as_echo "#define ENABLE_CANONICAL_SYSTEM_HEADERS 1" >>confdefs.h
7340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7346 asm ("pcmpestri %0, %%xmm0, %%xmm1" : : "i"(0))
7351 if ac_fn_c_try_compile
"$LINENO"; then :
7353 $as_echo "#define HAVE_SSE4 1" >>confdefs.h
7356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7359 # Enable --enable-host-shared.
7360 # Check whether --enable-host-shared was given.
7361 if test "${enable_host_shared+set}" = set; then :
7362 enableval
=$enable_host_shared; PICFLAG
=-fPIC
7369 # Check whether --enable-valgrind-annotations was given.
7370 if test "${enable_valgrind_annotations+set}" = set; then :
7371 enableval
=$enable_valgrind_annotations;
7373 enable_valgrind_annotations
=no
7376 if test x
$enable_valgrind_annotations != xno \
7377 ||
test x
$ac_valgrind_checking != x
; then
7378 if (test $have_valgrind_h = no \
7379 && test $gcc_cv_header_memcheck_h = no \
7380 && test $gcc_cv_header_valgrind_memcheck_h = no
); then
7381 as_fn_error
"*** Can't find valgrind/memcheck.h, memcheck.h or valgrind.h" "$LINENO" 5
7384 $as_echo "#define ENABLE_VALGRIND_ANNOTATIONS 1" >>confdefs.h
7390 ac_config_headers
="$ac_config_headers config.h:config.in"
7392 ac_config_files
="$ac_config_files Makefile"
7394 cat >confcache
<<\_ACEOF
7395 # This file is a shell script that caches the results of configure
7396 # tests run on this system so they can be shared between configure
7397 # scripts and configure runs, see configure's option --config-cache.
7398 # It is not useful on other systems. If it contains results you don't
7399 # want to keep, you may remove or edit it.
7401 # config.status only pays attention to the cache file if you give it
7402 # the --recheck option to rerun configure.
7404 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7405 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7410 # The following way of writing the cache mishandles newlines in values,
7411 # but we know of no workaround that is simple, portable, and efficient.
7412 # So, we kill variables containing newlines.
7413 # Ultrix sh set writes to stderr and can't be redirected directly,
7414 # and sets the high bit in the cache file unless we assign to the vars.
7416 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7417 eval ac_val
=\$
$ac_var
7421 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7422 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7425 _ | IFS | as_nl
) ;; #(
7426 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7427 *) { eval $ac_var=; unset $ac_var;} ;;
7433 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7434 *${as_nl}ac_space
=\
*)
7435 # `set' does not quote correctly, so add quotes: double-quote
7436 # substitution turns \\\\ into \\, and sed turns \\ into \.
7439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7442 # `set' quotes correctly as required by POSIX, so do not add quotes.
7443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7454 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7456 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7457 if test -w "$cache_file"; then
7458 test "x$cache_file" != "x/dev/null" &&
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7460 $as_echo "$as_me: updating cache $cache_file" >&6;}
7461 cat confcache
>$cache_file
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7464 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7469 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7470 # Let make expand exec_prefix.
7471 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7473 DEFS
=-DHAVE_CONFIG_H
7477 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7478 # 1. Remove the extension, and $U if already installed.
7479 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7480 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7481 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7482 # will be set to the directory where LIBOBJS objects are built.
7483 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7484 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7488 LTLIBOBJS
=$ac_ltlibobjs
7493 : ${CONFIG_STATUS=./config.status}
7495 ac_clean_files_save
=$ac_clean_files
7496 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7498 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7500 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7502 # Generated by $as_me.
7503 # Run this file to recreate the current configuration.
7504 # Compiler output produced by configure, useful for debugging
7505 # configure, is in config.log if it exists.
7511 SHELL=\${CONFIG_SHELL-$SHELL}
7514 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7515 ## -------------------- ##
7516 ## M4sh Initialization. ##
7517 ## -------------------- ##
7519 # Be more Bourne compatible
7520 DUALCASE
=1; export DUALCASE
# for MKS sh
7521 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7524 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7525 # is contrary to our usage. Disable this feature.
7526 alias -g '${1+"$@"}'='"$@"'
7527 setopt NO_GLOB_SUBST
7529 case `(set -o) 2>/dev/null` in #(
7541 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7542 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7543 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7544 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7545 # Prefer a ksh shell builtin over an external printf program on Solaris,
7546 # but without wasting forks for bash or zsh.
7547 if test -z "$BASH_VERSION$ZSH_VERSION" \
7548 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7549 as_echo='print
-r --'
7550 as_echo_n='print
-rn --'
7551 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7552 as_echo='printf %s
\n'
7553 as_echo_n='printf %s
'
7555 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7556 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7557 as_echo_n='/usr
/ucb
/echo -n'
7559 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7560 as_echo_n_body='eval
7564 expr "X$arg" : "X\\(.*\\)$as_nl";
7565 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7567 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7569 export as_echo_n_body
7570 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7573 as_echo='sh
-c $as_echo_body as_echo
'
7576 # The user is always right.
7577 if test "${PATH_SEPARATOR+set}" != set; then
7579 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7580 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7587 # We need space, tab and new line, in precisely that order. Quoting is
7588 # there to prevent editors from complaining about space-tab.
7589 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7590 # splitting by setting IFS to empty value.)
7593 # Find who we are. Look in the path if we contain no directory separator.
7595 *[\\/]* ) as_myself=$0 ;;
7596 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7607 # We did not find ourselves, most probably we were run as `sh COMMAND'
7608 # in which case we are not to be found in the path.
7609 if test "x$as_myself" = x
; then
7612 if test ! -f "$as_myself"; then
7613 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7617 # Unset variables that we do not need and which cause bugs (e.g. in
7618 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7619 # suppresses any "Segmentation fault" message there. '((' could
7620 # trigger a bug in pdksh 5.2.14.
7621 for as_var
in BASH_ENV ENV MAIL MAILPATH
7622 do eval test x\
${$as_var+set} = xset \
7623 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7636 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7639 # as_fn_error ERROR [LINENO LOG_FD]
7640 # ---------------------------------
7641 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7642 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7643 # script with status $?, using 1 if that was 0.
7646 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7648 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7649 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7651 $as_echo "$as_me: error: $1" >&2
7652 as_fn_exit
$as_status
7656 # as_fn_set_status STATUS
7657 # -----------------------
7658 # Set $? to STATUS, without forking.
7662 } # as_fn_set_status
7666 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7676 # Portably unset VAR.
7679 { eval $1=; unset $1;}
7681 as_unset
=as_fn_unset
7682 # as_fn_append VAR VALUE
7683 # ----------------------
7684 # Append the text in VALUE to the end of the definition contained in VAR. Take
7685 # advantage of any shell optimizations that allow amortized linear growth over
7686 # repeated appends, instead of the typical quadratic growth present in naive
7688 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7689 eval 'as_fn_append ()
7700 # as_fn_arith ARG...
7701 # ------------------
7702 # Perform arithmetic evaluation on the ARGs, and store the result in the
7703 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7704 # must be portable across $(()) and expr.
7705 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7706 eval 'as_fn_arith ()
7713 as_val
=`expr "$@" || test $? -eq 1`
7718 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7719 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7725 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7726 as_basename
=basename
7731 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7737 as_me
=`$as_basename -- "$0" ||
7738 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7739 X"$0" : 'X\(//\)$' \| \
7740 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7742 sed '/^.*\/\([^/][^/]*\)\/*$/{
7756 # Avoid depending upon Character Ranges.
7757 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7758 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7759 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7760 as_cr_digits
='0123456789'
7761 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7763 ECHO_C
= ECHO_N
= ECHO_T
=
7764 case `echo -n x` in #(((((
7766 case `echo 'xy\c'` in
7767 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7769 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7776 rm -f conf$$ conf$$.exe conf$$.
file
7777 if test -d conf$$.dir
; then
7778 rm -f conf$$.dir
/conf$$.
file
7781 mkdir conf$$.dir
2>/dev
/null
7783 if (echo >conf$$.
file) 2>/dev
/null
; then
7784 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7786 # ... but there are two gotchas:
7787 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7788 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7789 # In both cases, we have to default to `cp -p'.
7790 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7792 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7800 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7801 rmdir conf$$.dir
2>/dev
/null
7806 # Create "$as_dir" as a directory, including parents if necessary.
7811 -*) as_dir
=.
/$as_dir;;
7813 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7817 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7818 *) as_qdir
=$as_dir;;
7820 as_dirs
="'$as_qdir' $as_dirs"
7821 as_dir
=`$as_dirname -- "$as_dir" ||
7822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7823 X"$as_dir" : 'X\(//\)[^/]' \| \
7824 X"$as_dir" : 'X\(//\)$' \| \
7825 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7826 $as_echo X"$as_dir" |
7827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7844 test -d "$as_dir" && break
7846 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7847 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7851 if mkdir
-p .
2>/dev
/null
; then
7852 as_mkdir_p
='mkdir -p "$as_dir"'
7854 test -d .
/-p && rmdir .
/-p
7858 if test -x / >/dev
/null
2>&1; then
7861 if ls -dL / >/dev
/null
2>&1; then
7868 if test -d "$1"; then
7874 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7875 ???[sx]*):;;*)false;;esac;fi
7879 as_executable_p
=$as_test_x
7881 # Sed expression to map a string onto a valid CPP name.
7882 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7884 # Sed expression to map a string onto a valid variable name.
7885 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7889 ## ----------------------------------- ##
7890 ## Main body of $CONFIG_STATUS script. ##
7891 ## ----------------------------------- ##
7893 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7896 # Save the log message, to keep $0 and so on meaningful, and to
7897 # report actual input values of CONFIG_FILES etc. instead of their
7898 # values after options handling.
7900 This file was extended by cpplib $as_me , which was
7901 generated by GNU Autoconf 2.64. Invocation command line was
7903 CONFIG_FILES = $CONFIG_FILES
7904 CONFIG_HEADERS = $CONFIG_HEADERS
7905 CONFIG_LINKS = $CONFIG_LINKS
7906 CONFIG_COMMANDS = $CONFIG_COMMANDS
7909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7914 case $ac_config_files in *"
7915 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7918 case $ac_config_headers in *"
7919 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7924 # Files that config.status was made for.
7925 config_files="$ac_config_files"
7926 config_headers="$ac_config_headers"
7927 config_commands="$ac_config_commands"
7931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7933 \`$as_me' instantiates files and other configuration actions
7934 from templates according to the current configuration. Unless the files
7935 and actions are specified as TAGs, all are instantiated by default.
7937 Usage: $0 [OPTION]... [TAG]...
7939 -h, --help print this help, then exit
7940 -V, --version print version number and configuration settings, then exit
7941 -q, --quiet, --silent
7942 do not print progress messages
7943 -d, --debug don't remove temporary files
7944 --recheck update $as_me by reconfiguring in the same conditions
7945 --file=FILE[:TEMPLATE]
7946 instantiate the configuration file FILE
7947 --header=FILE[:TEMPLATE]
7948 instantiate the configuration header FILE
7950 Configuration files:
7953 Configuration headers:
7956 Configuration commands:
7959 Report bugs to <gcc-bugs@gcc.gnu.org>."
7962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7964 cpplib config.status
7965 configured by $0, generated by GNU Autoconf 2.64,
7966 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7968 Copyright (C) 2009 Free Software Foundation, Inc.
7969 This config.status script is free software; the Free Software Foundation
7970 gives unlimited permission to copy, distribute and modify it."
7975 test -n "\$AWK" || AWK=awk
7978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7979 # The default lists apply if the user does not specify any file.
7985 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7986 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7997 # Handling of the options.
7998 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8000 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8001 $as_echo "$ac_cs_version"; exit ;;
8002 --debug |
--debu |
--deb |
--de |
--d |
-d )
8004 --file |
--fil |
--fi |
--f )
8007 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8009 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8010 ac_need_defaults
=false
;;
8011 --header |
--heade |
--head |
--hea )
8014 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8016 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8017 ac_need_defaults
=false
;;
8019 # Conflict between --help and --header
8020 as_fn_error
"ambiguous option: \`$1'
8021 Try \`$0 --help' for more information.";;
8022 --help |
--hel |
-h )
8023 $as_echo "$ac_cs_usage"; exit ;;
8024 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8025 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8029 -*) as_fn_error
"unrecognized option: \`$1'
8030 Try \`$0 --help' for more information." ;;
8032 *) as_fn_append ac_config_targets
" $1"
8033 ac_need_defaults
=false
;;
8039 ac_configure_extra_args
=
8041 if $ac_cs_silent; then
8043 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8048 if \$ac_cs_recheck; then
8049 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8051 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8052 CONFIG_SHELL='$SHELL'
8058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8063 ## Running $as_me. ##
8069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8073 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
8077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8079 # Handling of arguments.
8080 for ac_config_target
in $ac_config_targets
8082 case $ac_config_target in
8083 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
8084 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8085 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8087 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8092 # If the user did not use the arguments to specify the items to instantiate,
8093 # then the envvar interface is used. Set only those that are not.
8094 # We use the long form for the default assignment because of an extremely
8095 # bizarre bug on SunOS 4.1.3.
8096 if $ac_need_defaults; then
8097 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8098 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8099 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8102 # Have a temporary directory for convenience. Make it in the build tree
8103 # simply because there is no reason against having it here, and in addition,
8104 # creating and moving files from /tmp can sometimes cause problems.
8105 # Hook for its removal unless debugging.
8106 # Note that there is a small window in which the directory will not be cleaned:
8107 # after its creation but before its name has been assigned to `$tmp'.
8111 trap 'exit_status=$?
8112 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8114 trap 'as_fn_exit 1' 1 2 13 15
8116 # Create a (secure) tmp directory for tmp files.
8119 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8120 test -n "$tmp" && test -d "$tmp"
8123 tmp
=.
/conf$$
-$RANDOM
8124 (umask 077 && mkdir
"$tmp")
8125 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8127 # Set up the scripts for CONFIG_FILES section.
8128 # No need to generate them if there are no CONFIG_FILES.
8129 # This happens for instance with `./config.status config.h'.
8130 if test -n "$CONFIG_FILES"; then
8133 ac_cr
=`echo X | tr X '\015'`
8134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8135 # But we know of no other shell where ac_cr would be empty at this
8136 # point, so we can use a bashism as a fallback.
8137 if test "x$ac_cr" = x
; then
8138 eval ac_cr
=\$
\'\\r
\'
8140 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8147 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8152 echo "cat >conf$$subs.awk <<_ACEOF" &&
8153 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8156 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8159 for ac_last_try in false false false false false :; do
8160 . ./conf$$subs.sh ||
8161 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8163 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8164 if test $ac_delim_n = $ac_delim_num; then
8166 elif $ac_last_try; then
8167 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8169 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8175 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8179 s/^/S["/; s
/!.
*/"]=/
8189 s/\(.\{148\}\).*/\1/
8191 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8196 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8203 s/\(.\{148\}\).*/\1/
8205 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8209 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8214 ' <conf$$subs.awk | sed '
8219 ' >>$CONFIG_STATUS || ac_write_fail=1
8220 rm -f conf$$subs.awk
8221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8223 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8224 for (key in S) S_is_set[key] = 1
8230 nfields = split(line, field, "@
")
8232 len = length(field[1])
8233 for (i = 2; i < nfields; i++) {
8235 keylen = length(key)
8236 if (S_is_set[key]) {
8238 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8239 len += length(value) + length(field[++i])
8250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8251 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8252 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8255 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8256 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8259 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8260 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8261 # trailing colons and then remove the whole line if VPATH becomes empty
8262 # (actually we leave an empty line to preserve line numbers).
8263 if test "x
$srcdir" = x.; then
8264 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8268 s/^\([^=]*=[ ]*\):*/\1/
8274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8275 fi # test -n "$CONFIG_FILES"
8277 # Set up the scripts for CONFIG_HEADERS section.
8278 # No need to generate them if there are no CONFIG_HEADERS.
8279 # This happens for instance with `./config.status Makefile'.
8280 if test -n "$CONFIG_HEADERS"; then
8281 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8285 # Transform confdefs.h into an awk script `defines.awk', embedded as
8286 # here-document in config.status, that substitutes the proper values into
8287 # config.h.in to produce config.h.
8289 # Create a delimiter string that does not exist in confdefs.h, to ease
8290 # handling of long lines.
8292 for ac_last_try in false false :; do
8293 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8294 if test -z "$ac_t"; then
8296 elif $ac_last_try; then
8297 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8299 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8303 # For the awk script, D is an array of macro values keyed by name,
8304 # likewise P contains macro parameters if any. Preserve backslash
8305 # newline sequences.
8307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8309 s/.\{148\}/&'"$ac_delim"'/g
8312 s/^[ ]*#[ ]*define[ ][ ]*/ /
8319 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8321 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8326 D["\
1"]=" \
3\\\\\\n
"\\/p
8328 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8333 s/.\{148\}/&'"$ac_delim"'/g
8338 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8341 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8343 ' <confdefs.h | sed '
8344 s/'"$ac_delim"'/"\\\
8345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8348 for (key in D) D_is_set[key] = 1
8351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8353 split(line, arg, " ")
8354 if (arg[1] == "#") {
8358 defundef
= substr
(arg
[1], 2)
8361 split(mac1
, mac2
, "(") #)
8363 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8364 if (D_is_set
[macro
]) {
8365 # Preserve the white space surrounding the "#".
8366 print prefix
"define", macro P
[macro
] D
[macro
]
8369 # Replace #undef with comments. This is necessary, for example,
8370 # in the case of _POSIX_SOURCE, which is predefined and required
8371 # on some systems where configure will not decide to define it.
8372 if (defundef
== "undef") {
8373 print
"/*", prefix defundef
, macro
, "*/"
8381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8382 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8383 fi # test -n "$CONFIG_HEADERS"
8386 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8391 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8393 case $ac_mode$ac_tag in
8395 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8396 :[FH
]-) ac_tag
=-:-;;
8397 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8414 -) ac_f
="$tmp/stdin";;
8415 *) # Look for the file first in the build tree, then in the source tree
8416 # (if the path is not absolute). The absolute path cannot be DOS-style,
8417 # because $ac_f cannot contain `:'.
8421 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8423 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8425 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8426 as_fn_append ac_file_inputs
" '$ac_f'"
8429 # Let's still pretend it is `configure' which instantiates (i.e., don't
8430 # use $as_me), people would be surprised to read:
8431 # /* config.h. Generated by config.status. */
8432 configure_input
='Generated from '`
8433 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8435 if test x
"$ac_file" != x-
; then
8436 configure_input
="$ac_file. $configure_input"
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8438 $as_echo "$as_me: creating $ac_file" >&6;}
8440 # Neutralize special characters interpreted by sed in replacement strings.
8441 case $configure_input in #(
8442 *\
&* |
*\|
* |
*\\* )
8443 ac_sed_conf_input
=`$as_echo "$configure_input" |
8444 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8445 *) ac_sed_conf_input
=$configure_input;;
8449 *:-:* |
*:-) cat >"$tmp/stdin" \
8450 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8455 ac_dir
=`$as_dirname -- "$ac_file" ||
8456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8457 X"$ac_file" : 'X\(//\)[^/]' \| \
8458 X"$ac_file" : 'X\(//\)$' \| \
8459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8460 $as_echo X"$ac_file" |
8461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8478 as_dir
="$ac_dir"; as_fn_mkdir_p
8482 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8484 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8485 # A ".." for each directory in $ac_dir_suffix.
8486 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8487 case $ac_top_builddir_sub in
8488 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8489 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8492 ac_abs_top_builddir
=$ac_pwd
8493 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8494 # for backward compatibility:
8495 ac_top_builddir
=$ac_top_build_prefix
8498 .
) # We are building in place.
8500 ac_top_srcdir
=$ac_top_builddir_sub
8501 ac_abs_top_srcdir
=$ac_pwd ;;
8502 [\\/]* | ?
:[\\/]* ) # Absolute name.
8503 ac_srcdir
=$srcdir$ac_dir_suffix;
8504 ac_top_srcdir
=$srcdir
8505 ac_abs_top_srcdir
=$srcdir ;;
8507 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8508 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8509 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8511 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8521 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8522 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8527 # If the template does not know about datarootdir, expand it.
8528 # FIXME: This hack should be removed a few years after 2.60.
8529 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8540 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8541 *datarootdir
*) ac_datarootdir_seen
=yes;;
8542 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8544 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8547 ac_datarootdir_hack='
8548 s&@datadir@&$datadir&g
8549 s&@docdir@&$docdir&g
8550 s&@infodir@&$infodir&g
8551 s&@localedir@&$localedir&g
8552 s&@mandir@&$mandir&g
8553 s&\\\${datarootdir}&$datarootdir&g' ;;
8557 # Neutralize VPATH when `$srcdir' = `.'.
8558 # Shell code in configure.ac might set extrasub.
8559 # FIXME: do we really want to maintain this feature?
8560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8561 ac_sed_extra="$ac_vpsub
8564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8566 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8567 s|@configure_input@|
$ac_sed_conf_input|
;t t
8568 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8569 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8570 s
&@srcdir@
&$ac_srcdir&;t t
8571 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8572 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8573 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8574 s
&@builddir@
&$ac_builddir&;t t
8575 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8576 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8577 s
&@INSTALL@
&$ac_INSTALL&;t t
8578 $ac_datarootdir_hack
8580 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8581 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8583 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8584 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8585 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8587 which seems to be undefined. Please make sure it is defined." >&5
8588 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8589 which seems to be undefined. Please make sure it is defined." >&2;}
8593 -) cat "$tmp/out" && rm -f "$tmp/out";;
8594 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8596 || as_fn_error "could not create $ac_file" "$LINENO" 5
8602 if test x"$ac_file" != x-; then
8604 $as_echo "/* $configure_input */" \
8605 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8606 } >"$tmp/config.h" \
8607 || as_fn_error "could not create $ac_file" "$LINENO" 5
8608 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8610 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8613 mv "$tmp/config.h" "$ac_file" \
8614 || as_fn_error "could not create $ac_file" "$LINENO" 5
8617 $as_echo "/* $configure_input */" \
8618 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8619 || as_fn_error "could not create -" "$LINENO" 5
8623 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8624 $as_echo "$as_me: executing $ac_file commands" >&6;}
8629 case $ac_file$ac_mode in
8630 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
8631 "config.h":H) echo timestamp > stamp-h1 ;;
8639 ac_clean_files=$ac_clean_files_save
8641 test $ac_write_fail = 0 ||
8642 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8645 # configure is writing to config.log, and then calls config.status.
8646 # config.status does its own redirection, appending to config.log.
8647 # Unfortunately, on DOS this fails, as config.log is still kept open
8648 # by configure, so config.status won't be able to
write to it
; its
8649 # output is simply discarded. So we exec the FD to /dev/null,
8650 # effectively closing config.log, so it can be properly (re)opened and
8651 # appended to by config.status. When coming back to configure, we
8652 # need to make the FD available again.
8653 if test "$no_create" != yes; then
8655 ac_config_status_args
=
8656 test "$silent" = yes &&
8657 ac_config_status_args
="$ac_config_status_args --quiet"
8659 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8661 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8662 # would make configure fail if this is the last instruction.
8663 $ac_cs_success || as_fn_exit $?
8665 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8667 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}