2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for the fast lexical analyser generator 2.5.37.
5 # Report bugs to <flex-help@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: flex-help@lists.sourceforge.net about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
553 PACKAGE_NAME
='the fast lexical analyser generator'
554 PACKAGE_TARNAME
='flex'
555 PACKAGE_VERSION
='2.5.37'
556 PACKAGE_STRING
='the fast lexical analyser generator 2.5.37'
557 PACKAGE_BUGREPORT
='flex-help@lists.sourceforge.net'
560 ac_unique_file
="scan.l"
561 ac_config_libobj_dir
=lib
562 # Factoring default headers for most tests.
563 ac_includes_default
="\
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
575 # ifdef HAVE_STDLIB_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
598 ac_subst_vars
='am__EXEEXT_FALSE
667 INSTALL_STRIP_PROGRAM
709 program_transform_name
722 enable_option_checking
724 enable_dependency_tracking
730 ac_precious_vars
='build_alias
746 # Initialize some variables set by options.
748 ac_init_version
=false
749 ac_unrecognized_opts
=
751 # The variables have the same names as the options, with
752 # dashes changed to underlines.
760 program_transform_name
=s
,x
,x
,
768 # Installation directory options.
769 # These are left unexpanded so users can "make install exec_prefix=/foo"
770 # and all the variables that are supposed to be based on exec_prefix
771 # by default will actually change.
772 # Use braces instead of parens because sh, perl, etc. also accept them.
773 # (The list follows the same order as the GNU Coding Standards.)
774 bindir
='${exec_prefix}/bin'
775 sbindir
='${exec_prefix}/sbin'
776 libexecdir
='${exec_prefix}/libexec'
777 datarootdir
='${prefix}/share'
778 datadir
='${datarootdir}'
779 sysconfdir
='${prefix}/etc'
780 sharedstatedir
='${prefix}/com'
781 localstatedir
='${prefix}/var'
782 includedir
='${prefix}/include'
783 oldincludedir
='/usr/include'
784 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
785 infodir
='${datarootdir}/info'
790 libdir
='${exec_prefix}/lib'
791 localedir
='${datarootdir}/locale'
792 mandir
='${datarootdir}/man'
798 # If the previous option needs an argument, assign it.
799 if test -n "$ac_prev"; then
800 eval $ac_prev=\
$ac_option
806 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810 # Accept the important Cygnus configure options, so we can diagnose typos.
812 case $ac_dashdash$ac_option in
816 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
818 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
821 -build |
--build |
--buil |
--bui |
--bu)
822 ac_prev
=build_alias
;;
823 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
824 build_alias
=$ac_optarg ;;
826 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
827 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
828 ac_prev
=cache_file
;;
829 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
830 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
831 cache_file
=$ac_optarg ;;
834 cache_file
=config.cache
;;
836 -datadir |
--datadir |
--datadi |
--datad)
838 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
839 datadir
=$ac_optarg ;;
841 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
842 |
--dataroo |
--dataro |
--datar)
843 ac_prev
=datarootdir
;;
844 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
845 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
846 datarootdir
=$ac_optarg ;;
848 -disable-* |
--disable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 as_fn_error
"invalid feature name: $ac_useropt"
853 ac_useropt_orig
=$ac_useropt
854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep
=', ';;
862 eval enable_
$ac_useropt=no
;;
864 -docdir |
--docdir |
--docdi |
--doc |
--do)
866 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
869 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
871 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
874 -enable-* |
--enable-*)
875 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
878 as_fn_error
"invalid feature name: $ac_useropt"
879 ac_useropt_orig
=$ac_useropt
880 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
886 ac_unrecognized_sep
=', ';;
888 eval enable_
$ac_useropt=\
$ac_optarg ;;
890 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
891 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
892 |
--exec |
--exe |
--ex)
893 ac_prev
=exec_prefix
;;
894 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
895 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
896 |
--exec=* |
--exe=* |
--ex=*)
897 exec_prefix
=$ac_optarg ;;
899 -gas |
--gas |
--ga |
--g)
900 # Obsolete; use --with-gas.
903 -help |
--help |
--hel |
--he |
-h)
905 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
906 ac_init_help
=recursive
;;
907 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
908 ac_init_help
=short
;;
910 -host |
--host |
--hos |
--ho)
911 ac_prev
=host_alias
;;
912 -host=* |
--host=* |
--hos=* |
--ho=*)
913 host_alias
=$ac_optarg ;;
915 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
917 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
919 htmldir
=$ac_optarg ;;
921 -includedir |
--includedir |
--includedi |
--included |
--include \
922 |
--includ |
--inclu |
--incl |
--inc)
923 ac_prev
=includedir
;;
924 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
925 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
926 includedir
=$ac_optarg ;;
928 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
930 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
931 infodir
=$ac_optarg ;;
933 -libdir |
--libdir |
--libdi |
--libd)
935 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
938 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
939 |
--libexe |
--libex |
--libe)
940 ac_prev
=libexecdir
;;
941 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
942 |
--libexe=* |
--libex=* |
--libe=*)
943 libexecdir
=$ac_optarg ;;
945 -localedir |
--localedir |
--localedi |
--localed |
--locale)
947 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
948 localedir
=$ac_optarg ;;
950 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
951 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
952 ac_prev
=localstatedir
;;
953 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
954 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
955 localstatedir
=$ac_optarg ;;
957 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
959 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
963 # Obsolete; use --without-fp.
966 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
967 |
--no-cr |
--no-c |
-n)
970 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
971 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
974 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
975 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
976 |
--oldin |
--oldi |
--old |
--ol |
--o)
977 ac_prev
=oldincludedir
;;
978 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
979 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
980 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
981 oldincludedir
=$ac_optarg ;;
983 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
985 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
988 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
989 |
--program-pre |
--program-pr |
--program-p)
990 ac_prev
=program_prefix
;;
991 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
992 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
993 program_prefix
=$ac_optarg ;;
995 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
996 |
--program-suf |
--program-su |
--program-s)
997 ac_prev
=program_suffix
;;
998 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
999 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1000 program_suffix
=$ac_optarg ;;
1002 -program-transform-name |
--program-transform-name \
1003 |
--program-transform-nam |
--program-transform-na \
1004 |
--program-transform-n |
--program-transform- \
1005 |
--program-transform |
--program-transfor \
1006 |
--program-transfo |
--program-transf \
1007 |
--program-trans |
--program-tran \
1008 |
--progr-tra |
--program-tr |
--program-t)
1009 ac_prev
=program_transform_name
;;
1010 -program-transform-name=* |
--program-transform-name=* \
1011 |
--program-transform-nam=* |
--program-transform-na=* \
1012 |
--program-transform-n=* |
--program-transform-=* \
1013 |
--program-transform=* |
--program-transfor=* \
1014 |
--program-transfo=* |
--program-transf=* \
1015 |
--program-trans=* |
--program-tran=* \
1016 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1017 program_transform_name
=$ac_optarg ;;
1019 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1021 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1022 pdfdir
=$ac_optarg ;;
1024 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1026 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1029 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1030 |
-silent |
--silent |
--silen |
--sile |
--sil)
1033 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1035 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1037 sbindir
=$ac_optarg ;;
1039 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1040 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1041 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1043 ac_prev
=sharedstatedir
;;
1044 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1045 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1046 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1048 sharedstatedir
=$ac_optarg ;;
1050 -site |
--site |
--sit)
1052 -site=* |
--site=* |
--sit=*)
1055 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1057 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1058 srcdir
=$ac_optarg ;;
1060 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1061 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1062 ac_prev
=sysconfdir
;;
1063 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1064 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1065 sysconfdir
=$ac_optarg ;;
1067 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1068 ac_prev
=target_alias
;;
1069 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1070 target_alias
=$ac_optarg ;;
1072 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1075 -version |
--version |
--versio |
--versi |
--vers |
-V)
1076 ac_init_version
=: ;;
1079 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error
"invalid package name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval with_
$ac_useropt=\
$ac_optarg ;;
1094 -without-* |
--without-*)
1095 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1098 as_fn_error
"invalid package name: $ac_useropt"
1099 ac_useropt_orig
=$ac_useropt
1100 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1105 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1106 ac_unrecognized_sep
=', ';;
1108 eval with_
$ac_useropt=no
;;
1111 # Obsolete; use --with-x.
1114 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1115 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1116 ac_prev
=x_includes
;;
1117 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1118 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1119 x_includes
=$ac_optarg ;;
1121 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1122 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1123 ac_prev
=x_libraries
;;
1124 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1125 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1126 x_libraries
=$ac_optarg ;;
1128 -*) as_fn_error
"unrecognized option: \`$ac_option'
1129 Try \`$0 --help' for more information."
1133 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1134 # Reject names that are not valid shell variable names.
1135 case $ac_envvar in #(
1136 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1137 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1139 eval $ac_envvar=\
$ac_optarg
1140 export $ac_envvar ;;
1143 # FIXME: should be removed in autoconf 3.0.
1144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1147 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1153 if test -n "$ac_prev"; then
1154 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1155 as_fn_error
"missing argument to $ac_option"
1158 if test -n "$ac_unrecognized_opts"; then
1159 case $enable_option_checking in
1161 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1166 # Check all directory arguments for consistency.
1167 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val
=\$
$ac_var
1173 # Remove trailing slashes.
1176 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1177 eval $ac_var=\
$ac_val;;
1179 # Be sure to have absolute directory names.
1181 [\\/$
]* | ?
:[\\/]* ) continue;;
1182 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1184 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1187 # There might be people who depend on the old broken behavior: `$host'
1188 # used to hold the argument of --host etc.
1189 # FIXME: To remove some day.
1192 target
=$target_alias
1194 # FIXME: To remove some day.
1195 if test "x$host_alias" != x
; then
1196 if test "x$build_alias" = x
; then
1197 cross_compiling
=maybe
1198 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1199 If a cross compiler is detected then cross compile mode will be used." >&2
1200 elif test "x$build_alias" != "x$host_alias"; then
1206 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1208 test "$silent" = yes && exec 6>/dev
/null
1211 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di
=`ls -di .` &&
1213 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1214 as_fn_error
"working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 as_fn_error
"pwd does not report name of working directory"
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted
=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir
=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted
=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1255 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1257 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1269 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 for ac_var
in $ac_precious_vars; do
1272 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1274 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1279 # Report the --help message.
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1285 \`configure' configures the fast lexical analyser generator 2.5.37 to adapt to many kinds of systems.
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1292 Defaults for the options are specified in brackets.
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1316 For better control, use the options below.
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --libdir=DIR object code libraries [EPREFIX/lib]
1326 --includedir=DIR C header files [PREFIX/include]
1327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330 --infodir=DIR info documentation [DATAROOTDIR/info]
1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332 --mandir=DIR man documentation [DATAROOTDIR/man]
1333 --docdir=DIR documentation root [DATAROOTDIR/doc/flex]
1334 --htmldir=DIR html documentation [DOCDIR]
1335 --dvidir=DIR dvi documentation [DOCDIR]
1336 --pdfdir=DIR pdf documentation [DOCDIR]
1337 --psdir=DIR ps documentation [DOCDIR]
1343 --program-prefix=PREFIX prepend PREFIX to installed program names
1344 --program-suffix=SUFFIX append SUFFIX to installed program names
1345 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1348 --build=BUILD configure
for building on BUILD
[guessed
]
1349 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1353 if test -n "$ac_init_help"; then
1354 case $ac_init_help in
1355 short | recursive
) echo "Configuration of the fast lexical analyser generator 2.5.37:";;
1360 --disable-option-checking ignore unrecognized
--enable/--with options
1361 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1362 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1363 --disable-nls do not use Native Language Support
1364 --disable-dependency-tracking speeds up one-time build
1365 --enable-dependency-tracking do not reject slow dependency extractors
1366 --disable-rpath do not hardcode runtime library paths
1369 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1370 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1371 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1372 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1373 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1374 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1375 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1377 Some influential environment variables
:
1378 CC C compiler
command
1379 CFLAGS C compiler flags
1380 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1381 nonstandard directory
<lib dir
>
1382 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1383 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1384 you have headers
in a nonstandard directory
<include dir
>
1385 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1386 the first program found out of: `bison
-y', `byacc', `yacc'.
1387 YFLAGS The list of arguments that will be passed by default to $YACC.
1388 This script will default YFLAGS to the empty string to avoid a
1389 default value of `-d' given by some make applications.
1390 CXX C++ compiler command
1391 CXXFLAGS C++ compiler flags
1394 Use these variables to override the choices made by `configure' or to
help
1395 it to
find libraries and programs with nonstandard names
/locations.
1397 Report bugs to
<flex-help@lists.sourceforge.net
>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1405 test -d "$ac_dir" ||
1406 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1411 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1413 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1414 # A ".." for each directory in $ac_dir_suffix.
1415 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1416 case $ac_top_builddir_sub in
1417 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1418 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1421 ac_abs_top_builddir
=$ac_pwd
1422 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1423 # for backward compatibility:
1424 ac_top_builddir
=$ac_top_build_prefix
1427 .
) # We are building in place.
1429 ac_top_srcdir
=$ac_top_builddir_sub
1430 ac_abs_top_srcdir
=$ac_pwd ;;
1431 [\\/]* | ?
:[\\/]* ) # Absolute name.
1432 ac_srcdir
=$srcdir$ac_dir_suffix;
1433 ac_top_srcdir
=$srcdir
1434 ac_abs_top_srcdir
=$srcdir ;;
1436 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1437 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1438 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1440 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1442 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1443 # Check for guested configure.
1444 if test -f "$ac_srcdir/configure.gnu"; then
1446 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447 elif test -f "$ac_srcdir/configure"; then
1449 $SHELL "$ac_srcdir/configure" --help=recursive
1451 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1453 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1457 test -n "$ac_init_help" && exit $ac_status
1458 if $ac_init_version; then
1460 the fast lexical analyser generator configure
2.5.37
1461 generated by GNU Autoconf
2.65
1463 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1464 This configure
script is free software
; the Free Software Foundation
1465 gives unlimited permission to copy
, distribute and modify it.
1470 ## ------------------------ ##
1471 ## Autoconf initialization. ##
1472 ## ------------------------ ##
1474 # ac_fn_c_try_compile LINENO
1475 # --------------------------
1476 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1477 ac_fn_c_try_compile
()
1479 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1480 rm -f conftest.
$ac_objext
1481 if { { ac_try
="$ac_compile"
1483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1484 *) ac_try_echo=$ac_try;;
1486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1487 $as_echo "$ac_try_echo"; } >&5
1488 (eval "$ac_compile") 2>conftest.err
1490 if test -s conftest.err; then
1491 grep -v '^ *+' conftest.err >conftest.er1
1492 cat conftest.er1 >&5
1493 mv -f conftest.er1 conftest.err
1495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1496 test $ac_status = 0; } && {
1497 test -z "$ac_c_werror_flag" ||
1498 test ! -s conftest.err
1499 } && test -s conftest.$ac_objext; then :
1502 $as_echo "$as_me: failed program was:" >&5
1503 sed 's/^/| /' conftest.$ac_ext >&5
1507 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1508 as_fn_set_status $ac_retval
1510 } # ac_fn_c_try_compile
1512 # ac_fn_c_try_link LINENO
1513 # -----------------------
1514 # Try to link conftest.$ac_ext, and return whether this succeeded.
1517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518 rm -f conftest.$ac_objext conftest$ac_exeext
1519 if { { ac_try="$ac_link"
1521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1522 *) ac_try_echo
=$ac_try;;
1524 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526 (eval "$ac_link") 2>conftest.err
1528 if test -s conftest.err
; then
1529 grep -v '^ *+' conftest.err
>conftest.er1
1530 cat conftest.er1
>&5
1531 mv -f conftest.er1 conftest.err
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534 test $ac_status = 0; } && {
1535 test -z "$ac_c_werror_flag" ||
1536 test ! -s conftest.err
1537 } && test -s conftest
$ac_exeext && {
1538 test "$cross_compiling" = yes ||
1539 $as_test_x conftest
$ac_exeext
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.
$ac_ext >&5
1548 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1549 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1550 # interfere with the next link command; also delete a directory that is
1551 # left behind by Apple's compiler. We do this before executing the actions.
1552 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1553 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1554 as_fn_set_status
$ac_retval
1556 } # ac_fn_c_try_link
1558 # ac_fn_cxx_try_compile LINENO
1559 # ----------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_cxx_try_compile
()
1563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1564 rm -f conftest.
$ac_objext
1565 if { { ac_try
="$ac_compile"
1567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_compile") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_cxx_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest.$ac_objext; then :
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1592 as_fn_set_status $ac_retval
1594 } # ac_fn_cxx_try_compile
1596 # ac_fn_c_try_cpp LINENO
1597 # ----------------------
1598 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 if { { ac_try="$ac_cpp conftest.$ac_ext"
1604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1605 *) ac_try_echo
=$ac_try;;
1607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1611 if test -s conftest.err
; then
1612 grep -v '^ *+' conftest.err
>conftest.er1
1613 cat conftest.er1
>&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } >/dev
/null
&& {
1618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1623 $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.
$ac_ext >&5
1628 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1629 as_fn_set_status
$ac_retval
1633 # ac_fn_c_try_run LINENO
1634 # ----------------------
1635 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1636 # that executables *can* be run.
1639 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1640 if { { ac_try
="$ac_link"
1642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_link") 2>&5
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1651 { { case "(($ac_try" in
1652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1653 *) ac_try_echo
=$ac_try;;
1655 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_try") 2>&5
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; }; }; then :
1663 $as_echo "$as_me: program exited with status $ac_status" >&5
1664 $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.
$ac_ext >&5
1667 ac_retval
=$ac_status
1669 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1671 as_fn_set_status
$ac_retval
1675 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1676 # -------------------------------------------------------
1677 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1678 # the include files in INCLUDES and setting the cache variable VAR
1680 ac_fn_c_check_header_mongrel
()
1682 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1683 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685 $as_echo_n "checking for $2... " >&6; }
1686 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1687 $as_echo_n "(cached) " >&6
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1693 # Is the header compilable?
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1695 $as_echo_n "checking $2 usability... " >&6; }
1696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1701 if ac_fn_c_try_compile
"$LINENO"; then :
1702 ac_header_compiler
=yes
1704 ac_header_compiler
=no
1706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1708 $as_echo "$ac_header_compiler" >&6; }
1710 # Is the header present?
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1712 $as_echo_n "checking $2 presence... " >&6; }
1713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1717 if ac_fn_c_try_cpp
"$LINENO"; then :
1718 ac_header_preproc
=yes
1720 ac_header_preproc
=no
1722 rm -f conftest.err conftest.
$ac_ext
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1724 $as_echo "$ac_header_preproc" >&6; }
1726 # So? What about this header?
1727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1730 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1736 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1738 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1740 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1742 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1744 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1746 ## ---------------------------------------------- ##
1747 ## Report this to flex-help@lists.sourceforge.net ##
1748 ## ---------------------------------------------- ##
1750 ) |
sed "s/^/$as_me: WARNING: /" >&2
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1756 $as_echo_n "(cached) " >&6
1758 eval "$3=\$ac_header_compiler"
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1766 } # ac_fn_c_check_header_mongrel
1768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1769 # -------------------------------------------------------
1770 # Tests whether HEADER exists and can be compiled using the include files in
1771 # INCLUDES, setting the cache variable VAR accordingly.
1772 ac_fn_c_check_header_compile
()
1774 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1778 $as_echo_n "(cached) " >&6
1780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1785 if ac_fn_c_try_compile
"$LINENO"; then :
1790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1797 } # ac_fn_c_check_header_compile
1799 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1800 # -------------------------------------------
1801 # Tests whether TYPE exists after having included INCLUDES, setting cache
1802 # variable VAR accordingly.
1803 ac_fn_c_check_type
()
1805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1809 $as_echo_n "(cached) " >&6
1812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1824 if ac_fn_c_try_compile
"$LINENO"; then :
1825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1837 if ac_fn_c_try_compile
"$LINENO"; then :
1842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848 $as_echo "$ac_res" >&6; }
1849 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1851 } # ac_fn_c_check_type
1853 # ac_fn_c_check_func LINENO FUNC VAR
1854 # ----------------------------------
1855 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1856 ac_fn_c_check_func
()
1858 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860 $as_echo_n "checking for $2... " >&6; }
1861 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1862 $as_echo_n "(cached) " >&6
1864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h. */
1866 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1868 #define $2 innocuous_$2
1870 /* System header to define __stub macros and hopefully few prototypes,
1871 which can conflict with char $2 (); below.
1872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1873 <limits.h> exists even on freestanding compilers. */
1876 # include <limits.h>
1878 # include <assert.h>
1883 /* Override any GCC internal prototype to avoid an error.
1884 Use char because int might match the return type of a GCC
1885 builtin and then its argument prototype would still apply. */
1890 /* The GNU C library defines this for functions which it implements
1891 to always fail with ENOSYS. Some functions are actually named
1892 something starting with __ and the normal name is an alias. */
1893 #if defined __stub_$2 || defined __stub___$2
1905 if ac_fn_c_try_link
"$LINENO"; then :
1910 rm -f core conftest.err conftest.
$ac_objext \
1911 conftest
$ac_exeext conftest.
$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1915 $as_echo "$ac_res" >&6; }
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1918 } # ac_fn_c_check_func
1919 cat >config.log
<<_ACEOF
1920 This file contains any messages produced by compilers while
1921 running configure, to aid debugging if configure makes a mistake.
1923 It was created by the fast lexical analyser generator $as_me 2.5.37, which was
1924 generated by GNU Autoconf 2.65. Invocation command line was
1936 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1937 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1938 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1939 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1940 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1942 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1943 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1945 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1946 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1947 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1948 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1949 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1950 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1951 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1959 test -z "$as_dir" && as_dir
=.
1960 $as_echo "PATH: $as_dir"
1976 # Keep a trace of the command line.
1977 # Strip out --no-create and --no-recursion so they do not pile up.
1978 # Strip out --silent because we don't want to record it for future runs.
1979 # Also quote any args containing shell meta-characters.
1980 # Make two passes to allow for proper duplicate-argument suppression.
1984 ac_must_keep_next
=false
1990 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1991 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1992 |
-silent |
--silent |
--silen |
--sile |
--sil)
1995 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1998 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2000 as_fn_append ac_configure_args1
" '$ac_arg'"
2001 if test $ac_must_keep_next = true
; then
2002 ac_must_keep_next
=false
# Got value, back to normal.
2005 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2006 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2007 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2008 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2009 case "$ac_configure_args0 " in
2010 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2013 -* ) ac_must_keep_next
=true
;;
2016 as_fn_append ac_configure_args
" '$ac_arg'"
2021 { ac_configure_args0
=; unset ac_configure_args0
;}
2022 { ac_configure_args1
=; unset ac_configure_args1
;}
2024 # When interrupted or exit'd, cleanup temporary files, and complete
2025 # config.log. We remove comments because anyway the quotes in there
2026 # would cause problems or look ugly.
2027 # WARNING: Use '\'' to represent an apostrophe within the trap.
2028 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2029 trap 'exit_status=$?
2030 # Save into config.log some information that might help in debugging.
2035 ## ---------------- ##
2036 ## Cache variables. ##
2037 ## ---------------- ##
2040 # The following way of writing the cache mishandles newlines in values,
2042 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2043 eval ac_val=\$$ac_var
2047 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2048 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2051 _ | IFS | as_nl) ;; #(
2052 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2053 *) { eval $ac_var=; unset $ac_var;} ;;
2058 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2059 *${as_nl}ac_space=\ *)
2061 "s/'\''/'\''\\\\'\'''\''/g;
2062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2065 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2073 ## ----------------- ##
2074 ## Output variables. ##
2075 ## ----------------- ##
2078 for ac_var in $ac_subst_vars
2080 eval ac_val=\$$ac_var
2082 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2084 $as_echo "$ac_var='\''$ac_val'\''"
2088 if test -n "$ac_subst_files"; then
2090 ## ------------------- ##
2091 ## File substitutions. ##
2092 ## ------------------- ##
2095 for ac_var
in $ac_subst_files
2097 eval ac_val
=\$
$ac_var
2099 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2101 $as_echo "$ac_var='\''$ac_val'\''"
2106 if test -s confdefs.h; then
2116 test "$ac_signal" != 0 &&
2117 $as_echo "$as_me: caught signal $ac_signal"
2118 $as_echo "$as_me: exit $exit_status"
2120 rm -f core *.core core.conftest.* &&
2121 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2124 for ac_signal
in 1 2 13 15; do
2125 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2130 rm -f -r conftest
* confdefs.h
2132 $as_echo "/* confdefs.h */" > confdefs.h
2134 # Predefined preprocessor variables.
2136 cat >>confdefs.h
<<_ACEOF
2137 #define PACKAGE_NAME "$PACKAGE_NAME"
2140 cat >>confdefs.h
<<_ACEOF
2141 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2144 cat >>confdefs.h
<<_ACEOF
2145 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2148 cat >>confdefs.h
<<_ACEOF
2149 #define PACKAGE_STRING "$PACKAGE_STRING"
2152 cat >>confdefs.h
<<_ACEOF
2153 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2156 cat >>confdefs.h
<<_ACEOF
2157 #define PACKAGE_URL "$PACKAGE_URL"
2161 # Let the site file select an alternate cache file if it wants to.
2162 # Prefer an explicitly selected file to automatically selected ones.
2165 if test -n "$CONFIG_SITE"; then
2166 ac_site_file1
=$CONFIG_SITE
2167 elif test "x$prefix" != xNONE
; then
2168 ac_site_file1
=$prefix/share
/config.site
2169 ac_site_file2
=$prefix/etc
/config.site
2171 ac_site_file1
=$ac_default_prefix/share
/config.site
2172 ac_site_file2
=$ac_default_prefix/etc
/config.site
2174 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2176 test "x$ac_site_file" = xNONE
&& continue
2177 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2179 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2180 sed 's/^/| /' "$ac_site_file" >&5
2185 if test -r "$cache_file"; then
2186 # Some versions of bash will fail to source /dev/null (special files
2187 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2188 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2190 $as_echo "$as_me: loading cache $cache_file" >&6;}
2192 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2193 *) .
"./$cache_file";;
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2198 $as_echo "$as_me: creating cache $cache_file" >&6;}
2202 # Check that the precious variables saved in the cache have kept the same
2204 ac_cache_corrupted
=false
2205 for ac_var
in $ac_precious_vars; do
2206 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2207 eval ac_new_set
=\
$ac_env_${ac_var}_set
2208 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2209 eval ac_new_val
=\
$ac_env_${ac_var}_value
2210 case $ac_old_set,$ac_new_set in
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2213 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2214 ac_cache_corrupted
=: ;;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2217 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2218 ac_cache_corrupted
=: ;;
2221 if test "x$ac_old_val" != "x$ac_new_val"; then
2222 # differences in whitespace do not lead to failure.
2223 ac_old_val_w
=`echo x $ac_old_val`
2224 ac_new_val_w
=`echo x $ac_new_val`
2225 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2227 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2228 ac_cache_corrupted
=:
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2231 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2232 eval $ac_var=\
$ac_old_val
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2235 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2237 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2240 # Pass precious variables to config.status.
2241 if test "$ac_new_set" = set; then
2243 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2244 *) ac_arg
=$ac_var=$ac_new_val ;;
2246 case " $ac_configure_args " in
2247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2248 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2252 if $ac_cache_corrupted; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2256 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2257 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2259 ## -------------------- ##
2260 ## Main body of script. ##
2261 ## -------------------- ##
2264 ac_cpp
='$CPP $CPPFLAGS'
2265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2271 am__api_version
='1.11'
2274 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2275 for ac_t
in install-sh
install.sh shtool
; do
2276 if test -f "$ac_dir/$ac_t"; then
2278 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2283 if test -z "$ac_aux_dir"; then
2284 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2287 # These three variables are undocumented and unsupported,
2288 # and are intended to be withdrawn in a future Autoconf release.
2289 # They can cause serious problems if a builder's source tree is in a directory
2290 # whose full name contains unusual characters.
2291 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2292 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2293 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2296 # Find a good install program. We prefer a C program (faster),
2297 # so one script is as good as another. But avoid the broken or
2298 # incompatible versions:
2299 # SysV /etc/install, /usr/sbin/install
2300 # SunOS /usr/etc/install
2301 # IRIX /sbin/install
2303 # AmigaOS /C/install, which installs bootblocks on floppy discs
2304 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2305 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2306 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2307 # OS/2's system install, which has a completely different semantic
2308 # ./install, which can be erroneously created by make from ./install.sh.
2309 # Reject install programs that cannot install multiple files.
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2311 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2312 if test -z "$INSTALL"; then
2313 if test "${ac_cv_path_install+set}" = set; then :
2314 $as_echo_n "(cached) " >&6
2316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir
=.
2321 # Account for people who put trailing slashes in PATH elements.
2322 case $as_dir/ in #((
2323 .
/ | .
// |
/[cC
]/* | \
2324 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2325 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2328 # OSF1 and SCO ODT 3.0 have their own names for install.
2329 # Don't use installbsd from OSF since it installs stuff as root
2331 for ac_prog
in ginstall scoinst
install; do
2332 for ac_exec_ext
in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2334 if test $ac_prog = install &&
2335 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2336 # AIX install. It has an incompatible calling convention.
2338 elif test $ac_prog = install &&
2339 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2340 # program-specific install script used by HP pwplus--don't use.
2343 rm -rf conftest.one conftest.two conftest.dir
2344 echo one
> conftest.one
2345 echo two
> conftest.two
2347 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2348 test -s conftest.one
&& test -s conftest.two
&&
2349 test -s conftest.dir
/conftest.one
&&
2350 test -s conftest.dir
/conftest.two
2352 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2365 rm -rf conftest.one conftest.two conftest.dir
2368 if test "${ac_cv_path_install+set}" = set; then
2369 INSTALL
=$ac_cv_path_install
2371 # As a last resort, use the slow shell script. Don't cache a
2372 # value for INSTALL within a source directory, because that will
2373 # break other packages using the cache if that directory is
2374 # removed, or if the value is a relative name.
2375 INSTALL
=$ac_install_sh
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2379 $as_echo "$INSTALL" >&6; }
2381 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2382 # It thinks the first close brace ends the variable substitution.
2383 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2385 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2387 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2390 $as_echo_n "checking whether build environment is sane... " >&6; }
2393 echo timestamp
> conftest.
file
2394 # Reject unsafe characters in $srcdir or the absolute working directory
2395 # name. Accept space and tab only in the latter.
2399 *[\\\"\
#\$\&\'\`$am_lf]*)
2400 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2403 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2404 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2407 # Do `set' in a subshell so we don't clobber the current shell's
2408 # arguments. Must try -L first in case configure is actually a
2409 # symlink; some systems play weird games with the mod time of symlinks
2410 # (eg FreeBSD returns the mod time of the symlink's containing
2413 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2414 if test "$*" = "X"; then
2416 set X
`ls -t "$srcdir/configure" conftest.file`
2419 if test "$*" != "X $srcdir/configure conftest.file" \
2420 && test "$*" != "X conftest.file $srcdir/configure"; then
2422 # If neither matched, then we have a broken ls. This can happen
2423 # if, for instance, CONFIG_SHELL is bash and it inherits a
2424 # broken ls alias from the environment. This has actually
2425 # happened. Such a system could not be considered "sane".
2426 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2427 alias in your environment" "$LINENO" 5
2430 test "$2" = conftest.
file
2436 as_fn_error
"newly created file is older than distributed files!
2437 Check your system clock" "$LINENO" 5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2440 $as_echo "yes" >&6; }
2441 test "$program_prefix" != NONE
&&
2442 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2443 # Use a double $ so make ignores it.
2444 test "$program_suffix" != NONE
&&
2445 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2446 # Double any \ or $.
2447 # By default was `s,x,x', remove it if useless.
2448 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2449 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2451 # expand $ac_aux_dir to an absolute path
2452 am_aux_dir
=`cd $ac_aux_dir && pwd`
2454 if test x
"${MISSING+set}" != xset
; then
2457 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2459 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2462 # Use eval to expand $SHELL
2463 if eval "$MISSING --run true"; then
2464 am_missing_run
="$MISSING --run "
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2468 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2471 if test x
"${install_sh}" != xset
; then
2474 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2476 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2480 # Installed binaries are usually stripped using `strip' when the user
2481 # run `make install-strip'. However `strip' might not be the right
2482 # tool to use in cross-compilation environments, therefore Automake
2483 # will honor the `STRIP' environment variable to overrule this program.
2484 if test "$cross_compiling" != no
; then
2485 if test -n "$ac_tool_prefix"; then
2486 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2487 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2489 $as_echo_n "checking for $ac_word... " >&6; }
2490 if test "${ac_cv_prog_STRIP+set}" = set; then :
2491 $as_echo_n "(cached) " >&6
2493 if test -n "$STRIP"; then
2494 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir
=.
2501 for ac_exec_ext
in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 STRIP
=$ac_cv_prog_STRIP
2514 if test -n "$STRIP"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2516 $as_echo "$STRIP" >&6; }
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2519 $as_echo "no" >&6; }
2524 if test -z "$ac_cv_prog_STRIP"; then
2526 # Extract the first word of "strip", so it can be a program name with args.
2527 set dummy strip
; ac_word
=$2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2531 $as_echo_n "(cached) " >&6
2533 if test -n "$ac_ct_STRIP"; then
2534 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir
=.
2541 for ac_exec_ext
in '' $ac_executable_extensions; do
2542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2543 ac_cv_prog_ac_ct_STRIP
="strip"
2544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2554 if test -n "$ac_ct_STRIP"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2556 $as_echo "$ac_ct_STRIP" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2562 if test "x$ac_ct_STRIP" = x
; then
2565 case $cross_compiling:$ac_tool_warned in
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2569 ac_tool_warned
=yes ;;
2574 STRIP
="$ac_cv_prog_STRIP"
2578 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2581 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2582 if test -z "$MKDIR_P"; then
2583 if test "${ac_cv_path_mkdir+set}" = set; then :
2584 $as_echo_n "(cached) " >&6
2586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2587 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2590 test -z "$as_dir" && as_dir
=.
2591 for ac_prog
in mkdir gmkdir
; do
2592 for ac_exec_ext
in '' $ac_executable_extensions; do
2593 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2594 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2595 'mkdir (GNU coreutils) '* | \
2596 'mkdir (coreutils) '* | \
2597 'mkdir (fileutils) '4.1*)
2598 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2608 test -d .
/--version && rmdir .
/--version
2609 if test "${ac_cv_path_mkdir+set}" = set; then
2610 MKDIR_P
="$ac_cv_path_mkdir -p"
2612 # As a last resort, use the slow shell script. Don't cache a
2613 # value for MKDIR_P within a source directory, because that will
2614 # break other packages using the cache if that directory is
2615 # removed, or if the value is a relative name.
2616 MKDIR_P
="$ac_install_sh -d"
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2620 $as_echo "$MKDIR_P" >&6; }
2624 [\\/$
]* | ?
:[\\/]*) ;;
2625 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2628 for ac_prog
in gawk mawk nawk
awk
2630 # Extract the first word of "$ac_prog", so it can be a program name with args.
2631 set dummy
$ac_prog; ac_word
=$2
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2633 $as_echo_n "checking for $ac_word... " >&6; }
2634 if test "${ac_cv_prog_AWK+set}" = set; then :
2635 $as_echo_n "(cached) " >&6
2637 if test -n "$AWK"; then
2638 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 ac_cv_prog_AWK
="$ac_prog"
2648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 if test -n "$AWK"; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2660 $as_echo "$AWK" >&6; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2663 $as_echo "no" >&6; }
2667 test -n "$AWK" && break
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2671 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2673 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2674 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2675 $as_echo_n "(cached) " >&6
2677 cat >conftest.
make <<\_ACEOF
2680 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2682 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2683 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2685 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2687 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2691 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2693 $as_echo "yes" >&6; }
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697 $as_echo "no" >&6; }
2698 SET_MAKE
="MAKE=${MAKE-make}"
2701 rm -rf .tst
2>/dev
/null
2702 mkdir .tst
2>/dev
/null
2703 if test -d .tst
; then
2708 rmdir .tst
2>/dev
/null
2710 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2711 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2712 # is not polluted with repeated "-I."
2713 am__isrc
=' -I$(srcdir)'
2714 # test to see if srcdir already configured
2715 if test -f $srcdir/config.status
; then
2716 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2720 # test whether we have cygpath
2721 if test -z "$CYGPATH_W"; then
2722 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2723 CYGPATH_W
='cygpath -w'
2730 # Define the identity of the package.
2735 cat >>confdefs.h
<<_ACEOF
2736 #define PACKAGE "$PACKAGE"
2740 cat >>confdefs.h
<<_ACEOF
2741 #define VERSION "$VERSION"
2744 # Some tools Automake needs.
2746 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2749 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2752 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2755 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2758 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2760 # We need awk for the "check" target. The system "awk" is bad on
2762 # Always define AMTAR for backward compatibility.
2764 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2766 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2772 ac_config_headers
="$ac_config_headers config.h:conf.in"
2776 # checks for programs
2780 if test -n "$ac_aux_dir"; then
2781 case "$ac_aux_dir" in
2782 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
2783 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
2786 if test -z "$MKINSTALLDIRS"; then
2787 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2793 $as_echo_n "checking whether NLS is requested... " >&6; }
2794 # Check whether --enable-nls was given.
2795 if test "${enable_nls+set}" = set; then :
2796 enableval
=$enable_nls; USE_NLS
=$enableval
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2802 $as_echo "$USE_NLS" >&6; }
2809 # Prepare PATH_SEPARATOR.
2810 # The user is always right.
2811 if test "${PATH_SEPARATOR+set}" != set; then
2812 echo "#! /bin/sh" >conf$$.sh
2813 echo "exit 0" >>conf$$.sh
2815 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2823 # Find out how to test for executable files. Don't use a zero-byte file,
2824 # as systems may use methods other than mode bits to determine executability.
2825 cat >conf$$.
file <<_ASEOF
2829 chmod +x conf$$.
file
2830 if test -x conf$$.
file >/dev
/null
2>&1; then
2831 ac_executable_p
="test -x"
2833 ac_executable_p
="test -f"
2837 # Extract the first word of "msgfmt", so it can be a program name with args.
2838 set dummy msgfmt
; ac_word
=$2
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840 $as_echo_n "checking for $ac_word... " >&6; }
2841 if test "${ac_cv_path_MSGFMT+set}" = set; then :
2842 $as_echo_n "(cached) " >&6
2846 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
2849 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
2850 for ac_dir
in $PATH; do
2852 test -z "$ac_dir" && ac_dir
=.
2853 for ac_exec_ext
in '' $ac_executable_extensions; do
2854 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2855 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
2856 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
2857 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
2864 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
2868 MSGFMT
="$ac_cv_path_MSGFMT"
2869 if test "$MSGFMT" != ":"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
2871 $as_echo "$MSGFMT" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2877 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2878 set dummy gmsgfmt
; ac_word
=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
2882 $as_echo_n "(cached) " >&6
2886 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
2889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir
=.
2894 for ac_exec_ext
in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
2908 GMSGFMT
=$ac_cv_path_GMSGFMT
2909 if test -n "$GMSGFMT"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
2911 $as_echo "$GMSGFMT" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2920 # Prepare PATH_SEPARATOR.
2921 # The user is always right.
2922 if test "${PATH_SEPARATOR+set}" != set; then
2923 echo "#! /bin/sh" >conf$$.sh
2924 echo "exit 0" >>conf$$.sh
2926 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2934 # Find out how to test for executable files. Don't use a zero-byte file,
2935 # as systems may use methods other than mode bits to determine executability.
2936 cat >conf$$.
file <<_ASEOF
2940 chmod +x conf$$.
file
2941 if test -x conf$$.
file >/dev
/null
2>&1; then
2942 ac_executable_p
="test -x"
2944 ac_executable_p
="test -f"
2948 # Extract the first word of "xgettext", so it can be a program name with args.
2949 set dummy xgettext
; ac_word
=$2
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2951 $as_echo_n "checking for $ac_word... " >&6; }
2952 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
2953 $as_echo_n "(cached) " >&6
2957 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
2960 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
2961 for ac_dir
in $PATH; do
2963 test -z "$ac_dir" && ac_dir
=.
2964 for ac_exec_ext
in '' $ac_executable_extensions; do
2965 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2966 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
2967 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
2968 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
2975 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
2979 XGETTEXT
="$ac_cv_path_XGETTEXT"
2980 if test "$XGETTEXT" != ":"; then
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
2982 $as_echo "$XGETTEXT" >&6; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985 $as_echo "no" >&6; }
2991 # Prepare PATH_SEPARATOR.
2992 # The user is always right.
2993 if test "${PATH_SEPARATOR+set}" != set; then
2994 echo "#! /bin/sh" >conf$$.sh
2995 echo "exit 0" >>conf$$.sh
2997 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3005 # Find out how to test for executable files. Don't use a zero-byte file,
3006 # as systems may use methods other than mode bits to determine executability.
3007 cat >conf$$.
file <<_ASEOF
3011 chmod +x conf$$.
file
3012 if test -x conf$$.
file >/dev
/null
2>&1; then
3013 ac_executable_p
="test -x"
3015 ac_executable_p
="test -f"
3019 # Extract the first word of "msgmerge", so it can be a program name with args.
3020 set dummy msgmerge
; ac_word
=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
3024 $as_echo_n "(cached) " >&6
3028 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
3031 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3032 for ac_dir
in $PATH; do
3034 test -z "$ac_dir" && ac_dir
=.
3035 for ac_exec_ext
in '' $ac_executable_extensions; do
3036 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3037 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
3038 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
3045 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
3049 MSGMERGE
="$ac_cv_path_MSGMERGE"
3050 if test "$MSGMERGE" != ":"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3052 $as_echo "$MSGMERGE" >&6; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3059 if test "$GMSGFMT" != ":"; then
3060 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
3061 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3064 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3066 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
3071 if test "$XGETTEXT" != ":"; then
3072 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3073 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
3077 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
3083 ac_config_commands
="$ac_config_commands default-1"
3087 if test "X$prefix" = "XNONE"; then
3088 acl_final_prefix
="$ac_default_prefix"
3090 acl_final_prefix
="$prefix"
3092 if test "X$exec_prefix" = "XNONE"; then
3093 acl_final_exec_prefix
='${prefix}'
3095 acl_final_exec_prefix
="$exec_prefix"
3097 acl_save_prefix
="$prefix"
3098 prefix
="$acl_final_prefix"
3099 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
3100 prefix
="$acl_save_prefix"
3102 DEPDIR
="${am__leading_dot}deps"
3104 ac_config_commands
="$ac_config_commands depfiles"
3107 am_make
=${MAKE-make}
3108 cat > confinc
<< 'END'
3110 @
echo this is the am__doit target
3113 # If we don't find an include directive, just comment out the code.
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3115 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3119 # First try GNU make style include.
3120 echo "include confinc" > confmf
3121 # Ignore all kinds of additional output from `make'.
3122 case `$am_make -s -f confmf 2> /dev/null` in #(
3123 *the\ am__doit\ target
*)
3129 # Now try BSD make style include.
3130 if test "$am__include" = "#"; then
3131 echo '.include "confinc"' > confmf
3132 case `$am_make -s -f confmf 2> /dev/null` in #(
3133 *the\ am__doit\ target
*)
3134 am__include
=.include
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3143 $as_echo "$_am_result" >&6; }
3144 rm -f confinc confmf
3146 # Check whether --enable-dependency-tracking was given.
3147 if test "${enable_dependency_tracking+set}" = set; then :
3148 enableval
=$enable_dependency_tracking;
3151 if test "x$enable_dependency_tracking" != xno
; then
3152 am_depcomp
="$ac_aux_dir/depcomp"
3155 if test "x$enable_dependency_tracking" != xno; then
3165 ac_cpp
='$CPP $CPPFLAGS'
3166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3169 if test -n "$ac_tool_prefix"; then
3170 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3171 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if test "${ac_cv_prog_CC+set}" = set; then :
3175 $as_echo_n "(cached) " >&6
3177 if test -n "$CC"; then
3178 ac_cv_prog_CC
="$CC" # Let the user override the test.
3180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3184 test -z "$as_dir" && as_dir
=.
3185 for ac_exec_ext
in '' $ac_executable_extensions; do
3186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3187 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 if test -n "$CC"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3208 if test -z "$ac_cv_prog_CC"; then
3210 # Extract the first word of "gcc", so it can be a program name with args.
3211 set dummy gcc
; ac_word
=$2
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 $as_echo_n "checking for $ac_word... " >&6; }
3214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3215 $as_echo_n "(cached) " >&6
3217 if test -n "$ac_ct_CC"; then
3218 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3224 test -z "$as_dir" && as_dir
=.
3225 for ac_exec_ext
in '' $ac_executable_extensions; do
3226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3227 ac_cv_prog_ac_ct_CC
="gcc"
3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3238 if test -n "$ac_ct_CC"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3240 $as_echo "$ac_ct_CC" >&6; }
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243 $as_echo "no" >&6; }
3246 if test "x$ac_ct_CC" = x
; then
3249 case $cross_compiling:$ac_tool_warned in
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3253 ac_tool_warned
=yes ;;
3261 if test -z "$CC"; then
3262 if test -n "$ac_tool_prefix"; then
3263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3264 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if test "${ac_cv_prog_CC+set}" = set; then :
3268 $as_echo_n "(cached) " >&6
3270 if test -n "$CC"; then
3271 ac_cv_prog_CC
="$CC" # Let the user override the test.
3273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3277 test -z "$as_dir" && as_dir
=.
3278 for ac_exec_ext
in '' $ac_executable_extensions; do
3279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3280 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 if test -n "$CC"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3293 $as_echo "$CC" >&6; }
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3302 if test -z "$CC"; then
3303 # Extract the first word of "cc", so it can be a program name with args.
3304 set dummy cc
; ac_word
=$2
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306 $as_echo_n "checking for $ac_word... " >&6; }
3307 if test "${ac_cv_prog_CC+set}" = set; then :
3308 $as_echo_n "(cached) " >&6
3310 if test -n "$CC"; then
3311 ac_cv_prog_CC
="$CC" # Let the user override the test.
3314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir
=.
3319 for ac_exec_ext
in '' $ac_executable_extensions; do
3320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3321 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3322 ac_prog_rejected
=yes
3326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3333 if test $ac_prog_rejected = yes; then
3334 # We found a bogon in the path, so make sure we never use it.
3335 set dummy
$ac_cv_prog_CC
3337 if test $# != 0; then
3338 # We chose a different compiler from the bogus one.
3339 # However, it has the same basename, so the bogon will be chosen
3340 # first if we set CC to just the basename; use the full file name.
3342 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3348 if test -n "$CC"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3350 $as_echo "$CC" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3358 if test -z "$CC"; then
3359 if test -n "$ac_tool_prefix"; then
3360 for ac_prog
in cl.exe
3362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3363 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3365 $as_echo_n "checking for $ac_word... " >&6; }
3366 if test "${ac_cv_prog_CC+set}" = set; then :
3367 $as_echo_n "(cached) " >&6
3369 if test -n "$CC"; then
3370 ac_cv_prog_CC
="$CC" # Let the user override the test.
3372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir
=.
3377 for ac_exec_ext
in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 if test -n "$CC"; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3392 $as_echo "$CC" >&6; }
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 $as_echo "no" >&6; }
3399 test -n "$CC" && break
3402 if test -z "$CC"; then
3404 for ac_prog
in cl.exe
3406 # Extract the first word of "$ac_prog", so it can be a program name with args.
3407 set dummy
$ac_prog; ac_word
=$2
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3409 $as_echo_n "checking for $ac_word... " >&6; }
3410 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3411 $as_echo_n "(cached) " >&6
3413 if test -n "$ac_ct_CC"; then
3414 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3420 test -z "$as_dir" && as_dir
=.
3421 for ac_exec_ext
in '' $ac_executable_extensions; do
3422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3423 ac_cv_prog_ac_ct_CC
="$ac_prog"
3424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3434 if test -n "$ac_ct_CC"; then
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3436 $as_echo "$ac_ct_CC" >&6; }
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3439 $as_echo "no" >&6; }
3443 test -n "$ac_ct_CC" && break
3446 if test "x$ac_ct_CC" = x
; then
3449 case $cross_compiling:$ac_tool_warned in
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3453 ac_tool_warned
=yes ;;
3462 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error
"no acceptable C compiler found in \$PATH
3465 See \`config.log' for more details." "$LINENO" 5; }
3467 # Provide some information about the compiler.
3468 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3471 for ac_option
in --version -v -V -qversion; do
3472 { { ac_try
="$ac_compiler $ac_option >&5"
3474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3481 if test -s conftest.err; then
3483 ... rest of stderr output deleted ...
3484 10q' conftest.err >conftest.er1
3485 cat conftest.er1 >&5
3487 rm -f conftest.er1 conftest.err
3488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3489 test $ac_status = 0; }
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3503 ac_clean_files_save=$ac_clean_files
3504 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3505 # Try to create an executable without -o first, disregard a.out.
3506 # It will help us diagnose broken compilers, and finding out an intuition
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3509 $as_echo_n "checking whether the C compiler works... " >&6; }
3510 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3512 # The possible output files:
3513 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3516 for ac_file in $ac_files
3519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3520 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3525 if { { ac_try="$ac_link_default"
3527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3528 *) ac_try_echo
=$ac_try;;
3530 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3531 $as_echo "$ac_try_echo"; } >&5
3532 (eval "$ac_link_default") 2>&5
3534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3535 test $ac_status = 0; }; then :
3536 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3537 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3538 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3539 # so that the user can short-circuit this test for compilers unknown to
3541 for ac_file
in $ac_files ''
3543 test -f "$ac_file" ||
continue
3545 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3548 # We found the default executable, but exeext='' is most
3552 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3554 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3556 # We set ac_cv_exeext here because the later test for it is not
3557 # safe: cross compilers may not add the suffix if given an `-o'
3558 # argument, so we may need to know it at that point already.
3559 # Even if this section looks crufty: it has the advantage of
3566 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3571 if test -z "$ac_file"; then :
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3574 $as_echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.
$ac_ext >&5
3577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3579 { as_fn_set_status
77
3580 as_fn_error
"C compiler cannot create executables
3581 See \`config.log' for more details." "$LINENO" 5; }; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3584 $as_echo "yes" >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3587 $as_echo_n "checking for C compiler default output file name... " >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3589 $as_echo "$ac_file" >&6; }
3590 ac_exeext
=$ac_cv_exeext
3592 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3593 ac_clean_files
=$ac_clean_files_save
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3595 $as_echo_n "checking for suffix of executables... " >&6; }
3596 if { { ac_try
="$ac_link"
3598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602 $as_echo "$ac_try_echo"; } >&5
3603 (eval "$ac_link") 2>&5
3605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606 test $ac_status = 0; }; then :
3607 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3608 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3609 # work properly (i.e., refer to `conftest.exe'), while it won't with
3611 for ac_file
in conftest.exe conftest conftest.
*; do
3612 test -f "$ac_file" ||
continue
3614 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3615 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3623 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3624 See \`config.log' for more details." "$LINENO" 5; }
3626 rm -f conftest conftest
$ac_cv_exeext
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3628 $as_echo "$ac_cv_exeext" >&6; }
3630 rm -f conftest.
$ac_ext
3631 EXEEXT
=$ac_cv_exeext
3633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3639 FILE *f = fopen ("conftest.out", "w");
3640 return ferror (f) || fclose (f) != 0;
3646 ac_clean_files
="$ac_clean_files conftest.out"
3647 # Check that the compiler produces executables we can run. If not, either
3648 # the compiler is broken, or we cross compile.
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3650 $as_echo_n "checking whether we are cross compiling... " >&6; }
3651 if test "$cross_compiling" != yes; then
3652 { { ac_try
="$ac_link"
3654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3658 $as_echo "$ac_try_echo"; } >&5
3659 (eval "$ac_link") 2>&5
3661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3662 test $ac_status = 0; }
3663 if { ac_try='./conftest$ac_cv_exeext'
3664 { { case "(($ac_try" in
3665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3666 *) ac_try_echo
=$ac_try;;
3668 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669 $as_echo "$ac_try_echo"; } >&5
3670 (eval "$ac_try") 2>&5
3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; }; }; then
3676 if test "$cross_compiling" = maybe
; then
3679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3681 as_fn_error
"cannot run C compiled programs.
3682 If you meant to cross compile, use \`--host'.
3683 See \`config.log' for more details." "$LINENO" 5; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3688 $as_echo "$cross_compiling" >&6; }
3690 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3691 ac_clean_files
=$ac_clean_files_save
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3693 $as_echo_n "checking for suffix of object files... " >&6; }
3694 if test "${ac_cv_objext+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3708 rm -f conftest.o conftest.obj
3709 if { { ac_try
="$ac_compile"
3711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3712 *) ac_try_echo=$ac_try;;
3714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3715 $as_echo "$ac_try_echo"; } >&5
3716 (eval "$ac_compile") 2>&5
3718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719 test $ac_status = 0; }; then :
3720 for ac_file in conftest.o conftest.obj conftest.*; do
3721 test -f "$ac_file" || continue;
3723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3724 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3729 $as_echo "$as_me: failed program was:" >&5
3730 sed 's/^/| /' conftest.$ac_ext >&5
3732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734 as_fn_error "cannot compute suffix of object files
: cannot compile
3735 See \
`config.log' for more details." "$LINENO" 5; }
3737 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3740 $as_echo "$ac_cv_objext" >&6; }
3741 OBJEXT=$ac_cv_objext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3744 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3745 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3746 $as_echo_n "(cached) " >&6
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3762 if ac_fn_c_try_compile "$LINENO"; then :
3767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3772 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3773 if test $ac_compiler_gnu = yes; then
3778 ac_test_CFLAGS=${CFLAGS+set}
3779 ac_save_CFLAGS=$CFLAGS
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3781 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3782 if test "${ac_cv_prog_cc_g+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3785 ac_save_c_werror_flag=$ac_c_werror_flag
3786 ac_c_werror_flag=yes
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3800 if ac_fn_c_try_compile "$LINENO"; then :
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_c_try_compile "$LINENO"; then :
3818 ac_c_werror_flag=$ac_save_c_werror_flag
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3831 if ac_fn_c_try_compile "$LINENO"; then :
3834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839 ac_c_werror_flag=$ac_save_c_werror_flag
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3842 $as_echo "$ac_cv_prog_cc_g" >&6; }
3843 if test "$ac_test_CFLAGS" = set; then
3844 CFLAGS=$ac_save_CFLAGS
3845 elif test $ac_cv_prog_cc_g = yes; then
3846 if test "$GCC" = yes; then
3852 if test "$GCC" = yes; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3859 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3860 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3861 $as_echo_n "(cached) " >&6
3863 ac_cv_prog_cc_c89=no
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3869 #include <sys/types.h>
3870 #include <sys/stat.h>
3871 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3872 struct buf { int x; };
3873 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3874 static char *e (p, i)
3880 static char *f (char * (*g) (char **, int), char **p, ...)
3885 s = g (p, va_arg (v,int));
3890 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3891 function prototypes and stuff, but not '\xHH' hex character constants.
3892 These don't provoke an error unfortunately, instead are silently treated
3893 as 'x'. The following induces an error, until -std is added to get
3894 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3895 array size at least. It's necessary to write '\x00'==0 to get something
3896 that's true only with -std. */
3897 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3899 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3900 inside strings and character constants. */
3902 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3904 int test (int i, double x);
3905 struct s1 {int (*f) (int a);};
3906 struct s2 {int (*f) (double a);};
3907 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3913 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3918 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3919 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3921 CC="$ac_save_CC $ac_arg"
3922 if ac_fn_c_try_compile "$LINENO"; then :
3923 ac_cv_prog_cc_c89=$ac_arg
3925 rm -f core conftest.err conftest.$ac_objext
3926 test "x$ac_cv_prog_cc_c89" != "xno" && break
3928 rm -f conftest.$ac_ext
3933 case "x$ac_cv_prog_cc_c89" in
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3936 $as_echo "none needed" >&6; } ;;
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3939 $as_echo "unsupported" >&6; } ;;
3941 CC="$CC $ac_cv_prog_cc_c89"
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3943 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3945 if test "x$ac_cv_prog_cc_c89" != xno; then :
3950 ac_cpp='$CPP $CPPFLAGS'
3951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3955 depcc="$CC" am_compiler_list=
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3958 $as_echo_n "checking dependency style of $depcc... " >&6; }
3959 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3960 $as_echo_n "(cached) " >&6
3962 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3963 # We make a subdir and do the tests there. Otherwise we can end up
3964 # making bogus files that we don't know about and never remove. For
3965 # instance it was reported that on HP-UX the gcc test will end up
3966 # making a dummy file named `D
' -- because `-MD' means
`put the output
3969 # Copy depcomp to subdir because otherwise we won't find it if we're
3970 # using a relative directory.
3971 cp "$am_depcomp" conftest.dir
3973 # We will build objects and dependencies in a subdirectory because
3974 # it helps to detect inapplicable dependency modes. For instance
3975 # both Tru64's cc and ICC support -MD to output dependencies as a
3976 # side effect of compilation, but ICC will put the dependencies in
3977 # the current directory while Tru64 will put them in the object
3981 am_cv_CC_dependencies_compiler_type=none
3982 if test "$am_compiler_list" = ""; then
3983 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3986 case " $depcc " in #(
3987 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3990 for depmode in $am_compiler_list; do
3991 # Setup a source with many dependencies, because some compilers
3992 # like to wrap large dependency lists on column 80 (with \), and
3993 # we should not choose a depcomp mode which is confused by this.
3995 # We need to recreate these files for each test, as the compiler may
3996 # overwrite some of them when testing with obscure command lines.
3997 # This happens at least with the AIX C compiler.
3999 for i in 1 2 3 4 5 6; do
4000 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4001 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4002 # Solaris 8's
{/usr
,}/bin
/sh.
4003 touch sub
/conftst
$i.h
4005 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4007 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4008 # mode. It turns out that the SunPro C++ compiler does not properly
4009 # handle `-M -o', and we need to detect this. Also, some Intel
4010 # versions had trouble with output in subdirs
4011 am__obj
=sub
/conftest.
${OBJEXT-o}
4012 am__minus_obj
="-o $am__obj"
4015 # This depmode causes a compiler race in universal mode.
4016 test "$am__universal" = false ||
continue
4019 # after this tag, mechanisms are not by side-effect, so they'll
4020 # only be used when explicitly requested
4021 if test "x$enable_dependency_tracking" = xyes
; then
4027 msvisualcpp | msvcmsys
)
4028 # This compiler won't grok `-c -o', but also, the minuso test has
4029 # not run yet. These depmodes are late enough in the game, and
4030 # so weak that their functioning should not be impacted.
4031 am__obj
=conftest.
${OBJEXT-o}
4036 if depmode
=$depmode \
4037 source=sub
/conftest.c object
=$am__obj \
4038 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4039 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4040 >/dev
/null
2>conftest.err
&&
4041 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4042 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4043 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4044 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4045 # icc doesn't choke on unknown options, it will just issue warnings
4046 # or remarks (even with -Werror). So we grep stderr for any message
4047 # that says an option was ignored or not supported.
4048 # When given -MP, icc 7.0 and 7.1 complain thusly:
4049 # icc: Command line warning: ignoring option '-M'; no argument required
4050 # The diagnosis changed in icc 8.0:
4051 # icc: Command line remark: option '-MP' not supported
4052 if (grep 'ignoring option' conftest.err ||
4053 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4054 am_cv_CC_dependencies_compiler_type
=$depmode
4063 am_cv_CC_dependencies_compiler_type
=none
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4068 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4069 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4072 test "x$enable_dependency_tracking" != xno \
4073 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4075 am__fastdepCC_FALSE
='#'
4077 am__fastdepCC_TRUE
='#'
4078 am__fastdepCC_FALSE
=
4082 # Make sure we can run config.sub.
4083 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4084 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4087 $as_echo_n "checking build system type... " >&6; }
4088 if test "${ac_cv_build+set}" = set; then :
4089 $as_echo_n "(cached) " >&6
4091 ac_build_alias
=$build_alias
4092 test "x$ac_build_alias" = x
&&
4093 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4094 test "x$ac_build_alias" = x
&&
4095 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
4096 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4097 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4101 $as_echo "$ac_cv_build" >&6; }
4102 case $ac_cv_build in
4104 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
4107 ac_save_IFS
=$IFS; IFS
='-'
4113 # Remember, the first character of IFS is used to create $*,
4114 # except with old shells:
4117 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4121 $as_echo_n "checking host system type... " >&6; }
4122 if test "${ac_cv_host+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4125 if test "x$host_alias" = x
; then
4126 ac_cv_host
=$ac_cv_build
4128 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4129 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4134 $as_echo "$ac_cv_host" >&6; }
4137 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
4140 ac_save_IFS
=$IFS; IFS
='-'
4146 # Remember, the first character of IFS is used to create $*,
4147 # except with old shells:
4150 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4154 # Check whether --with-gnu-ld was given.
4155 if test "${with_gnu_ld+set}" = set; then :
4156 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4161 # Prepare PATH_SEPARATOR.
4162 # The user is always right.
4163 if test "${PATH_SEPARATOR+set}" != set; then
4164 echo "#! /bin/sh" >conf$$.sh
4165 echo "exit 0" >>conf$$.sh
4167 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4175 if test "$GCC" = yes; then
4176 # Check if gcc -print-prog-name=ld gives a path.
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4178 $as_echo_n "checking for ld used by GCC... " >&6; }
4181 # gcc leaves a trailing carriage return which upsets mingw
4182 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4184 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4187 # Accept absolute paths.
4188 [\\/]* |
[A-Za-z
]:[\\/]*)
4189 re_direlt
='/[^/][^/]*/\.\./'
4190 # Canonicalize the path of ld
4191 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4192 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4193 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4195 test -z "$LD" && LD
="$ac_prog"
4198 # If it fails, then pretend we aren't using GCC.
4202 # If it is relative, then search for the first ld in PATH.
4206 elif test "$with_gnu_ld" = yes; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4208 $as_echo_n "checking for GNU ld... " >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4211 $as_echo_n "checking for non-GNU ld... " >&6; }
4213 if test "${acl_cv_path_LD+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4216 if test -z "$LD"; then
4217 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4218 for ac_dir
in $PATH; do
4219 test -z "$ac_dir" && ac_dir
=.
4220 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4221 acl_cv_path_LD
="$ac_dir/$ac_prog"
4222 # Check to see if the program is GNU ld. I'd rather use --version,
4223 # but apparently some GNU ld's only accept -v.
4224 # Break only if it was the GNU/non-GNU ld that we prefer.
4225 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4226 test "$with_gnu_ld" != no
&& break
4228 test "$with_gnu_ld" != yes && break
4234 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
4238 LD
="$acl_cv_path_LD"
4239 if test -n "$LD"; then
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4241 $as_echo "$LD" >&6; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244 $as_echo "no" >&6; }
4246 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4248 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4249 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4252 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4253 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4254 acl_cv_prog_gnu_ld
=yes
4256 acl_cv_prog_gnu_ld
=no
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4260 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4261 with_gnu_ld
=$acl_cv_prog_gnu_ld
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4266 $as_echo_n "checking for shared library run path origin... " >&6; }
4267 if test "${acl_cv_rpath+set}" = set; then :
4268 $as_echo_n "(cached) " >&6
4271 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
4272 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4279 $as_echo "$acl_cv_rpath" >&6; }
4281 libext
="$acl_cv_libext"
4282 shlibext
="$acl_cv_shlibext"
4283 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
4284 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
4285 hardcode_direct
="$acl_cv_hardcode_direct"
4286 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
4287 # Check whether --enable-rpath was given.
4288 if test "${enable_rpath+set}" = set; then :
4289 enableval
=$enable_rpath; :
4303 acl_save_prefix
="$prefix"
4304 prefix
="$acl_final_prefix"
4305 acl_save_exec_prefix
="$exec_prefix"
4306 exec_prefix
="$acl_final_exec_prefix"
4308 eval additional_includedir
=\"$includedir\"
4309 eval additional_libdir
=\"$libdir\"
4311 exec_prefix
="$acl_save_exec_prefix"
4312 prefix
="$acl_save_prefix"
4315 # Check whether --with-libiconv-prefix was given.
4316 if test "${with_libiconv_prefix+set}" = set; then :
4317 withval
=$with_libiconv_prefix;
4318 if test "X$withval" = "Xno"; then
4321 if test "X$withval" = "X"; then
4323 acl_save_prefix
="$prefix"
4324 prefix
="$acl_final_prefix"
4325 acl_save_exec_prefix
="$exec_prefix"
4326 exec_prefix
="$acl_final_exec_prefix"
4328 eval additional_includedir
=\"$includedir\"
4329 eval additional_libdir
=\"$libdir\"
4331 exec_prefix
="$acl_save_exec_prefix"
4332 prefix
="$acl_save_prefix"
4335 additional_includedir
="$withval/include"
4336 additional_libdir
="$withval/lib"
4347 names_already_handled
=
4348 names_next_round
='iconv '
4349 while test -n "$names_next_round"; do
4350 names_this_round
="$names_next_round"
4352 for name
in $names_this_round; do
4354 for n
in $names_already_handled; do
4355 if test "$n" = "$name"; then
4360 if test -z "$already_handled"; then
4361 names_already_handled
="$names_already_handled $name"
4362 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4363 eval value
=\"\
$HAVE_LIB$uppername\"
4364 if test -n "$value"; then
4365 if test "$value" = yes; then
4366 eval value
=\"\
$LIB$uppername\"
4367 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
4368 eval value
=\"\
$LTLIB$uppername\"
4369 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
4378 if test $use_additional = yes; then
4379 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4380 found_dir
="$additional_libdir"
4381 found_so
="$additional_libdir/lib$name.$shlibext"
4382 if test -f "$additional_libdir/lib$name.la"; then
4383 found_la
="$additional_libdir/lib$name.la"
4386 if test -f "$additional_libdir/lib$name.$libext"; then
4387 found_dir
="$additional_libdir"
4388 found_a
="$additional_libdir/lib$name.$libext"
4389 if test -f "$additional_libdir/lib$name.la"; then
4390 found_la
="$additional_libdir/lib$name.la"
4395 if test "X$found_dir" = "X"; then
4396 for x
in $LDFLAGS $LTLIBICONV; do
4398 acl_save_prefix
="$prefix"
4399 prefix
="$acl_final_prefix"
4400 acl_save_exec_prefix
="$exec_prefix"
4401 exec_prefix
="$acl_final_exec_prefix"
4403 exec_prefix
="$acl_save_exec_prefix"
4404 prefix
="$acl_save_prefix"
4408 dir
=`echo "X$x" | sed -e 's/^X-L//'`
4409 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4411 found_so
="$dir/lib$name.$shlibext"
4412 if test -f "$dir/lib$name.la"; then
4413 found_la
="$dir/lib$name.la"
4416 if test -f "$dir/lib$name.$libext"; then
4418 found_a
="$dir/lib$name.$libext"
4419 if test -f "$dir/lib$name.la"; then
4420 found_la
="$dir/lib$name.la"
4426 if test "X$found_dir" != "X"; then
4431 if test "X$found_dir" != "X"; then
4432 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4433 if test "X$found_so" != "X"; then
4434 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
4435 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
4438 for x
in $ltrpathdirs; do
4439 if test "X$x" = "X$found_dir"; then
4444 if test -z "$haveit"; then
4445 ltrpathdirs
="$ltrpathdirs $found_dir"
4447 if test "$hardcode_direct" = yes; then
4448 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
4450 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
4451 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
4453 for x
in $rpathdirs; do
4454 if test "X$x" = "X$found_dir"; then
4459 if test -z "$haveit"; then
4460 rpathdirs
="$rpathdirs $found_dir"
4464 for x
in $LDFLAGS $LIBICONV; do
4466 acl_save_prefix
="$prefix"
4467 prefix
="$acl_final_prefix"
4468 acl_save_exec_prefix
="$exec_prefix"
4469 exec_prefix
="$acl_final_exec_prefix"
4471 exec_prefix
="$acl_save_exec_prefix"
4472 prefix
="$acl_save_prefix"
4474 if test "X$x" = "X-L$found_dir"; then
4479 if test -z "$haveit"; then
4480 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4482 if test "$hardcode_minus_L" != no
; then
4483 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
4485 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
4491 if test "X$found_a" != "X"; then
4492 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
4494 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4497 additional_includedir
=
4498 case "$found_dir" in
4500 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4501 additional_includedir
="$basedir/include"
4504 if test "X$additional_includedir" != "X"; then
4505 if test "X$additional_includedir" != "X/usr/include"; then
4507 if test "X$additional_includedir" = "X/usr/local/include"; then
4508 if test -n "$GCC"; then
4510 linux
*) haveit
=yes;;
4514 if test -z "$haveit"; then
4515 for x
in $CPPFLAGS $INCICONV; do
4517 acl_save_prefix
="$prefix"
4518 prefix
="$acl_final_prefix"
4519 acl_save_exec_prefix
="$exec_prefix"
4520 exec_prefix
="$acl_final_exec_prefix"
4522 exec_prefix
="$acl_save_exec_prefix"
4523 prefix
="$acl_save_prefix"
4525 if test "X$x" = "X-I$additional_includedir"; then
4530 if test -z "$haveit"; then
4531 if test -d "$additional_includedir"; then
4532 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4538 if test -n "$found_la"; then
4539 save_libdir
="$libdir"
4541 */* |
*\\*) .
"$found_la" ;;
4542 *) .
"./$found_la" ;;
4544 libdir
="$save_libdir"
4545 for dep
in $dependency_libs; do
4548 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
4549 if test "X$additional_libdir" != "X/usr/lib"; then
4551 if test "X$additional_libdir" = "X/usr/local/lib"; then
4552 if test -n "$GCC"; then
4554 linux
*) haveit
=yes;;
4558 if test -z "$haveit"; then
4560 for x
in $LDFLAGS $LIBICONV; do
4562 acl_save_prefix
="$prefix"
4563 prefix
="$acl_final_prefix"
4564 acl_save_exec_prefix
="$exec_prefix"
4565 exec_prefix
="$acl_final_exec_prefix"
4567 exec_prefix
="$acl_save_exec_prefix"
4568 prefix
="$acl_save_prefix"
4570 if test "X$x" = "X-L$additional_libdir"; then
4575 if test -z "$haveit"; then
4576 if test -d "$additional_libdir"; then
4577 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4581 for x
in $LDFLAGS $LTLIBICONV; do
4583 acl_save_prefix
="$prefix"
4584 prefix
="$acl_final_prefix"
4585 acl_save_exec_prefix
="$exec_prefix"
4586 exec_prefix
="$acl_final_exec_prefix"
4588 exec_prefix
="$acl_save_exec_prefix"
4589 prefix
="$acl_save_prefix"
4591 if test "X$x" = "X-L$additional_libdir"; then
4596 if test -z "$haveit"; then
4597 if test -d "$additional_libdir"; then
4598 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4605 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
4606 if test "$enable_rpath" != no
; then
4608 for x
in $rpathdirs; do
4609 if test "X$x" = "X$dir"; then
4614 if test -z "$haveit"; then
4615 rpathdirs
="$rpathdirs $dir"
4618 for x
in $ltrpathdirs; do
4619 if test "X$x" = "X$dir"; then
4624 if test -z "$haveit"; then
4625 ltrpathdirs
="$ltrpathdirs $dir"
4630 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4633 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4636 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
4637 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4643 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
4644 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4650 if test "X$rpathdirs" != "X"; then
4651 if test -n "$hardcode_libdir_separator"; then
4653 for found_dir
in $rpathdirs; do
4654 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4656 acl_save_libdir
="$libdir"
4658 eval flag
=\"$hardcode_libdir_flag_spec\"
4659 libdir
="$acl_save_libdir"
4660 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
4662 for found_dir
in $rpathdirs; do
4663 acl_save_libdir
="$libdir"
4665 eval flag
=\"$hardcode_libdir_flag_spec\"
4666 libdir
="$acl_save_libdir"
4667 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
4671 if test "X$ltrpathdirs" != "X"; then
4672 for found_dir
in $ltrpathdirs; do
4673 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4696 $as_echo_n "checking whether NLS is requested... " >&6; }
4697 # Check whether --enable-nls was given.
4698 if test "${enable_nls+set}" = set; then :
4699 enableval
=$enable_nls; USE_NLS
=$enableval
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4705 $as_echo "$USE_NLS" >&6; }
4714 if test "$USE_NLS" = "yes"; then
4715 gt_use_preinstalled_gnugettext
=no
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
4723 $as_echo_n "checking for GNU gettext in libc... " >&6; }
4724 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
4725 $as_echo_n "(cached) " >&6
4727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4729 #include <libintl.h>
4730 extern int _nl_msg_cat_cntr;
4731 extern int *_nl_domain_bindings;
4735 bindtextdomain ("", "");
4736 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4741 if ac_fn_c_try_link
"$LINENO"; then :
4742 gt_cv_func_gnugettext1_libc
=yes
4744 gt_cv_func_gnugettext1_libc
=no
4746 rm -f core conftest.err conftest.
$ac_objext \
4747 conftest
$ac_exeext conftest.
$ac_ext
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
4750 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
4752 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4758 am_save_CPPFLAGS
="$CPPFLAGS"
4760 for element
in $INCICONV; do
4762 for x
in $CPPFLAGS; do
4764 acl_save_prefix
="$prefix"
4765 prefix
="$acl_final_prefix"
4766 acl_save_exec_prefix
="$exec_prefix"
4767 exec_prefix
="$acl_final_exec_prefix"
4769 exec_prefix
="$acl_save_exec_prefix"
4770 prefix
="$acl_save_prefix"
4772 if test "X$x" = "X$element"; then
4777 if test -z "$haveit"; then
4778 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4784 $as_echo_n "checking for iconv... " >&6; }
4785 if test "${am_cv_func_iconv+set}" = set; then :
4786 $as_echo_n "(cached) " >&6
4789 am_cv_func_iconv
="no, consider installing GNU libiconv"
4791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4798 iconv_t cd = iconv_open("","");
4799 iconv(cd,NULL,NULL,NULL,NULL);
4805 if ac_fn_c_try_link
"$LINENO"; then :
4806 am_cv_func_iconv
=yes
4808 rm -f core conftest.err conftest.
$ac_objext \
4809 conftest
$ac_exeext conftest.
$ac_ext
4810 if test "$am_cv_func_iconv" != yes; then
4811 am_save_LIBS
="$LIBS"
4812 LIBS
="$LIBS $LIBICONV"
4813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4820 iconv_t cd = iconv_open("","");
4821 iconv(cd,NULL,NULL,NULL,NULL);
4827 if ac_fn_c_try_link
"$LINENO"; then :
4829 am_cv_func_iconv
=yes
4831 rm -f core conftest.err conftest.
$ac_objext \
4832 conftest
$ac_exeext conftest.
$ac_ext
4833 LIBS
="$am_save_LIBS"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
4838 $as_echo "$am_cv_func_iconv" >&6; }
4839 if test "$am_cv_func_iconv" = yes; then
4841 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
4844 if test "$am_cv_lib_iconv" = yes; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
4846 $as_echo_n "checking how to link with libiconv... " >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
4848 $as_echo "$LIBICONV" >&6; }
4850 CPPFLAGS
="$am_save_CPPFLAGS"
4862 acl_save_prefix
="$prefix"
4863 prefix
="$acl_final_prefix"
4864 acl_save_exec_prefix
="$exec_prefix"
4865 exec_prefix
="$acl_final_exec_prefix"
4867 eval additional_includedir
=\"$includedir\"
4868 eval additional_libdir
=\"$libdir\"
4870 exec_prefix
="$acl_save_exec_prefix"
4871 prefix
="$acl_save_prefix"
4874 # Check whether --with-libintl-prefix was given.
4875 if test "${with_libintl_prefix+set}" = set; then :
4876 withval
=$with_libintl_prefix;
4877 if test "X$withval" = "Xno"; then
4880 if test "X$withval" = "X"; then
4882 acl_save_prefix
="$prefix"
4883 prefix
="$acl_final_prefix"
4884 acl_save_exec_prefix
="$exec_prefix"
4885 exec_prefix
="$acl_final_exec_prefix"
4887 eval additional_includedir
=\"$includedir\"
4888 eval additional_libdir
=\"$libdir\"
4890 exec_prefix
="$acl_save_exec_prefix"
4891 prefix
="$acl_save_prefix"
4894 additional_includedir
="$withval/include"
4895 additional_libdir
="$withval/lib"
4906 names_already_handled
=
4907 names_next_round
='intl '
4908 while test -n "$names_next_round"; do
4909 names_this_round
="$names_next_round"
4911 for name
in $names_this_round; do
4913 for n
in $names_already_handled; do
4914 if test "$n" = "$name"; then
4919 if test -z "$already_handled"; then
4920 names_already_handled
="$names_already_handled $name"
4921 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4922 eval value
=\"\
$HAVE_LIB$uppername\"
4923 if test -n "$value"; then
4924 if test "$value" = yes; then
4925 eval value
=\"\
$LIB$uppername\"
4926 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
4927 eval value
=\"\
$LTLIB$uppername\"
4928 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
4937 if test $use_additional = yes; then
4938 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4939 found_dir
="$additional_libdir"
4940 found_so
="$additional_libdir/lib$name.$shlibext"
4941 if test -f "$additional_libdir/lib$name.la"; then
4942 found_la
="$additional_libdir/lib$name.la"
4945 if test -f "$additional_libdir/lib$name.$libext"; then
4946 found_dir
="$additional_libdir"
4947 found_a
="$additional_libdir/lib$name.$libext"
4948 if test -f "$additional_libdir/lib$name.la"; then
4949 found_la
="$additional_libdir/lib$name.la"
4954 if test "X$found_dir" = "X"; then
4955 for x
in $LDFLAGS $LTLIBINTL; do
4957 acl_save_prefix
="$prefix"
4958 prefix
="$acl_final_prefix"
4959 acl_save_exec_prefix
="$exec_prefix"
4960 exec_prefix
="$acl_final_exec_prefix"
4962 exec_prefix
="$acl_save_exec_prefix"
4963 prefix
="$acl_save_prefix"
4967 dir
=`echo "X$x" | sed -e 's/^X-L//'`
4968 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4970 found_so
="$dir/lib$name.$shlibext"
4971 if test -f "$dir/lib$name.la"; then
4972 found_la
="$dir/lib$name.la"
4975 if test -f "$dir/lib$name.$libext"; then
4977 found_a
="$dir/lib$name.$libext"
4978 if test -f "$dir/lib$name.la"; then
4979 found_la
="$dir/lib$name.la"
4985 if test "X$found_dir" != "X"; then
4990 if test "X$found_dir" != "X"; then
4991 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4992 if test "X$found_so" != "X"; then
4993 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
4994 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
4997 for x
in $ltrpathdirs; do
4998 if test "X$x" = "X$found_dir"; then
5003 if test -z "$haveit"; then
5004 ltrpathdirs
="$ltrpathdirs $found_dir"
5006 if test "$hardcode_direct" = yes; then
5007 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5009 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5010 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5012 for x
in $rpathdirs; do
5013 if test "X$x" = "X$found_dir"; then
5018 if test -z "$haveit"; then
5019 rpathdirs
="$rpathdirs $found_dir"
5023 for x
in $LDFLAGS $LIBINTL; do
5025 acl_save_prefix
="$prefix"
5026 prefix
="$acl_final_prefix"
5027 acl_save_exec_prefix
="$exec_prefix"
5028 exec_prefix
="$acl_final_exec_prefix"
5030 exec_prefix
="$acl_save_exec_prefix"
5031 prefix
="$acl_save_prefix"
5033 if test "X$x" = "X-L$found_dir"; then
5038 if test -z "$haveit"; then
5039 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5041 if test "$hardcode_minus_L" != no
; then
5042 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5044 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
5050 if test "X$found_a" != "X"; then
5051 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
5053 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5056 additional_includedir
=
5057 case "$found_dir" in
5059 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5060 additional_includedir
="$basedir/include"
5063 if test "X$additional_includedir" != "X"; then
5064 if test "X$additional_includedir" != "X/usr/include"; then
5066 if test "X$additional_includedir" = "X/usr/local/include"; then
5067 if test -n "$GCC"; then
5069 linux
*) haveit
=yes;;
5073 if test -z "$haveit"; then
5074 for x
in $CPPFLAGS $INCINTL; do
5076 acl_save_prefix
="$prefix"
5077 prefix
="$acl_final_prefix"
5078 acl_save_exec_prefix
="$exec_prefix"
5079 exec_prefix
="$acl_final_exec_prefix"
5081 exec_prefix
="$acl_save_exec_prefix"
5082 prefix
="$acl_save_prefix"
5084 if test "X$x" = "X-I$additional_includedir"; then
5089 if test -z "$haveit"; then
5090 if test -d "$additional_includedir"; then
5091 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5097 if test -n "$found_la"; then
5098 save_libdir
="$libdir"
5100 */* |
*\\*) .
"$found_la" ;;
5101 *) .
"./$found_la" ;;
5103 libdir
="$save_libdir"
5104 for dep
in $dependency_libs; do
5107 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5108 if test "X$additional_libdir" != "X/usr/lib"; then
5110 if test "X$additional_libdir" = "X/usr/local/lib"; then
5111 if test -n "$GCC"; then
5113 linux
*) haveit
=yes;;
5117 if test -z "$haveit"; then
5119 for x
in $LDFLAGS $LIBINTL; do
5121 acl_save_prefix
="$prefix"
5122 prefix
="$acl_final_prefix"
5123 acl_save_exec_prefix
="$exec_prefix"
5124 exec_prefix
="$acl_final_exec_prefix"
5126 exec_prefix
="$acl_save_exec_prefix"
5127 prefix
="$acl_save_prefix"
5129 if test "X$x" = "X-L$additional_libdir"; then
5134 if test -z "$haveit"; then
5135 if test -d "$additional_libdir"; then
5136 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5140 for x
in $LDFLAGS $LTLIBINTL; do
5142 acl_save_prefix
="$prefix"
5143 prefix
="$acl_final_prefix"
5144 acl_save_exec_prefix
="$exec_prefix"
5145 exec_prefix
="$acl_final_exec_prefix"
5147 exec_prefix
="$acl_save_exec_prefix"
5148 prefix
="$acl_save_prefix"
5150 if test "X$x" = "X-L$additional_libdir"; then
5155 if test -z "$haveit"; then
5156 if test -d "$additional_libdir"; then
5157 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5164 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5165 if test "$enable_rpath" != no
; then
5167 for x
in $rpathdirs; do
5168 if test "X$x" = "X$dir"; then
5173 if test -z "$haveit"; then
5174 rpathdirs
="$rpathdirs $dir"
5177 for x
in $ltrpathdirs; do
5178 if test "X$x" = "X$dir"; then
5183 if test -z "$haveit"; then
5184 ltrpathdirs
="$ltrpathdirs $dir"
5189 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5192 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5195 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
5196 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5202 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
5203 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5209 if test "X$rpathdirs" != "X"; then
5210 if test -n "$hardcode_libdir_separator"; then
5212 for found_dir
in $rpathdirs; do
5213 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5215 acl_save_libdir
="$libdir"
5217 eval flag
=\"$hardcode_libdir_flag_spec\"
5218 libdir
="$acl_save_libdir"
5219 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
5221 for found_dir
in $rpathdirs; do
5222 acl_save_libdir
="$libdir"
5224 eval flag
=\"$hardcode_libdir_flag_spec\"
5225 libdir
="$acl_save_libdir"
5226 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
5230 if test "X$ltrpathdirs" != "X"; then
5231 for found_dir
in $ltrpathdirs; do
5232 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
5237 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
5238 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
5239 $as_echo_n "(cached) " >&6
5241 gt_save_CPPFLAGS
="$CPPFLAGS"
5242 CPPFLAGS
="$CPPFLAGS $INCINTL"
5243 gt_save_LIBS
="$LIBS"
5244 LIBS
="$LIBS $LIBINTL"
5245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5247 #include <libintl.h>
5248 extern int _nl_msg_cat_cntr;
5253 const char *_nl_expand_alias ();
5257 bindtextdomain ("", "");
5258 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5263 if ac_fn_c_try_link
"$LINENO"; then :
5264 gt_cv_func_gnugettext1_libintl
=yes
5266 gt_cv_func_gnugettext1_libintl
=no
5268 rm -f core conftest.err conftest.
$ac_objext \
5269 conftest
$ac_exeext conftest.
$ac_ext
5270 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5271 LIBS
="$LIBS $LIBICONV"
5272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5274 #include <libintl.h>
5275 extern int _nl_msg_cat_cntr;
5280 const char *_nl_expand_alias ();
5284 bindtextdomain ("", "");
5285 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5290 if ac_fn_c_try_link
"$LINENO"; then :
5291 LIBINTL
="$LIBINTL $LIBICONV"
5292 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
5293 gt_cv_func_gnugettext1_libintl
=yes
5296 rm -f core conftest.err conftest.
$ac_objext \
5297 conftest
$ac_exeext conftest.
$ac_ext
5299 CPPFLAGS
="$gt_save_CPPFLAGS"
5300 LIBS
="$gt_save_LIBS"
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
5303 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
5306 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5307 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5308 && test "$PACKAGE" != gettext-runtime \
5309 && test "$PACKAGE" != gettext-tools
; }; then
5310 gt_use_preinstalled_gnugettext
=yes
5319 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5320 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
5322 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
5330 $as_echo_n "checking whether to use NLS... " >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5332 $as_echo "$USE_NLS" >&6; }
5333 if test "$USE_NLS" = "yes"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
5335 $as_echo_n "checking where the gettext function comes from... " >&6; }
5336 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5337 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5338 gt_source
="external libintl"
5343 gt_source
="included intl directory"
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
5346 $as_echo "$gt_source" >&6; }
5349 if test "$USE_NLS" = "yes"; then
5351 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5352 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
5354 $as_echo_n "checking how to link with libintl... " >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
5356 $as_echo "$LIBINTL" >&6; }
5358 for element
in $INCINTL; do
5360 for x
in $CPPFLAGS; do
5362 acl_save_prefix
="$prefix"
5363 prefix
="$acl_final_prefix"
5364 acl_save_exec_prefix
="$exec_prefix"
5365 exec_prefix
="$acl_final_exec_prefix"
5367 exec_prefix
="$acl_save_exec_prefix"
5368 prefix
="$acl_save_prefix"
5370 if test "X$x" = "X$element"; then
5375 if test -z "$haveit"; then
5376 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5383 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5386 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
5403 for ac_prog
in 'bison -y' byacc
5405 # Extract the first word of "$ac_prog", so it can be a program name with args.
5406 set dummy
$ac_prog; ac_word
=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if test "${ac_cv_prog_YACC+set}" = set; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$YACC"; then
5413 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir
=.
5420 for ac_exec_ext
in '' $ac_executable_extensions; do
5421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5422 ac_cv_prog_YACC
="$ac_prog"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 YACC
=$ac_cv_prog_YACC
5433 if test -n "$YACC"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5435 $as_echo "$YACC" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5442 test -n "$YACC" && break
5444 test -n "$YACC" || YACC
="yacc"
5446 for ac_prog
in flex
lex
5448 # Extract the first word of "$ac_prog", so it can be a program name with args.
5449 set dummy
$ac_prog; ac_word
=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if test "${ac_cv_prog_LEX+set}" = set; then :
5453 $as_echo_n "(cached) " >&6
5455 if test -n "$LEX"; then
5456 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5462 test -z "$as_dir" && as_dir
=.
5463 for ac_exec_ext
in '' $ac_executable_extensions; do
5464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5465 ac_cv_prog_LEX
="$ac_prog"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 if test -n "$LEX"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5478 $as_echo "$LEX" >&6; }
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5485 test -n "$LEX" && break
5487 test -n "$LEX" || LEX
=":"
5489 if test "x$LEX" != "x:"; then
5490 cat >conftest.l
<<_ACEOF
5496 e { yyless (input () != 0); }
5497 f { unput (yytext[0]); }
5498 . { BEGIN INITIAL; }
5500 #ifdef YYTEXT_POINTER
5501 extern char *yytext;
5506 return ! yylex () + ! yywrap ();
5509 { { ac_try
="$LEX conftest.l"
5511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5512 *) ac_try_echo=$ac_try;;
5514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5515 $as_echo "$ac_try_echo"; } >&5
5516 (eval "$LEX conftest.l") 2>&5
5518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5519 test $ac_status = 0; }
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5521 $as_echo_n "checking lex output file root... " >&6; }
5522 if test "${ac_cv_prog_lex_root+set}" = set; then :
5523 $as_echo_n "(cached) " >&6
5526 if test -f lex.yy.c; then
5527 ac_cv_prog_lex_root=lex.yy
5528 elif test -f lexyy.c; then
5529 ac_cv_prog_lex_root=lexyy
5531 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5535 $as_echo "$ac_cv_prog_lex_root" >&6; }
5536 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5538 if test -z "${LEXLIB+set}"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5540 $as_echo_n "checking lex library... " >&6; }
5541 if test "${ac_cv_lib_lex+set}" = set; then :
5542 $as_echo_n "(cached) " >&6
5546 ac_cv_lib_lex='none needed'
5547 for ac_lib in '' -lfl -ll; do
5548 LIBS="$ac_lib $ac_save_LIBS"
5549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5551 `cat $LEX_OUTPUT_ROOT.c
`
5553 if ac_fn_c_try_link "$LINENO"; then :
5554 ac_cv_lib_lex=$ac_lib
5556 rm -f core conftest.err conftest.$ac_objext \
5557 conftest$ac_exeext conftest.$ac_ext
5558 test "$ac_cv_lib_lex" != 'none needed' && break
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5564 $as_echo "$ac_cv_lib_lex" >&6; }
5565 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5570 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5571 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
5572 $as_echo_n "(cached) " >&6
5574 # POSIX says lex can declare yytext either as a pointer or an array; the
5575 # default is implementation-dependent. Figure out which it is, since
5576 # not all implementations provide the %pointer and %array declarations.
5577 ac_cv_prog_lex_yytext_pointer=no
5579 LIBS="$LEXLIB $ac_save_LIBS"
5580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5582 #define YYTEXT_POINTER 1
5583 `cat $LEX_OUTPUT_ROOT.c
`
5585 if ac_fn_c_try_link "$LINENO"; then :
5586 ac_cv_prog_lex_yytext_pointer=yes
5588 rm -f core conftest.err conftest.$ac_objext \
5589 conftest$ac_exeext conftest.$ac_ext
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5594 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5595 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5597 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5600 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5603 if test "$LEX" = :; then
5604 LEX=${am_missing_run}flex
5607 ac_cpp='$CPP $CPPFLAGS'
5608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5611 if test -n "$ac_tool_prefix"; then
5612 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5613 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5615 $as_echo_n "checking for $ac_word... " >&6; }
5616 if test "${ac_cv_prog_CC+set}" = set; then :
5617 $as_echo_n "(cached) " >&6
5619 if test -n "$CC"; then
5620 ac_cv_prog_CC="$CC" # Let the user override the test.
5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 test -z "$as_dir" && as_dir=.
5627 for ac_exec_ext in '' $ac_executable_extensions; do
5628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5629 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640 if test -n "$CC"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5642 $as_echo "$CC" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5650 if test -z "$ac_cv_prog_CC"; then
5652 # Extract the first word of "gcc", so it can be a program name with args.
5653 set dummy gcc; ac_word=$2
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 $as_echo_n "checking for $ac_word... " >&6; }
5656 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5657 $as_echo_n "(cached) " >&6
5659 if test -n "$ac_ct_CC"; then
5660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5669 ac_cv_prog_ac_ct_CC="gcc"
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5680 if test -n "$ac_ct_CC"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5682 $as_echo "$ac_ct_CC" >&6; }
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5688 if test "x$ac_ct_CC" = x; then
5691 case $cross_compiling:$ac_tool_warned in
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5695 ac_tool_warned=yes ;;
5703 if test -z "$CC"; then
5704 if test -n "$ac_tool_prefix"; then
5705 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5706 set dummy ${ac_tool_prefix}cc; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if test "${ac_cv_prog_CC+set}" = set; then :
5710 $as_echo_n "(cached) " >&6
5712 if test -n "$CC"; then
5713 ac_cv_prog_CC="$CC" # Let the user override the test.
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5722 ac_cv_prog_CC="${ac_tool_prefix}cc"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 if test -n "$CC"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5735 $as_echo "$CC" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5744 if test -z "$CC"; then
5745 # Extract the first word of "cc", so it can be a program name with args.
5746 set dummy cc; ac_word=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if test "${ac_cv_prog_CC+set}" = set; then :
5750 $as_echo_n "(cached) " >&6
5752 if test -n "$CC"; then
5753 ac_cv_prog_CC="$CC" # Let the user override the test.
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5763 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5764 ac_prog_rejected=yes
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 if test $ac_prog_rejected = yes; then
5776 # We found a bogon in the path, so make sure we never use it.
5777 set dummy $ac_cv_prog_CC
5779 if test $# != 0; then
5780 # We chose a different compiler from the bogus one.
5781 # However, it has the same basename, so the bogon will be chosen
5782 # first if we set CC to just the basename; use the full file name.
5784 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5790 if test -n "$CC"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5792 $as_echo "$CC" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5800 if test -z "$CC"; then
5801 if test -n "$ac_tool_prefix"; then
5802 for ac_prog in cl.exe
5804 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5805 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5807 $as_echo_n "checking for $ac_word... " >&6; }
5808 if test "${ac_cv_prog_CC+set}" = set; then :
5809 $as_echo_n "(cached) " >&6
5811 if test -n "$CC"; then
5812 ac_cv_prog_CC="$CC" # Let the user override the test.
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir=.
5819 for ac_exec_ext in '' $ac_executable_extensions; do
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 if test -n "$CC"; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5834 $as_echo "$CC" >&6; }
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837 $as_echo "no" >&6; }
5841 test -n "$CC" && break
5844 if test -z "$CC"; then
5846 for ac_prog in cl.exe
5848 # Extract the first word of "$ac_prog", so it can be a program name with args.
5849 set dummy $ac_prog; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5855 if test -n "$ac_ct_CC"; then
5856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_ac_ct_CC="$ac_prog"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5876 if test -n "$ac_ct_CC"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5878 $as_echo "$ac_ct_CC" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5885 test -n "$ac_ct_CC" && break
5888 if test "x$ac_ct_CC" = x; then
5891 case $cross_compiling:$ac_tool_warned in
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5895 ac_tool_warned=yes ;;
5904 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5906 as_fn_error "no acceptable C compiler found
in \
$PATH
5907 See \
`config.log' for more details." "$LINENO" 5; }
5909 # Provide some information about the compiler.
5910 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5913 for ac_option in --version -v -V -qversion; do
5914 { { ac_try="$ac_compiler $ac_option >&5"
5916 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5917 *) ac_try_echo
=$ac_try;;
5919 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5920 $as_echo "$ac_try_echo"; } >&5
5921 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5923 if test -s conftest.err
; then
5925 ... rest of stderr output deleted ...
5926 10q' conftest.err
>conftest.er1
5927 cat conftest.er1
>&5
5929 rm -f conftest.er1 conftest.err
5930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5931 test $ac_status = 0; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5935 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5936 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5937 $as_echo_n "(cached) " >&6
5939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5953 if ac_fn_c_try_compile
"$LINENO"; then :
5958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5959 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5963 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5964 if test $ac_compiler_gnu = yes; then
5969 ac_test_CFLAGS
=${CFLAGS+set}
5970 ac_save_CFLAGS
=$CFLAGS
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5972 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5973 if test "${ac_cv_prog_cc_g+set}" = set; then :
5974 $as_echo_n "(cached) " >&6
5976 ac_save_c_werror_flag
=$ac_c_werror_flag
5977 ac_c_werror_flag
=yes
5980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5981 /* end confdefs.h. */
5991 if ac_fn_c_try_compile
"$LINENO"; then :
5995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5996 /* end confdefs.h. */
6006 if ac_fn_c_try_compile
"$LINENO"; then :
6009 ac_c_werror_flag
=$ac_save_c_werror_flag
6011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6022 if ac_fn_c_try_compile
"$LINENO"; then :
6025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 ac_c_werror_flag
=$ac_save_c_werror_flag
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6033 $as_echo "$ac_cv_prog_cc_g" >&6; }
6034 if test "$ac_test_CFLAGS" = set; then
6035 CFLAGS
=$ac_save_CFLAGS
6036 elif test $ac_cv_prog_cc_g = yes; then
6037 if test "$GCC" = yes; then
6043 if test "$GCC" = yes; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6050 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6051 if test "${ac_cv_prog_cc_c89+set}" = set; then :
6052 $as_echo_n "(cached) " >&6
6054 ac_cv_prog_cc_c89
=no
6056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6057 /* end confdefs.h. */
6060 #include <sys/types.h>
6061 #include <sys/stat.h>
6062 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6063 struct buf { int x; };
6064 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6065 static char *e (p, i)
6071 static char *f (char * (*g) (char **, int), char **p, ...)
6076 s = g (p, va_arg (v,int));
6081 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6082 function prototypes and stuff, but not '\xHH' hex character constants.
6083 These don't provoke an error unfortunately, instead are silently treated
6084 as 'x'. The following induces an error, until -std is added to get
6085 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6086 array size at least. It's necessary to write '\x00'==0 to get something
6087 that's true only with -std. */
6088 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6090 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6091 inside strings and character constants. */
6093 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6095 int test (int i, double x);
6096 struct s1 {int (*f) (int a);};
6097 struct s2 {int (*f) (double a);};
6098 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6104 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6109 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
6110 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6112 CC
="$ac_save_CC $ac_arg"
6113 if ac_fn_c_try_compile
"$LINENO"; then :
6114 ac_cv_prog_cc_c89
=$ac_arg
6116 rm -f core conftest.err conftest.
$ac_objext
6117 test "x$ac_cv_prog_cc_c89" != "xno" && break
6119 rm -f conftest.
$ac_ext
6124 case "x$ac_cv_prog_cc_c89" in
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6127 $as_echo "none needed" >&6; } ;;
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6130 $as_echo "unsupported" >&6; } ;;
6132 CC
="$CC $ac_cv_prog_cc_c89"
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6134 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6136 if test "x$ac_cv_prog_cc_c89" != xno
; then :
6141 ac_cpp
='$CPP $CPPFLAGS'
6142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6146 depcc
="$CC" am_compiler_list
=
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6149 $as_echo_n "checking dependency style of $depcc... " >&6; }
6150 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6151 $as_echo_n "(cached) " >&6
6153 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6154 # We make a subdir and do the tests there. Otherwise we can end up
6155 # making bogus files that we don't know about and never remove. For
6156 # instance it was reported that on HP-UX the gcc test will end up
6157 # making a dummy file named `D' -- because `-MD' means `put the output
6160 # Copy depcomp to subdir because otherwise we won't find it if we're
6161 # using a relative directory.
6162 cp "$am_depcomp" conftest.dir
6164 # We will build objects and dependencies in a subdirectory because
6165 # it helps to detect inapplicable dependency modes. For instance
6166 # both Tru64's cc and ICC support -MD to output dependencies as a
6167 # side effect of compilation, but ICC will put the dependencies in
6168 # the current directory while Tru64 will put them in the object
6172 am_cv_CC_dependencies_compiler_type
=none
6173 if test "$am_compiler_list" = ""; then
6174 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6177 case " $depcc " in #(
6178 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6181 for depmode
in $am_compiler_list; do
6182 # Setup a source with many dependencies, because some compilers
6183 # like to wrap large dependency lists on column 80 (with \), and
6184 # we should not choose a depcomp mode which is confused by this.
6186 # We need to recreate these files for each test, as the compiler may
6187 # overwrite some of them when testing with obscure command lines.
6188 # This happens at least with the AIX C compiler.
6190 for i
in 1 2 3 4 5 6; do
6191 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6192 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6193 # Solaris 8's {/usr,}/bin/sh.
6194 touch sub
/conftst
$i.h
6196 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6198 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6199 # mode. It turns out that the SunPro C++ compiler does not properly
6200 # handle `-M -o', and we need to detect this. Also, some Intel
6201 # versions had trouble with output in subdirs
6202 am__obj
=sub
/conftest.
${OBJEXT-o}
6203 am__minus_obj
="-o $am__obj"
6206 # This depmode causes a compiler race in universal mode.
6207 test "$am__universal" = false ||
continue
6210 # after this tag, mechanisms are not by side-effect, so they'll
6211 # only be used when explicitly requested
6212 if test "x$enable_dependency_tracking" = xyes
; then
6218 msvisualcpp | msvcmsys
)
6219 # This compiler won't grok `-c -o', but also, the minuso test has
6220 # not run yet. These depmodes are late enough in the game, and
6221 # so weak that their functioning should not be impacted.
6222 am__obj
=conftest.
${OBJEXT-o}
6227 if depmode
=$depmode \
6228 source=sub
/conftest.c object
=$am__obj \
6229 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6230 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6231 >/dev
/null
2>conftest.err
&&
6232 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6233 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6234 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6235 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6236 # icc doesn't choke on unknown options, it will just issue warnings
6237 # or remarks (even with -Werror). So we grep stderr for any message
6238 # that says an option was ignored or not supported.
6239 # When given -MP, icc 7.0 and 7.1 complain thusly:
6240 # icc: Command line warning: ignoring option '-M'; no argument required
6241 # The diagnosis changed in icc 8.0:
6242 # icc: Command line remark: option '-MP' not supported
6243 if (grep 'ignoring option' conftest.err ||
6244 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6245 am_cv_CC_dependencies_compiler_type
=$depmode
6254 am_cv_CC_dependencies_compiler_type
=none
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6259 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6260 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6263 test "x$enable_dependency_tracking" != xno \
6264 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6266 am__fastdepCC_FALSE
='#'
6268 am__fastdepCC_TRUE
='#'
6269 am__fastdepCC_FALSE
=
6274 ac_cpp
='$CXXCPP $CPPFLAGS'
6275 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6276 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6277 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6278 if test -z "$CXX"; then
6279 if test -n "$CCC"; then
6282 if test -n "$ac_tool_prefix"; then
6283 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6286 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288 $as_echo_n "checking for $ac_word... " >&6; }
6289 if test "${ac_cv_prog_CXX+set}" = set; then :
6290 $as_echo_n "(cached) " >&6
6292 if test -n "$CXX"; then
6293 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir
=.
6300 for ac_exec_ext
in '' $ac_executable_extensions; do
6301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 if test -n "$CXX"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6315 $as_echo "$CXX" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6322 test -n "$CXX" && break
6325 if test -z "$CXX"; then
6327 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6329 # Extract the first word of "$ac_prog", so it can be a program name with args.
6330 set dummy
$ac_prog; ac_word
=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332 $as_echo_n "checking for $ac_word... " >&6; }
6333 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
6334 $as_echo_n "(cached) " >&6
6336 if test -n "$ac_ct_CXX"; then
6337 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir
=.
6344 for ac_exec_ext
in '' $ac_executable_extensions; do
6345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6357 if test -n "$ac_ct_CXX"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6359 $as_echo "$ac_ct_CXX" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362 $as_echo "no" >&6; }
6366 test -n "$ac_ct_CXX" && break
6369 if test "x$ac_ct_CXX" = x
; then
6372 case $cross_compiling:$ac_tool_warned in
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6376 ac_tool_warned
=yes ;;
6384 # Provide some information about the compiler.
6385 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6388 for ac_option
in --version -v -V -qversion; do
6389 { { ac_try
="$ac_compiler $ac_option >&5"
6391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6392 *) ac_try_echo=$ac_try;;
6394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6395 $as_echo "$ac_try_echo"; } >&5
6396 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6398 if test -s conftest.err; then
6400 ... rest of stderr output deleted ...
6401 10q' conftest.err >conftest.er1
6402 cat conftest.er1 >&5
6404 rm -f conftest.er1 conftest.err
6405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6406 test $ac_status = 0; }
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6410 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6411 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
6412 $as_echo_n "(cached) " >&6
6414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6415 /* end confdefs.h. */
6428 if ac_fn_cxx_try_compile "$LINENO"; then :
6433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6434 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6438 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6439 if test $ac_compiler_gnu = yes; then
6444 ac_test_CXXFLAGS=${CXXFLAGS+set}
6445 ac_save_CXXFLAGS=$CXXFLAGS
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6447 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6448 if test "${ac_cv_prog_cxx_g+set}" = set; then :
6449 $as_echo_n "(cached) " >&6
6451 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6452 ac_cxx_werror_flag=yes
6455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6466 if ac_fn_cxx_try_compile "$LINENO"; then :
6467 ac_cv_prog_cxx_g=yes
6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6481 if ac_fn_cxx_try_compile "$LINENO"; then :
6484 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6487 /* end confdefs.h. */
6497 if ac_fn_cxx_try_compile "$LINENO"; then :
6498 ac_cv_prog_cxx_g=yes
6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6505 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6508 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6509 if test "$ac_test_CXXFLAGS" = set; then
6510 CXXFLAGS=$ac_save_CXXFLAGS
6511 elif test $ac_cv_prog_cxx_g = yes; then
6512 if test "$GXX" = yes; then
6518 if test "$GXX" = yes; then
6525 ac_cpp='$CPP $CPPFLAGS'
6526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6530 depcc="$CXX" am_compiler_list=
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6533 $as_echo_n "checking dependency style of $depcc... " >&6; }
6534 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6537 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6538 # We make a subdir and do the tests there. Otherwise we can end up
6539 # making bogus files that we don't know about and never remove. For
6540 # instance it was reported that on HP-UX the gcc test will end up
6541 # making a dummy file named `D
' -- because `-MD' means
`put the output
6544 # Copy depcomp to subdir because otherwise we won't find it if we're
6545 # using a relative directory.
6546 cp "$am_depcomp" conftest.dir
6548 # We will build objects and dependencies in a subdirectory because
6549 # it helps to detect inapplicable dependency modes. For instance
6550 # both Tru64's cc and ICC support -MD to output dependencies as a
6551 # side effect of compilation, but ICC will put the dependencies in
6552 # the current directory while Tru64 will put them in the object
6556 am_cv_CXX_dependencies_compiler_type=none
6557 if test "$am_compiler_list" = ""; then
6558 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6561 case " $depcc " in #(
6562 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6565 for depmode in $am_compiler_list; do
6566 # Setup a source with many dependencies, because some compilers
6567 # like to wrap large dependency lists on column 80 (with \), and
6568 # we should not choose a depcomp mode which is confused by this.
6570 # We need to recreate these files for each test, as the compiler may
6571 # overwrite some of them when testing with obscure command lines.
6572 # This happens at least with the AIX C compiler.
6574 for i in 1 2 3 4 5 6; do
6575 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6576 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6577 # Solaris 8's
{/usr
,}/bin
/sh.
6578 touch sub
/conftst
$i.h
6580 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6582 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6583 # mode. It turns out that the SunPro C++ compiler does not properly
6584 # handle `-M -o', and we need to detect this. Also, some Intel
6585 # versions had trouble with output in subdirs
6586 am__obj
=sub
/conftest.
${OBJEXT-o}
6587 am__minus_obj
="-o $am__obj"
6590 # This depmode causes a compiler race in universal mode.
6591 test "$am__universal" = false ||
continue
6594 # after this tag, mechanisms are not by side-effect, so they'll
6595 # only be used when explicitly requested
6596 if test "x$enable_dependency_tracking" = xyes
; then
6602 msvisualcpp | msvcmsys
)
6603 # This compiler won't grok `-c -o', but also, the minuso test has
6604 # not run yet. These depmodes are late enough in the game, and
6605 # so weak that their functioning should not be impacted.
6606 am__obj
=conftest.
${OBJEXT-o}
6611 if depmode
=$depmode \
6612 source=sub
/conftest.c object
=$am__obj \
6613 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6614 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6615 >/dev
/null
2>conftest.err
&&
6616 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6617 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6618 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6619 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6620 # icc doesn't choke on unknown options, it will just issue warnings
6621 # or remarks (even with -Werror). So we grep stderr for any message
6622 # that says an option was ignored or not supported.
6623 # When given -MP, icc 7.0 and 7.1 complain thusly:
6624 # icc: Command line warning: ignoring option '-M'; no argument required
6625 # The diagnosis changed in icc 8.0:
6626 # icc: Command line remark: option '-MP' not supported
6627 if (grep 'ignoring option' conftest.err ||
6628 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6629 am_cv_CXX_dependencies_compiler_type
=$depmode
6638 am_cv_CXX_dependencies_compiler_type
=none
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6643 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6644 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6647 test "x$enable_dependency_tracking" != xno \
6648 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6649 am__fastdepCXX_TRUE
=
6650 am__fastdepCXX_FALSE
='#'
6652 am__fastdepCXX_TRUE
='#'
6653 am__fastdepCXX_FALSE
=
6657 if test "x$CC" != xcc
; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
6659 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
6662 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
6664 set dummy
$CC; ac_cc
=`$as_echo "$2" |
6665 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6666 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
6667 $as_echo_n "(cached) " >&6
6669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6670 /* end confdefs.h. */
6680 # Make sure it works both with $CC and with simple cc.
6681 # We do the test twice because some compilers refuse to overwrite an
6682 # existing .o file with -o, though they will create one.
6683 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6685 if { { case "(($ac_try" in
6686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6687 *) ac_try_echo=$ac_try;;
6689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6690 $as_echo "$ac_try_echo"; } >&5
6691 (eval "$ac_try") 2>&5
6693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6694 test $ac_status = 0; } &&
6695 test -f conftest2.$ac_objext && { { case "(($ac_try" in
6696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6697 *) ac_try_echo
=$ac_try;;
6699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6700 $as_echo "$ac_try_echo"; } >&5
6701 (eval "$ac_try") 2>&5
6703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6704 test $ac_status = 0; };
6706 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
6707 if test "x$CC" != xcc
; then
6708 # Test first that cc exists at all.
6709 if { ac_try
='cc -c conftest.$ac_ext >&5'
6710 { { case "(($ac_try" in
6711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6712 *) ac_try_echo=$ac_try;;
6714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6715 $as_echo "$ac_try_echo"; } >&5
6716 (eval "$ac_try") 2>&5
6718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6719 test $ac_status = 0; }; }; then
6720 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6722 if { { case "(($ac_try" in
6723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6724 *) ac_try_echo
=$ac_try;;
6726 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6727 $as_echo "$ac_try_echo"; } >&5
6728 (eval "$ac_try") 2>&5
6730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6731 test $ac_status = 0; } &&
6732 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
6733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6734 *) ac_try_echo=$ac_try;;
6736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6737 $as_echo "$ac_try_echo"; } >&5
6738 (eval "$ac_try") 2>&5
6740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6741 test $ac_status = 0; };
6746 # cc exists but doesn't like -o.
6747 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6752 eval ac_cv_prog_cc_${ac_cc}_c_o=no
6754 rm -f core conftest*
6757 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6759 $as_echo "yes" >&6; }
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6764 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
6768 # FIXME: we rely on the cache variable name because
6769 # there is no other way.
6771 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6772 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
6773 if test "$am_t" != yes; then
6774 # Losing compiler, so override with the script.
6775 # FIXME: It is wrong to rewrite CC.
6776 # But if we don't then we get into trouble of one sort or another.
6777 # A longer-term fix would be to have automake use am__CC in this case,
6778 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6779 CC="$am_aux_dir/compile $CC"
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6784 $as_echo_n "checking whether ln -s works... " >&6; }
6786 if test "$LN_S" = "ln -s"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6788 $as_echo "yes" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6791 $as_echo "no, using $LN_S" >&6; }
6794 if test -n "$ac_tool_prefix"; then
6795 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6796 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798 $as_echo_n "checking for $ac_word... " >&6; }
6799 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6800 $as_echo_n "(cached) " >&6
6802 if test -n "$RANLIB"; then
6803 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 RANLIB=$ac_cv_prog_RANLIB
6823 if test -n "$RANLIB"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6825 $as_echo "$RANLIB" >&6; }
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 $as_echo "no" >&6; }
6833 if test -z "$ac_cv_prog_RANLIB"; then
6834 ac_ct_RANLIB=$RANLIB
6835 # Extract the first word of "ranlib", so it can be a program name with args.
6836 set dummy ranlib; ac_word=$2
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 $as_echo_n "checking for $ac_word... " >&6; }
6839 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6840 $as_echo_n "(cached) " >&6
6842 if test -n "$ac_ct_RANLIB"; then
6843 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 test -z "$as_dir" && as_dir=.
6850 for ac_exec_ext in '' $ac_executable_extensions; do
6851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6852 ac_cv_prog_ac_ct_RANLIB="ranlib"
6853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6863 if test -n "$ac_ct_RANLIB"; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6865 $as_echo "$ac_ct_RANLIB" >&6; }
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868 $as_echo "no" >&6; }
6871 if test "x$ac_ct_RANLIB" = x; then
6874 case $cross_compiling:$ac_tool_warned in
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6878 ac_tool_warned=yes ;;
6880 RANLIB=$ac_ct_RANLIB
6883 RANLIB="$ac_cv_prog_RANLIB"
6886 for ac_prog in gawk mawk nawk awk
6888 # Extract the first word of "$ac_prog", so it can be a program name with args.
6889 set dummy $ac_prog; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if test "${ac_cv_prog_AWK+set}" = set; then :
6893 $as_echo_n "(cached) " >&6
6895 if test -n "$AWK"; then
6896 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir=.
6903 for ac_exec_ext in '' $ac_executable_extensions; do
6904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6905 ac_cv_prog_AWK="$ac_prog"
6906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916 if test -n "$AWK"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6918 $as_echo "$AWK" >&6; }
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6925 test -n "$AWK" && break
6930 # Extract the first word of "bison", so it can be a program name with args.
6931 set dummy bison; ac_word=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933 $as_echo_n "checking for $ac_word... " >&6; }
6934 if test "${ac_cv_path_BISON+set}" = set; then :
6935 $as_echo_n "(cached) " >&6
6939 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON="bison"
6961 BISON=$ac_cv_path_BISON
6962 if test -n "$BISON"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6964 $as_echo "$BISON" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6971 # Extract the first word of "help2man", so it can be a program name with args.
6972 set dummy help2man; ac_word=$2
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6974 $as_echo_n "checking for $ac_word... " >&6; }
6975 if test "${ac_cv_path_HELP2MAN+set}" = set; then :
6976 $as_echo_n "(cached) " >&6
6980 ac_cv_path_HELP2MAN="$HELP2MAN" # Let the user override the test with a path.
6983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 test -z "$as_dir" && as_dir=.
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6990 ac_cv_path_HELP2MAN="$as_dir/$ac_word$ac_exec_ext"
6991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 test -z "$ac_cv_path_HELP2MAN" && ac_cv_path_HELP2MAN="help2man"
7002 HELP2MAN=$ac_cv_path_HELP2MAN
7003 if test -n "$HELP2MAN"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
7005 $as_echo "$HELP2MAN" >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008 $as_echo "no" >&6; }
7013 # Check for a m4 that supports -P
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m4 that supports -P" >&5
7016 $as_echo_n "checking for m4 that supports -P... " >&6; }
7017 if test "${ac_cv_path_M4+set}" = set; then :
7018 $as_echo_n "(cached) " >&6
7020 if test -z "$M4"; then
7021 ac_path_M4_found=false
7022 # Loop through the user's path and test for each of PROGNAME-LIST
7023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 test -z "$as_dir" && as_dir=.
7028 for ac_prog in gm4 gnum4 m4; do
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
7031 { test -f "$ac_path_M4" && $as_test_x "$ac_path_M4"; } || continue
7032 m4out=`echo 'm''4_divnum' |
$ac_path_M4 -P`
7033 test "x$m4out" = x0 \
7034 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
7035 $ac_path_M4_found && break 3
7040 if test -z "$ac_cv_path_M4"; then
7041 as_fn_error "could not find m4 that supports -P" "$LINENO" 5
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_M4" >&5
7049 $as_echo "$ac_cv_path_M4" >&6; }
7053 cat >>confdefs.h <<_ACEOF
7058 # Extract the first word of "indent", so it can be a program name with args.
7059 set dummy indent; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if test "${ac_cv_path_INDENT+set}" = set; then :
7063 $as_echo_n "(cached) " >&6
7067 ac_cv_path_INDENT="$INDENT" # Let the user override the test with a path.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7077 ac_cv_path_INDENT="$as_dir/$ac_word$ac_exec_ext"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085 test -z "$ac_cv_path_INDENT" && ac_cv_path_INDENT="indent"
7089 INDENT=$ac_cv_path_INDENT
7090 if test -n "$INDENT"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INDENT" >&5
7092 $as_echo "$INDENT" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7099 # if INDENT is set to 'indent' then we didn't find indent
7100 if test "$INDENT" != indent ; then
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $INDENT is GNU indent" >&5
7102 $as_echo_n "checking if $INDENT is GNU indent... " >&6; }
7103 if $INDENT --version 2>/dev/null | head -n 1|grep "GNU indent" > /dev/null ; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7105 $as_echo "yes" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $INDENT does not appear to be GNU indent." >&5
7110 $as_echo "$as_me: WARNING: $INDENT does not appear to be GNU indent." >&2;}
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no indent program found: make indent target will not function" >&5
7114 $as_echo "$as_me: WARNING: no indent program found: make indent target will not function" >&2;}
7117 # checks for headers
7120 ac_cpp='$CPP $CPPFLAGS'
7121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7125 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7126 # On Suns, sometimes $CPP names a directory.
7127 if test -n "$CPP" && test -d "$CPP"; then
7130 if test -z "$CPP"; then
7131 if test "${ac_cv_prog_CPP+set}" = set; then :
7132 $as_echo_n "(cached) " >&6
7134 # Double quotes because CPP needs to be expanded
7135 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7138 for ac_c_preproc_warn_flag in '' yes
7140 # Use a header file that comes with gcc, so configuring glibc
7141 # with a fresh cross-compiler works.
7142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7143 # <limits.h> exists even on freestanding compilers.
7144 # On the NeXT, cc -E runs the code through the compiler's parser,
7145 # not just through cpp. "Syntax error" is here to catch this case.
7146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147 /* end confdefs.h. */
7149 # include <limits.h>
7151 # include <assert.h>
7155 if ac_fn_c_try_cpp "$LINENO"; then :
7158 # Broken: fails on valid input.
7161 rm -f conftest.err conftest.$ac_ext
7163 # OK, works on sane cases. Now check whether nonexistent headers
7164 # can be detected and how.
7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7167 #include <ac_nonexistent.h>
7169 if ac_fn_c_try_cpp "$LINENO"; then :
7170 # Broken: success on invalid input.
7173 # Passes both tests.
7177 rm -f conftest.err conftest.$ac_ext
7180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7181 rm -f conftest.err conftest.
$ac_ext
7182 if $ac_preproc_ok; then :
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7195 $as_echo "$CPP" >&6; }
7197 for ac_c_preproc_warn_flag
in '' yes
7199 # Use a header file that comes with gcc, so configuring glibc
7200 # with a fresh cross-compiler works.
7201 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7202 # <limits.h> exists even on freestanding compilers.
7203 # On the NeXT, cc -E runs the code through the compiler's parser,
7204 # not just through cpp. "Syntax error" is here to catch this case.
7205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7208 # include <limits.h>
7210 # include <assert.h>
7214 if ac_fn_c_try_cpp
"$LINENO"; then :
7217 # Broken: fails on valid input.
7220 rm -f conftest.err conftest.
$ac_ext
7222 # OK, works on sane cases. Now check whether nonexistent headers
7223 # can be detected and how.
7224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7225 /* end confdefs.h. */
7226 #include <ac_nonexistent.h>
7228 if ac_fn_c_try_cpp
"$LINENO"; then :
7229 # Broken: success on invalid input.
7232 # Passes both tests.
7236 rm -f conftest.err conftest.
$ac_ext
7239 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7240 rm -f conftest.err conftest.
$ac_ext
7241 if $ac_preproc_ok; then :
7244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7246 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7247 See \`config.log' for more details." "$LINENO" 5; }
7251 ac_cpp
='$CPP $CPPFLAGS'
7252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7258 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7259 if test "${ac_cv_path_GREP+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7262 if test -z "$GREP"; then
7263 ac_path_GREP_found
=false
7264 # Loop through the user's path and test for each of PROGNAME-LIST
7265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7266 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7269 test -z "$as_dir" && as_dir
=.
7270 for ac_prog
in grep ggrep
; do
7271 for ac_exec_ext
in '' $ac_executable_extensions; do
7272 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7273 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7274 # Check for GNU ac_path_GREP and select it if it is found.
7275 # Check for GNU $ac_path_GREP
7276 case `"$ac_path_GREP" --version 2>&1` in
7278 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7281 $as_echo_n 0123456789 >"conftest.in"
7284 cat "conftest.in" "conftest.in" >"conftest.tmp"
7285 mv "conftest.tmp" "conftest.in"
7286 cp "conftest.in" "conftest.nl"
7287 $as_echo 'GREP' >> "conftest.nl"
7288 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7289 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7290 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7291 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7292 # Best one so far, save it but keep looking for a better one
7293 ac_cv_path_GREP
="$ac_path_GREP"
7294 ac_path_GREP_max
=$ac_count
7296 # 10*(2^10) chars as input seems more than enough
7297 test $ac_count -gt 10 && break
7299 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7302 $ac_path_GREP_found && break 3
7307 if test -z "$ac_cv_path_GREP"; then
7308 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7311 ac_cv_path_GREP
=$GREP
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7316 $as_echo "$ac_cv_path_GREP" >&6; }
7317 GREP
="$ac_cv_path_GREP"
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7321 $as_echo_n "checking for egrep... " >&6; }
7322 if test "${ac_cv_path_EGREP+set}" = set; then :
7323 $as_echo_n "(cached) " >&6
7325 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7326 then ac_cv_path_EGREP
="$GREP -E"
7328 if test -z "$EGREP"; then
7329 ac_path_EGREP_found
=false
7330 # Loop through the user's path and test for each of PROGNAME-LIST
7331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7332 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7335 test -z "$as_dir" && as_dir
=.
7336 for ac_prog
in egrep; do
7337 for ac_exec_ext
in '' $ac_executable_extensions; do
7338 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7339 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7340 # Check for GNU ac_path_EGREP and select it if it is found.
7341 # Check for GNU $ac_path_EGREP
7342 case `"$ac_path_EGREP" --version 2>&1` in
7344 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7347 $as_echo_n 0123456789 >"conftest.in"
7350 cat "conftest.in" "conftest.in" >"conftest.tmp"
7351 mv "conftest.tmp" "conftest.in"
7352 cp "conftest.in" "conftest.nl"
7353 $as_echo 'EGREP' >> "conftest.nl"
7354 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7355 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7356 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7357 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7358 # Best one so far, save it but keep looking for a better one
7359 ac_cv_path_EGREP
="$ac_path_EGREP"
7360 ac_path_EGREP_max
=$ac_count
7362 # 10*(2^10) chars as input seems more than enough
7363 test $ac_count -gt 10 && break
7365 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7368 $ac_path_EGREP_found && break 3
7373 if test -z "$ac_cv_path_EGREP"; then
7374 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7377 ac_cv_path_EGREP
=$EGREP
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7383 $as_echo "$ac_cv_path_EGREP" >&6; }
7384 EGREP
="$ac_cv_path_EGREP"
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7388 $as_echo_n "checking for ANSI C header files... " >&6; }
7389 if test "${ac_cv_header_stdc+set}" = set; then :
7390 $as_echo_n "(cached) " >&6
7392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7393 /* end confdefs.h. */
7407 if ac_fn_c_try_compile
"$LINENO"; then :
7408 ac_cv_header_stdc
=yes
7410 ac_cv_header_stdc
=no
7412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7414 if test $ac_cv_header_stdc = yes; then
7415 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7417 /* end confdefs.h. */
7421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7422 $EGREP "memchr" >/dev
/null
2>&1; then :
7425 ac_cv_header_stdc
=no
7431 if test $ac_cv_header_stdc = yes; then
7432 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7434 /* end confdefs.h. */
7438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7439 $EGREP "free" >/dev
/null
2>&1; then :
7442 ac_cv_header_stdc
=no
7448 if test $ac_cv_header_stdc = yes; then
7449 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7450 if test "$cross_compiling" = yes; then :
7453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7454 /* end confdefs.h. */
7457 #if ((' ' & 0x0FF) == 0x020)
7458 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7459 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7461 # define ISLOWER(c) \
7462 (('a' <= (c) && (c) <= 'i') \
7463 || ('j' <= (c) && (c) <= 'r') \
7464 || ('s' <= (c) && (c) <= 'z'))
7465 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7468 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7473 for (i = 0; i < 256; i++)
7474 if (XOR (islower (i), ISLOWER (i))
7475 || toupper (i) != TOUPPER (i))
7480 if ac_fn_c_try_run
"$LINENO"; then :
7483 ac_cv_header_stdc
=no
7485 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7486 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7492 $as_echo "$ac_cv_header_stdc" >&6; }
7493 if test $ac_cv_header_stdc = yes; then
7495 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
7500 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7501 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
7502 $as_echo_n "(cached) " >&6
7504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7506 #include <sys/types.h>
7507 #include <sys/wait.h>
7509 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7512 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7520 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7525 if ac_fn_c_try_compile
"$LINENO"; then :
7526 ac_cv_header_sys_wait_h
=yes
7528 ac_cv_header_sys_wait_h
=no
7530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
7533 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
7534 if test $ac_cv_header_sys_wait_h = yes; then
7536 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
7540 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7541 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7542 inttypes.h stdint.h unistd.h
7544 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7545 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7547 eval as_val
=\$
$as_ac_Header
7548 if test "x$as_val" = x
""yes; then :
7549 cat >>confdefs.h
<<_ACEOF
7550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7558 for ac_header
in inttypes.h libintl.h limits.h locale.h malloc.h netinet
/in.h regex.h stddef.h stdlib.h string.h
strings.h unistd.h
7560 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7561 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7562 eval as_val
=\$
$as_ac_Header
7563 if test "x$as_val" = x
""yes; then :
7564 cat >>confdefs.h
<<_ACEOF
7565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7573 # checks for libraries
7575 # The test test-pthread uses libpthread, so we check for it here, but
7576 # all we need is the preprocessor symbol defined since we don't need
7577 # LIBS to include libpthread for building flex.
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5
7580 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
7581 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then :
7582 $as_echo_n "(cached) " >&6
7584 ac_check_lib_save_LIBS
=$LIBS
7585 LIBS
="-lpthread $LIBS"
7586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7589 /* Override any GCC internal prototype to avoid an error.
7590 Use char because int might match the return type of a GCC
7591 builtin and then its argument prototype would still apply. */
7595 char pthread_mutex_lock ();
7599 return pthread_mutex_lock ();
7604 if ac_fn_c_try_link
"$LINENO"; then :
7605 ac_cv_lib_pthread_pthread_mutex_lock
=yes
7607 ac_cv_lib_pthread_pthread_mutex_lock
=no
7609 rm -f core conftest.err conftest.
$ac_objext \
7610 conftest
$ac_exeext conftest.
$ac_ext
7611 LIBS
=$ac_check_lib_save_LIBS
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
7614 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
7615 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x
""yes; then :
7617 $as_echo "#define HAVE_LIBPTHREAD 1" >>confdefs.h
7621 $as_echo "#define HAVE_LIBPTHREAD 0" >>confdefs.h
7626 for ac_header
in pthread.h
7628 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
7629 if test "x$ac_cv_header_pthread_h" = x
""yes; then :
7630 cat >>confdefs.h
<<_ACEOF
7631 #define HAVE_PTHREAD_H 1
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
7640 $as_echo_n "checking for log10 in -lm... " >&6; }
7641 if test "${ac_cv_lib_m_log10+set}" = set; then :
7642 $as_echo_n "(cached) " >&6
7644 ac_check_lib_save_LIBS
=$LIBS
7646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7649 /* Override any GCC internal prototype to avoid an error.
7650 Use char because int might match the return type of a GCC
7651 builtin and then its argument prototype would still apply. */
7664 if ac_fn_c_try_link
"$LINENO"; then :
7665 ac_cv_lib_m_log10
=yes
7667 ac_cv_lib_m_log10
=no
7669 rm -f core conftest.err conftest.
$ac_objext \
7670 conftest
$ac_exeext conftest.
$ac_ext
7671 LIBS
=$ac_check_lib_save_LIBS
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
7674 $as_echo "$ac_cv_lib_m_log10" >&6; }
7675 if test "x$ac_cv_lib_m_log10" = x
""yes; then :
7676 cat >>confdefs.h
<<_ACEOF
7685 # Checks for typedefs, structures, and compiler characteristics.
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
7688 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
7689 if test "${ac_cv_header_stdbool_h+set}" = set; then :
7690 $as_echo_n "(cached) " >&6
7692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7693 /* end confdefs.h. */
7695 #include <stdbool.h>
7697 "error: bool is not defined"
7700 "error: false is not defined"
7703 "error: false is not 0"
7706 "error: true is not defined"
7709 "error: true is not 1"
7711 #ifndef __bool_true_false_are_defined
7712 "error: __bool_true_false_are_defined is not defined"
7715 struct s { _Bool s: 1; _Bool t; } s;
7717 char a[true == 1 ? 1 : -1];
7718 char b[false == 0 ? 1 : -1];
7719 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
7720 char d[(bool) 0.5 == true ? 1 : -1];
7722 char f[(_Bool) 0.0 == false ? 1 : -1];
7724 char h[sizeof (_Bool)];
7726 enum { j = false, k = true, l = false * true, m = true * 256 };
7727 /* The following fails for
7728 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
7730 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
7731 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
7732 # if defined __xlc__ || defined __GNUC__
7733 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
7734 reported by James Lemley on 2005-10-05; see
7735 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
7736 This test is not quite right, since xlc is allowed to
7737 reject this program, as the initializer for xlcbug is
7738 not one of the forms that C requires support for.
7739 However, doing the test right would require a runtime
7740 test, and that would make cross-compilation harder.
7741 Let us hope that IBM fixes the xlc bug, and also adds
7742 support for this kind of constant expression. In the
7743 meantime, this test will reject xlc, which is OK, since
7744 our stdbool.h substitute should suffice. We also test
7745 this with GCC, where it should work, to detect more
7746 quickly whether someone messes up the test in the
7748 char digs[] = "0123456789";
7749 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
7751 /* Catch a bug in an HP-UX C compiler. See
7752 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
7753 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
7764 /* Refer to every declared value, to avoid compiler optimizations. */
7765 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
7766 + !m + !n + !o + !p + !q + !pq);
7772 if ac_fn_c_try_compile
"$LINENO"; then :
7773 ac_cv_header_stdbool_h
=yes
7775 ac_cv_header_stdbool_h
=no
7777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
7780 $as_echo "$ac_cv_header_stdbool_h" >&6; }
7781 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
7782 if test "x$ac_cv_type__Bool" = x
""yes; then :
7784 cat >>confdefs.h
<<_ACEOF
7785 #define HAVE__BOOL 1
7791 if test $ac_cv_header_stdbool_h = yes; then
7793 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7798 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7799 if test "${ac_cv_c_const+set}" = set; then :
7800 $as_echo_n "(cached) " >&6
7802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7803 /* end confdefs.h. */
7808 /* FIXME: Include the comments suggested by Paul. */
7810 /* Ultrix mips cc rejects this. */
7811 typedef int charset[2];
7813 /* SunOS 4.1.1 cc rejects this. */
7814 char const *const *pcpcc;
7816 /* NEC SVR4.0.2 mips cc rejects this. */
7817 struct point {int x, y;};
7818 static struct point const zero = {0,0};
7819 /* AIX XL C 1.02.0.0 rejects this.
7820 It does not let you subtract one const X* pointer from another in
7821 an arm of an if-expression whose if-part is not a constant
7823 const char *g = "string";
7824 pcpcc = &g + (g ? g-g : 0);
7825 /* HPUX 7.0 cc rejects these. */
7827 ppc = (char**) pcpcc;
7828 pcpcc = (char const *const *) ppc;
7829 { /* SCO 3.2v4 cc rejects this. */
7831 char const *s = 0 ? (char *) 0 : (char const *) 0;
7836 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7838 const int *foo = &x[0];
7841 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7842 typedef const int *iptr;
7846 { /* AIX XL C 1.02.0.0 rejects this saying
7847 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7848 struct s { int j; const int *ap[3]; };
7849 struct s *b; b->j = 5;
7851 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7855 return !cs[0] && !zero.x;
7862 if ac_fn_c_try_compile
"$LINENO"; then :
7867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7870 $as_echo "$ac_cv_c_const" >&6; }
7871 if test $ac_cv_c_const = no
; then
7873 $as_echo "#define const /**/" >>confdefs.h
7877 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7878 if test "x$ac_cv_type_size_t" = x
""yes; then :
7882 cat >>confdefs.h
<<_ACEOF
7883 #define size_t unsigned int
7889 # Checks for library functions.
7891 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7892 # for constant arguments. Useless!
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7894 $as_echo_n "checking for working alloca.h... " >&6; }
7895 if test "${ac_cv_working_alloca_h+set}" = set; then :
7896 $as_echo_n "(cached) " >&6
7898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7904 char *p = (char *) alloca (2 * sizeof (int));
7910 if ac_fn_c_try_link
"$LINENO"; then :
7911 ac_cv_working_alloca_h
=yes
7913 ac_cv_working_alloca_h
=no
7915 rm -f core conftest.err conftest.
$ac_objext \
7916 conftest
$ac_exeext conftest.
$ac_ext
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
7919 $as_echo "$ac_cv_working_alloca_h" >&6; }
7920 if test $ac_cv_working_alloca_h = yes; then
7922 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7927 $as_echo_n "checking for alloca... " >&6; }
7928 if test "${ac_cv_func_alloca_works+set}" = set; then :
7929 $as_echo_n "(cached) " >&6
7931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7934 # define alloca __builtin_alloca
7937 # include <malloc.h>
7938 # define alloca _alloca
7940 # ifdef HAVE_ALLOCA_H
7941 # include <alloca.h>
7946 # ifndef alloca /* predefined by HP cc +Olibcalls */
7957 char *p = (char *) alloca (1);
7963 if ac_fn_c_try_link
"$LINENO"; then :
7964 ac_cv_func_alloca_works
=yes
7966 ac_cv_func_alloca_works
=no
7968 rm -f core conftest.err conftest.
$ac_objext \
7969 conftest
$ac_exeext conftest.
$ac_ext
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
7972 $as_echo "$ac_cv_func_alloca_works" >&6; }
7974 if test $ac_cv_func_alloca_works = yes; then
7976 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
7979 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7980 # that cause trouble. Some versions do not even contain alloca or
7981 # contain a buggy version. If you still want to use their alloca,
7982 # use ar to extract alloca.o from them instead of compiling alloca.c.
7984 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
7986 $as_echo "#define C_ALLOCA 1" >>confdefs.h
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7990 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7991 if test "${ac_cv_os_cray+set}" = set; then :
7992 $as_echo_n "(cached) " >&6
7994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7995 /* end confdefs.h. */
7996 #if defined CRAY && ! defined CRAY2
8003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8004 $EGREP "webecray" >/dev
/null
2>&1; then :
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
8013 $as_echo "$ac_cv_os_cray" >&6; }
8014 if test $ac_cv_os_cray = yes; then
8015 for ac_func
in _getb67 GETB67 getb67
; do
8016 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8017 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
8018 eval as_val
=\$
$as_ac_var
8019 if test "x$as_val" = x
""yes; then :
8021 cat >>confdefs.h
<<_ACEOF
8022 #define CRAY_STACKSEG_END $ac_func
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
8032 $as_echo_n "checking stack direction for C alloca... " >&6; }
8033 if test "${ac_cv_c_stack_direction+set}" = set; then :
8034 $as_echo_n "(cached) " >&6
8036 if test "$cross_compiling" = yes; then :
8037 ac_cv_c_stack_direction
=0
8039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8040 /* end confdefs.h. */
8041 $ac_includes_default
8043 find_stack_direction ()
8045 static char *addr = 0;
8050 return find_stack_direction ();
8053 return (&dummy > addr) ? 1 : -1;
8059 return find_stack_direction () < 0;
8062 if ac_fn_c_try_run
"$LINENO"; then :
8063 ac_cv_c_stack_direction
=1
8065 ac_cv_c_stack_direction
=-1
8067 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8068 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
8073 $as_echo "$ac_cv_c_stack_direction" >&6; }
8074 cat >>confdefs.h
<<_ACEOF
8075 #define STACK_DIRECTION $ac_cv_c_stack_direction
8081 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8082 if test "x$ac_cv_type_pid_t" = x
""yes; then :
8086 cat >>confdefs.h
<<_ACEOF
8092 for ac_header
in vfork.h
8094 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
8096 cat >>confdefs.h
<<_ACEOF
8097 #define HAVE_VFORK_H 1
8104 for ac_func
in fork vfork
8106 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8107 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
8108 eval as_val
=\$
$as_ac_var
8109 if test "x$as_val" = x
""yes; then :
8110 cat >>confdefs.h
<<_ACEOF
8111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8117 if test "x$ac_cv_func_fork" = xyes
; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
8119 $as_echo_n "checking for working fork... " >&6; }
8120 if test "${ac_cv_func_fork_works+set}" = set; then :
8121 $as_echo_n "(cached) " >&6
8123 if test "$cross_compiling" = yes; then :
8124 ac_cv_func_fork_works
=cross
8126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8128 $ac_includes_default
8133 /* By Ruediger Kuhlmann. */
8140 if ac_fn_c_try_run
"$LINENO"; then :
8141 ac_cv_func_fork_works
=yes
8143 ac_cv_func_fork_works
=no
8145 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8146 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
8151 $as_echo "$ac_cv_func_fork_works" >&6; }
8154 ac_cv_func_fork_works
=$ac_cv_func_fork
8156 if test "x$ac_cv_func_fork_works" = xcross
; then
8158 *-*-amigaos* |
*-*-msdosdjgpp*)
8159 # Override, as these systems have only a dummy fork() stub
8160 ac_cv_func_fork_works
=no
8163 ac_cv_func_fork_works
=yes
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
8167 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
8169 ac_cv_func_vfork_works
=$ac_cv_func_vfork
8170 if test "x$ac_cv_func_vfork" = xyes
; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
8172 $as_echo_n "checking for working vfork... " >&6; }
8173 if test "${ac_cv_func_vfork_works+set}" = set; then :
8174 $as_echo_n "(cached) " >&6
8176 if test "$cross_compiling" = yes; then :
8177 ac_cv_func_vfork_works
=cross
8179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8180 /* end confdefs.h. */
8181 /* Thanks to Paul Eggert for this test. */
8182 $ac_includes_default
8183 #include <sys/wait.h>
8187 /* On some sparc systems, changes by the child to local and incoming
8188 argument registers are propagated back to the parent. The compiler
8189 is told about this with #include <vfork.h>, but some compilers
8190 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
8191 static variable whose address is put into a register that is
8192 clobbered by the vfork. */
8195 sparc_address_test (int arg)
8197 sparc_address_test (arg) int arg;
8218 pid_t parent = getpid ();
8221 sparc_address_test (0);
8226 /* Here is another test for sparc vfork register problems. This
8227 test uses lots of local variables, at least as many local
8228 variables as main has allocated so far including compiler
8229 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
8230 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
8231 reuse the register of parent for one of the local variables,
8232 since it will think that parent can't possibly be used any more
8233 in this routine. Assigning to the local variable will thus
8234 munge parent in the parent process. */
8236 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
8237 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
8238 /* Convince the compiler that p..p7 are live; otherwise, it might
8239 use the same hardware register for all 8 local variables. */
8240 if (p != p1 || p != p2 || p != p3 || p != p4
8241 || p != p5 || p != p6 || p != p7)
8244 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
8245 from child file descriptors. If the child closes a descriptor
8246 before it execs or exits, this munges the parent's descriptor
8247 as well. Test for this by closing stdout in the child. */
8248 _exit(close(fileno(stdout)) != 0);
8253 while (wait(&status) != child)
8256 /* Was there some problem with vforking? */
8259 /* Did the child fail? (This shouldn't happen.) */
8262 /* Did the vfork/compiler bug occur? */
8263 || parent != getpid()
8265 /* Did the file descriptor bug occur? */
8266 || fstat(fileno(stdout), &st) != 0
8271 if ac_fn_c_try_run
"$LINENO"; then :
8272 ac_cv_func_vfork_works
=yes
8274 ac_cv_func_vfork_works
=no
8276 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8277 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
8282 $as_echo "$ac_cv_func_vfork_works" >&6; }
8285 if test "x$ac_cv_func_fork_works" = xcross
; then
8286 ac_cv_func_vfork_works
=$ac_cv_func_vfork
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
8288 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
8291 if test "x$ac_cv_func_vfork_works" = xyes
; then
8293 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
8297 $as_echo "#define vfork fork" >>confdefs.h
8300 if test "x$ac_cv_func_fork_works" = xyes
; then
8302 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
8306 for ac_header
in stdlib.h
8308 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
8310 cat >>confdefs.h
<<_ACEOF
8311 #define HAVE_STDLIB_H 1
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
8319 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
8320 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
8321 $as_echo_n "(cached) " >&6
8323 if test "$cross_compiling" = yes; then :
8324 ac_cv_func_malloc_0_nonnull
=no
8326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8328 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
8329 # include <stdlib.h>
8337 return ! malloc (0);
8342 if ac_fn_c_try_run
"$LINENO"; then :
8343 ac_cv_func_malloc_0_nonnull
=yes
8345 ac_cv_func_malloc_0_nonnull
=no
8347 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8348 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
8353 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
8354 if test $ac_cv_func_malloc_0_nonnull = yes; then :
8356 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
8359 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
8361 case " $LIBOBJS " in
8362 *" malloc.$ac_objext "* ) ;;
8363 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
8368 $as_echo "#define malloc rpl_malloc" >>confdefs.h
8373 for ac_header
in stdlib.h
8375 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
8376 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
8377 cat >>confdefs.h
<<_ACEOF
8378 #define HAVE_STDLIB_H 1
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
8386 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
8387 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
8388 $as_echo_n "(cached) " >&6
8390 if test "$cross_compiling" = yes; then :
8391 ac_cv_func_realloc_0_nonnull
=no
8393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
8396 # include <stdlib.h>
8404 return ! realloc (0, 0);
8409 if ac_fn_c_try_run
"$LINENO"; then :
8410 ac_cv_func_realloc_0_nonnull
=yes
8412 ac_cv_func_realloc_0_nonnull
=no
8414 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8415 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
8420 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
8421 if test $ac_cv_func_realloc_0_nonnull = yes; then :
8423 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
8426 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
8428 case " $LIBOBJS " in
8429 *" realloc.$ac_objext "* ) ;;
8430 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
8435 $as_echo "#define realloc rpl_realloc" >>confdefs.h
8440 for ac_func
in dup2 isascii memset pow regcomp setlocale strchr strtol
8442 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8443 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
8444 eval as_val
=\$
$as_ac_var
8445 if test "x$as_val" = x
""yes; then :
8446 cat >>confdefs.h
<<_ACEOF
8447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8454 ac_config_files
="$ac_config_files Makefile doc/Makefile examples/Makefile examples/fastwc/Makefile examples/manual/Makefile lib/Makefile po/Makefile.in tools/Makefile tests/Makefile tests/TEMPLATE/Makefile tests/test-array-nr/Makefile tests/test-array-r/Makefile tests/test-basic-nr/Makefile tests/test-basic-r/Makefile tests/test-bison-yylloc/Makefile tests/test-bison-yylval/Makefile tests/test-c-cpp-nr/Makefile tests/test-c-cpp-r/Makefile tests/test-header-nr/Makefile tests/test-header-r/Makefile tests/test-include-by-buffer/Makefile tests/test-include-by-push/Makefile tests/test-include-by-reentrant/Makefile tests/test-multiple-scanners-nr/Makefile tests/test-multiple-scanners-r/Makefile tests/test-noansi-nr/Makefile tests/test-noansi-r/Makefile tests/test-prefix-nr/Makefile tests/test-prefix-r/Makefile tests/test-pthread/Makefile tests/test-string-nr/Makefile tests/test-string-r/Makefile tests/test-yyextra/Makefile tests/test-alloc-extra/Makefile tests/test-lineno-nr/Makefile tests/test-lineno-r/Makefile tests/test-linedir-r/Makefile tests/test-debug-r/Makefile tests/test-debug-nr/Makefile tests/test-mem-nr/Makefile tests/test-mem-r/Makefile tests/test-posix/Makefile tests/test-posixly-correct/Makefile tests/test-table-opts/Makefile tests/test-c++-basic/Makefile tests/test-bison-nr/Makefile tests/test-reject/Makefile tests/test-c++-multiple-scanners/Makefile tests/test-top/Makefile tests/test-rescan-nr/Makefile tests/test-rescan-r/Makefile tests/test-quotes/Makefile tests/test-ccl/Makefile tests/test-extended/Makefile tests/test-c++-yywrap/Makefile tests/test-concatenated-options/Makefile"
8457 cat >confcache
<<\_ACEOF
8458 # This file is a shell script that caches the results of configure
8459 # tests run on this system so they can be shared between configure
8460 # scripts and configure runs, see configure's option --config-cache.
8461 # It is not useful on other systems. If it contains results you don't
8462 # want to keep, you may remove or edit it.
8464 # config.status only pays attention to the cache file if you give it
8465 # the --recheck option to rerun configure.
8467 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8468 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8473 # The following way of writing the cache mishandles newlines in values,
8474 # but we know of no workaround that is simple, portable, and efficient.
8475 # So, we kill variables containing newlines.
8476 # Ultrix sh set writes to stderr and can't be redirected directly,
8477 # and sets the high bit in the cache file unless we assign to the vars.
8479 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8480 eval ac_val
=\$
$ac_var
8484 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8488 _ | IFS | as_nl
) ;; #(
8489 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
8490 *) { eval $ac_var=; unset $ac_var;} ;;
8496 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8497 *${as_nl}ac_space
=\
*)
8498 # `set' does not quote correctly, so add quotes: double-quote
8499 # substitution turns \\\\ into \\, and sed turns \\ into \.
8502 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8505 # `set' quotes correctly as required by POSIX, so do not add quotes.
8506 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8515 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8517 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8519 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8520 if test -w "$cache_file"; then
8521 test "x$cache_file" != "x/dev/null" &&
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8523 $as_echo "$as_me: updating cache $cache_file" >&6;}
8524 cat confcache
>$cache_file
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8527 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8532 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8533 # Let make expand exec_prefix.
8534 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8536 DEFS
=-DHAVE_CONFIG_H
8540 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8541 # 1. Remove the extension, and $U if already installed.
8542 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8543 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
8544 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8545 # will be set to the directory where LIBOBJS objects are built.
8546 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8547 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
8551 LTLIBOBJS
=$ac_ltlibobjs
8554 if test -n "$EXEEXT"; then
8556 am__EXEEXT_FALSE
='#'
8562 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8563 as_fn_error
"conditional \"AMDEP\" was never defined.
8564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8566 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8567 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8570 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8571 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8574 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8575 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
8576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8579 : ${CONFIG_STATUS=./config.status}
8581 ac_clean_files_save
=$ac_clean_files
8582 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8584 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8586 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8588 # Generated by $as_me.
8589 # Run this file to recreate the current configuration.
8590 # Compiler output produced by configure, useful for debugging
8591 # configure, is in config.log if it exists.
8597 SHELL=\${CONFIG_SHELL-$SHELL}
8600 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8601 ## -------------------- ##
8602 ## M4sh Initialization. ##
8603 ## -------------------- ##
8605 # Be more Bourne compatible
8606 DUALCASE
=1; export DUALCASE
# for MKS sh
8607 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8610 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8611 # is contrary to our usage. Disable this feature.
8612 alias -g '${1+"$@"}'='"$@"'
8613 setopt NO_GLOB_SUBST
8615 case `(set -o) 2>/dev/null` in #(
8627 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8628 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8631 # Prefer a ksh shell builtin over an external printf program on Solaris,
8632 # but without wasting forks for bash or zsh.
8633 if test -z "$BASH_VERSION$ZSH_VERSION" \
8634 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8635 as_echo='print
-r --'
8636 as_echo_n='print
-rn --'
8637 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8638 as_echo='printf %s
\n'
8639 as_echo_n='printf %s
'
8641 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8642 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8643 as_echo_n='/usr
/ucb
/echo -n'
8645 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8646 as_echo_n_body='eval
8650 expr "X$arg" : "X\\(.*\\)$as_nl";
8651 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8653 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8655 export as_echo_n_body
8656 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8659 as_echo='sh
-c $as_echo_body as_echo
'
8662 # The user is always right.
8663 if test "${PATH_SEPARATOR+set}" != set; then
8665 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8666 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8673 # We need space, tab and new line, in precisely that order. Quoting is
8674 # there to prevent editors from complaining about space-tab.
8675 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8676 # splitting by setting IFS to empty value.)
8679 # Find who we are. Look in the path if we contain no directory separator.
8681 *[\\/]* ) as_myself=$0 ;;
8682 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8686 test -z "$as_dir" && as_dir=.
8687 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8693 # We did not find ourselves, most probably we were run as `sh COMMAND'
8694 # in which case we are not to be found in the path.
8695 if test "x$as_myself" = x
; then
8698 if test ! -f "$as_myself"; then
8699 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8703 # Unset variables that we do not need and which cause bugs (e.g. in
8704 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8705 # suppresses any "Segmentation fault" message there. '((' could
8706 # trigger a bug in pdksh 5.2.14.
8707 for as_var
in BASH_ENV ENV MAIL MAILPATH
8708 do eval test x\
${$as_var+set} = xset \
8709 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8722 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8725 # as_fn_error ERROR [LINENO LOG_FD]
8726 # ---------------------------------
8727 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8728 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8729 # script with status $?, using 1 if that was 0.
8732 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8734 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8735 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8737 $as_echo "$as_me: error: $1" >&2
8738 as_fn_exit
$as_status
8742 # as_fn_set_status STATUS
8743 # -----------------------
8744 # Set $? to STATUS, without forking.
8748 } # as_fn_set_status
8752 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8762 # Portably unset VAR.
8765 { eval $1=; unset $1;}
8767 as_unset
=as_fn_unset
8768 # as_fn_append VAR VALUE
8769 # ----------------------
8770 # Append the text in VALUE to the end of the definition contained in VAR. Take
8771 # advantage of any shell optimizations that allow amortized linear growth over
8772 # repeated appends, instead of the typical quadratic growth present in naive
8774 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8775 eval 'as_fn_append ()
8786 # as_fn_arith ARG...
8787 # ------------------
8788 # Perform arithmetic evaluation on the ARGs, and store the result in the
8789 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8790 # must be portable across $(()) and expr.
8791 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8792 eval 'as_fn_arith ()
8799 as_val
=`expr "$@" || test $? -eq 1`
8804 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8805 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8811 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8812 as_basename
=basename
8817 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8823 as_me
=`$as_basename -- "$0" ||
8824 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8825 X"$0" : 'X\(//\)$' \| \
8826 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8828 sed '/^.*\/\([^/][^/]*\)\/*$/{
8842 # Avoid depending upon Character Ranges.
8843 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8844 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8845 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8846 as_cr_digits
='0123456789'
8847 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8849 ECHO_C
= ECHO_N
= ECHO_T
=
8850 case `echo -n x` in #(((((
8852 case `echo 'xy\c'` in
8853 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8855 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8862 rm -f conf$$ conf$$.exe conf$$.
file
8863 if test -d conf$$.dir
; then
8864 rm -f conf$$.dir
/conf$$.
file
8867 mkdir conf$$.dir
2>/dev
/null
8869 if (echo >conf$$.
file) 2>/dev
/null
; then
8870 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8872 # ... but there are two gotchas:
8873 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8874 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8875 # In both cases, we have to default to `cp -p'.
8876 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8878 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8886 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8887 rmdir conf$$.dir
2>/dev
/null
8892 # Create "$as_dir" as a directory, including parents if necessary.
8897 -*) as_dir
=.
/$as_dir;;
8899 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8903 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8904 *) as_qdir
=$as_dir;;
8906 as_dirs
="'$as_qdir' $as_dirs"
8907 as_dir
=`$as_dirname -- "$as_dir" ||
8908 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8909 X"$as_dir" : 'X\(//\)[^/]' \| \
8910 X"$as_dir" : 'X\(//\)$' \| \
8911 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8912 $as_echo X"$as_dir" |
8913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8930 test -d "$as_dir" && break
8932 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8933 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8937 if mkdir
-p .
2>/dev
/null
; then
8938 as_mkdir_p
='mkdir -p "$as_dir"'
8940 test -d .
/-p && rmdir .
/-p
8944 if test -x / >/dev
/null
2>&1; then
8947 if ls -dL / >/dev
/null
2>&1; then
8954 if test -d "$1"; then
8960 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8961 ???[sx]*):;;*)false;;esac;fi
8965 as_executable_p
=$as_test_x
8967 # Sed expression to map a string onto a valid CPP name.
8968 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8970 # Sed expression to map a string onto a valid variable name.
8971 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8975 ## ----------------------------------- ##
8976 ## Main body of $CONFIG_STATUS script. ##
8977 ## ----------------------------------- ##
8979 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8982 # Save the log message, to keep $0 and so on meaningful, and to
8983 # report actual input values of CONFIG_FILES etc. instead of their
8984 # values after options handling.
8986 This file was extended by the fast lexical analyser generator $as_me 2.5.37, which was
8987 generated by GNU Autoconf 2.65. Invocation command line was
8989 CONFIG_FILES = $CONFIG_FILES
8990 CONFIG_HEADERS = $CONFIG_HEADERS
8991 CONFIG_LINKS = $CONFIG_LINKS
8992 CONFIG_COMMANDS = $CONFIG_COMMANDS
8995 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9000 case $ac_config_files in *"
9001 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9004 case $ac_config_headers in *"
9005 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9010 # Files that config.status was made for.
9011 config_files="$ac_config_files"
9012 config_headers="$ac_config_headers"
9013 config_commands="$ac_config_commands"
9017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9019 \`$as_me' instantiates files and other configuration actions
9020 from templates according to the current configuration. Unless the files
9021 and actions are specified as TAGs, all are instantiated by default.
9023 Usage: $0 [OPTION]... [TAG]...
9025 -h, --help print this help, then exit
9026 -V, --version print version number and configuration settings, then exit
9027 --config print configuration, then exit
9028 -q, --quiet, --silent
9029 do not print progress messages
9030 -d, --debug don't remove temporary files
9031 --recheck update $as_me by reconfiguring in the same conditions
9032 --file=FILE[:TEMPLATE]
9033 instantiate the configuration file FILE
9034 --header=FILE[:TEMPLATE]
9035 instantiate the configuration header FILE
9037 Configuration files:
9040 Configuration headers:
9043 Configuration commands:
9046 Report bugs to <flex-help@lists.sourceforge.net>."
9049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9050 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9052 the fast lexical analyser generator config.status 2.5.37
9053 configured by $0, generated by GNU Autoconf 2.65,
9054 with options \\"\$ac_cs_config\\"
9056 Copyright (C) 2009 Free Software Foundation, Inc.
9057 This config.status script is free software; the Free Software Foundation
9058 gives unlimited permission to copy, distribute and modify it."
9065 test -n "\$AWK" || AWK=awk
9068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9069 # The default lists apply if the user does not specify any file.
9075 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9076 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9087 # Handling of the options.
9088 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9090 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9091 $as_echo "$ac_cs_version"; exit ;;
9092 --config |
--confi |
--conf |
--con |
--co |
--c )
9093 $as_echo "$ac_cs_config"; exit ;;
9094 --debug |
--debu |
--deb |
--de |
--d |
-d )
9096 --file |
--fil |
--fi |
--f )
9099 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9101 as_fn_append CONFIG_FILES
" '$ac_optarg'"
9102 ac_need_defaults
=false
;;
9103 --header |
--heade |
--head |
--hea )
9106 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9108 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
9109 ac_need_defaults
=false
;;
9111 # Conflict between --help and --header
9112 as_fn_error
"ambiguous option: \`$1'
9113 Try \`$0 --help' for more information.";;
9114 --help |
--hel |
-h )
9115 $as_echo "$ac_cs_usage"; exit ;;
9116 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9117 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9121 -*) as_fn_error
"unrecognized option: \`$1'
9122 Try \`$0 --help' for more information." ;;
9124 *) as_fn_append ac_config_targets
" $1"
9125 ac_need_defaults
=false
;;
9131 ac_configure_extra_args
=
9133 if $ac_cs_silent; then
9135 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9140 if \$ac_cs_recheck; then
9141 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9143 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9144 CONFIG_SHELL='$SHELL'
9150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9154 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9155 ## Running $as_me. ##
9161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9165 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9166 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
9168 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9169 # Capture the value of LINGUAS because we need it to compute CATALOGS.
9170 LINGUAS="${LINGUAS-%UNSET%}"
9172 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9178 # Handling of arguments.
9179 for ac_config_target
in $ac_config_targets
9181 case $ac_config_target in
9182 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:conf.in" ;;
9183 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
9184 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9185 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9186 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
9187 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
9188 "examples/fastwc/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/fastwc/Makefile" ;;
9189 "examples/manual/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/manual/Makefile" ;;
9190 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
9191 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
9192 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
9193 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
9194 "tests/TEMPLATE/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/TEMPLATE/Makefile" ;;
9195 "tests/test-array-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-array-nr/Makefile" ;;
9196 "tests/test-array-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-array-r/Makefile" ;;
9197 "tests/test-basic-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-basic-nr/Makefile" ;;
9198 "tests/test-basic-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-basic-r/Makefile" ;;
9199 "tests/test-bison-yylloc/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-bison-yylloc/Makefile" ;;
9200 "tests/test-bison-yylval/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-bison-yylval/Makefile" ;;
9201 "tests/test-c-cpp-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c-cpp-nr/Makefile" ;;
9202 "tests/test-c-cpp-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c-cpp-r/Makefile" ;;
9203 "tests/test-header-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-header-nr/Makefile" ;;
9204 "tests/test-header-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-header-r/Makefile" ;;
9205 "tests/test-include-by-buffer/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-include-by-buffer/Makefile" ;;
9206 "tests/test-include-by-push/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-include-by-push/Makefile" ;;
9207 "tests/test-include-by-reentrant/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-include-by-reentrant/Makefile" ;;
9208 "tests/test-multiple-scanners-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-multiple-scanners-nr/Makefile" ;;
9209 "tests/test-multiple-scanners-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-multiple-scanners-r/Makefile" ;;
9210 "tests/test-noansi-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-noansi-nr/Makefile" ;;
9211 "tests/test-noansi-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-noansi-r/Makefile" ;;
9212 "tests/test-prefix-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-prefix-nr/Makefile" ;;
9213 "tests/test-prefix-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-prefix-r/Makefile" ;;
9214 "tests/test-pthread/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-pthread/Makefile" ;;
9215 "tests/test-string-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-string-nr/Makefile" ;;
9216 "tests/test-string-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-string-r/Makefile" ;;
9217 "tests/test-yyextra/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-yyextra/Makefile" ;;
9218 "tests/test-alloc-extra/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-alloc-extra/Makefile" ;;
9219 "tests/test-lineno-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-lineno-nr/Makefile" ;;
9220 "tests/test-lineno-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-lineno-r/Makefile" ;;
9221 "tests/test-linedir-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-linedir-r/Makefile" ;;
9222 "tests/test-debug-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-debug-r/Makefile" ;;
9223 "tests/test-debug-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-debug-nr/Makefile" ;;
9224 "tests/test-mem-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-mem-nr/Makefile" ;;
9225 "tests/test-mem-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-mem-r/Makefile" ;;
9226 "tests/test-posix/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-posix/Makefile" ;;
9227 "tests/test-posixly-correct/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-posixly-correct/Makefile" ;;
9228 "tests/test-table-opts/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-table-opts/Makefile" ;;
9229 "tests/test-c++-basic/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c++-basic/Makefile" ;;
9230 "tests/test-bison-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-bison-nr/Makefile" ;;
9231 "tests/test-reject/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-reject/Makefile" ;;
9232 "tests/test-c++-multiple-scanners/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c++-multiple-scanners/Makefile" ;;
9233 "tests/test-top/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-top/Makefile" ;;
9234 "tests/test-rescan-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-rescan-nr/Makefile" ;;
9235 "tests/test-rescan-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-rescan-r/Makefile" ;;
9236 "tests/test-quotes/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-quotes/Makefile" ;;
9237 "tests/test-ccl/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-ccl/Makefile" ;;
9238 "tests/test-extended/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-extended/Makefile" ;;
9239 "tests/test-c++-yywrap/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c++-yywrap/Makefile" ;;
9240 "tests/test-concatenated-options/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-concatenated-options/Makefile" ;;
9242 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9247 # If the user did not use the arguments to specify the items to instantiate,
9248 # then the envvar interface is used. Set only those that are not.
9249 # We use the long form for the default assignment because of an extremely
9250 # bizarre bug on SunOS 4.1.3.
9251 if $ac_need_defaults; then
9252 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9253 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9254 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9257 # Have a temporary directory for convenience. Make it in the build tree
9258 # simply because there is no reason against having it here, and in addition,
9259 # creating and moving files from /tmp can sometimes cause problems.
9260 # Hook for its removal unless debugging.
9261 # Note that there is a small window in which the directory will not be cleaned:
9262 # after its creation but before its name has been assigned to `$tmp'.
9266 trap 'exit_status=$?
9267 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9269 trap 'as_fn_exit 1' 1 2 13 15
9271 # Create a (secure) tmp directory for tmp files.
9274 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9275 test -n "$tmp" && test -d "$tmp"
9278 tmp
=.
/conf$$
-$RANDOM
9279 (umask 077 && mkdir
"$tmp")
9280 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
9282 # Set up the scripts for CONFIG_FILES section.
9283 # No need to generate them if there are no CONFIG_FILES.
9284 # This happens for instance with `./config.status config.h'.
9285 if test -n "$CONFIG_FILES"; then
9288 ac_cr
=`echo X | tr X '\015'`
9289 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9290 # But we know of no other shell where ac_cr would be empty at this
9291 # point, so we can use a bashism as a fallback.
9292 if test "x$ac_cr" = x
; then
9293 eval ac_cr
=\$
\'\\r
\'
9295 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9296 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9302 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9307 echo "cat >conf$$subs.awk <<_ACEOF" &&
9308 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9311 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9312 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9314 for ac_last_try in false false false false false :; do
9315 . ./conf$$subs.sh ||
9316 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9318 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
9319 if test $ac_delim_n = $ac_delim_num; then
9321 elif $ac_last_try; then
9322 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
9324 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9330 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
9334 s/^/S["/; s
/!.
*/"]=/
9344 s/\(.\{148\}\)..*/\1/
9346 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
9351 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9358 s/\(.\{148\}\)..*/\1/
9360 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
9364 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
9369 ' <conf$$subs.awk | sed '
9374 ' >>$CONFIG_STATUS || ac_write_fail=1
9375 rm -f conf$$subs.awk
9376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9378 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
9379 for (key in S) S_is_set[key] = 1
9385 nfields = split(line, field, "@
")
9387 len = length(field[1])
9388 for (i = 2; i < nfields; i++) {
9390 keylen = length(key)
9391 if (S_is_set[key]) {
9393 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9394 len += length(value) + length(field[++i])
9405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9406 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9407 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
9410 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
9411 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
9414 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9415 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
9416 # trailing colons and then remove the whole line if VPATH becomes empty
9417 # (actually we leave an empty line to preserve line numbers).
9418 if test "x
$srcdir" = x.; then
9419 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9423 s/^\([^=]*=[ ]*\):*/\1/
9429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9430 fi # test -n "$CONFIG_FILES"
9432 # Set up the scripts for CONFIG_HEADERS section.
9433 # No need to generate them if there are no CONFIG_HEADERS.
9434 # This happens for instance with `./config.status Makefile'.
9435 if test -n "$CONFIG_HEADERS"; then
9436 cat >"$tmp/defines.
awk" <<\_ACAWK ||
9440 # Transform confdefs.h into an awk script `defines.awk', embedded as
9441 # here-document in config.status, that substitutes the proper values into
9442 # config.h.in to produce config.h.
9444 # Create a delimiter string that does not exist in confdefs.h, to ease
9445 # handling of long lines.
9447 for ac_last_try in false false :; do
9448 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
9449 if test -z "$ac_t"; then
9451 elif $ac_last_try; then
9452 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
9454 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
9458 # For the awk script, D is an array of macro values keyed by name,
9459 # likewise P contains macro parameters if any. Preserve backslash
9460 # newline sequences.
9462 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9464 s/.\{148\}/&'"$ac_delim"'/g
9467 s/^[ ]*#[ ]*define[ ][ ]*/ /
9474 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
9476 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
9480 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
9481 D["\
1"]=" \
3\\\\\\n
"\\/p
9483 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
9488 s/.\{148\}/&'"$ac_delim"'/g
9493 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
9496 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
9498 ' <confdefs.h | sed '
9499 s/'"$ac_delim"'/"\\\
9500 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9503 for (key in D) D_is_set[key] = 1
9506 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9508 split(line, arg, " ")
9509 if (arg[1] == "#") {
9513 defundef
= substr
(arg
[1], 2)
9516 split(mac1
, mac2
, "(") #)
9518 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
9519 if (D_is_set
[macro
]) {
9520 # Preserve the white space surrounding the "#".
9521 print prefix
"define", macro P
[macro
] D
[macro
]
9524 # Replace #undef with comments. This is necessary, for example,
9525 # in the case of _POSIX_SOURCE, which is predefined and required
9526 # on some systems where configure will not decide to define it.
9527 if (defundef
== "undef") {
9528 print
"/*", prefix defundef
, macro
, "*/"
9536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9537 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
9538 fi # test -n "$CONFIG_HEADERS"
9541 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9546 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9548 case $ac_mode$ac_tag in
9550 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
9551 :[FH
]-) ac_tag
=-:-;;
9552 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9569 -) ac_f
="$tmp/stdin";;
9570 *) # Look for the file first in the build tree, then in the source tree
9571 # (if the path is not absolute). The absolute path cannot be DOS-style,
9572 # because $ac_f cannot contain `:'.
9576 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9578 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
9580 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9581 as_fn_append ac_file_inputs
" '$ac_f'"
9584 # Let's still pretend it is `configure' which instantiates (i.e., don't
9585 # use $as_me), people would be surprised to read:
9586 # /* config.h. Generated by config.status. */
9587 configure_input
='Generated from '`
9588 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9590 if test x
"$ac_file" != x-
; then
9591 configure_input
="$ac_file. $configure_input"
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9593 $as_echo "$as_me: creating $ac_file" >&6;}
9595 # Neutralize special characters interpreted by sed in replacement strings.
9596 case $configure_input in #(
9597 *\
&* |
*\|
* |
*\\* )
9598 ac_sed_conf_input
=`$as_echo "$configure_input" |
9599 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9600 *) ac_sed_conf_input
=$configure_input;;
9604 *:-:* |
*:-) cat >"$tmp/stdin" \
9605 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
9610 ac_dir
=`$as_dirname -- "$ac_file" ||
9611 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9612 X"$ac_file" : 'X\(//\)[^/]' \| \
9613 X"$ac_file" : 'X\(//\)$' \| \
9614 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9615 $as_echo X"$ac_file" |
9616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9633 as_dir
="$ac_dir"; as_fn_mkdir_p
9637 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9639 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9640 # A ".." for each directory in $ac_dir_suffix.
9641 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9642 case $ac_top_builddir_sub in
9643 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9644 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9647 ac_abs_top_builddir
=$ac_pwd
9648 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9649 # for backward compatibility:
9650 ac_top_builddir
=$ac_top_build_prefix
9653 .
) # We are building in place.
9655 ac_top_srcdir
=$ac_top_builddir_sub
9656 ac_abs_top_srcdir
=$ac_pwd ;;
9657 [\\/]* | ?
:[\\/]* ) # Absolute name.
9658 ac_srcdir
=$srcdir$ac_dir_suffix;
9659 ac_top_srcdir
=$srcdir
9660 ac_abs_top_srcdir
=$srcdir ;;
9662 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9663 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9664 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9666 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9676 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9677 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9681 [\\/$
]* | ?
:[\\/]* ) ;;
9682 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9687 # If the template does not know about datarootdir, expand it.
9688 # FIXME: This hack should be removed a few years after 2.60.
9689 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9700 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9701 *datarootdir
*) ac_datarootdir_seen
=yes;;
9702 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9704 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9707 ac_datarootdir_hack='
9708 s&@datadir@&$datadir&g
9709 s&@docdir@&$docdir&g
9710 s&@infodir@&$infodir&g
9711 s&@localedir@&$localedir&g
9712 s&@mandir@&$mandir&g
9713 s&\\\${datarootdir}&$datarootdir&g' ;;
9717 # Neutralize VPATH when `$srcdir' = `.'.
9718 # Shell code in configure.ac might set extrasub.
9719 # FIXME: do we really want to maintain this feature?
9720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9721 ac_sed_extra="$ac_vpsub
9724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9726 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9727 s|@configure_input@|
$ac_sed_conf_input|
;t t
9728 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9729 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9730 s
&@srcdir@
&$ac_srcdir&;t t
9731 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9732 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9733 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9734 s
&@builddir@
&$ac_builddir&;t t
9735 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9736 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9737 s
&@INSTALL@
&$ac_INSTALL&;t t
9738 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9739 $ac_datarootdir_hack
9741 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9742 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9744 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9745 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9746 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9748 which seems to be undefined. Please make sure it is defined." >&5
9749 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9750 which seems to be undefined. Please make sure it is defined." >&2;}
9754 -) cat "$tmp/out" && rm -f "$tmp/out";;
9755 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9757 || as_fn_error "could not create $ac_file" "$LINENO" 5
9763 if test x"$ac_file" != x-; then
9765 $as_echo "/* $configure_input */" \
9766 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9767 } >"$tmp/config.h" \
9768 || as_fn_error "could not create $ac_file" "$LINENO" 5
9769 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9771 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9774 mv "$tmp/config.h" "$ac_file" \
9775 || as_fn_error "could not create $ac_file" "$LINENO" 5
9778 $as_echo "/* $configure_input */" \
9779 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9780 || as_fn_error "could not create -" "$LINENO" 5
9782 # Compute "$ac_file"'s index
in $config_headers.
9785 for _am_header
in $config_headers :; do
9787 $_am_arg |
$_am_arg:* )
9790 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9793 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9794 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9795 X"$_am_arg" : 'X\(//\)[^/]' \| \
9796 X"$_am_arg" : 'X\(//\)$' \| \
9797 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9798 $as_echo X"$_am_arg" |
9799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9815 s/.*/./; q'`/stamp-h
$_am_stamp_count
9818 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9819 $as_echo "$as_me: executing $ac_file commands" >&6;}
9824 case $ac_file$ac_mode in
9826 for ac_file
in $CONFIG_FILES; do
9827 # Support "outfile[:infile[:infile...]]"
9829 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9831 # PO directories have a Makefile.in generated from Makefile.in.in.
9832 case "$ac_file" in */Makefile.
in)
9833 # Adjust a relative srcdir.
9834 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9835 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
9836 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9837 # In autoconf-2.13 it is called $ac_given_srcdir.
9838 # In autoconf-2.50 it is called $srcdir.
9839 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9840 case "$ac_given_srcdir" in
9841 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9842 /*) top_srcdir
="$ac_given_srcdir" ;;
9843 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9845 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9846 rm -f "$ac_dir/POTFILES"
9847 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9848 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9849 POMAKEFILEDEPS
="POTFILES.in"
9850 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9851 # on $ac_dir but don't depend on user-specified configuration
9853 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9854 # The LINGUAS file contains the set of available languages.
9855 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9856 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
9858 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9859 # Hide the ALL_LINGUAS assigment from automake.
9860 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9861 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
9863 # The set of available languages was given in configure.in.
9864 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9866 case "$ac_given_srcdir" in
9868 *) srcdirpre
='$(srcdir)/' ;;
9874 for lang
in $ALL_LINGUAS; do
9875 POFILES
="$POFILES $srcdirpre$lang.po"
9876 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
9877 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
9878 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
9880 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9881 # environment variable.
9883 if test -n "$ALL_LINGUAS"; then
9884 for presentlang
in $ALL_LINGUAS; do
9886 if test "%UNSET%" != "$LINGUAS"; then
9887 desiredlanguages
="$LINGUAS"
9889 desiredlanguages
="$ALL_LINGUAS"
9891 for desiredlang
in $desiredlanguages; do
9892 # Use the presentlang catalog if desiredlang is
9893 # a. equal to presentlang, or
9894 # b. a variant of presentlang (because in this case,
9895 # presentlang can be used as a fallback for messages
9896 # which are not translated in the desiredlang catalog).
9897 case "$desiredlang" in
9898 "$presentlang"*) useit
=yes;;
9901 if test $useit = yes; then
9902 INST_LINGUAS
="$INST_LINGUAS $presentlang"
9907 if test -n "$INST_LINGUAS"; then
9908 for lang
in $INST_LINGUAS; do
9909 CATALOGS
="$CATALOGS $lang.gmo"
9912 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
9913 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
9914 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
9915 if test -f "$f"; then
9917 *.orig |
*.bak |
*~
) ;;
9918 *) cat "$f" >> "$ac_dir/Makefile" ;;
9926 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9927 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9928 # are listed without --file. Let's play safe and only enable the eval
9929 # if we detect the quoting.
9930 case $CONFIG_FILES in
9931 *\'*) eval set x
"$CONFIG_FILES" ;;
9932 *) set x
$CONFIG_FILES ;;
9937 # Strip MF so we end up with the name of the file.
9938 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9939 # Check whether this is an Automake generated Makefile or not.
9940 # We used to match only the files named `Makefile.in', but
9941 # some people rename them; so instead we look at the file content.
9942 # Grep'ing the first line is not enough: some people post-process
9943 # each Makefile.in and add a new line on top of each file to say so.
9944 # Grep'ing the whole file is not good either: AIX grep has a line
9945 # limit of 2048, but all sed's we know have understand at least 4000.
9946 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9947 dirpart
=`$as_dirname -- "$mf" ||
9948 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9949 X"$mf" : 'X\(//\)[^/]' \| \
9950 X"$mf" : 'X\(//\)$' \| \
9951 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9973 # Extract the definition of DEPDIR, am__include, and am__quote
9974 # from the Makefile without running `make'.
9975 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9976 test -z "$DEPDIR" && continue
9977 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9978 test -z "am__include" && continue
9979 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9980 # When using ansi2knr, U may be empty or an underscore; expand it
9981 U
=`sed -n 's/^U = //p' < "$mf"`
9982 # Find all dependency output files, they are included files with
9983 # $(DEPDIR) in their names. We invoke sed twice because it is the
9984 # simplest approach to changing $(DEPDIR) to its actual value in the
9986 for file in `sed -n "
9987 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9988 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9989 # Make sure the directory exists.
9990 test -f "$dirpart/$file" && continue
9991 fdir
=`$as_dirname -- "$file" ||
9992 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9993 X"$file" : 'X\(//\)[^/]' \| \
9994 X"$file" : 'X\(//\)$' \| \
9995 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10001 /^X\(\/\/\)[^/].*/{
10014 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
10015 # echo "creating $dirpart/$file"
10016 echo '# dummy' > "$dirpart/$file"
10028 ac_clean_files
=$ac_clean_files_save
10030 test $ac_write_fail = 0 ||
10031 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
10034 # configure is writing to config.log, and then calls config.status.
10035 # config.status does its own redirection, appending to config.log.
10036 # Unfortunately, on DOS this fails, as config.log is still kept open
10037 # by configure, so config.status won't be able to write to it; its
10038 # output is simply discarded. So we exec the FD to /dev/null,
10039 # effectively closing config.log, so it can be properly (re)opened and
10040 # appended to by config.status. When coming back to configure, we
10041 # need to make the FD available again.
10042 if test "$no_create" != yes; then
10044 ac_config_status_args
=
10045 test "$silent" = yes &&
10046 ac_config_status_args
="$ac_config_status_args --quiet"
10048 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10050 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10051 # would make configure fail if this is the last instruction.
10052 $ac_cs_success || as_fn_exit $?
10054 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10056 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}