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
682 program_transform_name
695 enable_option_checking
701 enable_maintainer_mode
703 enable_canonical_system_headers
705 ac_precious_vars
='build_alias
719 # Initialize some variables set by options.
721 ac_init_version
=false
722 ac_unrecognized_opts
=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name
=s
,x
,x
,
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir
='${exec_prefix}/bin'
748 sbindir
='${exec_prefix}/sbin'
749 libexecdir
='${exec_prefix}/libexec'
750 datarootdir
='${prefix}/share'
751 datadir
='${datarootdir}'
752 sysconfdir
='${prefix}/etc'
753 sharedstatedir
='${prefix}/com'
754 localstatedir
='${prefix}/var'
755 includedir
='${prefix}/include'
756 oldincludedir
='/usr/include'
757 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
758 infodir
='${datarootdir}/info'
763 libdir
='${exec_prefix}/lib'
764 localedir
='${datarootdir}/locale'
765 mandir
='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\
$ac_option
779 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783 # Accept the important Cygnus configure options, so we can diagnose typos.
785 case $ac_dashdash$ac_option in
789 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
791 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
794 -build |
--build |
--buil |
--bui |
--bu)
795 ac_prev
=build_alias
;;
796 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
797 build_alias
=$ac_optarg ;;
799 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
800 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
801 ac_prev
=cache_file
;;
802 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
803 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
804 cache_file
=$ac_optarg ;;
807 cache_file
=config.cache
;;
809 -datadir |
--datadir |
--datadi |
--datad)
811 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
812 datadir
=$ac_optarg ;;
814 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
815 |
--dataroo |
--dataro |
--datar)
816 ac_prev
=datarootdir
;;
817 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
818 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
819 datarootdir
=$ac_optarg ;;
821 -disable-* |
--disable-*)
822 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
825 as_fn_error
"invalid feature name: $ac_useropt"
826 ac_useropt_orig
=$ac_useropt
827 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
832 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
833 ac_unrecognized_sep
=', ';;
835 eval enable_
$ac_useropt=no
;;
837 -docdir |
--docdir |
--docdi |
--doc |
--do)
839 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
842 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
844 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
847 -enable-* |
--enable-*)
848 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
851 as_fn_error
"invalid feature name: $ac_useropt"
852 ac_useropt_orig
=$ac_useropt
853 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854 case $ac_user_opts in
858 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
859 ac_unrecognized_sep
=', ';;
861 eval enable_
$ac_useropt=\
$ac_optarg ;;
863 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
864 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
865 |
--exec |
--exe |
--ex)
866 ac_prev
=exec_prefix
;;
867 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
868 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
869 |
--exec=* |
--exe=* |
--ex=*)
870 exec_prefix
=$ac_optarg ;;
872 -gas |
--gas |
--ga |
--g)
873 # Obsolete; use --with-gas.
876 -help |
--help |
--hel |
--he |
-h)
878 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
879 ac_init_help
=recursive
;;
880 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
881 ac_init_help
=short
;;
883 -host |
--host |
--hos |
--ho)
884 ac_prev
=host_alias
;;
885 -host=* |
--host=* |
--hos=* |
--ho=*)
886 host_alias
=$ac_optarg ;;
888 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
890 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
892 htmldir
=$ac_optarg ;;
894 -includedir |
--includedir |
--includedi |
--included |
--include \
895 |
--includ |
--inclu |
--incl |
--inc)
896 ac_prev
=includedir
;;
897 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
898 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
899 includedir
=$ac_optarg ;;
901 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
903 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
904 infodir
=$ac_optarg ;;
906 -libdir |
--libdir |
--libdi |
--libd)
908 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
911 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
912 |
--libexe |
--libex |
--libe)
913 ac_prev
=libexecdir
;;
914 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
915 |
--libexe=* |
--libex=* |
--libe=*)
916 libexecdir
=$ac_optarg ;;
918 -localedir |
--localedir |
--localedi |
--localed |
--locale)
920 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
921 localedir
=$ac_optarg ;;
923 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
924 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
925 ac_prev
=localstatedir
;;
926 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
927 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
928 localstatedir
=$ac_optarg ;;
930 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
932 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
936 # Obsolete; use --without-fp.
939 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
940 |
--no-cr |
--no-c |
-n)
943 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
944 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
947 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
948 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
949 |
--oldin |
--oldi |
--old |
--ol |
--o)
950 ac_prev
=oldincludedir
;;
951 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
952 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
953 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
954 oldincludedir
=$ac_optarg ;;
956 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
958 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
961 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
962 |
--program-pre |
--program-pr |
--program-p)
963 ac_prev
=program_prefix
;;
964 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
965 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
966 program_prefix
=$ac_optarg ;;
968 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
969 |
--program-suf |
--program-su |
--program-s)
970 ac_prev
=program_suffix
;;
971 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
972 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
973 program_suffix
=$ac_optarg ;;
975 -program-transform-name |
--program-transform-name \
976 |
--program-transform-nam |
--program-transform-na \
977 |
--program-transform-n |
--program-transform- \
978 |
--program-transform |
--program-transfor \
979 |
--program-transfo |
--program-transf \
980 |
--program-trans |
--program-tran \
981 |
--progr-tra |
--program-tr |
--program-t)
982 ac_prev
=program_transform_name
;;
983 -program-transform-name=* |
--program-transform-name=* \
984 |
--program-transform-nam=* |
--program-transform-na=* \
985 |
--program-transform-n=* |
--program-transform-=* \
986 |
--program-transform=* |
--program-transfor=* \
987 |
--program-transfo=* |
--program-transf=* \
988 |
--program-trans=* |
--program-tran=* \
989 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
990 program_transform_name
=$ac_optarg ;;
992 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
994 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
997 -psdir |
--psdir |
--psdi |
--psd |
--ps)
999 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1002 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1003 |
-silent |
--silent |
--silen |
--sile |
--sil)
1006 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1008 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1010 sbindir
=$ac_optarg ;;
1012 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1013 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1014 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1016 ac_prev
=sharedstatedir
;;
1017 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1018 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1019 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1021 sharedstatedir
=$ac_optarg ;;
1023 -site |
--site |
--sit)
1025 -site=* |
--site=* |
--sit=*)
1028 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1030 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1031 srcdir
=$ac_optarg ;;
1033 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1034 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1035 ac_prev
=sysconfdir
;;
1036 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1037 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1038 sysconfdir
=$ac_optarg ;;
1040 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1041 ac_prev
=target_alias
;;
1042 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1043 target_alias
=$ac_optarg ;;
1045 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1048 -version |
--version |
--versio |
--versi |
--vers |
-V)
1049 ac_init_version
=: ;;
1052 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 as_fn_error
"invalid package name: $ac_useropt"
1056 ac_useropt_orig
=$ac_useropt
1057 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1062 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1063 ac_unrecognized_sep
=', ';;
1065 eval with_
$ac_useropt=\
$ac_optarg ;;
1067 -without-* |
--without-*)
1068 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1071 as_fn_error
"invalid package name: $ac_useropt"
1072 ac_useropt_orig
=$ac_useropt
1073 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1078 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1079 ac_unrecognized_sep
=', ';;
1081 eval with_
$ac_useropt=no
;;
1084 # Obsolete; use --with-x.
1087 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1088 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1089 ac_prev
=x_includes
;;
1090 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1091 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1092 x_includes
=$ac_optarg ;;
1094 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1095 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1096 ac_prev
=x_libraries
;;
1097 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1098 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1099 x_libraries
=$ac_optarg ;;
1101 -*) as_fn_error
"unrecognized option: \`$ac_option'
1102 Try \`$0 --help' for more information."
1106 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1107 # Reject names that are not valid shell variable names.
1108 case $ac_envvar in #(
1109 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1110 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1112 eval $ac_envvar=\
$ac_optarg
1113 export $ac_envvar ;;
1116 # FIXME: should be removed in autoconf 3.0.
1117 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1118 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1119 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1120 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1126 if test -n "$ac_prev"; then
1127 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1128 as_fn_error
"missing argument to $ac_option"
1131 if test -n "$ac_unrecognized_opts"; then
1132 case $enable_option_checking in
1134 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1135 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1139 # Check all directory arguments for consistency.
1140 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1141 datadir sysconfdir sharedstatedir localstatedir includedir \
1142 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1143 libdir localedir mandir
1145 eval ac_val
=\$
$ac_var
1146 # Remove trailing slashes.
1149 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1150 eval $ac_var=\
$ac_val;;
1152 # Be sure to have absolute directory names.
1154 [\\/$
]* | ?
:[\\/]* ) continue;;
1155 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1157 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1160 # There might be people who depend on the old broken behavior: `$host'
1161 # used to hold the argument of --host etc.
1162 # FIXME: To remove some day.
1165 target
=$target_alias
1167 # FIXME: To remove some day.
1168 if test "x$host_alias" != x
; then
1169 if test "x$build_alias" = x
; then
1170 cross_compiling
=maybe
1171 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1172 If a cross compiler is detected then cross compile mode will be used." >&2
1173 elif test "x$build_alias" != "x$host_alias"; then
1179 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1181 test "$silent" = yes && exec 6>/dev
/null
1184 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1185 ac_ls_di
=`ls -di .` &&
1186 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1187 as_fn_error
"working directory cannot be determined"
1188 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1189 as_fn_error
"pwd does not report name of working directory"
1192 # Find the source files, if location was not specified.
1193 if test -z "$srcdir"; then
1194 ac_srcdir_defaulted
=yes
1195 # Try the directory containing this script, then the parent directory.
1196 ac_confdir
=`$as_dirname -- "$as_myself" ||
1197 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1198 X"$as_myself" : 'X\(//\)[^/]' \| \
1199 X"$as_myself" : 'X\(//\)$' \| \
1200 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1201 $as_echo X"$as_myself" |
1202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1220 if test ! -r "$srcdir/$ac_unique_file"; then
1224 ac_srcdir_defaulted
=no
1226 if test ! -r "$srcdir/$ac_unique_file"; then
1227 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1228 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1230 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1232 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1234 # When building in place, set srcdir=.
1235 if test "$ac_abs_confdir" = "$ac_pwd"; then
1238 # Remove unnecessary trailing slashes from srcdir.
1239 # Double slashes in file names in object file debugging info
1240 # mess up M-x gdb in Emacs.
1242 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244 for ac_var
in $ac_precious_vars; do
1245 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1246 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1247 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1248 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1252 # Report the --help message.
1254 if test "$ac_init_help" = "long"; then
1255 # Omit some internal or obsolete options to make the list less imposing.
1256 # This message is too long to be a string in the A/UX 3.1 sh.
1258 \`configure' configures cpplib to adapt to many kinds of systems.
1260 Usage: $0 [OPTION]... [VAR=VALUE]...
1262 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1263 VAR=VALUE. See below for descriptions of some of the useful variables.
1265 Defaults for the options are specified in brackets.
1268 -h, --help display this help and exit
1269 --help=short display options specific to this package
1270 --help=recursive display the short help of all the included packages
1271 -V, --version display version information and exit
1272 -q, --quiet, --silent do not print \`checking...' messages
1273 --cache-file=FILE cache test results in FILE [disabled]
1274 -C, --config-cache alias for \`--cache-file=config.cache'
1275 -n, --no-create do not create output files
1276 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1278 Installation directories:
1279 --prefix=PREFIX install architecture-independent files in PREFIX
1280 [$ac_default_prefix]
1281 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1284 By default, \`make install' will install all the files in
1285 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1286 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1287 for instance \`--prefix=\$HOME'.
1289 For better control, use the options below.
1291 Fine tuning of the installation directories:
1292 --bindir=DIR user executables [EPREFIX/bin]
1293 --sbindir=DIR system admin executables [EPREFIX/sbin]
1294 --libexecdir=DIR program executables [EPREFIX/libexec]
1295 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1296 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1297 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1298 --libdir=DIR object code libraries [EPREFIX/lib]
1299 --includedir=DIR C header files [PREFIX/include]
1300 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1301 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1302 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1303 --infodir=DIR info documentation [DATAROOTDIR/info]
1304 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1305 --mandir=DIR man documentation [DATAROOTDIR/man]
1306 --docdir=DIR documentation root [DATAROOTDIR/doc/cpplib]
1307 --htmldir=DIR html documentation [DOCDIR]
1308 --dvidir=DIR dvi documentation [DOCDIR]
1309 --pdfdir=DIR pdf documentation [DOCDIR]
1310 --psdir=DIR ps documentation [DOCDIR]
1316 --build=BUILD configure
for building on BUILD
[guessed
]
1317 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1318 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1322 if test -n "$ac_init_help"; then
1323 case $ac_init_help in
1324 short | recursive
) echo "Configuration of cpplib :";;
1329 --disable-option-checking ignore unrecognized
--enable/--with options
1330 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1331 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1332 --disable-largefile omit support
for large files
1333 --enable-werror-always enable -Werror despite compiler version
1334 --disable-rpath do not hardcode runtime library paths
1335 --enable-maintainer-mode enable rules only needed by maintainers
1336 --enable-checking enable expensive run-time checks
1337 --enable-canonical-system-headers
1338 enable or disable system headers canonicalization
1341 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1342 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1343 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1344 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1345 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1347 Some influential environment variables:
1348 CC C compiler command
1349 CFLAGS C compiler flags
1350 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1351 nonstandard directory <lib dir>
1352 LIBS libraries to pass to the linker, e.g. -l<library>
1353 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1354 you have headers in a nonstandard directory <include dir>
1355 CXX C++ compiler command
1356 CXXFLAGS C++ compiler flags
1359 Use these variables to override the choices made by `configure' or to
help
1360 it to
find libraries and programs with nonstandard names
/locations.
1362 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
1367 if test "$ac_init_help" = "recursive"; then
1368 # If there are subdirs, report their specific --help.
1369 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1370 test -d "$ac_dir" ||
1371 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1376 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1378 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1379 # A ".." for each directory in $ac_dir_suffix.
1380 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1381 case $ac_top_builddir_sub in
1382 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1383 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1386 ac_abs_top_builddir
=$ac_pwd
1387 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1388 # for backward compatibility:
1389 ac_top_builddir
=$ac_top_build_prefix
1392 .
) # We are building in place.
1394 ac_top_srcdir
=$ac_top_builddir_sub
1395 ac_abs_top_srcdir
=$ac_pwd ;;
1396 [\\/]* | ?
:[\\/]* ) # Absolute name.
1397 ac_srcdir
=$srcdir$ac_dir_suffix;
1398 ac_top_srcdir
=$srcdir
1399 ac_abs_top_srcdir
=$srcdir ;;
1401 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1402 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1403 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1405 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1407 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1408 # Check for guested configure.
1409 if test -f "$ac_srcdir/configure.gnu"; then
1411 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1412 elif test -f "$ac_srcdir/configure"; then
1414 $SHELL "$ac_srcdir/configure" --help=recursive
1416 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1418 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1422 test -n "$ac_init_help" && exit $ac_status
1423 if $ac_init_version; then
1426 generated by GNU Autoconf
2.64
1428 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1429 This configure
script is free software
; the Free Software Foundation
1430 gives unlimited permission to copy
, distribute and modify it.
1435 ## ------------------------ ##
1436 ## Autoconf initialization. ##
1437 ## ------------------------ ##
1439 # ac_fn_c_try_compile LINENO
1440 # --------------------------
1441 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1442 ac_fn_c_try_compile
()
1444 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1445 rm -f conftest.
$ac_objext
1446 if { { ac_try
="$ac_compile"
1448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1449 *) ac_try_echo=$ac_try;;
1451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1452 $as_echo "$ac_try_echo"; } >&5
1453 (eval "$ac_compile") 2>conftest.err
1455 if test -s conftest.err; then
1456 grep -v '^ *+' conftest.err >conftest.er1
1457 cat conftest.er1 >&5
1458 mv -f conftest.er1 conftest.err
1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461 test $ac_status = 0; } && {
1462 test -z "$ac_c_werror_flag" ||
1463 test ! -s conftest.err
1464 } && test -s conftest.$ac_objext; then :
1467 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.$ac_ext >&5
1472 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1475 } # ac_fn_c_try_compile
1477 # ac_fn_cxx_try_compile LINENO
1478 # ----------------------------
1479 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1480 ac_fn_cxx_try_compile ()
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 rm -f conftest.$ac_objext
1484 if { { ac_try="$ac_compile"
1486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1487 *) ac_try_echo
=$ac_try;;
1489 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490 $as_echo "$ac_try_echo"; } >&5
1491 (eval "$ac_compile") 2>conftest.err
1493 if test -s conftest.err
; then
1494 grep -v '^ *+' conftest.err
>conftest.er1
1495 cat conftest.er1
>&5
1496 mv -f conftest.er1 conftest.err
1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1499 test $ac_status = 0; } && {
1500 test -z "$ac_cxx_werror_flag" ||
1501 test ! -s conftest.err
1502 } && test -s conftest.
$ac_objext; then :
1505 $as_echo "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.
$ac_ext >&5
1510 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1513 } # ac_fn_cxx_try_compile
1515 # ac_fn_c_try_cpp LINENO
1516 # ----------------------
1517 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1520 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1521 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1524 *) ac_try_echo=$ac_try;;
1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1527 $as_echo "$ac_try_echo"; } >&5
1528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1530 if test -s conftest.err; then
1531 grep -v '^ *+' conftest.err >conftest.er1
1532 cat conftest.er1 >&5
1533 mv -f conftest.er1 conftest.err
1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536 test $ac_status = 0; } >/dev/null && {
1537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1538 test ! -s conftest.err
1542 $as_echo "$as_me: failed program was:" >&5
1543 sed 's/^/| /' conftest.$ac_ext >&5
1547 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1552 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1553 # -------------------------------------------------------
1554 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1555 # the include files in INCLUDES and setting the cache variable VAR
1557 ac_fn_c_check_header_mongrel ()
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1562 $as_echo_n "checking for $2... " >&6; }
1563 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1564 $as_echo_n "(cached) " >&6
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1568 $as_echo "$ac_res" >&6; }
1570 # Is the header compilable?
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1572 $as_echo_n "checking $2 usability... " >&6; }
1573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1574 /* end confdefs.h. */
1578 if ac_fn_c_try_compile "$LINENO"; then :
1579 ac_header_compiler=yes
1581 ac_header_compiler=no
1583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1585 $as_echo "$ac_header_compiler" >&6; }
1587 # Is the header present?
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1589 $as_echo_n "checking $2 presence... " >&6; }
1590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1591 /* end confdefs.h. */
1594 if ac_fn_c_try_cpp "$LINENO"; then :
1595 ac_header_preproc=yes
1597 ac_header_preproc=no
1599 rm -f conftest.err conftest.$ac_ext
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1601 $as_echo "$ac_header_preproc" >&6; }
1603 # So? What about this header?
1604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1607 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1609 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1613 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1615 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1617 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1619 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1621 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1623 ## ----------------------------------- ##
1624 ## Report this to gcc-bugs@gcc.gnu.org ##
1625 ## ----------------------------------- ##
1627 ) | sed "s/^/$as_me: WARNING: /" >&2
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 $as_echo_n "checking for $2... " >&6; }
1632 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1633 $as_echo_n "(cached) " >&6
1635 eval "$3=\$ac_header_compiler"
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1641 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1643 } # ac_fn_c_check_header_mongrel
1645 # ac_fn_c_try_run LINENO
1646 # ----------------------
1647 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1648 # that executables *can* be run.
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 if { { ac_try="$ac_link"
1654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1655 *) ac_try_echo
=$ac_try;;
1657 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_link") 2>&5
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1663 { { case "(($ac_try" in
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_try") 2>&5
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; }; }; then :
1675 $as_echo "$as_me: program exited with status $ac_status" >&5
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1679 ac_retval=$ac_status
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1688 # -------------------------------------------------------
1689 # Tests whether HEADER exists and can be compiled using the include files in
1690 # INCLUDES, setting the cache variable VAR accordingly.
1691 ac_fn_c_check_header_compile ()
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1697 $as_echo_n "(cached) " >&6
1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1704 if ac_fn_c_try_compile "$LINENO"; then :
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1716 } # ac_fn_c_check_header_compile
1718 # ac_fn_c_try_link LINENO
1719 # -----------------------
1720 # Try to link conftest.$ac_ext, and return whether this succeeded.
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 rm -f conftest.$ac_objext conftest$ac_exeext
1725 if { { ac_try="$ac_link"
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_link") 2>conftest.err
1734 if test -s conftest.err
; then
1735 grep -v '^ *+' conftest.err
>conftest.er1
1736 cat conftest.er1
>&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } && {
1741 test -z "$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1743 } && test -s conftest
$ac_exeext && {
1744 test "$cross_compiling" = yes ||
1745 $as_test_x conftest
$ac_exeext
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.
$ac_ext >&5
1754 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1755 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1756 # interfere with the next link command; also delete a directory that is
1757 # left behind by Apple's compiler. We do this before executing the actions.
1758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1762 } # ac_fn_c_try_link
1764 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1765 # -------------------------------------------
1766 # Tests whether TYPE exists after having included INCLUDES, setting cache
1767 # variable VAR accordingly.
1768 ac_fn_c_check_type
()
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1774 $as_echo_n "(cached) " >&6
1777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1789 if ac_fn_c_try_compile
"$LINENO"; then :
1790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1802 if ac_fn_c_try_compile
"$LINENO"; then :
1807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1816 } # ac_fn_c_check_type
1818 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1819 # --------------------------------------------
1820 # Tries to find the compile-time value of EXPR in a program that includes
1821 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1823 ac_fn_c_compute_int
()
1825 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1826 if test "$cross_compiling" = yes; then
1827 # Depending upon the size, compute the lo and hi bounds.
1828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1834 static int test_array [1 - 2 * !(($2) >= 0)];
1841 if ac_fn_c_try_compile
"$LINENO"; then :
1844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1850 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1857 if ac_fn_c_try_compile
"$LINENO"; then :
1858 ac_hi
=$ac_mid; break
1860 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1861 if test $ac_lo -le $ac_mid; then
1865 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1876 static int test_array [1 - 2 * !(($2) < 0)];
1883 if ac_fn_c_try_compile
"$LINENO"; then :
1886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1892 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1899 if ac_fn_c_try_compile
"$LINENO"; then :
1900 ac_lo
=$ac_mid; break
1902 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1903 if test $ac_mid -le $ac_hi; then
1907 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1917 # Binary search between lo and hi bounds.
1918 while test "x$ac_lo" != "x$ac_hi"; do
1919 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1926 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1933 if ac_fn_c_try_compile
"$LINENO"; then :
1936 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1941 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1948 static long int longval () { return $2; }
1949 static unsigned long int ulongval () { return $2; }
1956 FILE *f = fopen ("conftest.val", "w");
1961 long int i = longval ();
1964 fprintf (f, "%ld", i);
1968 unsigned long int i = ulongval ();
1971 fprintf (f, "%lu", i);
1973 /* Do not output a trailing newline, as this causes \r\n confusion
1974 on some platforms. */
1975 return ferror (f) || fclose (f) != 0;
1981 if ac_fn_c_try_run
"$LINENO"; then :
1982 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1986 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1987 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1994 } # ac_fn_c_compute_int
1996 # ac_fn_c_check_func LINENO FUNC VAR
1997 # ----------------------------------
1998 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1999 ac_fn_c_check_func
()
2001 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003 $as_echo_n "checking for $2... " >&6; }
2004 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2005 $as_echo_n "(cached) " >&6
2007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2009 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2011 #define $2 innocuous_$2
2013 /* System header to define __stub macros and hopefully few prototypes,
2014 which can conflict with char $2 (); below.
2015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2016 <limits.h> exists even on freestanding compilers. */
2019 # include <limits.h>
2021 # include <assert.h>
2026 /* Override any GCC internal prototype to avoid an error.
2027 Use char because int might match the return type of a GCC
2028 builtin and then its argument prototype would still apply. */
2033 /* The GNU C library defines this for functions which it implements
2034 to always fail with ENOSYS. Some functions are actually named
2035 something starting with __ and the normal name is an alias. */
2036 #if defined __stub_$2 || defined __stub___$2
2048 if ac_fn_c_try_link
"$LINENO"; then :
2053 rm -f core conftest.err conftest.
$ac_objext \
2054 conftest
$ac_exeext conftest.
$ac_ext
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058 $as_echo "$ac_res" >&6; }
2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2061 } # ac_fn_c_check_func
2063 # ac_fn_c_check_decl LINENO SYMBOL VAR
2064 # ------------------------------------
2065 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2066 ac_fn_c_check_decl
()
2068 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2069 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2070 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2072 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2073 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2074 $as_echo_n "(cached) " >&6
2076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2082 #ifndef $as_decl_name
2084 (void) $as_decl_use;
2086 (void) $as_decl_name;
2094 if ac_fn_c_try_compile
"$LINENO"; then :
2099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2104 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2106 } # ac_fn_c_check_decl
2108 # ac_fn_cxx_try_link LINENO
2109 # -------------------------
2110 # Try to link conftest.$ac_ext, and return whether this succeeded.
2111 ac_fn_cxx_try_link
()
2113 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2114 rm -f conftest.
$ac_objext conftest
$ac_exeext
2115 if { { ac_try
="$ac_link"
2117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2118 *) ac_try_echo=$ac_try;;
2120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2121 $as_echo "$ac_try_echo"; } >&5
2122 (eval "$ac_link") 2>conftest.err
2124 if test -s conftest.err; then
2125 grep -v '^ *+' conftest.err >conftest.er1
2126 cat conftest.er1 >&5
2127 mv -f conftest.er1 conftest.err
2129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2130 test $ac_status = 0; } && {
2131 test -z "$ac_cxx_werror_flag" ||
2132 test ! -s conftest.err
2133 } && test -s conftest$ac_exeext && {
2134 test "$cross_compiling" = yes ||
2135 $as_test_x conftest$ac_exeext
2139 $as_echo "$as_me: failed program was:" >&5
2140 sed 's/^/| /' conftest.$ac_ext >&5
2144 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2145 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2146 # interfere with the next link command; also delete a directory that is
2147 # left behind by Apple's compiler. We do this before executing the actions.
2148 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2149 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2152 } # ac_fn_cxx_try_link
2153 cat >config.log <<_ACEOF
2154 This file contains any messages produced by compilers while
2155 running configure, to aid debugging if configure makes a mistake.
2157 It was created by cpplib $as_me , which was
2158 generated by GNU Autoconf 2.64. Invocation command line was
2170 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2171 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2172 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2173 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2174 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2176 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2177 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2179 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2180 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2181 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2182 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2183 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2184 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2185 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 $as_echo "PATH: $as_dir"
2210 # Keep a trace of the command line.
2211 # Strip out --no-create and --no-recursion so they do not pile up.
2212 # Strip out --silent because we don't want to record it for future runs.
2213 # Also quote any args containing shell meta-characters.
2214 # Make two passes to allow for proper duplicate-argument suppression.
2218 ac_must_keep_next=false
2224 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2226 | -silent | --silent | --silen | --sile | --sil)
2229 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2232 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2234 as_fn_append ac_configure_args1 " '$ac_arg'"
2235 if test $ac_must_keep_next = true; then
2236 ac_must_keep_next=false # Got value, back to normal.
2239 *=* | --config-cache | -C | -disable-* | --disable-* \
2240 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2241 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2242 | -with-* | --with-* | -without-* | --without-* | --x)
2243 case "$ac_configure_args0 " in
2244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2247 -* ) ac_must_keep_next=true ;;
2250 as_fn_append ac_configure_args " '$ac_arg'"
2255 { ac_configure_args0=; unset ac_configure_args0;}
2256 { ac_configure_args1=; unset ac_configure_args1;}
2258 # When interrupted or exit'd, cleanup temporary files, and complete
2259 # config.log. We remove comments because anyway the quotes in there
2260 # would cause problems or look ugly.
2261 # WARNING: Use '\'' to represent an apostrophe within the trap.
2262 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2263 trap 'exit_status=$?
2264 # Save into config.log some information that might help in debugging.
2269 ## ---------------- ##
2270 ## Cache variables. ##
2271 ## ---------------- ##
2274 # The following way of writing the cache mishandles newlines in values,
2276 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2277 eval ac_val=\$$ac_var
2281 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2282 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2285 _ | IFS | as_nl) ;; #(
2286 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2287 *) { eval $ac_var=; unset $ac_var;} ;;
2292 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2293 *${as_nl}ac_space=\ *)
2295 "s/'\''/'\''\\\\'\'''\''/g;
2296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2307 ## ----------------- ##
2308 ## Output variables. ##
2309 ## ----------------- ##
2312 for ac_var in $ac_subst_vars
2314 eval ac_val=\$$ac_var
2316 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2318 $as_echo "$ac_var='\''$ac_val'\''"
2322 if test -n "$ac_subst_files"; then
2324 ## ------------------- ##
2325 ## File substitutions. ##
2326 ## ------------------- ##
2329 for ac_var in $ac_subst_files
2331 eval ac_val=\$$ac_var
2333 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2335 $as_echo "$ac_var='\''$ac_val'\''"
2340 if test -s confdefs.h; then
2350 test "$ac_signal" != 0 &&
2351 $as_echo "$as_me: caught signal $ac_signal"
2352 $as_echo "$as_me: exit $exit_status"
2354 rm -f core *.core core.conftest.* &&
2355 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2358 for ac_signal in 1 2 13 15; do
2359 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2364 rm -f -r conftest* confdefs.h
2366 $as_echo "/* confdefs.h */" > confdefs.h
2368 # Predefined preprocessor variables.
2370 cat >>confdefs.h <<_ACEOF
2371 #define PACKAGE_NAME "$PACKAGE_NAME"
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2382 cat >>confdefs.h <<_ACEOF
2383 #define PACKAGE_STRING "$PACKAGE_STRING"
2386 cat >>confdefs.h <<_ACEOF
2387 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_URL "$PACKAGE_URL"
2395 # Let the site file select an alternate cache file if it wants to.
2396 # Prefer an explicitly selected file to automatically selected ones.
2399 if test -n "$CONFIG_SITE"; then
2400 ac_site_file1=$CONFIG_SITE
2401 elif test "x$prefix" != xNONE; then
2402 ac_site_file1=$prefix/share/config.site
2403 ac_site_file2=$prefix/etc/config.site
2405 ac_site_file1=$ac_default_prefix/share/config.site
2406 ac_site_file2=$ac_default_prefix/etc/config.site
2408 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2410 test "x$ac_site_file" = xNONE && continue
2411 if test -r "$ac_site_file"; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2413 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2414 sed 's/^/| /' "$ac_site_file" >&5
2419 if test -r "$cache_file"; then
2420 # Some versions of bash will fail to source /dev/null (special
2421 # files actually), so we avoid doing that.
2422 if test -f "$cache_file"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2424 $as_echo "$as_me: loading cache $cache_file" >&6;}
2426 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2427 *) . "./$cache_file";;
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2432 $as_echo "$as_me: creating cache $cache_file" >&6;}
2436 # Check that the precious variables saved in the cache have kept the same
2438 ac_cache_corrupted=false
2439 for ac_var in $ac_precious_vars; do
2440 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2441 eval ac_new_set=\$ac_env_${ac_var}_set
2442 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2443 eval ac_new_val=\$ac_env_${ac_var}_value
2444 case $ac_old_set,$ac_new_set in
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2447 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2448 ac_cache_corrupted=: ;;
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2451 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2452 ac_cache_corrupted=: ;;
2455 if test "x$ac_old_val" != "x$ac_new_val"; then
2456 # differences in whitespace do not lead to failure.
2457 ac_old_val_w=`echo x
$ac_old_val`
2458 ac_new_val_w=`echo x
$ac_new_val`
2459 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2461 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2462 ac_cache_corrupted=:
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2465 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2466 eval $ac_var=\$ac_old_val
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2469 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2471 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2474 # Pass precious variables to config.status.
2475 if test "$ac_new_set" = set; then
2477 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2478 *) ac_arg=$ac_var=$ac_new_val ;;
2480 case " $ac_configure_args " in
2481 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2482 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2486 if $ac_cache_corrupted; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2490 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2491 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2493 ## -------------------- ##
2494 ## Main body of script. ##
2495 ## -------------------- ##
2498 ac_cpp='$CPP $CPPFLAGS'
2499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2510 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2511 for ac_t in install-sh install.sh shtool; do
2512 if test -f "$ac_dir/$ac_t"; then
2514 ac_install_sh="$ac_aux_dir/$ac_t -c"
2519 if test -z "$ac_aux_dir"; then
2520 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2523 # These three variables are undocumented and unsupported,
2524 # and are intended to be withdrawn in a future Autoconf release.
2525 # They can cause serious problems if a builder's source tree is in a directory
2526 # whose full name contains unusual characters.
2527 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2528 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2529 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2532 # Make sure we can run config.sub.
2533 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2534 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2537 $as_echo_n "checking build system type... " >&6; }
2538 if test "${ac_cv_build+set}" = set; then :
2539 $as_echo_n "(cached) " >&6
2541 ac_build_alias=$build_alias
2542 test "x$ac_build_alias" = x &&
2543 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2544 test "x$ac_build_alias" = x &&
2545 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2546 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2547 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2551 $as_echo "$ac_cv_build" >&6; }
2552 case $ac_cv_build in
2554 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2557 ac_save_IFS=$IFS; IFS='-'
2563 # Remember, the first character of IFS is used to create $*,
2564 # except with old shells:
2567 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2571 $as_echo_n "checking host system type... " >&6; }
2572 if test "${ac_cv_host+set}" = set; then :
2573 $as_echo_n "(cached) " >&6
2575 if test "x$host_alias" = x; then
2576 ac_cv_host=$ac_cv_build
2578 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2579 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2584 $as_echo "$ac_cv_host" >&6; }
2587 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2590 ac_save_IFS=$IFS; IFS='-'
2596 # Remember, the first character of IFS is used to create $*,
2597 # except with old shells:
2600 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2604 $as_echo_n "checking target system type... " >&6; }
2605 if test "${ac_cv_target+set}" = set; then :
2606 $as_echo_n "(cached) " >&6
2608 if test "x$target_alias" = x; then
2609 ac_cv_target=$ac_cv_host
2611 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2612 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2617 $as_echo "$ac_cv_target" >&6; }
2618 case $ac_cv_target in
2620 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2622 target=$ac_cv_target
2623 ac_save_IFS=$IFS; IFS='-'
2629 # Remember, the first character of IFS is used to create $*,
2630 # except with old shells:
2633 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2636 # The aliases save the names the user supplied, while $host etc.
2637 # will get canonicalized.
2638 test -n "$target_alias" &&
2639 test "$program_prefix$program_suffix$program_transform_name" = \
2641 program_prefix=${target_alias}-
2644 # Checks for programs.
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2646 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2648 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2649 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2650 $as_echo_n "(cached) " >&6
2652 cat >conftest.make <<\_ACEOF
2655 @echo '@@@%%%=$(MAKE)=@@@%%%'
2657 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2658 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2660 eval ac_cv_prog_make_${ac_make}_set=yes;;
2662 eval ac_cv_prog_make_${ac_make}_set=no;;
2666 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2668 $as_echo "yes" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2673 SET_MAKE="MAKE=${MAKE-make}"
2676 # Find a good install program. We prefer a C program (faster),
2677 # so one script is as good as another. But avoid the broken or
2678 # incompatible versions:
2679 # SysV /etc/install, /usr/sbin/install
2680 # SunOS /usr/etc/install
2681 # IRIX /sbin/install
2683 # AmigaOS /C/install, which installs bootblocks on floppy discs
2684 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2685 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2686 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2687 # OS/2's system install, which has a completely different semantic
2688 # ./install, which can be erroneously created by make from ./install.sh.
2689 # Reject install programs that cannot install multiple files.
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2691 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2692 if test -z "$INSTALL"; then
2693 if test "${ac_cv_path_install+set}" = set; then :
2694 $as_echo_n "(cached) " >&6
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 # Account for people who put trailing slashes in PATH elements.
2702 case $as_dir/ in #((
2703 ./ | .// | /[cC]/* | \
2704 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2705 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2708 # OSF1 and SCO ODT 3.0 have their own names for install.
2709 # Don't use installbsd from OSF since it installs stuff as root
2711 for ac_prog in ginstall scoinst install; do
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2714 if test $ac_prog = install &&
2715 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2716 # AIX install. It has an incompatible calling convention.
2718 elif test $ac_prog = install &&
2719 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2720 # program-specific install script used by HP pwplus--don't use.
2723 rm -rf conftest.one conftest.two conftest.dir
2724 echo one > conftest.one
2725 echo two > conftest.two
2727 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2728 test -s conftest.one && test -s conftest.two &&
2729 test -s conftest.dir/conftest.one &&
2730 test -s conftest.dir/conftest.two
2732 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2745 rm -rf conftest.one conftest.two conftest.dir
2748 if test "${ac_cv_path_install+set}" = set; then
2749 INSTALL=$ac_cv_path_install
2751 # As a last resort, use the slow shell script. Don't cache a
2752 # value for INSTALL within a source directory, because that will
2753 # break other packages using the cache if that directory is
2754 # removed, or if the value is a relative name.
2755 INSTALL=$ac_install_sh
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2759 $as_echo "$INSTALL" >&6; }
2761 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2762 # It thinks the first close brace ends the variable substitution.
2763 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2765 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2767 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2770 ac_cpp='$CPP $CPPFLAGS'
2771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2774 if test -n "$ac_tool_prefix"; then
2775 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2776 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if test "${ac_cv_prog_CC+set}" = set; then :
2780 $as_echo_n "(cached) " >&6
2782 if test -n "$CC"; then
2783 ac_cv_prog_CC="$CC" # Let the user override the test.
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 test -z "$as_dir" && as_dir=.
2790 for ac_exec_ext in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 if test -n "$CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2805 $as_echo "$CC" >&6; }
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2813 if test -z "$ac_cv_prog_CC"; then
2815 # Extract the first word of "gcc", so it can be a program name with args.
2816 set dummy gcc; ac_word=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2820 $as_echo_n "(cached) " >&6
2822 if test -n "$ac_ct_CC"; then
2823 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir=.
2830 for ac_exec_ext in '' $ac_executable_extensions; do
2831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2832 ac_cv_prog_ac_ct_CC="gcc"
2833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2843 if test -n "$ac_ct_CC"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2845 $as_echo "$ac_ct_CC" >&6; }
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848 $as_echo "no" >&6; }
2851 if test "x$ac_ct_CC" = x; then
2854 case $cross_compiling:$ac_tool_warned in
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2858 ac_tool_warned=yes ;;
2866 if test -z "$CC"; then
2867 if test -n "$ac_tool_prefix"; then
2868 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2869 set dummy ${ac_tool_prefix}cc; ac_word=$2
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871 $as_echo_n "checking for $ac_word... " >&6; }
2872 if test "${ac_cv_prog_CC+set}" = set; then :
2873 $as_echo_n "(cached) " >&6
2875 if test -n "$CC"; then
2876 ac_cv_prog_CC="$CC" # Let the user override the test.
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir=.
2883 for ac_exec_ext in '' $ac_executable_extensions; do
2884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2885 ac_cv_prog_CC="${ac_tool_prefix}cc"
2886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 if test -n "$CC"; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2898 $as_echo "$CC" >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901 $as_echo "no" >&6; }
2907 if test -z "$CC"; then
2908 # Extract the first word of "cc", so it can be a program name with args.
2909 set dummy cc; ac_word=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if test "${ac_cv_prog_CC+set}" = set; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$CC"; then
2916 ac_cv_prog_CC="$CC" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2927 ac_prog_rejected=yes
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 if test $ac_prog_rejected = yes; then
2939 # We found a bogon in the path, so make sure we never use it.
2940 set dummy $ac_cv_prog_CC
2942 if test $# != 0; then
2943 # We chose a different compiler from the bogus one.
2944 # However, it has the same basename, so the bogon will be chosen
2945 # first if we set CC to just the basename; use the full file name.
2947 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2953 if test -n "$CC"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2955 $as_echo "$CC" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2963 if test -z "$CC"; then
2964 if test -n "$ac_tool_prefix"; then
2965 for ac_prog in cl.exe
2967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2968 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if test "${ac_cv_prog_CC+set}" = set; then :
2972 $as_echo_n "(cached) " >&6
2974 if test -n "$CC"; then
2975 ac_cv_prog_CC="$CC" # Let the user override the test.
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 if test -n "$CC"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2997 $as_echo "$CC" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3004 test -n "$CC" && break
3007 if test -z "$CC"; then
3009 for ac_prog in cl.exe
3011 # Extract the first word of "$ac_prog", so it can be a program name with args.
3012 set dummy $ac_prog; ac_word=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3018 if test -n "$ac_ct_CC"; then
3019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3028 ac_cv_prog_ac_ct_CC="$ac_prog"
3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3039 if test -n "$ac_ct_CC"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3041 $as_echo "$ac_ct_CC" >&6; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3048 test -n "$ac_ct_CC" && break
3051 if test "x$ac_ct_CC" = x; then
3054 case $cross_compiling:$ac_tool_warned in
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3058 ac_tool_warned=yes ;;
3067 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3069 as_fn_error "no acceptable C compiler found
in \
$PATH
3070 See \
`config.log' for more details." "$LINENO" 5; }
3072 # Provide some information about the compiler.
3073 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3076 for ac_option in --version -v -V -qversion; do
3077 { { ac_try="$ac_compiler $ac_option >&5"
3079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3080 *) ac_try_echo
=$ac_try;;
3082 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3086 if test -s conftest.err
; then
3088 ... rest of stderr output deleted ...
3089 10q' conftest.err
>conftest.er1
3090 cat conftest.er1
>&5
3091 rm -f conftest.er1 conftest.err
3093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3094 test $ac_status = 0; }
3097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3108 ac_clean_files_save
=$ac_clean_files
3109 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3110 # Try to create an executable without -o first, disregard a.out.
3111 # It will help us diagnose broken compilers, and finding out an intuition
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3114 $as_echo_n "checking for C compiler default output file name... " >&6; }
3115 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3117 # The possible output files:
3118 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3121 for ac_file
in $ac_files
3124 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3125 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3130 if { { ac_try
="$ac_link_default"
3132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3136 $as_echo "$ac_try_echo"; } >&5
3137 (eval "$ac_link_default") 2>&5
3139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3140 test $ac_status = 0; }; then :
3141 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3142 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3143 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3144 # so that the user can short-circuit this test for compilers unknown to
3146 for ac_file in $ac_files ''
3148 test -f "$ac_file" || continue
3150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3153 # We found the default executable, but exeext='' is most
3157 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3159 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3161 # We set ac_cv_exeext here because the later test for it is not
3162 # safe: cross compilers may not add the suffix if given an `-o'
3163 # argument, so we may need to know it at that point already.
3164 # Even if this section looks crufty: it has the advantage of
3171 test "$ac_cv_exeext" = no && ac_cv_exeext=
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3177 $as_echo "$ac_file" >&6; }
3178 if test -z "$ac_file"; then :
3179 $as_echo "$as_me: failed program was:" >&5
3180 sed 's
/^
/|
/' conftest.$ac_ext >&5
3182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3183 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3184 { as_fn_set_status 77
3185 as_fn_error "C compiler cannot create executables
3186 See \`config.log
' for more details." "$LINENO" 5; }; }
3188 ac_exeext=$ac_cv_exeext
3190 # Check that the compiler produces executables we can run. If not, either
3191 # the compiler is broken, or we cross compile.
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3193 $as_echo_n "checking whether the C compiler works... " >&6; }
3194 # If not cross compiling, check that we can run a simple program.
3195 if test "$cross_compiling" != yes; then
3196 if { ac_try='.
/$ac_file'
3197 { { case "(($ac_try" in
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_try") 2>&5
3205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3206 test $ac_status = 0; }; }; then
3209 if test "$cross_compiling" = maybe; then
3212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3213 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3214 as_fn_error "cannot run C compiled programs.
3215 If you meant to cross compile, use \`--host'.
3216 See \`config.log' for more details.
" "$LINENO" 5; }
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3221 $as_echo "yes" >&6; }
3223 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3224 ac_clean_files=$ac_clean_files_save
3225 # Check that the compiler produces executables we can run. If not, either
3226 # the compiler is broken, or we cross compile.
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3228 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3230 $as_echo "$cross_compiling" >&6; }
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3233 $as_echo_n "checking
for suffix of executables...
" >&6; }
3234 if { { ac_try="$ac_link"
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3239 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 $as_echo "$ac_try_echo"; } >&5
3241 (eval "$ac_link") 2>&5
3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3244 test $ac_status = 0; }; then :
3245 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3246 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3247 # work properly (i.e., refer to `conftest.exe'), while it won't with
3249 for ac_file in conftest.exe conftest conftest.*; do
3250 test -f "$ac_file" || continue
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3253 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261 as_fn_error "cannot compute suffix of executables: cannot compile and link
3262 See \`config.log' for more details.
" "$LINENO" 5; }
3264 rm -f conftest$ac_cv_exeext
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3266 $as_echo "$ac_cv_exeext" >&6; }
3268 rm -f conftest.$ac_ext
3269 EXEEXT=$ac_cv_exeext
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3272 $as_echo_n "checking
for suffix of object files...
" >&6; }
3273 if test "${ac_cv_objext+set}" = set; then :
3274 $as_echo_n "(cached
) " >&6
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3287 rm -f conftest.o conftest.obj
3288 if { { ac_try="$ac_compile"
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294 $as_echo "$ac_try_echo"; } >&5
3295 (eval "$ac_compile") 2>&5
3297 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3298 test $ac_status = 0; }; then :
3299 for ac_file in conftest.o conftest.obj conftest.*; do
3300 test -f "$ac_file" || continue;
3302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3303 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3308 $as_echo "$as_me: failed program was
:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3313 as_fn_error "cannot compute suffix of object files: cannot compile
3314 See \`config.log' for more details.
" "$LINENO" 5; }
3316 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3319 $as_echo "$ac_cv_objext" >&6; }
3320 OBJEXT=$ac_cv_objext
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3323 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3324 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3325 $as_echo_n "(cached
) " >&6
3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3328 /* end confdefs.h. */
3341 if ac_fn_c_try_compile "$LINENO"; then :
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3351 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3352 if test $ac_compiler_gnu = yes; then
3357 ac_test_CFLAGS=${CFLAGS+set}
3358 ac_save_CFLAGS=$CFLAGS
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3360 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3361 if test "${ac_cv_prog_cc_g+set}" = set; then :
3362 $as_echo_n "(cached
) " >&6
3364 ac_save_c_werror_flag=$ac_c_werror_flag
3365 ac_c_werror_flag=yes
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3394 if ac_fn_c_try_compile "$LINENO"; then :
3397 ac_c_werror_flag=$ac_save_c_werror_flag
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3410 if ac_fn_c_try_compile "$LINENO"; then :
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418 ac_c_werror_flag=$ac_save_c_werror_flag
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3421 $as_echo "$ac_cv_prog_cc_g" >&6; }
3422 if test "$ac_test_CFLAGS" = set; then
3423 CFLAGS=$ac_save_CFLAGS
3424 elif test $ac_cv_prog_cc_g = yes; then
3425 if test "$GCC" = yes; then
3431 if test "$GCC" = yes; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3438 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3439 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3440 $as_echo_n "(cached
) " >&6
3442 ac_cv_prog_cc_c89=no
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3448 #include <sys/types.h>
3449 #include <sys/stat.h>
3450 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3451 struct buf { int x; };
3452 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3453 static char *e (p, i)
3459 static char *f (char * (*g) (char **, int), char **p, ...)
3464 s = g (p, va_arg (v,int));
3469 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3470 function prototypes and stuff, but not '\xHH' hex character constants.
3471 These don't provoke an error unfortunately, instead are silently treated
3472 as 'x'. The following induces an error, until -std is added to get
3473 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3474 array size at least. It's necessary to write '\x00'==0 to get something
3475 that's true only with -std. */
3476 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3478 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3479 inside strings and character constants. */
3481 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3483 int test (int i, double x);
3484 struct s1 {int (*f) (int a);};
3485 struct s2 {int (*f) (double a);};
3486 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3492 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3497 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3498 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3500 CC="$ac_save_CC $ac_arg"
3501 if ac_fn_c_try_compile "$LINENO"; then :
3502 ac_cv_prog_cc_c89=$ac_arg
3504 rm -f core conftest.err conftest.$ac_objext
3505 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3507 rm -f conftest.$ac_ext
3512 case "x
$ac_cv_prog_cc_c89" in
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3515 $as_echo "none needed
" >&6; } ;;
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3518 $as_echo "unsupported
" >&6; } ;;
3520 CC="$CC $ac_cv_prog_cc_c89"
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3522 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3524 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3529 ac_cpp='$CPP $CPPFLAGS'
3530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 ac_cpp='$CXXCPP $CPPFLAGS'
3536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3539 if test -z "$CXX"; then
3540 if test -n "$CCC"; then
3543 if test -n "$ac_tool_prefix"; then
3544 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3546 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3547 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3549 $as_echo_n "checking
for $ac_word...
" >&6; }
3550 if test "${ac_cv_prog_CXX+set}" = set; then :
3551 $as_echo_n "(cached
) " >&6
3553 if test -n "$CXX"; then
3554 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3560 test -z "$as_dir" && as_dir=.
3561 for ac_exec_ext in '' $ac_executable_extensions; do
3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3574 if test -n "$CXX"; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX" >&5
3576 $as_echo "$CXX" >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3579 $as_echo "no
" >&6; }
3583 test -n "$CXX" && break
3586 if test -z "$CXX"; then
3588 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3590 # Extract the first word of "$ac_prog", so it can be a program name with args.
3591 set dummy $ac_prog; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3593 $as_echo_n "checking
for $ac_word...
" >&6; }
3594 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3595 $as_echo_n "(cached
) " >&6
3597 if test -n "$ac_ct_CXX"; then
3598 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_ac_ct_CXX="$ac_prog"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3617 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3618 if test -n "$ac_ct_CXX"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CXX" >&5
3620 $as_echo "$ac_ct_CXX" >&6; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3623 $as_echo "no
" >&6; }
3627 test -n "$ac_ct_CXX" && break
3630 if test "x
$ac_ct_CXX" = x; then
3633 case $cross_compiling:$ac_tool_warned in
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3636 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3637 ac_tool_warned=yes ;;
3645 # Provide some information about the compiler.
3646 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C
++ compiler version
" >&5
3649 for ac_option in --version -v -V -qversion; do
3650 { { ac_try="$ac_compiler $ac_option >&5"
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3655 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3659 if test -s conftest.err; then
3661 ... rest of stderr output deleted ...
3662 10q' conftest.err >conftest.er1
3663 cat conftest.er1 >&5
3664 rm -f conftest.er1 conftest.err
3666 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3667 test $ac_status = 0; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
++ compiler
" >&5
3671 $as_echo_n "checking whether we are using the GNU C
++ compiler...
" >&6; }
3672 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3673 $as_echo_n "(cached
) " >&6
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3689 if ac_fn_cxx_try_compile "$LINENO"; then :
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_cxx_compiler_gnu" >&5
3699 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3700 if test $ac_compiler_gnu = yes; then
3705 ac_test_CXXFLAGS=${CXXFLAGS+set}
3706 ac_save_CXXFLAGS=$CXXFLAGS
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX accepts
-g" >&5
3708 $as_echo_n "checking whether
$CXX accepts
-g...
" >&6; }
3709 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3710 $as_echo_n "(cached
) " >&6
3712 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3713 ac_cxx_werror_flag=yes
3716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3717 /* end confdefs.h. */
3727 if ac_fn_cxx_try_compile "$LINENO"; then :
3728 ac_cv_prog_cxx_g=yes
3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3742 if ac_fn_cxx_try_compile "$LINENO"; then :
3745 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3758 if ac_fn_cxx_try_compile "$LINENO"; then :
3759 ac_cv_prog_cxx_g=yes
3761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cxx_g" >&5
3769 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3770 if test "$ac_test_CXXFLAGS" = set; then
3771 CXXFLAGS=$ac_save_CXXFLAGS
3772 elif test $ac_cv_prog_cxx_g = yes; then
3773 if test "$GXX" = yes; then
3779 if test "$GXX" = yes; then
3786 ac_cpp='$CPP $CPPFLAGS'
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3791 if test -n "$ac_tool_prefix"; then
3792 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
3793 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3795 $as_echo_n "checking
for $ac_word...
" >&6; }
3796 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3797 $as_echo_n "(cached
) " >&6
3799 if test -n "$RANLIB"; then
3800 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 test -z "$as_dir" && as_dir=.
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3809 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3819 RANLIB=$ac_cv_prog_RANLIB
3820 if test -n "$RANLIB"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
3822 $as_echo "$RANLIB" >&6; }
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3825 $as_echo "no
" >&6; }
3830 if test -z "$ac_cv_prog_RANLIB"; then
3831 ac_ct_RANLIB=$RANLIB
3832 # Extract the first word of "ranlib
", so it can be a program name with args.
3833 set dummy ranlib; ac_word=$2
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3835 $as_echo_n "checking
for $ac_word...
" >&6; }
3836 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3837 $as_echo_n "(cached
) " >&6
3839 if test -n "$ac_ct_RANLIB"; then
3840 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849 ac_cv_prog_ac_ct_RANLIB="ranlib
"
3850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3859 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3860 if test -n "$ac_ct_RANLIB"; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
3862 $as_echo "$ac_ct_RANLIB" >&6; }
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3865 $as_echo "no
" >&6; }
3868 if test "x
$ac_ct_RANLIB" = x; then
3871 case $cross_compiling:$ac_tool_warned in
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3874 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3875 ac_tool_warned=yes ;;
3877 RANLIB=$ac_ct_RANLIB
3880 RANLIB="$ac_cv_prog_RANLIB"
3886 ac_cpp='$CPP $CPPFLAGS'
3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3891 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3892 # On Suns, sometimes $CPP names a directory.
3893 if test -n "$CPP" && test -d "$CPP"; then
3896 if test -z "$CPP"; then
3897 if test "${ac_cv_prog_CPP+set}" = set; then :
3898 $as_echo_n "(cached
) " >&6
3900 # Double quotes because CPP needs to be expanded
3901 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3904 for ac_c_preproc_warn_flag in '' yes
3906 # Use a header file that comes with gcc, so configuring glibc
3907 # with a fresh cross-compiler works.
3908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3909 # <limits.h> exists even on freestanding compilers.
3910 # On the NeXT, cc -E runs the code through the compiler's parser,
3911 # not just through cpp. "Syntax error
" is here to catch this case.
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3913 /* end confdefs.h. */
3915 # include <limits.h>
3917 # include <assert.h>
3921 if ac_fn_c_try_cpp "$LINENO"; then :
3924 # Broken: fails on valid input.
3927 rm -f conftest.err conftest.$ac_ext
3929 # OK, works on sane cases. Now check whether nonexistent headers
3930 # can be detected and how.
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3933 #include <ac_nonexistent.h>
3935 if ac_fn_c_try_cpp "$LINENO"; then :
3936 # Broken: success on invalid input.
3939 # Passes both tests.
3943 rm -f conftest.err conftest.$ac_ext
3946 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3947 rm -f conftest.err conftest.$ac_ext
3948 if $ac_preproc_ok; then :
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3961 $as_echo "$CPP" >&6; }
3963 for ac_c_preproc_warn_flag in '' yes
3965 # Use a header file that comes with gcc, so configuring glibc
3966 # with a fresh cross-compiler works.
3967 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3968 # <limits.h> exists even on freestanding compilers.
3969 # On the NeXT, cc -E runs the code through the compiler's parser,
3970 # not just through cpp. "Syntax error
" is here to catch this case.
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3974 # include <limits.h>
3976 # include <assert.h>
3980 if ac_fn_c_try_cpp "$LINENO"; then :
3983 # Broken: fails on valid input.
3986 rm -f conftest.err conftest.$ac_ext
3988 # OK, works on sane cases. Now check whether nonexistent headers
3989 # can be detected and how.
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
3992 #include <ac_nonexistent.h>
3994 if ac_fn_c_try_cpp "$LINENO"; then :
3995 # Broken: success on invalid input.
3998 # Passes both tests.
4002 rm -f conftest.err conftest.$ac_ext
4005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4006 rm -f conftest.err conftest.$ac_ext
4007 if $ac_preproc_ok; then :
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4013 See \`config.log' for more details.
" "$LINENO" 5; }
4017 ac_cpp='$CPP $CPPFLAGS'
4018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4024 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4025 if test "${ac_cv_path_GREP+set}" = set; then :
4026 $as_echo_n "(cached
) " >&6
4028 if test -z "$GREP"; then
4029 ac_path_GREP_found=false
4030 # Loop through the user's path and test for each of PROGNAME-LIST
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4035 test -z "$as_dir" && as_dir=.
4036 for ac_prog in grep ggrep; do
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4039 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4040 # Check for GNU ac_path_GREP and select it if it is found.
4041 # Check for GNU $ac_path_GREP
4042 case `"$ac_path_GREP" --version 2>&1` in
4044 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4047 $as_echo_n 0123456789 >"conftest.
in"
4050 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4051 mv "conftest.tmp
" "conftest.
in"
4052 cp "conftest.
in" "conftest.
nl"
4053 $as_echo 'GREP' >> "conftest.
nl"
4054 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4055 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4056 as_fn_arith $ac_count + 1 && ac_count=$as_val
4057 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4058 # Best one so far, save it but keep looking for a better one
4059 ac_cv_path_GREP="$ac_path_GREP"
4060 ac_path_GREP_max=$ac_count
4062 # 10*(2^10) chars as input seems more than enough
4063 test $ac_count -gt 10 && break
4065 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4068 $ac_path_GREP_found && break 3
4073 if test -z "$ac_cv_path_GREP"; then
4074 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4077 ac_cv_path_GREP=$GREP
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4082 $as_echo "$ac_cv_path_GREP" >&6; }
4083 GREP="$ac_cv_path_GREP"
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4087 $as_echo_n "checking
for egrep...
" >&6; }
4088 if test "${ac_cv_path_EGREP+set}" = set; then :
4089 $as_echo_n "(cached
) " >&6
4091 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4092 then ac_cv_path_EGREP="$GREP -E"
4094 if test -z "$EGREP"; then
4095 ac_path_EGREP_found=false
4096 # Loop through the user's path and test for each of PROGNAME-LIST
4097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4098 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4101 test -z "$as_dir" && as_dir=.
4102 for ac_prog in egrep; do
4103 for ac_exec_ext in '' $ac_executable_extensions; do
4104 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4105 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4106 # Check for GNU ac_path_EGREP and select it if it is found.
4107 # Check for GNU $ac_path_EGREP
4108 case `"$ac_path_EGREP" --version 2>&1` in
4110 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4113 $as_echo_n 0123456789 >"conftest.
in"
4116 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4117 mv "conftest.tmp
" "conftest.
in"
4118 cp "conftest.
in" "conftest.
nl"
4119 $as_echo 'EGREP' >> "conftest.
nl"
4120 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4121 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4122 as_fn_arith $ac_count + 1 && ac_count=$as_val
4123 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4124 # Best one so far, save it but keep looking for a better one
4125 ac_cv_path_EGREP="$ac_path_EGREP"
4126 ac_path_EGREP_max=$ac_count
4128 # 10*(2^10) chars as input seems more than enough
4129 test $ac_count -gt 10 && break
4131 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4134 $ac_path_EGREP_found && break 3
4139 if test -z "$ac_cv_path_EGREP"; then
4140 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4143 ac_cv_path_EGREP=$EGREP
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4149 $as_echo "$ac_cv_path_EGREP" >&6; }
4150 EGREP="$ac_cv_path_EGREP"
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
4154 $as_echo_n "checking
for ANSI C header files...
" >&6; }
4155 if test "${ac_cv_header_stdc+set}" = set; then :
4156 $as_echo_n "(cached
) " >&6
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4173 if ac_fn_c_try_compile "$LINENO"; then :
4174 ac_cv_header_stdc=yes
4176 ac_cv_header_stdc=no
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 if test $ac_cv_header_stdc = yes; then
4181 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4187 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
4188 $EGREP "memchr
" >/dev/null 2>&1; then :
4191 ac_cv_header_stdc=no
4197 if test $ac_cv_header_stdc = yes; then
4198 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4204 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
4205 $EGREP "free
" >/dev/null 2>&1; then :
4208 ac_cv_header_stdc=no
4214 if test $ac_cv_header_stdc = yes; then
4215 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4216 if test "$cross_compiling" = yes; then :
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4223 #if ((' ' & 0x0FF) == 0x020)
4224 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4225 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4227 # define ISLOWER(c) \
4228 (('a' <= (c) && (c) <= 'i') \
4229 || ('j' <= (c) && (c) <= 'r') \
4230 || ('s' <= (c) && (c) <= 'z'))
4231 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4234 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4239 for (i = 0; i < 256; i++)
4240 if (XOR (islower (i), ISLOWER (i))
4241 || toupper (i) != TOUPPER (i))
4246 if ac_fn_c_try_run "$LINENO"; then :
4249 ac_cv_header_stdc=no
4251 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4252 conftest.$ac_objext conftest.beam conftest.$ac_ext
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
4258 $as_echo "$ac_cv_header_stdc" >&6; }
4259 if test $ac_cv_header_stdc = yes; then
4261 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4265 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4266 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4267 inttypes.h stdint.h unistd.h
4269 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4270 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4272 eval as_val
=\$
$as_ac_Header
4273 if test "x$as_val" = x
""yes; then :
4274 cat >>confdefs.h
<<_ACEOF
4275 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4284 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4285 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4292 if test "$MINIX" = yes; then
4294 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4297 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4300 $as_echo "#define _MINIX 1" >>confdefs.h
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4306 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4307 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4308 $as_echo_n "(cached) " >&6
4310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4313 # define __EXTENSIONS__ 1
4314 $ac_includes_default
4323 if ac_fn_c_try_compile
"$LINENO"; then :
4324 ac_cv_safe_to_define___extensions__
=yes
4326 ac_cv_safe_to_define___extensions__
=no
4328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4331 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4332 test $ac_cv_safe_to_define___extensions__ = yes &&
4333 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4335 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4337 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4339 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4341 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4344 # Check whether --enable-largefile was given.
4345 if test "${enable_largefile+set}" = set; then :
4346 enableval
=$enable_largefile;
4349 if test "$enable_largefile" != no
; then
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4352 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4353 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4356 ac_cv_sys_largefile_CC
=no
4357 if test "$GCC" != yes; then
4360 # IRIX 6.2 and later do not support large files by default,
4361 # so use the C compiler's -n32 option if that helps.
4362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4364 #include <sys/types.h>
4365 /* Check that off_t can represent 2**63 - 1 correctly.
4366 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4367 since some C++ compilers masquerading as C compilers
4368 incorrectly reject 9223372036854775807. */
4369 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4370 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4371 && LARGE_OFF_T % 2147483647 == 1)
4381 if ac_fn_c_try_compile
"$LINENO"; then :
4384 rm -f core conftest.err conftest.
$ac_objext
4386 if ac_fn_c_try_compile
"$LINENO"; then :
4387 ac_cv_sys_largefile_CC
=' -n32'; break
4389 rm -f core conftest.err conftest.
$ac_objext
4393 rm -f conftest.
$ac_ext
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4397 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4398 if test "$ac_cv_sys_largefile_CC" != no
; then
4399 CC
=$CC$ac_cv_sys_largefile_CC
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4403 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4404 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4405 $as_echo_n "(cached) " >&6
4408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4410 #include <sys/types.h>
4411 /* Check that off_t can represent 2**63 - 1 correctly.
4412 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4413 since some C++ compilers masquerading as C compilers
4414 incorrectly reject 9223372036854775807. */
4415 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4416 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4417 && LARGE_OFF_T % 2147483647 == 1)
4427 if ac_fn_c_try_compile
"$LINENO"; then :
4428 ac_cv_sys_file_offset_bits
=no
; break
4430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4433 #define _FILE_OFFSET_BITS 64
4434 #include <sys/types.h>
4435 /* Check that off_t can represent 2**63 - 1 correctly.
4436 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4437 since some C++ compilers masquerading as C compilers
4438 incorrectly reject 9223372036854775807. */
4439 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4440 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4441 && LARGE_OFF_T % 2147483647 == 1)
4451 if ac_fn_c_try_compile
"$LINENO"; then :
4452 ac_cv_sys_file_offset_bits
=64; break
4454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4455 ac_cv_sys_file_offset_bits
=unknown
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4460 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4461 case $ac_cv_sys_file_offset_bits in #(
4464 cat >>confdefs.h
<<_ACEOF
4465 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4470 if test $ac_cv_sys_file_offset_bits = unknown
; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4472 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4473 if test "${ac_cv_sys_large_files+set}" = set; then :
4474 $as_echo_n "(cached) " >&6
4477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4479 #include <sys/types.h>
4480 /* Check that off_t can represent 2**63 - 1 correctly.
4481 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4482 since some C++ compilers masquerading as C compilers
4483 incorrectly reject 9223372036854775807. */
4484 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4485 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4486 && LARGE_OFF_T % 2147483647 == 1)
4496 if ac_fn_c_try_compile
"$LINENO"; then :
4497 ac_cv_sys_large_files
=no
; break
4499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4502 #define _LARGE_FILES 1
4503 #include <sys/types.h>
4504 /* Check that off_t can represent 2**63 - 1 correctly.
4505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4506 since some C++ compilers masquerading as C compilers
4507 incorrectly reject 9223372036854775807. */
4508 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4510 && LARGE_OFF_T % 2147483647 == 1)
4520 if ac_fn_c_try_compile
"$LINENO"; then :
4521 ac_cv_sys_large_files
=1; break
4523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 ac_cv_sys_large_files
=unknown
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4529 $as_echo "$ac_cv_sys_large_files" >&6; }
4530 case $ac_cv_sys_large_files in #(
4533 cat >>confdefs.h
<<_ACEOF
4534 #define _LARGE_FILES $ac_cv_sys_large_files
4543 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
4544 for ac_prog
in aclocal
4546 # Extract the first word of "$ac_prog", so it can be a program name with args.
4547 set dummy
$ac_prog; ac_word
=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if test "${ac_cv_prog_ACLOCAL+set}" = set; then :
4551 $as_echo_n "(cached) " >&6
4553 if test -n "$ACLOCAL"; then
4554 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
4556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir
=.
4561 for ac_exec_ext
in '' $ac_executable_extensions; do
4562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4563 ac_cv_prog_ACLOCAL
="$ac_prog"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 ACLOCAL
=$ac_cv_prog_ACLOCAL
4574 if test -n "$ACLOCAL"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
4576 $as_echo "$ACLOCAL" >&6; }
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579 $as_echo "no" >&6; }
4583 test -n "$ACLOCAL" && break
4585 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
4587 for ac_prog
in autoconf
4589 # Extract the first word of "$ac_prog", so it can be a program name with args.
4590 set dummy
$ac_prog; ac_word
=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if test "${ac_cv_prog_AUTOCONF+set}" = set; then :
4594 $as_echo_n "(cached) " >&6
4596 if test -n "$AUTOCONF"; then
4597 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
4599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir
=.
4604 for ac_exec_ext
in '' $ac_executable_extensions; do
4605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4606 ac_cv_prog_AUTOCONF
="$ac_prog"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 AUTOCONF
=$ac_cv_prog_AUTOCONF
4617 if test -n "$AUTOCONF"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
4619 $as_echo "$AUTOCONF" >&6; }
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4626 test -n "$AUTOCONF" && break
4628 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
4630 for ac_prog
in autoheader
4632 # Extract the first word of "$ac_prog", so it can be a program name with args.
4633 set dummy
$ac_prog; ac_word
=$2
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 $as_echo_n "checking for $ac_word... " >&6; }
4636 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then :
4637 $as_echo_n "(cached) " >&6
4639 if test -n "$AUTOHEADER"; then
4640 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
4642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4646 test -z "$as_dir" && as_dir
=.
4647 for ac_exec_ext
in '' $ac_executable_extensions; do
4648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4649 ac_cv_prog_AUTOHEADER
="$ac_prog"
4650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
4660 if test -n "$AUTOHEADER"; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
4662 $as_echo "$AUTOHEADER" >&6; }
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665 $as_echo "no" >&6; }
4669 test -n "$AUTOHEADER" && break
4671 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
4674 # Figure out what compiler warnings we can enable.
4675 # See config/warnings.m4 for details.
4678 save_CFLAGS
="$CFLAGS"
4679 for real_option
in -W -Wall -Wno-narrowing -Wwrite-strings \
4680 -Wmissing-format-attribute; do
4681 # Do the check with the no- prefix removed since gcc silently
4682 # accepts any -Wno-* option on purpose
4683 case $real_option in
4684 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4685 *) option
=$real_option ;;
4687 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4690 $as_echo_n "checking whether $CC supports $option... " >&6; }
4691 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4692 $as_echo_n "(cached) " >&6
4695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4706 if ac_fn_c_try_compile
"$LINENO"; then :
4707 eval "$as_acx_Woption=yes"
4709 eval "$as_acx_Woption=no"
4711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4714 eval ac_res
=\$
$as_acx_Woption
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4716 $as_echo "$ac_res" >&6; }
4717 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4718 warn
="$warn${warn:+ }$real_option"
4721 CFLAGS
="$save_CFLAGS"
4724 save_CFLAGS
="$CFLAGS"
4725 for real_option
in -Wstrict-prototypes -Wmissing-prototypes \
4726 -Wold-style-definition -Wc++-compat; do
4727 # Do the check with the no- prefix removed since gcc silently
4728 # accepts any -Wno-* option on purpose
4729 case $real_option in
4730 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4731 *) option
=$real_option ;;
4733 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4736 $as_echo_n "checking whether $CC supports $option... " >&6; }
4737 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4738 $as_echo_n "(cached) " >&6
4741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4752 if ac_fn_c_try_compile
"$LINENO"; then :
4753 eval "$as_acx_Woption=yes"
4755 eval "$as_acx_Woption=no"
4757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4760 eval ac_res
=\$
$as_acx_Woption
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4762 $as_echo "$ac_res" >&6; }
4763 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4764 c_warn
="$c_warn${c_warn:+ }$real_option"
4767 CFLAGS
="$save_CFLAGS"
4770 # Do the check with the no- prefix removed from the warning options
4771 # since gcc silently accepts any -Wno-* option on purpose
4772 if test "$GCC" = yes; then :
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
4774 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
4775 if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then :
4776 $as_echo_n "(cached) " >&6
4778 save_CFLAGS
="$CFLAGS"
4779 CFLAGS
="-pedantic -Wlong-long"
4780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4791 if ac_fn_c_try_compile
"$LINENO"; then :
4792 acx_cv_prog_cc_pedantic__Wlong_long
=yes
4794 acx_cv_prog_cc_pedantic__Wlong_long
=no
4796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4797 CFLAGS
="$save_CFLAGS"
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
4800 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
4801 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
4802 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
4808 # Disable exceptions and RTTI if building with g++
4810 save_CFLAGS
="$CFLAGS"
4811 for real_option
in -fno-exceptions -fno-rtti; do
4812 # Do the check with the no- prefix removed since gcc silently
4813 # accepts any -Wno-* option on purpose
4814 case $real_option in
4815 -Wno-*) option
=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
4816 *) option
=$real_option ;;
4818 as_acx_Woption
=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
4821 $as_echo_n "checking whether $CC supports $option... " >&6; }
4822 if { as_var
=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
4823 $as_echo_n "(cached) " >&6
4826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4837 if ac_fn_c_try_compile
"$LINENO"; then :
4838 eval "$as_acx_Woption=yes"
4840 eval "$as_acx_Woption=no"
4842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4845 eval ac_res
=\$
$as_acx_Woption
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4847 $as_echo "$ac_res" >&6; }
4848 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
4849 noexception_flags
="$noexception_flags${noexception_flags:+ }$real_option"
4852 CFLAGS
="$save_CFLAGS"
4855 # Only enable with --enable-werror-always until existing warnings are
4858 # Check whether --enable-werror-always was given.
4859 if test "${enable_werror_always+set}" = set; then :
4860 enableval
=$enable_werror_always;
4862 enable_werror_always
=no
4865 if test $enable_werror_always = yes; then :
4866 WERROR
="$WERROR${WERROR:+ }-Werror"
4871 # Dependency checking.
4872 rm -rf .tst
2>/dev
/null
4873 mkdir .tst
2>/dev
/null
4874 if test -d .tst
; then
4879 rmdir .tst
2>/dev
/null
4881 DEPDIR
="${am__leading_dot}deps"
4883 ac_config_commands
="$ac_config_commands depdir"
4887 ac_cpp
='$CXXCPP $CPPFLAGS'
4888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4897 if ac_fn_cxx_try_compile
"$LINENO"; then :
4900 as_fn_error
"C++ compiler missing or inoperational" "$LINENO" 5
4902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4904 ac_cpp
='$CPP $CPPFLAGS'
4905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4909 depcc
="$CXX" am_compiler_list
=
4911 am_depcomp
=$ac_aux_dir/depcomp
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4913 $as_echo_n "checking dependency style of $depcc... " >&6; }
4914 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -f "$am_depcomp"; then
4918 # We make a subdir and do the tests there. Otherwise we can end up
4919 # making bogus files that we don't know about and never remove. For
4920 # instance it was reported that on HP-UX the gcc test will end up
4921 # making a dummy file named `D' -- because `-MD' means `put the output
4924 # Copy depcomp to subdir because otherwise we won't find it if we're
4925 # using a relative directory.
4926 cp "$am_depcomp" conftest.dir
4928 # We will build objects and dependencies in a subdirectory because
4929 # it helps to detect inapplicable dependency modes. For instance
4930 # both Tru64's cc and ICC support -MD to output dependencies as a
4931 # side effect of compilation, but ICC will put the dependencies in
4932 # the current directory while Tru64 will put them in the object
4936 am_cv_CXX_dependencies_compiler_type
=none
4937 if test "$am_compiler_list" = ""; then
4938 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4940 for depmode
in $am_compiler_list; do
4941 if test $depmode = none
; then break; fi
4943 $as_echo "$as_me:$LINENO: trying $depmode" >&5
4944 # Setup a source with many dependencies, because some compilers
4945 # like to wrap large dependency lists on column 80 (with \), and
4946 # we should not choose a depcomp mode which is confused by this.
4948 # We need to recreate these files for each test, as the compiler may
4949 # overwrite some of them when testing with obscure command lines.
4950 # This happens at least with the AIX C compiler.
4952 for i
in 1 2 3 4 5 6; do
4953 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4954 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4955 # Solaris 8's {/usr,}/bin/sh.
4956 touch sub
/conftst
$i.h
4958 echo "include sub/conftest.Po" > confmf
4960 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4961 # mode. It turns out that the SunPro C++ compiler does not properly
4962 # handle `-M -o', and we need to detect this.
4963 depcmd
="depmode=$depmode \
4964 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4965 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4966 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4967 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
4968 if env
$depcmd > conftest.err
2>&1 &&
4969 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
4970 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
4971 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
4972 # icc doesn't choke on unknown options, it will just issue warnings
4973 # or remarks (even with -Werror). So we grep stderr for any message
4974 # that says an option was ignored or not supported.
4975 # When given -MP, icc 7.0 and 7.1 complain thusly:
4976 # icc: Command line warning: ignoring option '-M'; no argument required
4977 # The diagnosis changed in icc 8.0:
4978 # icc: Command line remark: option '-MP' not supported
4979 if (grep 'ignoring option' conftest.err ||
4980 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4981 am_cv_CXX_dependencies_compiler_type
=$depmode
4982 $as_echo "$as_me:$LINENO: success" >&5
4986 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
4987 sed -e 's/^/| /' < conftest.err
>&5
4993 am_cv_CXX_dependencies_compiler_type
=none
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4998 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4999 if test x
${am_cv_CXX_dependencies_compiler_type-none} = xnone
5000 then as_fn_error
"no usable dependency style found" "$LINENO" 5
5001 else CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5006 # Checks for header files.
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5008 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5009 if test "${ac_cv_header_time+set}" = set; then :
5010 $as_echo_n "(cached) " >&6
5012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5014 #include <sys/types.h>
5015 #include <sys/time.h>
5021 if ((struct tm *) 0)
5027 if ac_fn_c_try_compile
"$LINENO"; then :
5028 ac_cv_header_time
=yes
5030 ac_cv_header_time
=no
5032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5035 $as_echo "$ac_cv_header_time" >&6; }
5036 if test $ac_cv_header_time = yes; then
5038 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
5043 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
5044 if test "${gcc_cv_header_string+set}" = set; then :
5045 $as_echo_n "(cached) " >&6
5047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5050 #include <strings.h>
5059 if ac_fn_c_try_compile
"$LINENO"; then :
5060 gcc_cv_header_string
=yes
5062 gcc_cv_header_string
=no
5064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
5067 $as_echo "$gcc_cv_header_string" >&6; }
5068 if test $gcc_cv_header_string = yes; then
5070 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
5075 for ac_header
in locale.h fcntl.h limits.h stddef.h \
5076 stdlib.h
strings.h string.h sys
/file.h unistd.h
5078 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5079 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5080 eval as_val
=\$
$as_ac_Header
5081 if test "x$as_val" = x
""yes; then :
5082 cat >>confdefs.h
<<_ACEOF
5083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5091 # Checks for typedefs, structures, and compiler characteristics.
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5093 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5094 if test "${ac_cv_c_bigendian+set}" = set; then :
5095 $as_echo_n "(cached) " >&6
5097 ac_cv_c_bigendian
=unknown
5098 # See if we're dealing with a universal compiler.
5099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5101 #ifndef __APPLE_CC__
5102 not a universal capable compiler
5107 if ac_fn_c_try_compile
"$LINENO"; then :
5109 # Check for potential -arch flags. It is not universal unless
5110 # there are at least two -arch flags with different values.
5113 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5114 if test -n "$ac_prev"; then
5116 i?
86 | x86_64 | ppc | ppc64
)
5117 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5120 ac_cv_c_bigendian
=universal
5126 elif test "x$ac_word" = "x-arch"; then
5131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5132 if test $ac_cv_c_bigendian = unknown
; then
5133 # See if sys/param.h defines the BYTE_ORDER macro.
5134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5135 /* end confdefs.h. */
5136 #include <sys/types.h>
5137 #include <sys/param.h>
5142 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5143 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5152 if ac_fn_c_try_compile
"$LINENO"; then :
5153 # It does; now see whether it defined to BIG_ENDIAN or not.
5154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5155 /* end confdefs.h. */
5156 #include <sys/types.h>
5157 #include <sys/param.h>
5162 #if BYTE_ORDER != BIG_ENDIAN
5170 if ac_fn_c_try_compile
"$LINENO"; then :
5171 ac_cv_c_bigendian
=yes
5173 ac_cv_c_bigendian
=no
5175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5179 if test $ac_cv_c_bigendian = unknown
; then
5180 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5182 /* end confdefs.h. */
5188 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5196 if ac_fn_c_try_compile
"$LINENO"; then :
5197 # It does; now see whether it defined to _BIG_ENDIAN or not.
5198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h. */
5213 if ac_fn_c_try_compile
"$LINENO"; then :
5214 ac_cv_c_bigendian
=yes
5216 ac_cv_c_bigendian
=no
5218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5222 if test $ac_cv_c_bigendian = unknown
; then
5223 # Compile a test program.
5224 if test "$cross_compiling" = yes; then :
5225 # Try to guess by grepping values from an object file.
5226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5228 short int ascii_mm[] =
5229 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5230 short int ascii_ii[] =
5231 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5232 int use_ascii (int i) {
5233 return ascii_mm[i] + ascii_ii[i];
5235 short int ebcdic_ii[] =
5236 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5237 short int ebcdic_mm[] =
5238 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5239 int use_ebcdic (int i) {
5240 return ebcdic_mm[i] + ebcdic_ii[i];
5247 return use_ascii (foo) == use_ebcdic (foo);
5252 if ac_fn_c_try_compile
"$LINENO"; then :
5253 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5254 ac_cv_c_bigendian
=yes
5256 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5257 if test "$ac_cv_c_bigendian" = unknown
; then
5258 ac_cv_c_bigendian
=no
5260 # finding both strings is unlikely to happen, but who knows?
5261 ac_cv_c_bigendian
=unknown
5265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5269 $ac_includes_default
5274 /* Are we little or big endian? From Harbison&Steele. */
5278 char c[sizeof (long int)];
5281 return u.c[sizeof (long int) - 1] == 1;
5287 if ac_fn_c_try_run
"$LINENO"; then :
5288 ac_cv_c_bigendian
=no
5290 ac_cv_c_bigendian
=yes
5292 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5293 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5299 $as_echo "$ac_cv_c_bigendian" >&6; }
5300 case $ac_cv_c_bigendian in #(
5302 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5308 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5312 as_fn_error
"unknown endianness
5313 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5317 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5318 if test "${ac_cv_c_const+set}" = set; then :
5319 $as_echo_n "(cached) " >&6
5321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5327 /* FIXME: Include the comments suggested by Paul. */
5329 /* Ultrix mips cc rejects this. */
5330 typedef int charset[2];
5332 /* SunOS 4.1.1 cc rejects this. */
5333 char const *const *pcpcc;
5335 /* NEC SVR4.0.2 mips cc rejects this. */
5336 struct point {int x, y;};
5337 static struct point const zero = {0,0};
5338 /* AIX XL C 1.02.0.0 rejects this.
5339 It does not let you subtract one const X* pointer from another in
5340 an arm of an if-expression whose if-part is not a constant
5342 const char *g = "string";
5343 pcpcc = &g + (g ? g-g : 0);
5344 /* HPUX 7.0 cc rejects these. */
5346 ppc = (char**) pcpcc;
5347 pcpcc = (char const *const *) ppc;
5348 { /* SCO 3.2v4 cc rejects this. */
5350 char const *s = 0 ? (char *) 0 : (char const *) 0;
5355 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5357 const int *foo = &x[0];
5360 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5361 typedef const int *iptr;
5365 { /* AIX XL C 1.02.0.0 rejects this saying
5366 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5367 struct s { int j; const int *ap[3]; };
5368 struct s *b; b->j = 5;
5370 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5374 return !cs[0] && !zero.x;
5381 if ac_fn_c_try_compile
"$LINENO"; then :
5386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5389 $as_echo "$ac_cv_c_const" >&6; }
5390 if test $ac_cv_c_const = no
; then
5392 $as_echo "#define const /**/" >>confdefs.h
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5397 $as_echo_n "checking for inline... " >&6; }
5398 if test "${ac_cv_c_inline+set}" = set; then :
5399 $as_echo_n "(cached) " >&6
5402 for ac_kw
in inline __inline__ __inline
; do
5403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5407 static $ac_kw foo_t static_foo () {return 0; }
5408 $ac_kw foo_t foo () {return 0; }
5412 if ac_fn_c_try_compile
"$LINENO"; then :
5413 ac_cv_c_inline
=$ac_kw
5415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 test "$ac_cv_c_inline" != no
&& break
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5421 $as_echo "$ac_cv_c_inline" >&6; }
5423 case $ac_cv_c_inline in
5426 case $ac_cv_c_inline in
5428 *) ac_val
=$ac_cv_c_inline;;
5430 cat >>confdefs.h
<<_ACEOF
5432 #define inline $ac_val
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
5439 $as_echo_n "checking for obstacks... " >&6; }
5440 if test "${ac_cv_func_obstack+set}" = set; then :
5441 $as_echo_n "(cached) " >&6
5443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5444 /* end confdefs.h. */
5445 $ac_includes_default
5446 #include "obstack.h"
5451 #define obstack_chunk_alloc malloc
5452 #define obstack_chunk_free free
5453 obstack_init (&mem);
5454 obstack_free (&mem, 0);
5459 if ac_fn_c_try_link
"$LINENO"; then :
5460 ac_cv_func_obstack
=yes
5462 ac_cv_func_obstack
=no
5464 rm -f core conftest.err conftest.
$ac_objext \
5465 conftest
$ac_exeext conftest.
$ac_ext
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
5468 $as_echo "$ac_cv_func_obstack" >&6; }
5469 if test $ac_cv_func_obstack = yes; then
5471 $as_echo "#define HAVE_OBSTACK 1" >>confdefs.h
5474 case " $LIBOBJS " in
5475 *" obstack.$ac_objext "* ) ;;
5476 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext"
5482 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5483 if test "x$ac_cv_type_off_t" = x
""yes; then :
5487 cat >>confdefs.h
<<_ACEOF
5488 #define off_t long int
5493 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5494 if test "x$ac_cv_type_size_t" = x
""yes; then :
5498 cat >>confdefs.h
<<_ACEOF
5499 #define size_t unsigned int
5504 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5505 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
5509 cat >>confdefs.h
<<_ACEOF
5516 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
5517 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
5519 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
5522 for ac_type
in 'unsigned int' 'unsigned long int' \
5523 'unsigned long long int'; do
5524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5526 $ac_includes_default
5530 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
5537 if ac_fn_c_try_compile
"$LINENO"; then :
5539 cat >>confdefs.h
<<_ACEOF
5540 #define uintptr_t $ac_type
5545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5546 test -z "$ac_type" && break
5551 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
5552 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
5556 cat >>confdefs.h
<<_ACEOF
5557 #define ptrdiff_t int
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
5563 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5564 if test "${ac_cv_struct_tm+set}" = set; then :
5565 $as_echo_n "(cached) " >&6
5567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5568 /* end confdefs.h. */
5569 #include <sys/types.h>
5576 int *p = &tm.tm_sec;
5582 if ac_fn_c_try_compile
"$LINENO"; then :
5583 ac_cv_struct_tm
=time.h
5585 ac_cv_struct_tm
=sys
/time.h
5587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
5590 $as_echo "$ac_cv_struct_tm" >&6; }
5591 if test $ac_cv_struct_tm = sys
/time.h
; then
5593 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
5597 # The cast to long int works around a bug in the HP C Compiler
5598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5600 # This bug is HP SR number 8606223364.
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5602 $as_echo_n "checking size of int... " >&6; }
5603 if test "${ac_cv_sizeof_int+set}" = set; then :
5604 $as_echo_n "(cached) " >&6
5606 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5609 if test "$ac_cv_type_int" = yes; then
5610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5612 { as_fn_set_status
77
5613 as_fn_error
"cannot compute sizeof (int)
5614 See \`config.log' for more details." "$LINENO" 5; }; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5622 $as_echo "$ac_cv_sizeof_int" >&6; }
5626 cat >>confdefs.h
<<_ACEOF
5627 #define SIZEOF_INT $ac_cv_sizeof_int
5631 # The cast to long int works around a bug in the HP C Compiler
5632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5634 # This bug is HP SR number 8606223364.
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5636 $as_echo_n "checking size of long... " >&6; }
5637 if test "${ac_cv_sizeof_long+set}" = set; then :
5638 $as_echo_n "(cached) " >&6
5640 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5643 if test "$ac_cv_type_long" = yes; then
5644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5646 { as_fn_set_status
77
5647 as_fn_error
"cannot compute sizeof (long)
5648 See \`config.log' for more details." "$LINENO" 5; }; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5656 $as_echo "$ac_cv_sizeof_long" >&6; }
5660 cat >>confdefs.h
<<_ACEOF
5661 #define SIZEOF_LONG $ac_cv_sizeof_long
5666 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
5668 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5669 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5670 eval as_val
=\$
$as_ac_var
5671 if test "x$as_val" = x
""yes; then :
5672 cat >>confdefs.h
<<_ACEOF
5673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5679 ac_fn_c_check_decl
"$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
5680 if test "x$ac_cv_have_decl_abort" = x
""yes; then :
5686 cat >>confdefs.h
<<_ACEOF
5687 #define HAVE_DECL_ABORT $ac_have_decl
5689 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
5690 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
5696 cat >>confdefs.h
<<_ACEOF
5697 #define HAVE_DECL_ASPRINTF $ac_have_decl
5699 ac_fn_c_check_decl
"$LINENO" "basename(char *)" "ac_cv_have_decl_basename_char_p_" "$ac_includes_default"
5700 if test "x$ac_cv_have_decl_basename_char_p_" = x
""yes; then :
5706 cat >>confdefs.h
<<_ACEOF
5707 #define HAVE_DECL_BASENAME $ac_have_decl
5709 ac_fn_c_check_decl
"$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
5710 if test "x$ac_cv_have_decl_errno" = x
""yes; then :
5716 cat >>confdefs.h
<<_ACEOF
5717 #define HAVE_DECL_ERRNO $ac_have_decl
5719 ac_fn_c_check_decl
"$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
5720 if test "x$ac_cv_have_decl_getopt" = x
""yes; then :
5726 cat >>confdefs.h
<<_ACEOF
5727 #define HAVE_DECL_GETOPT $ac_have_decl
5729 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
5730 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
5736 cat >>confdefs.h
<<_ACEOF
5737 #define HAVE_DECL_VASPRINTF $ac_have_decl
5740 ac_fn_c_check_decl
"$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
5741 if test "x$ac_cv_have_decl_clearerr_unlocked" = x
""yes; then :
5747 cat >>confdefs.h
<<_ACEOF
5748 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
5750 ac_fn_c_check_decl
"$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
5751 if test "x$ac_cv_have_decl_feof_unlocked" = x
""yes; then :
5757 cat >>confdefs.h
<<_ACEOF
5758 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
5760 ac_fn_c_check_decl
"$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
5761 if test "x$ac_cv_have_decl_ferror_unlocked" = x
""yes; then :
5767 cat >>confdefs.h
<<_ACEOF
5768 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
5770 ac_fn_c_check_decl
"$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
5771 if test "x$ac_cv_have_decl_fflush_unlocked" = x
""yes; then :
5777 cat >>confdefs.h
<<_ACEOF
5778 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
5780 ac_fn_c_check_decl
"$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
5781 if test "x$ac_cv_have_decl_fgetc_unlocked" = x
""yes; then :
5787 cat >>confdefs.h
<<_ACEOF
5788 #define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
5790 ac_fn_c_check_decl
"$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
5791 if test "x$ac_cv_have_decl_fgets_unlocked" = x
""yes; then :
5797 cat >>confdefs.h
<<_ACEOF
5798 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
5800 ac_fn_c_check_decl
"$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
5801 if test "x$ac_cv_have_decl_fileno_unlocked" = x
""yes; then :
5807 cat >>confdefs.h
<<_ACEOF
5808 #define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
5810 ac_fn_c_check_decl
"$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
5811 if test "x$ac_cv_have_decl_fprintf_unlocked" = x
""yes; then :
5817 cat >>confdefs.h
<<_ACEOF
5818 #define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
5820 ac_fn_c_check_decl
"$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
5821 if test "x$ac_cv_have_decl_fputc_unlocked" = x
""yes; then :
5827 cat >>confdefs.h
<<_ACEOF
5828 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
5830 ac_fn_c_check_decl
"$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
5831 if test "x$ac_cv_have_decl_fputs_unlocked" = x
""yes; then :
5837 cat >>confdefs.h
<<_ACEOF
5838 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
5840 ac_fn_c_check_decl
"$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
5841 if test "x$ac_cv_have_decl_fread_unlocked" = x
""yes; then :
5847 cat >>confdefs.h
<<_ACEOF
5848 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
5850 ac_fn_c_check_decl
"$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
5851 if test "x$ac_cv_have_decl_fwrite_unlocked" = x
""yes; then :
5857 cat >>confdefs.h
<<_ACEOF
5858 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
5860 ac_fn_c_check_decl
"$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
5861 if test "x$ac_cv_have_decl_getchar_unlocked" = x
""yes; then :
5867 cat >>confdefs.h
<<_ACEOF
5868 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
5870 ac_fn_c_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
5871 if test "x$ac_cv_have_decl_getc_unlocked" = x
""yes; then :
5877 cat >>confdefs.h
<<_ACEOF
5878 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
5880 ac_fn_c_check_decl
"$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
5881 if test "x$ac_cv_have_decl_putchar_unlocked" = x
""yes; then :
5887 cat >>confdefs.h
<<_ACEOF
5888 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
5890 ac_fn_c_check_decl
"$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
5891 if test "x$ac_cv_have_decl_putc_unlocked" = x
""yes; then :
5897 cat >>confdefs.h
<<_ACEOF
5898 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
5902 # Checks for library functions.
5903 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5904 # for constant arguments. Useless!
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5906 $as_echo_n "checking for working alloca.h... " >&6; }
5907 if test "${ac_cv_working_alloca_h+set}" = set; then :
5908 $as_echo_n "(cached) " >&6
5910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5911 /* end confdefs.h. */
5916 char *p = (char *) alloca (2 * sizeof (int));
5922 if ac_fn_c_try_link
"$LINENO"; then :
5923 ac_cv_working_alloca_h
=yes
5925 ac_cv_working_alloca_h
=no
5927 rm -f core conftest.err conftest.
$ac_objext \
5928 conftest
$ac_exeext conftest.
$ac_ext
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5931 $as_echo "$ac_cv_working_alloca_h" >&6; }
5932 if test $ac_cv_working_alloca_h = yes; then
5934 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5939 $as_echo_n "checking for alloca... " >&6; }
5940 if test "${ac_cv_func_alloca_works+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5944 /* end confdefs.h. */
5946 # define alloca __builtin_alloca
5949 # include <malloc.h>
5950 # define alloca _alloca
5952 # ifdef HAVE_ALLOCA_H
5953 # include <alloca.h>
5958 # ifndef alloca /* predefined by HP cc +Olibcalls */
5969 char *p = (char *) alloca (1);
5975 if ac_fn_c_try_link
"$LINENO"; then :
5976 ac_cv_func_alloca_works
=yes
5978 ac_cv_func_alloca_works
=no
5980 rm -f core conftest.err conftest.
$ac_objext \
5981 conftest
$ac_exeext conftest.
$ac_ext
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5984 $as_echo "$ac_cv_func_alloca_works" >&6; }
5986 if test $ac_cv_func_alloca_works = yes; then
5988 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5991 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5992 # that cause trouble. Some versions do not even contain alloca or
5993 # contain a buggy version. If you still want to use their alloca,
5994 # use ar to extract alloca.o from them instead of compiling alloca.c.
5996 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5998 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6002 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6003 if test "${ac_cv_os_cray+set}" = set; then :
6004 $as_echo_n "(cached) " >&6
6006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6008 #if defined CRAY && ! defined CRAY2
6015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6016 $EGREP "webecray" >/dev
/null
2>&1; then :
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6025 $as_echo "$ac_cv_os_cray" >&6; }
6026 if test $ac_cv_os_cray = yes; then
6027 for ac_func
in _getb67 GETB67 getb67
; do
6028 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6029 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6030 eval as_val
=\$
$as_ac_var
6031 if test "x$as_val" = x
""yes; then :
6033 cat >>confdefs.h
<<_ACEOF
6034 #define CRAY_STACKSEG_END $ac_func
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6044 $as_echo_n "checking stack direction for C alloca... " >&6; }
6045 if test "${ac_cv_c_stack_direction+set}" = set; then :
6046 $as_echo_n "(cached) " >&6
6048 if test "$cross_compiling" = yes; then :
6049 ac_cv_c_stack_direction
=0
6051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6052 /* end confdefs.h. */
6053 $ac_includes_default
6055 find_stack_direction ()
6057 static char *addr = 0;
6062 return find_stack_direction ();
6065 return (&dummy > addr) ? 1 : -1;
6071 return find_stack_direction () < 0;
6074 if ac_fn_c_try_run
"$LINENO"; then :
6075 ac_cv_c_stack_direction
=1
6077 ac_cv_c_stack_direction
=-1
6079 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6080 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6085 $as_echo "$ac_cv_c_stack_direction" >&6; }
6086 cat >>confdefs.h
<<_ACEOF
6087 #define STACK_DIRECTION $ac_cv_c_stack_direction
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6094 $as_echo_n "checking for ANSI C header files... " >&6; }
6095 if test "${ac_cv_header_stdc+set}" = set; then :
6096 $as_echo_n "(cached) " >&6
6098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6099 /* end confdefs.h. */
6113 if ac_fn_c_try_compile
"$LINENO"; then :
6114 ac_cv_header_stdc
=yes
6116 ac_cv_header_stdc
=no
6118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6120 if test $ac_cv_header_stdc = yes; then
6121 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6128 $EGREP "memchr" >/dev
/null
2>&1; then :
6131 ac_cv_header_stdc
=no
6137 if test $ac_cv_header_stdc = yes; then
6138 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6140 /* end confdefs.h. */
6144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6145 $EGREP "free" >/dev
/null
2>&1; then :
6148 ac_cv_header_stdc
=no
6154 if test $ac_cv_header_stdc = yes; then
6155 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6156 if test "$cross_compiling" = yes; then :
6159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6160 /* end confdefs.h. */
6163 #if ((' ' & 0x0FF) == 0x020)
6164 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6165 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6167 # define ISLOWER(c) \
6168 (('a' <= (c) && (c) <= 'i') \
6169 || ('j' <= (c) && (c) <= 'r') \
6170 || ('s' <= (c) && (c) <= 'z'))
6171 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6174 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6179 for (i = 0; i < 256; i++)
6180 if (XOR (islower (i), ISLOWER (i))
6181 || toupper (i) != TOUPPER (i))
6186 if ac_fn_c_try_run
"$LINENO"; then :
6189 ac_cv_header_stdc
=no
6191 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6192 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6198 $as_echo "$ac_cv_header_stdc" >&6; }
6199 if test $ac_cv_header_stdc = yes; then
6201 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
6207 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
6208 if test "${am_cv_langinfo_codeset+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6212 /* end confdefs.h. */
6213 #include <langinfo.h>
6217 char* cs = nl_langinfo(CODESET);
6222 if ac_fn_c_try_link
"$LINENO"; then :
6223 am_cv_langinfo_codeset
=yes
6225 am_cv_langinfo_codeset
=no
6227 rm -f core conftest.err conftest.
$ac_objext \
6228 conftest
$ac_exeext conftest.
$ac_ext
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
6232 $as_echo "$am_cv_langinfo_codeset" >&6; }
6233 if test $am_cv_langinfo_codeset = yes; then
6235 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
6239 # If we haven't got the data from the intl directory,
6240 # assume NLS is disabled.
6249 if test -f ..
/intl
/config.intl
; then
6250 . ..
/intl
/config.intl
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6253 $as_echo_n "checking whether NLS is requested... " >&6; }
6254 if test x
"$USE_NLS" != xyes
; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6259 $as_echo "yes" >&6; }
6261 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6265 $as_echo_n "checking for catalogs to be installed... " >&6; }
6266 # Look for .po and .gmo files in the source directory.
6269 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
6270 # If there aren't any .gmo files the shell will give us the
6271 # literal string "../path/to/srcdir/po/*.gmo" which has to be
6273 case "$cat" in *\
**)
6276 # The quadruple backslash is collapsed to a double backslash
6277 # by the backticks, then collapsed again by the double quotes,
6278 # leaving us with one backslash in the sed expression (right
6279 # before the dot that mustn't act as a wildcard).
6280 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
6281 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
6282 # The user is allowed to set LINGUAS to a list of languages to
6283 # install catalogs for. If it's empty that means "all of them."
6284 if test "x$LINGUAS" = x
; then
6285 CATALOGS
="$CATALOGS $cat"
6286 XLINGUAS
="$XLINGUAS $lang"
6288 case "$LINGUAS" in *$lang*)
6289 CATALOGS
="$CATALOGS $cat"
6290 XLINGUAS
="$XLINGUAS $lang"
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6297 $as_echo "$LINGUAS" >&6; }
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uchar" >&5
6311 $as_echo_n "checking for uchar... " >&6; }
6312 if test "${gcc_cv_type_uchar+set}" = set; then :
6313 $as_echo_n "(cached) " >&6
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6318 #include <sys/types.h>
6323 if ((uchar *)0) return 0;
6324 if (sizeof(uchar)) return 0;
6329 if ac_fn_c_try_compile
"$LINENO"; then :
6330 ac_cv_type_uchar
=yes
6334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_type_uchar" >&5
6337 $as_echo "$gcc_cv_type_uchar" >&6; }
6338 if test $ac_cv_type_uchar = yes; then
6340 $as_echo "#define HAVE_UCHAR 1" >>confdefs.h
6344 # g++ on Solaris 10+ defines _XOPEN_SOURCE=600, which exposes a different
6345 # iconv() prototype.
6347 ac_cpp
='$CXXCPP $CPPFLAGS'
6348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6353 if test "X$prefix" = "XNONE"; then
6354 acl_final_prefix
="$ac_default_prefix"
6356 acl_final_prefix
="$prefix"
6358 if test "X$exec_prefix" = "XNONE"; then
6359 acl_final_exec_prefix
='${prefix}'
6361 acl_final_exec_prefix
="$exec_prefix"
6363 acl_save_prefix
="$prefix"
6364 prefix
="$acl_final_prefix"
6365 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6366 prefix
="$acl_save_prefix"
6369 # Check whether --with-gnu-ld was given.
6370 if test "${with_gnu_ld+set}" = set; then :
6371 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6376 # Prepare PATH_SEPARATOR.
6377 # The user is always right.
6378 if test "${PATH_SEPARATOR+set}" != set; then
6379 echo "#! /bin/sh" >conf$$.sh
6380 echo "exit 0" >>conf$$.sh
6382 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6390 if test "$GCC" = yes; then
6391 # Check if gcc -print-prog-name=ld gives a path.
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6393 $as_echo_n "checking for ld used by GCC... " >&6; }
6396 # gcc leaves a trailing carriage return which upsets mingw
6397 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6399 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6402 # Accept absolute paths.
6403 [\\/]* |
[A-Za-z
]:[\\/]*)
6404 re_direlt
='/[^/][^/]*/\.\./'
6405 # Canonicalize the path of ld
6406 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6407 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6408 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6410 test -z "$LD" && LD
="$ac_prog"
6413 # If it fails, then pretend we aren't using GCC.
6417 # If it is relative, then search for the first ld in PATH.
6421 elif test "$with_gnu_ld" = yes; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6423 $as_echo_n "checking for GNU ld... " >&6; }
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6426 $as_echo_n "checking for non-GNU ld... " >&6; }
6428 if test "${acl_cv_path_LD+set}" = set; then :
6429 $as_echo_n "(cached) " >&6
6431 if test -z "$LD"; then
6432 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6433 for ac_dir
in $PATH; do
6434 test -z "$ac_dir" && ac_dir
=.
6435 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6436 acl_cv_path_LD
="$ac_dir/$ac_prog"
6437 # Check to see if the program is GNU ld. I'd rather use --version,
6438 # but apparently some GNU ld's only accept -v.
6439 # Break only if it was the GNU/non-GNU ld that we prefer.
6440 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
6441 test "$with_gnu_ld" != no
&& break
6443 test "$with_gnu_ld" != yes && break
6449 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6453 LD
="$acl_cv_path_LD"
6454 if test -n "$LD"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6456 $as_echo "$LD" >&6; }
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6461 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6463 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6464 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
6465 $as_echo_n "(cached) " >&6
6467 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6468 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
6469 acl_cv_prog_gnu_ld
=yes
6471 acl_cv_prog_gnu_ld
=no
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6475 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
6476 with_gnu_ld
=$acl_cv_prog_gnu_ld
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6481 $as_echo_n "checking for shared library run path origin... " >&6; }
6482 if test "${acl_cv_rpath+set}" = set; then :
6483 $as_echo_n "(cached) " >&6
6486 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6487 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6494 $as_echo "$acl_cv_rpath" >&6; }
6496 libext
="$acl_cv_libext"
6497 shlibext
="$acl_cv_shlibext"
6498 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6499 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6500 hardcode_direct
="$acl_cv_hardcode_direct"
6501 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6502 # Check whether --enable-rpath was given.
6503 if test "${enable_rpath+set}" = set; then :
6504 enableval
=$enable_rpath; :
6518 acl_save_prefix
="$prefix"
6519 prefix
="$acl_final_prefix"
6520 acl_save_exec_prefix
="$exec_prefix"
6521 exec_prefix
="$acl_final_exec_prefix"
6523 eval additional_includedir
=\"$includedir\"
6524 eval additional_libdir
=\"$libdir\"
6526 exec_prefix
="$acl_save_exec_prefix"
6527 prefix
="$acl_save_prefix"
6530 # Check whether --with-libiconv-prefix was given.
6531 if test "${with_libiconv_prefix+set}" = set; then :
6532 withval
=$with_libiconv_prefix;
6533 if test "X$withval" = "Xno"; then
6536 if test "X$withval" = "X"; then
6538 acl_save_prefix
="$prefix"
6539 prefix
="$acl_final_prefix"
6540 acl_save_exec_prefix
="$exec_prefix"
6541 exec_prefix
="$acl_final_exec_prefix"
6543 eval additional_includedir
=\"$includedir\"
6544 eval additional_libdir
=\"$libdir\"
6546 exec_prefix
="$acl_save_exec_prefix"
6547 prefix
="$acl_save_prefix"
6550 additional_includedir
="$withval/include"
6551 additional_libdir
="$withval/lib"
6562 names_already_handled
=
6563 names_next_round
='iconv '
6564 while test -n "$names_next_round"; do
6565 names_this_round
="$names_next_round"
6567 for name
in $names_this_round; do
6569 for n
in $names_already_handled; do
6570 if test "$n" = "$name"; then
6575 if test -z "$already_handled"; then
6576 names_already_handled
="$names_already_handled $name"
6577 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6578 eval value
=\"\
$HAVE_LIB$uppername\"
6579 if test -n "$value"; then
6580 if test "$value" = yes; then
6581 eval value
=\"\
$LIB$uppername\"
6582 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6583 eval value
=\"\
$LTLIB$uppername\"
6584 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6593 if test $use_additional = yes; then
6594 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6595 found_dir
="$additional_libdir"
6596 found_so
="$additional_libdir/lib$name.$shlibext"
6597 if test -f "$additional_libdir/lib$name.la"; then
6598 found_la
="$additional_libdir/lib$name.la"
6601 if test -f "$additional_libdir/lib$name.$libext"; then
6602 found_dir
="$additional_libdir"
6603 found_a
="$additional_libdir/lib$name.$libext"
6604 if test -f "$additional_libdir/lib$name.la"; then
6605 found_la
="$additional_libdir/lib$name.la"
6610 if test "X$found_dir" = "X"; then
6611 for x
in $LDFLAGS $LTLIBICONV; do
6613 acl_save_prefix
="$prefix"
6614 prefix
="$acl_final_prefix"
6615 acl_save_exec_prefix
="$exec_prefix"
6616 exec_prefix
="$acl_final_exec_prefix"
6618 exec_prefix
="$acl_save_exec_prefix"
6619 prefix
="$acl_save_prefix"
6623 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6624 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6626 found_so
="$dir/lib$name.$shlibext"
6627 if test -f "$dir/lib$name.la"; then
6628 found_la
="$dir/lib$name.la"
6631 if test -f "$dir/lib$name.$libext"; then
6633 found_a
="$dir/lib$name.$libext"
6634 if test -f "$dir/lib$name.la"; then
6635 found_la
="$dir/lib$name.la"
6641 if test "X$found_dir" != "X"; then
6646 if test "X$found_dir" != "X"; then
6647 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6648 if test "X$found_so" != "X"; then
6649 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6650 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6653 for x
in $ltrpathdirs; do
6654 if test "X$x" = "X$found_dir"; then
6659 if test -z "$haveit"; then
6660 ltrpathdirs
="$ltrpathdirs $found_dir"
6662 if test "$hardcode_direct" = yes; then
6663 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6665 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6666 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6668 for x
in $rpathdirs; do
6669 if test "X$x" = "X$found_dir"; then
6674 if test -z "$haveit"; then
6675 rpathdirs
="$rpathdirs $found_dir"
6679 for x
in $LDFLAGS $LIBICONV; do
6681 acl_save_prefix
="$prefix"
6682 prefix
="$acl_final_prefix"
6683 acl_save_exec_prefix
="$exec_prefix"
6684 exec_prefix
="$acl_final_exec_prefix"
6686 exec_prefix
="$acl_save_exec_prefix"
6687 prefix
="$acl_save_prefix"
6689 if test "X$x" = "X-L$found_dir"; then
6694 if test -z "$haveit"; then
6695 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6697 if test "$hardcode_minus_L" != no
; then
6698 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6700 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6706 if test "X$found_a" != "X"; then
6707 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6709 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6712 additional_includedir
=
6713 case "$found_dir" in
6715 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6716 additional_includedir
="$basedir/include"
6719 if test "X$additional_includedir" != "X"; then
6720 if test "X$additional_includedir" != "X/usr/include"; then
6722 if test "X$additional_includedir" = "X/usr/local/include"; then
6723 if test -n "$GCC"; then
6725 linux
*) haveit
=yes;;
6729 if test -z "$haveit"; then
6730 for x
in $CPPFLAGS $INCICONV; do
6732 acl_save_prefix
="$prefix"
6733 prefix
="$acl_final_prefix"
6734 acl_save_exec_prefix
="$exec_prefix"
6735 exec_prefix
="$acl_final_exec_prefix"
6737 exec_prefix
="$acl_save_exec_prefix"
6738 prefix
="$acl_save_prefix"
6740 if test "X$x" = "X-I$additional_includedir"; then
6745 if test -z "$haveit"; then
6746 if test -d "$additional_includedir"; then
6747 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6753 if test -n "$found_la"; then
6754 save_libdir
="$libdir"
6756 */* |
*\\*) .
"$found_la" ;;
6757 *) .
"./$found_la" ;;
6759 libdir
="$save_libdir"
6760 for dep
in $dependency_libs; do
6763 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6764 if test "X$additional_libdir" != "X/usr/lib"; then
6766 if test "X$additional_libdir" = "X/usr/local/lib"; then
6767 if test -n "$GCC"; then
6769 linux
*) haveit
=yes;;
6773 if test -z "$haveit"; then
6775 for x
in $LDFLAGS $LIBICONV; do
6777 acl_save_prefix
="$prefix"
6778 prefix
="$acl_final_prefix"
6779 acl_save_exec_prefix
="$exec_prefix"
6780 exec_prefix
="$acl_final_exec_prefix"
6782 exec_prefix
="$acl_save_exec_prefix"
6783 prefix
="$acl_save_prefix"
6785 if test "X$x" = "X-L$additional_libdir"; then
6790 if test -z "$haveit"; then
6791 if test -d "$additional_libdir"; then
6792 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6796 for x
in $LDFLAGS $LTLIBICONV; do
6798 acl_save_prefix
="$prefix"
6799 prefix
="$acl_final_prefix"
6800 acl_save_exec_prefix
="$exec_prefix"
6801 exec_prefix
="$acl_final_exec_prefix"
6803 exec_prefix
="$acl_save_exec_prefix"
6804 prefix
="$acl_save_prefix"
6806 if test "X$x" = "X-L$additional_libdir"; then
6811 if test -z "$haveit"; then
6812 if test -d "$additional_libdir"; then
6813 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6820 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6821 if test "$enable_rpath" != no
; then
6823 for x
in $rpathdirs; do
6824 if test "X$x" = "X$dir"; then
6829 if test -z "$haveit"; then
6830 rpathdirs
="$rpathdirs $dir"
6833 for x
in $ltrpathdirs; do
6834 if test "X$x" = "X$dir"; then
6839 if test -z "$haveit"; then
6840 ltrpathdirs
="$ltrpathdirs $dir"
6845 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6848 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6851 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6852 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6858 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6859 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6865 if test "X$rpathdirs" != "X"; then
6866 if test -n "$hardcode_libdir_separator"; then
6868 for found_dir
in $rpathdirs; do
6869 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6871 acl_save_libdir
="$libdir"
6873 eval flag
=\"$hardcode_libdir_flag_spec\"
6874 libdir
="$acl_save_libdir"
6875 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6877 for found_dir
in $rpathdirs; do
6878 acl_save_libdir
="$libdir"
6880 eval flag
=\"$hardcode_libdir_flag_spec\"
6881 libdir
="$acl_save_libdir"
6882 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6886 if test "X$ltrpathdirs" != "X"; then
6887 for found_dir
in $ltrpathdirs; do
6888 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6898 am_save_CPPFLAGS
="$CPPFLAGS"
6900 for element
in $INCICONV; do
6902 for x
in $CPPFLAGS; do
6904 acl_save_prefix
="$prefix"
6905 prefix
="$acl_final_prefix"
6906 acl_save_exec_prefix
="$exec_prefix"
6907 exec_prefix
="$acl_final_exec_prefix"
6909 exec_prefix
="$acl_save_exec_prefix"
6910 prefix
="$acl_save_prefix"
6912 if test "X$x" = "X$element"; then
6917 if test -z "$haveit"; then
6918 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6924 $as_echo_n "checking for iconv... " >&6; }
6925 if test "${am_cv_func_iconv+set}" = set; then :
6926 $as_echo_n "(cached) " >&6
6929 am_cv_func_iconv
="no, consider installing GNU libiconv"
6931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6938 iconv_t cd = iconv_open("","");
6939 iconv(cd,NULL,NULL,NULL,NULL);
6945 if ac_fn_cxx_try_link
"$LINENO"; then :
6946 am_cv_func_iconv
=yes
6948 rm -f core conftest.err conftest.
$ac_objext \
6949 conftest
$ac_exeext conftest.
$ac_ext
6950 if test "$am_cv_func_iconv" != yes; then
6951 am_save_LIBS
="$LIBS"
6952 LIBS
="$LIBS $LIBICONV"
6953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6954 /* end confdefs.h. */
6960 iconv_t cd = iconv_open("","");
6961 iconv(cd,NULL,NULL,NULL,NULL);
6967 if ac_fn_cxx_try_link
"$LINENO"; then :
6969 am_cv_func_iconv
=yes
6971 rm -f core conftest.err conftest.
$ac_objext \
6972 conftest
$ac_exeext conftest.
$ac_ext
6973 LIBS
="$am_save_LIBS"
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6978 $as_echo "$am_cv_func_iconv" >&6; }
6979 if test "$am_cv_func_iconv" = yes; then
6981 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6984 if test "$am_cv_lib_iconv" = yes; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6986 $as_echo_n "checking how to link with libiconv... " >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6988 $as_echo "$LIBICONV" >&6; }
6990 CPPFLAGS
="$am_save_CPPFLAGS"
6997 if test "$am_cv_func_iconv" = yes; then
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
6999 $as_echo_n "checking for iconv declaration... " >&6; }
7000 if test "${am_cv_proto_iconv+set}" = set; then :
7001 $as_echo_n "(cached) " >&6
7004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7005 /* end confdefs.h. */
7013 #if defined(__STDC__) || defined(__cplusplus)
7014 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7027 if ac_fn_cxx_try_compile
"$LINENO"; then :
7028 am_cv_proto_iconv_arg1
=""
7030 am_cv_proto_iconv_arg1
="const"
7032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7033 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);"
7036 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
7038 }$am_cv_proto_iconv" >&5
7040 }$am_cv_proto_iconv" >&6; }
7042 cat >>confdefs.h
<<_ACEOF
7043 #define ICONV_CONST $am_cv_proto_iconv_arg1
7049 ac_cpp
='$CPP $CPPFLAGS'
7050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7055 # More defines and substitutions.
7056 PACKAGE
="$PACKAGE_TARNAME"
7058 cat >>confdefs.h
<<_ACEOF
7059 #define PACKAGE "$PACKAGE"
7064 if test "x$enable_nls" != xno
; then
7065 USED_CATALOGS
='$(CATALOGS)'
7071 # Check whether --enable-maintainer-mode was given.
7072 if test "${enable_maintainer_mode+set}" = set; then :
7073 enableval
=$enable_maintainer_mode;
7075 enable_maintainer_mode
=no
7079 if test "x$enable_maintainer_mode" = xno
; then
7086 # Check whether --enable-checking was given.
7087 if test "${enable_checking+set}" = set; then :
7088 enableval
=$enable_checking;
7094 if test $enable_checking != no
; then
7096 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
7100 # Check whether --enable-canonical-system-headers was given.
7101 if test "${enable_canonical_system_headers+set}" = set; then :
7102 enableval
=$enable_canonical_system_headers;
7104 enable_canonical_system_headers
=yes
7107 if test $enable_canonical_system_headers != no
; then
7109 $as_echo "#define ENABLE_CANONICAL_SYSTEM_HEADERS 1" >>confdefs.h
7118 arm
*-*-symbianelf* | \
7122 i
[34567]86-*-* | x86_64-
*-solaris2.1
[0-9]* | \
7130 sh
[123456789lbe
]*-*-* | sh-
*-* | \
7131 tilegx-
*-* | tilepro-
*-* )
7132 need_64bit_hwint
=yes ;;
7134 need_64bit_hwint
=no
;;
7137 case $need_64bit_hwint:$ac_cv_sizeof_long in
7138 *:8 | no
:*) host_wide_int
=long
;;
7139 *) host_wide_int
='long long' ;;
7144 cat >>confdefs.h
<<_ACEOF
7145 #define HOST_WIDE_INT $host_wide_int
7151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7157 asm ("pcmpestri %0, %%xmm0, %%xmm1" : : "i"(0))
7162 if ac_fn_c_try_compile
"$LINENO"; then :
7164 $as_echo "#define HAVE_SSE4 1" >>confdefs.h
7167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7172 ac_config_headers
="$ac_config_headers config.h:config.in"
7174 ac_config_files
="$ac_config_files Makefile"
7176 cat >confcache
<<\_ACEOF
7177 # This file is a shell script that caches the results of configure
7178 # tests run on this system so they can be shared between configure
7179 # scripts and configure runs, see configure's option --config-cache.
7180 # It is not useful on other systems. If it contains results you don't
7181 # want to keep, you may remove or edit it.
7183 # config.status only pays attention to the cache file if you give it
7184 # the --recheck option to rerun configure.
7186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7192 # The following way of writing the cache mishandles newlines in values,
7193 # but we know of no workaround that is simple, portable, and efficient.
7194 # So, we kill variables containing newlines.
7195 # Ultrix sh set writes to stderr and can't be redirected directly,
7196 # and sets the high bit in the cache file unless we assign to the vars.
7198 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7199 eval ac_val
=\$
$ac_var
7203 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7207 _ | IFS | as_nl
) ;; #(
7208 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7209 *) { eval $ac_var=; unset $ac_var;} ;;
7215 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7216 *${as_nl}ac_space
=\
*)
7217 # `set' does not quote correctly, so add quotes: double-quote
7218 # substitution turns \\\\ into \\, and sed turns \\ into \.
7221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7224 # `set' quotes correctly as required by POSIX, so do not add quotes.
7225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7234 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7236 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7238 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7239 if test -w "$cache_file"; then
7240 test "x$cache_file" != "x/dev/null" &&
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7242 $as_echo "$as_me: updating cache $cache_file" >&6;}
7243 cat confcache
>$cache_file
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7246 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7251 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7252 # Let make expand exec_prefix.
7253 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7255 DEFS
=-DHAVE_CONFIG_H
7259 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7260 # 1. Remove the extension, and $U if already installed.
7261 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7262 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7263 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7264 # will be set to the directory where LIBOBJS objects are built.
7265 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7266 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7270 LTLIBOBJS
=$ac_ltlibobjs
7275 : ${CONFIG_STATUS=./config.status}
7277 ac_clean_files_save
=$ac_clean_files
7278 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7280 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7282 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7284 # Generated by $as_me.
7285 # Run this file to recreate the current configuration.
7286 # Compiler output produced by configure, useful for debugging
7287 # configure, is in config.log if it exists.
7293 SHELL=\${CONFIG_SHELL-$SHELL}
7296 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7297 ## -------------------- ##
7298 ## M4sh Initialization. ##
7299 ## -------------------- ##
7301 # Be more Bourne compatible
7302 DUALCASE
=1; export DUALCASE
# for MKS sh
7303 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7306 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7307 # is contrary to our usage. Disable this feature.
7308 alias -g '${1+"$@"}'='"$@"'
7309 setopt NO_GLOB_SUBST
7311 case `(set -o) 2>/dev/null` in #(
7323 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7324 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7325 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7326 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7327 # Prefer a ksh shell builtin over an external printf program on Solaris,
7328 # but without wasting forks for bash or zsh.
7329 if test -z "$BASH_VERSION$ZSH_VERSION" \
7330 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7331 as_echo='print
-r --'
7332 as_echo_n='print
-rn --'
7333 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7334 as_echo='printf %s
\n'
7335 as_echo_n='printf %s
'
7337 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7338 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7339 as_echo_n='/usr
/ucb
/echo -n'
7341 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7342 as_echo_n_body='eval
7346 expr "X$arg" : "X\\(.*\\)$as_nl";
7347 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7349 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7351 export as_echo_n_body
7352 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7355 as_echo='sh
-c $as_echo_body as_echo
'
7358 # The user is always right.
7359 if test "${PATH_SEPARATOR+set}" != set; then
7361 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7362 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7369 # We need space, tab and new line, in precisely that order. Quoting is
7370 # there to prevent editors from complaining about space-tab.
7371 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7372 # splitting by setting IFS to empty value.)
7375 # Find who we are. Look in the path if we contain no directory separator.
7377 *[\\/]* ) as_myself=$0 ;;
7378 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 test -z "$as_dir" && as_dir=.
7383 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7389 # We did not find ourselves, most probably we were run as `sh COMMAND'
7390 # in which case we are not to be found in the path.
7391 if test "x$as_myself" = x
; then
7394 if test ! -f "$as_myself"; then
7395 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7399 # Unset variables that we do not need and which cause bugs (e.g. in
7400 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7401 # suppresses any "Segmentation fault" message there. '((' could
7402 # trigger a bug in pdksh 5.2.14.
7403 for as_var
in BASH_ENV ENV MAIL MAILPATH
7404 do eval test x\
${$as_var+set} = xset \
7405 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7418 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7421 # as_fn_error ERROR [LINENO LOG_FD]
7422 # ---------------------------------
7423 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7424 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7425 # script with status $?, using 1 if that was 0.
7428 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7430 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7431 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7433 $as_echo "$as_me: error: $1" >&2
7434 as_fn_exit
$as_status
7438 # as_fn_set_status STATUS
7439 # -----------------------
7440 # Set $? to STATUS, without forking.
7444 } # as_fn_set_status
7448 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7458 # Portably unset VAR.
7461 { eval $1=; unset $1;}
7463 as_unset
=as_fn_unset
7464 # as_fn_append VAR VALUE
7465 # ----------------------
7466 # Append the text in VALUE to the end of the definition contained in VAR. Take
7467 # advantage of any shell optimizations that allow amortized linear growth over
7468 # repeated appends, instead of the typical quadratic growth present in naive
7470 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7471 eval 'as_fn_append ()
7482 # as_fn_arith ARG...
7483 # ------------------
7484 # Perform arithmetic evaluation on the ARGs, and store the result in the
7485 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7486 # must be portable across $(()) and expr.
7487 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7488 eval 'as_fn_arith ()
7495 as_val
=`expr "$@" || test $? -eq 1`
7500 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7501 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7507 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7508 as_basename
=basename
7513 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7519 as_me
=`$as_basename -- "$0" ||
7520 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7521 X"$0" : 'X\(//\)$' \| \
7522 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7524 sed '/^.*\/\([^/][^/]*\)\/*$/{
7538 # Avoid depending upon Character Ranges.
7539 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7540 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7541 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7542 as_cr_digits
='0123456789'
7543 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7545 ECHO_C
= ECHO_N
= ECHO_T
=
7546 case `echo -n x` in #(((((
7548 case `echo 'xy\c'` in
7549 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7551 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7558 rm -f conf$$ conf$$.exe conf$$.
file
7559 if test -d conf$$.dir
; then
7560 rm -f conf$$.dir
/conf$$.
file
7563 mkdir conf$$.dir
2>/dev
/null
7565 if (echo >conf$$.
file) 2>/dev
/null
; then
7566 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7568 # ... but there are two gotchas:
7569 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7570 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7571 # In both cases, we have to default to `cp -p'.
7572 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7574 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7582 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7583 rmdir conf$$.dir
2>/dev
/null
7588 # Create "$as_dir" as a directory, including parents if necessary.
7593 -*) as_dir
=.
/$as_dir;;
7595 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7599 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7600 *) as_qdir
=$as_dir;;
7602 as_dirs
="'$as_qdir' $as_dirs"
7603 as_dir
=`$as_dirname -- "$as_dir" ||
7604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7605 X"$as_dir" : 'X\(//\)[^/]' \| \
7606 X"$as_dir" : 'X\(//\)$' \| \
7607 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7608 $as_echo X"$as_dir" |
7609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7626 test -d "$as_dir" && break
7628 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7629 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7633 if mkdir
-p .
2>/dev
/null
; then
7634 as_mkdir_p
='mkdir -p "$as_dir"'
7636 test -d .
/-p && rmdir .
/-p
7640 if test -x / >/dev
/null
2>&1; then
7643 if ls -dL / >/dev
/null
2>&1; then
7650 if test -d "$1"; then
7656 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7657 ???[sx]*):;;*)false;;esac;fi
7661 as_executable_p
=$as_test_x
7663 # Sed expression to map a string onto a valid CPP name.
7664 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7666 # Sed expression to map a string onto a valid variable name.
7667 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7671 ## ----------------------------------- ##
7672 ## Main body of $CONFIG_STATUS script. ##
7673 ## ----------------------------------- ##
7675 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7678 # Save the log message, to keep $0 and so on meaningful, and to
7679 # report actual input values of CONFIG_FILES etc. instead of their
7680 # values after options handling.
7682 This file was extended by cpplib $as_me , which was
7683 generated by GNU Autoconf 2.64. Invocation command line was
7685 CONFIG_FILES = $CONFIG_FILES
7686 CONFIG_HEADERS = $CONFIG_HEADERS
7687 CONFIG_LINKS = $CONFIG_LINKS
7688 CONFIG_COMMANDS = $CONFIG_COMMANDS
7691 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7696 case $ac_config_files in *"
7697 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7700 case $ac_config_headers in *"
7701 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7706 # Files that config.status was made for.
7707 config_files="$ac_config_files"
7708 config_headers="$ac_config_headers"
7709 config_commands="$ac_config_commands"
7713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7715 \`$as_me' instantiates files and other configuration actions
7716 from templates according to the current configuration. Unless the files
7717 and actions are specified as TAGs, all are instantiated by default.
7719 Usage: $0 [OPTION]... [TAG]...
7721 -h, --help print this help, then exit
7722 -V, --version print version number and configuration settings, then exit
7723 -q, --quiet, --silent
7724 do not print progress messages
7725 -d, --debug don't remove temporary files
7726 --recheck update $as_me by reconfiguring in the same conditions
7727 --file=FILE[:TEMPLATE]
7728 instantiate the configuration file FILE
7729 --header=FILE[:TEMPLATE]
7730 instantiate the configuration header FILE
7732 Configuration files:
7735 Configuration headers:
7738 Configuration commands:
7741 Report bugs to <gcc-bugs@gcc.gnu.org>."
7744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7746 cpplib config.status
7747 configured by $0, generated by GNU Autoconf 2.64,
7748 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7750 Copyright (C) 2009 Free Software Foundation, Inc.
7751 This config.status script is free software; the Free Software Foundation
7752 gives unlimited permission to copy, distribute and modify it."
7757 test -n "\$AWK" || AWK=awk
7760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7761 # The default lists apply if the user does not specify any file.
7767 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7768 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7779 # Handling of the options.
7780 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7782 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7783 $as_echo "$ac_cs_version"; exit ;;
7784 --debug |
--debu |
--deb |
--de |
--d |
-d )
7786 --file |
--fil |
--fi |
--f )
7789 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7791 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7792 ac_need_defaults
=false
;;
7793 --header |
--heade |
--head |
--hea )
7796 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7798 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7799 ac_need_defaults
=false
;;
7801 # Conflict between --help and --header
7802 as_fn_error
"ambiguous option: \`$1'
7803 Try \`$0 --help' for more information.";;
7804 --help |
--hel |
-h )
7805 $as_echo "$ac_cs_usage"; exit ;;
7806 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7807 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7811 -*) as_fn_error
"unrecognized option: \`$1'
7812 Try \`$0 --help' for more information." ;;
7814 *) as_fn_append ac_config_targets
" $1"
7815 ac_need_defaults
=false
;;
7821 ac_configure_extra_args
=
7823 if $ac_cs_silent; then
7825 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7830 if \$ac_cs_recheck; then
7831 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7833 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7834 CONFIG_SHELL='$SHELL'
7840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7844 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7845 ## Running $as_me. ##
7851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7855 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
7859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7861 # Handling of arguments.
7862 for ac_config_target
in $ac_config_targets
7864 case $ac_config_target in
7865 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
7866 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7867 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7869 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7874 # If the user did not use the arguments to specify the items to instantiate,
7875 # then the envvar interface is used. Set only those that are not.
7876 # We use the long form for the default assignment because of an extremely
7877 # bizarre bug on SunOS 4.1.3.
7878 if $ac_need_defaults; then
7879 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7880 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7881 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7884 # Have a temporary directory for convenience. Make it in the build tree
7885 # simply because there is no reason against having it here, and in addition,
7886 # creating and moving files from /tmp can sometimes cause problems.
7887 # Hook for its removal unless debugging.
7888 # Note that there is a small window in which the directory will not be cleaned:
7889 # after its creation but before its name has been assigned to `$tmp'.
7893 trap 'exit_status=$?
7894 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7896 trap 'as_fn_exit 1' 1 2 13 15
7898 # Create a (secure) tmp directory for tmp files.
7901 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7902 test -n "$tmp" && test -d "$tmp"
7905 tmp
=.
/conf$$
-$RANDOM
7906 (umask 077 && mkdir
"$tmp")
7907 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
7909 # Set up the scripts for CONFIG_FILES section.
7910 # No need to generate them if there are no CONFIG_FILES.
7911 # This happens for instance with `./config.status config.h'.
7912 if test -n "$CONFIG_FILES"; then
7915 ac_cr
=`echo X | tr X '\015'`
7916 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7917 # But we know of no other shell where ac_cr would be empty at this
7918 # point, so we can use a bashism as a fallback.
7919 if test "x$ac_cr" = x
; then
7920 eval ac_cr
=\$
\'\\r
\'
7922 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7923 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7929 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7934 echo "cat >conf$$subs.awk <<_ACEOF" &&
7935 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7938 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7939 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7941 for ac_last_try in false false false false false :; do
7942 . ./conf$$subs.sh ||
7943 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7945 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7946 if test $ac_delim_n = $ac_delim_num; then
7948 elif $ac_last_try; then
7949 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7951 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7957 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
7961 s/^/S["/; s
/!.
*/"]=/
7971 s/\(.\{148\}\).*/\1/
7973 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7978 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7985 s/\(.\{148\}\).*/\1/
7987 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7991 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7996 ' <conf$$subs.awk | sed '
8001 ' >>$CONFIG_STATUS || ac_write_fail=1
8002 rm -f conf$$subs.awk
8003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8005 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8006 for (key in S) S_is_set[key] = 1
8012 nfields = split(line, field, "@
")
8014 len = length(field[1])
8015 for (i = 2; i < nfields; i++) {
8017 keylen = length(key)
8018 if (S_is_set[key]) {
8020 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8021 len += length(value) + length(field[++i])
8032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8033 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8034 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8037 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8038 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8041 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8042 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8043 # trailing colons and then remove the whole line if VPATH becomes empty
8044 # (actually we leave an empty line to preserve line numbers).
8045 if test "x
$srcdir" = x.; then
8046 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8050 s/^\([^=]*=[ ]*\):*/\1/
8056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8057 fi # test -n "$CONFIG_FILES"
8059 # Set up the scripts for CONFIG_HEADERS section.
8060 # No need to generate them if there are no CONFIG_HEADERS.
8061 # This happens for instance with `./config.status Makefile'.
8062 if test -n "$CONFIG_HEADERS"; then
8063 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8067 # Transform confdefs.h into an awk script `defines.awk', embedded as
8068 # here-document in config.status, that substitutes the proper values into
8069 # config.h.in to produce config.h.
8071 # Create a delimiter string that does not exist in confdefs.h, to ease
8072 # handling of long lines.
8074 for ac_last_try in false false :; do
8075 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8076 if test -z "$ac_t"; then
8078 elif $ac_last_try; then
8079 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8081 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8085 # For the awk script, D is an array of macro values keyed by name,
8086 # likewise P contains macro parameters if any. Preserve backslash
8087 # newline sequences.
8089 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8091 s/.\{148\}/&'"$ac_delim"'/g
8094 s/^[ ]*#[ ]*define[ ][ ]*/ /
8101 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8103 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8107 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8108 D["\
1"]=" \
3\\\\\\n
"\\/p
8110 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8115 s/.\{148\}/&'"$ac_delim"'/g
8120 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8123 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8125 ' <confdefs.h | sed '
8126 s/'"$ac_delim"'/"\\\
8127 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8130 for (key in D) D_is_set[key] = 1
8133 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8135 split(line, arg, " ")
8136 if (arg[1] == "#") {
8140 defundef
= substr
(arg
[1], 2)
8143 split(mac1
, mac2
, "(") #)
8145 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8146 if (D_is_set
[macro
]) {
8147 # Preserve the white space surrounding the "#".
8148 print prefix
"define", macro P
[macro
] D
[macro
]
8151 # Replace #undef with comments. This is necessary, for example,
8152 # in the case of _POSIX_SOURCE, which is predefined and required
8153 # on some systems where configure will not decide to define it.
8154 if (defundef
== "undef") {
8155 print
"/*", prefix defundef
, macro
, "*/"
8163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8164 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8165 fi # test -n "$CONFIG_HEADERS"
8168 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8173 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8175 case $ac_mode$ac_tag in
8177 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8178 :[FH
]-) ac_tag
=-:-;;
8179 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8196 -) ac_f
="$tmp/stdin";;
8197 *) # Look for the file first in the build tree, then in the source tree
8198 # (if the path is not absolute). The absolute path cannot be DOS-style,
8199 # because $ac_f cannot contain `:'.
8203 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8205 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8207 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8208 as_fn_append ac_file_inputs
" '$ac_f'"
8211 # Let's still pretend it is `configure' which instantiates (i.e., don't
8212 # use $as_me), people would be surprised to read:
8213 # /* config.h. Generated by config.status. */
8214 configure_input
='Generated from '`
8215 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8217 if test x
"$ac_file" != x-
; then
8218 configure_input
="$ac_file. $configure_input"
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8220 $as_echo "$as_me: creating $ac_file" >&6;}
8222 # Neutralize special characters interpreted by sed in replacement strings.
8223 case $configure_input in #(
8224 *\
&* |
*\|
* |
*\\* )
8225 ac_sed_conf_input
=`$as_echo "$configure_input" |
8226 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8227 *) ac_sed_conf_input
=$configure_input;;
8231 *:-:* |
*:-) cat >"$tmp/stdin" \
8232 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8237 ac_dir
=`$as_dirname -- "$ac_file" ||
8238 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8239 X"$ac_file" : 'X\(//\)[^/]' \| \
8240 X"$ac_file" : 'X\(//\)$' \| \
8241 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8242 $as_echo X"$ac_file" |
8243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8260 as_dir
="$ac_dir"; as_fn_mkdir_p
8264 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8266 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8267 # A ".." for each directory in $ac_dir_suffix.
8268 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8269 case $ac_top_builddir_sub in
8270 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8271 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8274 ac_abs_top_builddir
=$ac_pwd
8275 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8276 # for backward compatibility:
8277 ac_top_builddir
=$ac_top_build_prefix
8280 .
) # We are building in place.
8282 ac_top_srcdir
=$ac_top_builddir_sub
8283 ac_abs_top_srcdir
=$ac_pwd ;;
8284 [\\/]* | ?
:[\\/]* ) # Absolute name.
8285 ac_srcdir
=$srcdir$ac_dir_suffix;
8286 ac_top_srcdir
=$srcdir
8287 ac_abs_top_srcdir
=$srcdir ;;
8289 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8290 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8291 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8293 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8303 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8304 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8309 # If the template does not know about datarootdir, expand it.
8310 # FIXME: This hack should be removed a few years after 2.60.
8311 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8322 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8323 *datarootdir
*) ac_datarootdir_seen
=yes;;
8324 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8326 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8329 ac_datarootdir_hack='
8330 s&@datadir@&$datadir&g
8331 s&@docdir@&$docdir&g
8332 s&@infodir@&$infodir&g
8333 s&@localedir@&$localedir&g
8334 s&@mandir@&$mandir&g
8335 s&\\\${datarootdir}&$datarootdir&g' ;;
8339 # Neutralize VPATH when `$srcdir' = `.'.
8340 # Shell code in configure.ac might set extrasub.
8341 # FIXME: do we really want to maintain this feature?
8342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8343 ac_sed_extra="$ac_vpsub
8346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8348 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8349 s|@configure_input@|
$ac_sed_conf_input|
;t t
8350 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8351 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8352 s
&@srcdir@
&$ac_srcdir&;t t
8353 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8354 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8355 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8356 s
&@builddir@
&$ac_builddir&;t t
8357 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8358 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8359 s
&@INSTALL@
&$ac_INSTALL&;t t
8360 $ac_datarootdir_hack
8362 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8363 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8365 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8366 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8367 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8369 which seems to be undefined. Please make sure it is defined." >&5
8370 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8371 which seems to be undefined. Please make sure it is defined." >&2;}
8375 -) cat "$tmp/out" && rm -f "$tmp/out";;
8376 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8378 || as_fn_error "could not create $ac_file" "$LINENO" 5
8384 if test x"$ac_file" != x-; then
8386 $as_echo "/* $configure_input */" \
8387 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8388 } >"$tmp/config.h" \
8389 || as_fn_error "could not create $ac_file" "$LINENO" 5
8390 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8392 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8395 mv "$tmp/config.h" "$ac_file" \
8396 || as_fn_error "could not create $ac_file" "$LINENO" 5
8399 $as_echo "/* $configure_input */" \
8400 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8401 || as_fn_error "could not create -" "$LINENO" 5
8405 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8406 $as_echo "$as_me: executing $ac_file commands" >&6;}
8411 case $ac_file$ac_mode in
8412 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
8413 "config.h":H) echo timestamp > stamp-h1 ;;
8421 ac_clean_files=$ac_clean_files_save
8423 test $ac_write_fail = 0 ||
8424 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8427 # configure is writing to config.log, and then calls config.status.
8428 # config.status does its own redirection, appending to config.log.
8429 # Unfortunately, on DOS this fails, as config.log is still kept open
8430 # by configure, so config.status won't be able to
write to it
; its
8431 # output is simply discarded. So we exec the FD to /dev/null,
8432 # effectively closing config.log, so it can be properly (re)opened and
8433 # appended to by config.status. When coming back to configure, we
8434 # need to make the FD available again.
8435 if test "$no_create" != yes; then
8437 ac_config_status_args
=
8438 test "$silent" = yes &&
8439 ac_config_status_args
="$ac_config_status_args --quiet"
8441 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8443 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8444 # would make configure fail if this is the last instruction.
8445 $ac_cs_success || as_fn_exit $?
8447 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8449 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}