2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="Makefile.am"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
623 ac_subst_vars
='am__EXEEXT_FALSE
651 INTL_LIBTOOL_SUFFIX_PREFIX
658 BUILD_INCLUDED_LIBINTL
697 INSTALL_STRIP_PROGRAM
761 program_transform_name
774 enable_option_checking
775 enable_dependency_tracking
781 with_included_gettext
794 ac_precious_vars
='build_alias
805 # Initialize some variables set by options.
807 ac_init_version
=false
808 ac_unrecognized_opts
=
810 # The variables have the same names as the options, with
811 # dashes changed to underlines.
819 program_transform_name
=s
,x
,x
,
827 # Installation directory options.
828 # These are left unexpanded so users can "make install exec_prefix=/foo"
829 # and all the variables that are supposed to be based on exec_prefix
830 # by default will actually change.
831 # Use braces instead of parens because sh, perl, etc. also accept them.
832 # (The list follows the same order as the GNU Coding Standards.)
833 bindir
='${exec_prefix}/bin'
834 sbindir
='${exec_prefix}/sbin'
835 libexecdir
='${exec_prefix}/libexec'
836 datarootdir
='${prefix}/share'
837 datadir
='${datarootdir}'
838 sysconfdir
='${prefix}/etc'
839 sharedstatedir
='${prefix}/com'
840 localstatedir
='${prefix}/var'
841 includedir
='${prefix}/include'
842 oldincludedir
='/usr/include'
843 docdir
='${datarootdir}/doc/${PACKAGE}'
844 infodir
='${datarootdir}/info'
849 libdir
='${exec_prefix}/lib'
850 localedir
='${datarootdir}/locale'
851 mandir
='${datarootdir}/man'
857 # If the previous option needs an argument, assign it.
858 if test -n "$ac_prev"; then
859 eval $ac_prev=\
$ac_option
865 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
870 # Accept the important Cygnus configure options, so we can diagnose typos.
872 case $ac_dashdash$ac_option in
876 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
878 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
881 -build |
--build |
--buil |
--bui |
--bu)
882 ac_prev
=build_alias
;;
883 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
884 build_alias
=$ac_optarg ;;
886 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
887 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
888 ac_prev
=cache_file
;;
889 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
890 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
891 cache_file
=$ac_optarg ;;
894 cache_file
=config.cache
;;
896 -datadir |
--datadir |
--datadi |
--datad)
898 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
899 datadir
=$ac_optarg ;;
901 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
902 |
--dataroo |
--dataro |
--datar)
903 ac_prev
=datarootdir
;;
904 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
905 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
906 datarootdir
=$ac_optarg ;;
908 -disable-* |
--disable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error $?
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=no
;;
924 -docdir |
--docdir |
--docdi |
--doc |
--do)
926 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
929 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
931 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
934 -enable-* |
--enable-*)
935 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
938 as_fn_error $?
"invalid feature name: $ac_useropt"
939 ac_useropt_orig
=$ac_useropt
940 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
946 ac_unrecognized_sep
=', ';;
948 eval enable_
$ac_useropt=\
$ac_optarg ;;
950 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
951 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
952 |
--exec |
--exe |
--ex)
953 ac_prev
=exec_prefix
;;
954 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
955 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
956 |
--exec=* |
--exe=* |
--ex=*)
957 exec_prefix
=$ac_optarg ;;
959 -gas |
--gas |
--ga |
--g)
960 # Obsolete; use --with-gas.
963 -help |
--help |
--hel |
--he |
-h)
965 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
966 ac_init_help
=recursive
;;
967 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
968 ac_init_help
=short
;;
970 -host |
--host |
--hos |
--ho)
971 ac_prev
=host_alias
;;
972 -host=* |
--host=* |
--hos=* |
--ho=*)
973 host_alias
=$ac_optarg ;;
975 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
977 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
979 htmldir
=$ac_optarg ;;
981 -includedir |
--includedir |
--includedi |
--included |
--include \
982 |
--includ |
--inclu |
--incl |
--inc)
983 ac_prev
=includedir
;;
984 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
985 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
986 includedir
=$ac_optarg ;;
988 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
990 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
991 infodir
=$ac_optarg ;;
993 -libdir |
--libdir |
--libdi |
--libd)
995 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
998 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
999 |
--libexe |
--libex |
--libe)
1000 ac_prev
=libexecdir
;;
1001 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1002 |
--libexe=* |
--libex=* |
--libe=*)
1003 libexecdir
=$ac_optarg ;;
1005 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1006 ac_prev
=localedir
;;
1007 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1008 localedir
=$ac_optarg ;;
1010 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1011 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1012 ac_prev
=localstatedir
;;
1013 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1014 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1015 localstatedir
=$ac_optarg ;;
1017 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1019 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1020 mandir
=$ac_optarg ;;
1022 -nfp |
--nfp |
--nf)
1023 # Obsolete; use --without-fp.
1026 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1027 |
--no-cr |
--no-c |
-n)
1030 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1031 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1034 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1035 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1036 |
--oldin |
--oldi |
--old |
--ol |
--o)
1037 ac_prev
=oldincludedir
;;
1038 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1039 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1040 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1041 oldincludedir
=$ac_optarg ;;
1043 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1045 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1046 prefix
=$ac_optarg ;;
1048 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1049 |
--program-pre |
--program-pr |
--program-p)
1050 ac_prev
=program_prefix
;;
1051 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1052 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1053 program_prefix
=$ac_optarg ;;
1055 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1056 |
--program-suf |
--program-su |
--program-s)
1057 ac_prev
=program_suffix
;;
1058 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1059 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1060 program_suffix
=$ac_optarg ;;
1062 -program-transform-name |
--program-transform-name \
1063 |
--program-transform-nam |
--program-transform-na \
1064 |
--program-transform-n |
--program-transform- \
1065 |
--program-transform |
--program-transfor \
1066 |
--program-transfo |
--program-transf \
1067 |
--program-trans |
--program-tran \
1068 |
--progr-tra |
--program-tr |
--program-t)
1069 ac_prev
=program_transform_name
;;
1070 -program-transform-name=* |
--program-transform-name=* \
1071 |
--program-transform-nam=* |
--program-transform-na=* \
1072 |
--program-transform-n=* |
--program-transform-=* \
1073 |
--program-transform=* |
--program-transfor=* \
1074 |
--program-transfo=* |
--program-transf=* \
1075 |
--program-trans=* |
--program-tran=* \
1076 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1077 program_transform_name
=$ac_optarg ;;
1079 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1081 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1082 pdfdir
=$ac_optarg ;;
1084 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1086 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1089 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1090 |
-silent |
--silent |
--silen |
--sile |
--sil)
1093 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1095 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1097 sbindir
=$ac_optarg ;;
1099 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1100 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1101 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1103 ac_prev
=sharedstatedir
;;
1104 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1105 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1106 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1108 sharedstatedir
=$ac_optarg ;;
1110 -site |
--site |
--sit)
1112 -site=* |
--site=* |
--sit=*)
1115 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1117 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1118 srcdir
=$ac_optarg ;;
1120 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1121 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1122 ac_prev
=sysconfdir
;;
1123 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1124 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1125 sysconfdir
=$ac_optarg ;;
1127 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1128 ac_prev
=target_alias
;;
1129 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1130 target_alias
=$ac_optarg ;;
1132 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1135 -version |
--version |
--versio |
--versi |
--vers |
-V)
1136 ac_init_version
=: ;;
1139 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1142 as_fn_error $?
"invalid package name: $ac_useropt"
1143 ac_useropt_orig
=$ac_useropt
1144 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1149 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1150 ac_unrecognized_sep
=', ';;
1152 eval with_
$ac_useropt=\
$ac_optarg ;;
1154 -without-* |
--without-*)
1155 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1158 as_fn_error $?
"invalid package name: $ac_useropt"
1159 ac_useropt_orig
=$ac_useropt
1160 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1166 ac_unrecognized_sep
=', ';;
1168 eval with_
$ac_useropt=no
;;
1171 # Obsolete; use --with-x.
1174 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1175 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1176 ac_prev
=x_includes
;;
1177 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1178 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1179 x_includes
=$ac_optarg ;;
1181 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1182 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1183 ac_prev
=x_libraries
;;
1184 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1185 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1186 x_libraries
=$ac_optarg ;;
1188 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1189 Try \`$0 --help' for more information"
1193 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1194 # Reject names that are not valid shell variable names.
1195 case $ac_envvar in #(
1196 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1197 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1199 eval $ac_envvar=\
$ac_optarg
1200 export $ac_envvar ;;
1203 # FIXME: should be removed in autoconf 3.0.
1204 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1205 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1206 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1207 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1213 if test -n "$ac_prev"; then
1214 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1215 as_fn_error $?
"missing argument to $ac_option"
1218 if test -n "$ac_unrecognized_opts"; then
1219 case $enable_option_checking in
1221 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1222 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1226 # Check all directory arguments for consistency.
1227 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1228 datadir sysconfdir sharedstatedir localstatedir includedir \
1229 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1230 libdir localedir mandir
1232 eval ac_val
=\$
$ac_var
1233 # Remove trailing slashes.
1236 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1237 eval $ac_var=\
$ac_val;;
1239 # Be sure to have absolute directory names.
1241 [\\/$
]* | ?
:[\\/]* ) continue;;
1242 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1244 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1247 # There might be people who depend on the old broken behavior: `$host'
1248 # used to hold the argument of --host etc.
1249 # FIXME: To remove some day.
1252 target
=$target_alias
1254 # FIXME: To remove some day.
1255 if test "x$host_alias" != x
; then
1256 if test "x$build_alias" = x
; then
1257 cross_compiling
=maybe
1258 elif test "x$build_alias" != "x$host_alias"; then
1264 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1266 test "$silent" = yes && exec 6>/dev
/null
1269 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1270 ac_ls_di
=`ls -di .` &&
1271 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1272 as_fn_error $?
"working directory cannot be determined"
1273 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1274 as_fn_error $?
"pwd does not report name of working directory"
1277 # Find the source files, if location was not specified.
1278 if test -z "$srcdir"; then
1279 ac_srcdir_defaulted
=yes
1280 # Try the directory containing this script, then the parent directory.
1281 ac_confdir
=`$as_dirname -- "$as_myself" ||
1282 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1283 X"$as_myself" : 'X\(//\)[^/]' \| \
1284 X"$as_myself" : 'X\(//\)$' \| \
1285 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1286 $as_echo X"$as_myself" |
1287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1309 ac_srcdir_defaulted
=no
1311 if test ! -r "$srcdir/$ac_unique_file"; then
1312 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1313 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1315 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1317 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1319 # When building in place, set srcdir=.
1320 if test "$ac_abs_confdir" = "$ac_pwd"; then
1323 # Remove unnecessary trailing slashes from srcdir.
1324 # Double slashes in file names in object file debugging info
1325 # mess up M-x gdb in Emacs.
1327 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1329 for ac_var
in $ac_precious_vars; do
1330 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1331 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1332 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1333 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1337 # Report the --help message.
1339 if test "$ac_init_help" = "long"; then
1340 # Omit some internal or obsolete options to make the list less imposing.
1341 # This message is too long to be a string in the A/UX 3.1 sh.
1343 \`configure' configures this package to adapt to many kinds of systems.
1345 Usage: $0 [OPTION]... [VAR=VALUE]...
1347 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1348 VAR=VALUE. See below for descriptions of some of the useful variables.
1350 Defaults for the options are specified in brackets.
1353 -h, --help display this help and exit
1354 --help=short display options specific to this package
1355 --help=recursive display the short help of all the included packages
1356 -V, --version display version information and exit
1357 -q, --quiet, --silent do not print \`checking ...' messages
1358 --cache-file=FILE cache test results in FILE [disabled]
1359 -C, --config-cache alias for \`--cache-file=config.cache'
1360 -n, --no-create do not create output files
1361 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1363 Installation directories:
1364 --prefix=PREFIX install architecture-independent files in PREFIX
1365 [$ac_default_prefix]
1366 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1369 By default, \`make install' will install all the files in
1370 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1371 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1372 for instance \`--prefix=\$HOME'.
1374 For better control, use the options below.
1376 Fine tuning of the installation directories:
1377 --bindir=DIR user executables [EPREFIX/bin]
1378 --sbindir=DIR system admin executables [EPREFIX/sbin]
1379 --libexecdir=DIR program executables [EPREFIX/libexec]
1380 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1381 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1382 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1383 --libdir=DIR object code libraries [EPREFIX/lib]
1384 --includedir=DIR C header files [PREFIX/include]
1385 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1386 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1387 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1388 --infodir=DIR info documentation [DATAROOTDIR/info]
1389 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1390 --mandir=DIR man documentation [DATAROOTDIR/man]
1391 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1392 --htmldir=DIR html documentation [DOCDIR]
1393 --dvidir=DIR dvi documentation [DOCDIR]
1394 --pdfdir=DIR pdf documentation [DOCDIR]
1395 --psdir=DIR ps documentation [DOCDIR]
1401 --program-prefix=PREFIX prepend PREFIX to installed program names
1402 --program-suffix=SUFFIX append SUFFIX to installed program names
1403 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1406 --build=BUILD configure
for building on BUILD
[guessed
]
1407 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1408 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1412 if test -n "$ac_init_help"; then
1417 --disable-option-checking ignore unrecognized
--enable/--with options
1418 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1419 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1420 --enable-dependency-tracking
1421 do not reject slow dependency extractors
1422 --disable-dependency-tracking
1423 speeds up one-time build
1424 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1425 --disable-silent-rules verbose build output
(undo
: "make V=0")
1426 --disable-nls do not use Native Language Support
1427 --disable-rpath do not hardcode runtime library paths
1428 --disable-sdltest Do not try to compile and run a
test SDL program
1429 --enable-warp Enable mouse warp
(for BeOS and Mac
)
1430 --disable-audio Disables Audio
1431 --disable-network No network support.
1432 --enable-sdl-net Use SDL_Net
for networking.
1433 --enable-netdebug Enable net packet debugging.
1434 --disable-install No installation. Played from the
source directory.
1437 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1438 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1439 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1440 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1441 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1442 --with-included-gettext use the GNU gettext library included here
1443 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1444 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1445 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1446 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1447 --with-docdir=DPATH Directory where documentation is saved.
1449 Some influential environment variables
:
1450 CC C compiler
command
1451 CFLAGS C compiler flags
1452 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1453 nonstandard directory
<lib dir
>
1454 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1455 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1456 you have headers
in a nonstandard directory
<include dir
>
1459 Use these variables to override the choices made by
`configure' or to help
1460 it to find libraries and programs with nonstandard names/locations.
1462 Report bugs to the package provider.
1467 if test "$ac_init_help" = "recursive"; then
1468 # If there are subdirs, report their specific --help.
1469 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1470 test -d "$ac_dir" ||
1471 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1479 # A ".." for each directory in $ac_dir_suffix.
1480 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1481 case $ac_top_builddir_sub in
1482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1486 ac_abs_top_builddir=$ac_pwd
1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir=$ac_top_build_prefix
1492 .) # We are building in place.
1494 ac_top_srcdir=$ac_top_builddir_sub
1495 ac_abs_top_srcdir=$ac_pwd ;;
1496 [\\/]* | ?:[\\/]* ) # Absolute name.
1497 ac_srcdir=$srcdir$ac_dir_suffix;
1498 ac_top_srcdir=$srcdir
1499 ac_abs_top_srcdir=$srcdir ;;
1501 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502 ac_top_srcdir=$ac_top_build_prefix$srcdir
1503 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1507 cd "$ac_dir" || { ac_status=$?; continue; }
1508 # Check for guested configure.
1509 if test -f "$ac_srcdir/configure.gnu"; then
1511 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512 elif test -f "$ac_srcdir/configure"; then
1514 $SHELL "$ac_srcdir/configure" --help=recursive
1516 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1518 cd "$ac_pwd" || { ac_status=$?; break; }
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1526 generated by GNU Autoconf 2.69
1528 Copyright (C) 2012 Free Software Foundation, Inc.
1529 This configure script is free software; the Free Software Foundation
1530 gives unlimited permission to copy, distribute and modify it.
1535 ## ------------------------ ##
1536 ## Autoconf initialization. ##
1537 ## ------------------------ ##
1539 # ac_fn_c_try_compile LINENO
1540 # --------------------------
1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_compile ()
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 rm -f conftest.$ac_objext
1546 if { { ac_try="$ac_compile"
1548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1549 *) ac_try_echo
=$ac_try;;
1551 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_compile") 2>conftest.err
1555 if test -s conftest.err
; then
1556 grep -v '^ *+' conftest.err
>conftest.er1
1557 cat conftest.er1
>&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest.
$ac_objext; then :
1567 $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.
$ac_ext >&5
1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573 as_fn_set_status
$ac_retval
1575 } # ac_fn_c_try_compile
1577 # ac_fn_c_try_cpp LINENO
1578 # ----------------------
1579 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1582 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1583 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1592 if test -s conftest.err; then
1593 grep -v '^ *+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } > conftest.i && {
1599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.$ac_ext >&5
1609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610 as_fn_set_status $ac_retval
1614 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1615 # -------------------------------------------------------
1616 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1617 # the include files in INCLUDES and setting the cache variable VAR
1619 ac_fn_c_check_header_mongrel ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 if eval \${$3+:} false; then :
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 $as_echo_n "checking for $2... " >&6; }
1625 if eval \${$3+:} false; then :
1626 $as_echo_n "(cached) " >&6
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1630 $as_echo "$ac_res" >&6; }
1632 # Is the header compilable?
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1634 $as_echo_n "checking $2 usability... " >&6; }
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1640 if ac_fn_c_try_compile "$LINENO"; then :
1641 ac_header_compiler=yes
1643 ac_header_compiler=no
1645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1647 $as_echo "$ac_header_compiler" >&6; }
1649 # Is the header present?
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1651 $as_echo_n "checking $2 presence... " >&6; }
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1656 if ac_fn_c_try_cpp "$LINENO"; then :
1657 ac_header_preproc=yes
1659 ac_header_preproc=no
1661 rm -f conftest.err conftest.i conftest.$ac_ext
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1663 $as_echo "$ac_header_preproc" >&6; }
1665 # So? What about this header?
1666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1669 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1675 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1677 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1679 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1681 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1683 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if eval \${$3+:} false; then :
1689 $as_echo_n "(cached) " >&6
1691 eval "$3=\$ac_header_compiler"
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 $as_echo "$ac_res" >&6; }
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 } # ac_fn_c_check_header_mongrel
1701 # ac_fn_c_try_run LINENO
1702 # ----------------------
1703 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1704 # that executables *can* be run.
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 if { { ac_try="$ac_link"
1710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1711 *) ac_try_echo
=$ac_try;;
1713 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_link") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1719 { { case "(($ac_try" in
1720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_try") 2>&5
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; }; }; then :
1731 $as_echo "$as_me: program exited with status $ac_status" >&5
1732 $as_echo "$as_me: failed program was:" >&5
1733 sed 's/^/| /' conftest.$ac_ext >&5
1735 ac_retval=$ac_status
1737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 as_fn_set_status $ac_retval
1743 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1744 # -------------------------------------------------------
1745 # Tests whether HEADER exists and can be compiled using the include files in
1746 # INCLUDES, setting the cache variable VAR accordingly.
1747 ac_fn_c_check_header_compile ()
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if eval \${$3+:} false; then :
1753 $as_echo_n "(cached) " >&6
1755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1760 if ac_fn_c_try_compile "$LINENO"; then :
1765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 } # ac_fn_c_check_header_compile
1774 # ac_fn_c_try_link LINENO
1775 # -----------------------
1776 # Try to link conftest.$ac_ext, and return whether this succeeded.
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 rm -f conftest.$ac_objext conftest$ac_exeext
1781 if { { ac_try="$ac_link"
1783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1784 *) ac_try_echo
=$ac_try;;
1786 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_link") 2>conftest.err
1790 if test -s conftest.err
; then
1791 grep -v '^ *+' conftest.err
>conftest.er1
1792 cat conftest.er1
>&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } && {
1797 test -z "$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1799 } && test -s conftest
$ac_exeext && {
1800 test "$cross_compiling" = yes ||
1801 test -x conftest
$ac_exeext
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.
$ac_ext >&5
1810 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1811 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1812 # interfere with the next link command; also delete a directory that is
1813 # left behind by Apple's compiler. We do this before executing the actions.
1814 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 as_fn_set_status
$ac_retval
1818 } # ac_fn_c_try_link
1820 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1821 # -------------------------------------------
1822 # Tests whether TYPE exists after having included INCLUDES, setting cache
1823 # variable VAR accordingly.
1824 ac_fn_c_check_type
()
1826 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1828 $as_echo_n "checking for $2... " >&6; }
1829 if eval \
${$3+:} false
; then :
1830 $as_echo_n "(cached) " >&6
1833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1845 if ac_fn_c_try_compile
"$LINENO"; then :
1846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1858 if ac_fn_c_try_compile
"$LINENO"; then :
1863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 } # ac_fn_c_check_type
1874 # ac_fn_c_check_func LINENO FUNC VAR
1875 # ----------------------------------
1876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1877 ac_fn_c_check_func
()
1879 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \
${$3+:} false
; then :
1883 $as_echo_n "(cached) " >&6
1885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1889 #define $2 innocuous_$2
1891 /* System header to define __stub macros and hopefully few prototypes,
1892 which can conflict with char $2 (); below.
1893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1894 <limits.h> exists even on freestanding compilers. */
1897 # include <limits.h>
1899 # include <assert.h>
1904 /* Override any GCC internal prototype to avoid an error.
1905 Use char because int might match the return type of a GCC
1906 builtin and then its argument prototype would still apply. */
1911 /* The GNU C library defines this for functions which it implements
1912 to always fail with ENOSYS. Some functions are actually named
1913 something starting with __ and the normal name is an alias. */
1914 #if defined __stub_$2 || defined __stub___$2
1926 if ac_fn_c_try_link
"$LINENO"; then :
1931 rm -f core conftest.err conftest.
$ac_objext \
1932 conftest
$ac_exeext conftest.
$ac_ext
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 } # ac_fn_c_check_func
1941 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1942 # --------------------------------------------
1943 # Tries to find the compile-time value of EXPR in a program that includes
1944 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1946 ac_fn_c_compute_int
()
1948 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1949 if test "$cross_compiling" = yes; then
1950 # Depending upon the size, compute the lo and hi bounds.
1951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1957 static int test_array [1 - 2 * !(($2) >= 0)];
1959 return test_array [0];
1965 if ac_fn_c_try_compile
"$LINENO"; then :
1968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1969 /* end confdefs.h. */
1974 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1976 return test_array [0];
1982 if ac_fn_c_try_compile
"$LINENO"; then :
1983 ac_hi
=$ac_mid; break
1985 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1986 if test $ac_lo -le $ac_mid; then
1990 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2001 static int test_array [1 - 2 * !(($2) < 0)];
2003 return test_array [0];
2009 if ac_fn_c_try_compile
"$LINENO"; then :
2012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2018 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2020 return test_array [0];
2026 if ac_fn_c_try_compile
"$LINENO"; then :
2027 ac_lo
=$ac_mid; break
2029 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2030 if test $ac_mid -le $ac_hi; then
2034 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2044 # Binary search between lo and hi bounds.
2045 while test "x$ac_lo" != "x$ac_hi"; do
2046 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2053 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2055 return test_array [0];
2061 if ac_fn_c_try_compile
"$LINENO"; then :
2064 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2069 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2076 static long int longval () { return $2; }
2077 static unsigned long int ulongval () { return $2; }
2084 FILE *f = fopen ("conftest.val", "w");
2089 long int i = longval ();
2092 fprintf (f, "%ld", i);
2096 unsigned long int i = ulongval ();
2099 fprintf (f, "%lu", i);
2101 /* Do not output a trailing newline, as this causes \r\n confusion
2102 on some platforms. */
2103 return ferror (f) || fclose (f) != 0;
2109 if ac_fn_c_try_run
"$LINENO"; then :
2110 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2114 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2115 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120 as_fn_set_status
$ac_retval
2122 } # ac_fn_c_compute_int
2123 cat >config.log
<<_ACEOF
2124 This file contains any messages produced by compilers while
2125 running configure, to aid debugging if configure makes a mistake.
2127 It was created by $as_me, which was
2128 generated by GNU Autoconf 2.69. Invocation command line was
2140 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2141 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2142 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2143 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2144 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2146 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2147 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2149 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2150 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2151 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2152 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2153 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2154 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2155 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2163 test -z "$as_dir" && as_dir
=.
2164 $as_echo "PATH: $as_dir"
2180 # Keep a trace of the command line.
2181 # Strip out --no-create and --no-recursion so they do not pile up.
2182 # Strip out --silent because we don't want to record it for future runs.
2183 # Also quote any args containing shell meta-characters.
2184 # Make two passes to allow for proper duplicate-argument suppression.
2188 ac_must_keep_next
=false
2194 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2195 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2196 |
-silent |
--silent |
--silen |
--sile |
--sil)
2199 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2202 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2204 as_fn_append ac_configure_args1
" '$ac_arg'"
2205 if test $ac_must_keep_next = true
; then
2206 ac_must_keep_next
=false
# Got value, back to normal.
2209 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2210 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2211 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2212 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2213 case "$ac_configure_args0 " in
2214 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2217 -* ) ac_must_keep_next
=true
;;
2220 as_fn_append ac_configure_args
" '$ac_arg'"
2225 { ac_configure_args0
=; unset ac_configure_args0
;}
2226 { ac_configure_args1
=; unset ac_configure_args1
;}
2228 # When interrupted or exit'd, cleanup temporary files, and complete
2229 # config.log. We remove comments because anyway the quotes in there
2230 # would cause problems or look ugly.
2231 # WARNING: Use '\'' to represent an apostrophe within the trap.
2232 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2233 trap 'exit_status=$?
2234 # Save into config.log some information that might help in debugging.
2238 $as_echo "## ---------------- ##
2239 ## Cache variables. ##
2240 ## ---------------- ##"
2242 # The following way of writing the cache mishandles newlines in values,
2244 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2245 eval ac_val=\$$ac_var
2249 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2250 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2253 _ | IFS | as_nl) ;; #(
2254 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2255 *) { eval $ac_var=; unset $ac_var;} ;;
2260 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2261 *${as_nl}ac_space=\ *)
2263 "s/'\''/'\''\\\\'\'''\''/g;
2264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2267 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2274 $as_echo "## ----------------- ##
2275 ## Output variables. ##
2276 ## ----------------- ##"
2278 for ac_var in $ac_subst_vars
2280 eval ac_val=\$$ac_var
2282 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2284 $as_echo "$ac_var='\''$ac_val'\''"
2288 if test -n "$ac_subst_files"; then
2289 $as_echo "## ------------------- ##
2290 ## File substitutions. ##
2291 ## ------------------- ##"
2293 for ac_var
in $ac_subst_files
2295 eval ac_val
=\$
$ac_var
2297 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2299 $as_echo "$ac_var='\''$ac_val'\''"
2304 if test -s confdefs.h; then
2305 $as_echo "## ----------- ##
2312 test "$ac_signal" != 0 &&
2313 $as_echo "$as_me: caught signal $ac_signal"
2314 $as_echo "$as_me: exit $exit_status"
2316 rm -f core *.core core.conftest.* &&
2317 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2320 for ac_signal
in 1 2 13 15; do
2321 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2325 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2326 rm -f -r conftest
* confdefs.h
2328 $as_echo "/* confdefs.h */" > confdefs.h
2330 # Predefined preprocessor variables.
2332 cat >>confdefs.h
<<_ACEOF
2333 #define PACKAGE_NAME "$PACKAGE_NAME"
2336 cat >>confdefs.h
<<_ACEOF
2337 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2340 cat >>confdefs.h
<<_ACEOF
2341 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2344 cat >>confdefs.h
<<_ACEOF
2345 #define PACKAGE_STRING "$PACKAGE_STRING"
2348 cat >>confdefs.h
<<_ACEOF
2349 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2352 cat >>confdefs.h
<<_ACEOF
2353 #define PACKAGE_URL "$PACKAGE_URL"
2357 # Let the site file select an alternate cache file if it wants to.
2358 # Prefer an explicitly selected file to automatically selected ones.
2361 if test -n "$CONFIG_SITE"; then
2362 # We do not want a PATH search for config.site.
2363 case $CONFIG_SITE in #((
2364 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2365 */*) ac_site_file1
=$CONFIG_SITE;;
2366 *) ac_site_file1
=.
/$CONFIG_SITE;;
2368 elif test "x$prefix" != xNONE
; then
2369 ac_site_file1
=$prefix/share
/config.site
2370 ac_site_file2
=$prefix/etc
/config.site
2372 ac_site_file1
=$ac_default_prefix/share
/config.site
2373 ac_site_file2
=$ac_default_prefix/etc
/config.site
2375 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2377 test "x$ac_site_file" = xNONE
&& continue
2378 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2380 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2381 sed 's/^/| /' "$ac_site_file" >&5
2383 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385 as_fn_error $?
"failed to load site script $ac_site_file
2386 See \`config.log' for more details" "$LINENO" 5; }
2390 if test -r "$cache_file"; then
2391 # Some versions of bash will fail to source /dev/null (special files
2392 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2393 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2395 $as_echo "$as_me: loading cache $cache_file" >&6;}
2397 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2398 *) .
"./$cache_file";;
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2403 $as_echo "$as_me: creating cache $cache_file" >&6;}
2407 as_fn_append ac_header_list
" stdlib.h"
2408 as_fn_append ac_header_list
" unistd.h"
2409 as_fn_append ac_header_list
" sys/param.h"
2410 # Check that the precious variables saved in the cache have kept the same
2412 ac_cache_corrupted
=false
2413 for ac_var
in $ac_precious_vars; do
2414 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2415 eval ac_new_set
=\
$ac_env_${ac_var}_set
2416 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2417 eval ac_new_val
=\
$ac_env_${ac_var}_value
2418 case $ac_old_set,$ac_new_set in
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2421 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2422 ac_cache_corrupted
=: ;;
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2425 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2426 ac_cache_corrupted
=: ;;
2429 if test "x$ac_old_val" != "x$ac_new_val"; then
2430 # differences in whitespace do not lead to failure.
2431 ac_old_val_w
=`echo x $ac_old_val`
2432 ac_new_val_w
=`echo x $ac_new_val`
2433 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2435 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2436 ac_cache_corrupted
=:
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2439 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2440 eval $ac_var=\
$ac_old_val
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2443 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2445 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2448 # Pass precious variables to config.status.
2449 if test "$ac_new_set" = set; then
2451 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2452 *) ac_arg
=$ac_var=$ac_new_val ;;
2454 case " $ac_configure_args " in
2455 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2456 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2460 if $ac_cache_corrupted; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2464 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2465 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2467 ## -------------------- ##
2468 ## Main body of script. ##
2469 ## -------------------- ##
2472 ac_cpp
='$CPP $CPPFLAGS'
2473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2480 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2481 if test -f "$ac_dir/install-sh"; then
2483 ac_install_sh
="$ac_aux_dir/install-sh -c"
2485 elif test -f "$ac_dir/install.sh"; then
2487 ac_install_sh
="$ac_aux_dir/install.sh -c"
2489 elif test -f "$ac_dir/shtool"; then
2491 ac_install_sh
="$ac_aux_dir/shtool install -c"
2495 if test -z "$ac_aux_dir"; then
2496 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2499 # These three variables are undocumented and unsupported,
2500 # and are intended to be withdrawn in a future Autoconf release.
2501 # They can cause serious problems if a builder's source tree is in a directory
2502 # whose full name contains unusual characters.
2503 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2504 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2505 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2508 # Make sure we can run config.sub.
2509 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2510 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2513 $as_echo_n "checking build system type... " >&6; }
2514 if ${ac_cv_build+:} false
; then :
2515 $as_echo_n "(cached) " >&6
2517 ac_build_alias
=$build_alias
2518 test "x$ac_build_alias" = x
&&
2519 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2520 test "x$ac_build_alias" = x
&&
2521 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2522 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2523 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2527 $as_echo "$ac_cv_build" >&6; }
2528 case $ac_cv_build in
2530 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2533 ac_save_IFS
=$IFS; IFS
='-'
2539 # Remember, the first character of IFS is used to create $*,
2540 # except with old shells:
2543 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2547 $as_echo_n "checking host system type... " >&6; }
2548 if ${ac_cv_host+:} false
; then :
2549 $as_echo_n "(cached) " >&6
2551 if test "x$host_alias" = x
; then
2552 ac_cv_host
=$ac_cv_build
2554 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2555 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2560 $as_echo "$ac_cv_host" >&6; }
2563 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2566 ac_save_IFS
=$IFS; IFS
='-'
2572 # Remember, the first character of IFS is used to create $*,
2573 # except with old shells:
2576 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2580 $as_echo_n "checking target system type... " >&6; }
2581 if ${ac_cv_target+:} false
; then :
2582 $as_echo_n "(cached) " >&6
2584 if test "x$target_alias" = x
; then
2585 ac_cv_target
=$ac_cv_host
2587 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2588 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2593 $as_echo "$ac_cv_target" >&6; }
2594 case $ac_cv_target in
2596 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2598 target
=$ac_cv_target
2599 ac_save_IFS
=$IFS; IFS
='-'
2605 # Remember, the first character of IFS is used to create $*,
2606 # except with old shells:
2609 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2612 # The aliases save the names the user supplied, while $host etc.
2613 # will get canonicalized.
2614 test -n "$target_alias" &&
2615 test "$program_prefix$program_suffix$program_transform_name" = \
2617 program_prefix
=${target_alias}-
2620 ac_cpp
='$CPP $CPPFLAGS'
2621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2624 if test -n "$ac_tool_prefix"; then
2625 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2626 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if ${ac_cv_prog_CC+:} false
; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC
="$CC" # Let the user override the test.
2635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir
=.
2640 for ac_exec_ext
in '' $ac_executable_extensions; do
2641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2642 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$CC"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2655 $as_echo "$CC" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2663 if test -z "$ac_cv_prog_CC"; then
2665 # Extract the first word of "gcc", so it can be a program name with args.
2666 set dummy gcc
; ac_word
=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$ac_ct_CC"; then
2673 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2679 test -z "$as_dir" && as_dir
=.
2680 for ac_exec_ext
in '' $ac_executable_extensions; do
2681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2682 ac_cv_prog_ac_ct_CC
="gcc"
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2693 if test -n "$ac_ct_CC"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2695 $as_echo "$ac_ct_CC" >&6; }
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2701 if test "x$ac_ct_CC" = x
; then
2704 case $cross_compiling:$ac_tool_warned in
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2708 ac_tool_warned
=yes ;;
2716 if test -z "$CC"; then
2717 if test -n "$ac_tool_prefix"; then
2718 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2719 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if ${ac_cv_prog_CC+:} false
; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$CC"; then
2726 ac_cv_prog_CC
="$CC" # Let the user override the test.
2728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir
=.
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2735 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 if test -n "$CC"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2748 $as_echo "$CC" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2757 if test -z "$CC"; then
2758 # Extract the first word of "cc", so it can be a program name with args.
2759 set dummy cc
; ac_word
=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if ${ac_cv_prog_CC+:} false
; then :
2763 $as_echo_n "(cached) " >&6
2765 if test -n "$CC"; then
2766 ac_cv_prog_CC
="$CC" # Let the user override the test.
2769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir
=.
2774 for ac_exec_ext
in '' $ac_executable_extensions; do
2775 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2776 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2777 ac_prog_rejected
=yes
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 if test $ac_prog_rejected = yes; then
2789 # We found a bogon in the path, so make sure we never use it.
2790 set dummy
$ac_cv_prog_CC
2792 if test $# != 0; then
2793 # We chose a different compiler from the bogus one.
2794 # However, it has the same basename, so the bogon will be chosen
2795 # first if we set CC to just the basename; use the full file name.
2797 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2803 if test -n "$CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2805 $as_echo "$CC" >&6; }
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2813 if test -z "$CC"; then
2814 if test -n "$ac_tool_prefix"; then
2815 for ac_prog
in cl.exe
2817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2818 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if ${ac_cv_prog_CC+:} false
; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$CC"; then
2825 ac_cv_prog_CC
="$CC" # Let the user override the test.
2827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir
=.
2832 for ac_exec_ext
in '' $ac_executable_extensions; do
2833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2834 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 if test -n "$CC"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2847 $as_echo "$CC" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2854 test -n "$CC" && break
2857 if test -z "$CC"; then
2859 for ac_prog
in cl.exe
2861 # Extract the first word of "$ac_prog", so it can be a program name with args.
2862 set dummy
$ac_prog; ac_word
=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2866 $as_echo_n "(cached) " >&6
2868 if test -n "$ac_ct_CC"; then
2869 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir
=.
2876 for ac_exec_ext
in '' $ac_executable_extensions; do
2877 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2878 ac_cv_prog_ac_ct_CC
="$ac_prog"
2879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2888 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2889 if test -n "$ac_ct_CC"; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2891 $as_echo "$ac_ct_CC" >&6; }
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894 $as_echo "no" >&6; }
2898 test -n "$ac_ct_CC" && break
2901 if test "x$ac_ct_CC" = x
; then
2904 case $cross_compiling:$ac_tool_warned in
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2908 ac_tool_warned
=yes ;;
2917 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2919 as_fn_error $?
"no acceptable C compiler found in \$PATH
2920 See \`config.log' for more details" "$LINENO" 5; }
2922 # Provide some information about the compiler.
2923 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2926 for ac_option
in --version -v -V -qversion; do
2927 { { ac_try
="$ac_compiler $ac_option >&5"
2929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2933 $as_echo "$ac_try_echo"; } >&5
2934 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2936 if test -s conftest.err; then
2938 ... rest of stderr output deleted ...
2939 10q' conftest.err >conftest.er1
2940 cat conftest.er1 >&5
2942 rm -f conftest.er1 conftest.err
2943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2944 test $ac_status = 0; }
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2958 ac_clean_files_save=$ac_clean_files
2959 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2960 # Try to create an executable without -o first, disregard a.out.
2961 # It will help us diagnose broken compilers, and finding out an intuition
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2964 $as_echo_n "checking whether the C compiler works... " >&6; }
2965 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2967 # The possible output files:
2968 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2971 for ac_file in $ac_files
2974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2975 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2980 if { { ac_try="$ac_link_default"
2982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2983 *) ac_try_echo
=$ac_try;;
2985 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_link_default") 2>&5
2989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2990 test $ac_status = 0; }; then :
2991 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2992 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2993 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2994 # so that the user can short-circuit this test for compilers unknown to
2996 for ac_file
in $ac_files ''
2998 test -f "$ac_file" ||
continue
3000 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3003 # We found the default executable, but exeext='' is most
3007 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3009 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3011 # We set ac_cv_exeext here because the later test for it is not
3012 # safe: cross compilers may not add the suffix if given an `-o'
3013 # argument, so we may need to know it at that point already.
3014 # Even if this section looks crufty: it has the advantage of
3021 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3026 if test -z "$ac_file"; then :
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3029 $as_echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.
$ac_ext >&5
3032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3034 as_fn_error
77 "C compiler cannot create executables
3035 See \`config.log' for more details" "$LINENO" 5; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3038 $as_echo "yes" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3041 $as_echo_n "checking for C compiler default output file name... " >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3043 $as_echo "$ac_file" >&6; }
3044 ac_exeext
=$ac_cv_exeext
3046 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3047 ac_clean_files
=$ac_clean_files_save
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3049 $as_echo_n "checking for suffix of executables... " >&6; }
3050 if { { ac_try
="$ac_link"
3052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057 (eval "$ac_link") 2>&5
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }; then :
3061 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3062 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3063 # work properly (i.e., refer to `conftest.exe'), while it won't with
3065 for ac_file
in conftest.exe conftest conftest.
*; do
3066 test -f "$ac_file" ||
continue
3068 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3069 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3077 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3078 See \`config.log' for more details" "$LINENO" 5; }
3080 rm -f conftest conftest
$ac_cv_exeext
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3082 $as_echo "$ac_cv_exeext" >&6; }
3084 rm -f conftest.
$ac_ext
3085 EXEEXT
=$ac_cv_exeext
3087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3093 FILE *f = fopen ("conftest.out", "w");
3094 return ferror (f) || fclose (f) != 0;
3100 ac_clean_files
="$ac_clean_files conftest.out"
3101 # Check that the compiler produces executables we can run. If not, either
3102 # the compiler is broken, or we cross compile.
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3104 $as_echo_n "checking whether we are cross compiling... " >&6; }
3105 if test "$cross_compiling" != yes; then
3106 { { ac_try
="$ac_link"
3108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3112 $as_echo "$ac_try_echo"; } >&5
3113 (eval "$ac_link") 2>&5
3115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 test $ac_status = 0; }
3117 if { ac_try='./conftest$ac_cv_exeext'
3118 { { case "(($ac_try" in
3119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3120 *) ac_try_echo
=$ac_try;;
3122 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_try") 2>&5
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; }; }; then
3130 if test "$cross_compiling" = maybe
; then
3133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3135 as_fn_error $?
"cannot run C compiled programs.
3136 If you meant to cross compile, use \`--host'.
3137 See \`config.log' for more details" "$LINENO" 5; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3142 $as_echo "$cross_compiling" >&6; }
3144 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3145 ac_clean_files
=$ac_clean_files_save
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3147 $as_echo_n "checking for suffix of object files... " >&6; }
3148 if ${ac_cv_objext+:} false
; then :
3149 $as_echo_n "(cached) " >&6
3151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3162 rm -f conftest.o conftest.obj
3163 if { { ac_try
="$ac_compile"
3165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_compile") 2>&5
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; }; then :
3174 for ac_file in conftest.o conftest.obj conftest.*; do
3175 test -f "$ac_file" || continue;
3177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3178 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3183 $as_echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3189 See \
`config.log' for more details" "$LINENO" 5; }
3191 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3194 $as_echo "$ac_cv_objext" >&6; }
3195 OBJEXT=$ac_cv_objext
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3198 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3199 if ${ac_cv_c_compiler_gnu+:} false; then :
3200 $as_echo_n "(cached) " >&6
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3216 if ac_fn_c_try_compile "$LINENO"; then :
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3226 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3227 if test $ac_compiler_gnu = yes; then
3232 ac_test_CFLAGS=${CFLAGS+set}
3233 ac_save_CFLAGS=$CFLAGS
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3235 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3236 if ${ac_cv_prog_cc_g+:} false; then :
3237 $as_echo_n "(cached) " >&6
3239 ac_save_c_werror_flag=$ac_c_werror_flag
3240 ac_c_werror_flag=yes
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3254 if ac_fn_c_try_compile "$LINENO"; then :
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 if ac_fn_c_try_compile "$LINENO"; then :
3272 ac_c_werror_flag=$ac_save_c_werror_flag
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3285 if ac_fn_c_try_compile "$LINENO"; then :
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 ac_c_werror_flag=$ac_save_c_werror_flag
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3296 $as_echo "$ac_cv_prog_cc_g" >&6; }
3297 if test "$ac_test_CFLAGS" = set; then
3298 CFLAGS=$ac_save_CFLAGS
3299 elif test $ac_cv_prog_cc_g = yes; then
3300 if test "$GCC" = yes; then
3306 if test "$GCC" = yes; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3313 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3314 if ${ac_cv_prog_cc_c89+:} false; then :
3315 $as_echo_n "(cached) " >&6
3317 ac_cv_prog_cc_c89=no
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3324 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3325 struct buf { int x; };
3326 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3327 static char *e (p, i)
3333 static char *f (char * (*g) (char **, int), char **p, ...)
3338 s = g (p, va_arg (v,int));
3343 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3344 function prototypes and stuff, but not '\xHH' hex character constants.
3345 These don't provoke an error unfortunately, instead are silently treated
3346 as 'x'. The following induces an error, until -std is added to get
3347 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3348 array size at least. It's necessary to write '\x00'==0 to get something
3349 that's true only with -std. */
3350 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3352 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3353 inside strings and character constants. */
3355 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3357 int test (int i, double x);
3358 struct s1 {int (*f) (int a);};
3359 struct s2 {int (*f) (double a);};
3360 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3366 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3371 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3372 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3374 CC="$ac_save_CC $ac_arg"
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 ac_cv_prog_cc_c89=$ac_arg
3378 rm -f core conftest.err conftest.$ac_objext
3379 test "x$ac_cv_prog_cc_c89" != "xno" && break
3381 rm -f conftest.$ac_ext
3386 case "x$ac_cv_prog_cc_c89" in
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3389 $as_echo "none needed" >&6; } ;;
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3392 $as_echo "unsupported" >&6; } ;;
3394 CC="$CC $ac_cv_prog_cc_c89"
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3396 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3398 if test "x$ac_cv_prog_cc_c89" != xno; then :
3403 ac_cpp='$CPP $CPPFLAGS'
3404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3410 ac_cpp='$CPP $CPPFLAGS'
3411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3415 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3416 # On Suns, sometimes $CPP names a directory.
3417 if test -n "$CPP" && test -d "$CPP"; then
3420 if test -z "$CPP"; then
3421 if ${ac_cv_prog_CPP+:} false; then :
3422 $as_echo_n "(cached) " >&6
3424 # Double quotes because CPP needs to be expanded
3425 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3428 for ac_c_preproc_warn_flag in '' yes
3430 # Use a header file that comes with gcc, so configuring glibc
3431 # with a fresh cross-compiler works.
3432 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3433 # <limits.h> exists even on freestanding compilers.
3434 # On the NeXT, cc -E runs the code through the compiler's parser,
3435 # not just through cpp. "Syntax error" is here to catch this case.
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3439 # include <limits.h>
3441 # include <assert.h>
3445 if ac_fn_c_try_cpp "$LINENO"; then :
3448 # Broken: fails on valid input.
3451 rm -f conftest.err conftest.i conftest.$ac_ext
3453 # OK, works on sane cases. Now check whether nonexistent headers
3454 # can be detected and how.
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3457 #include <ac_nonexistent.h>
3459 if ac_fn_c_try_cpp "$LINENO"; then :
3460 # Broken: success on invalid input.
3463 # Passes both tests.
3467 rm -f conftest.err conftest.i conftest.$ac_ext
3470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3471 rm -f conftest.i conftest.err conftest.
$ac_ext
3472 if $ac_preproc_ok; then :
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3485 $as_echo "$CPP" >&6; }
3487 for ac_c_preproc_warn_flag
in '' yes
3489 # Use a header file that comes with gcc, so configuring glibc
3490 # with a fresh cross-compiler works.
3491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3492 # <limits.h> exists even on freestanding compilers.
3493 # On the NeXT, cc -E runs the code through the compiler's parser,
3494 # not just through cpp. "Syntax error" is here to catch this case.
3495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3498 # include <limits.h>
3500 # include <assert.h>
3504 if ac_fn_c_try_cpp
"$LINENO"; then :
3507 # Broken: fails on valid input.
3510 rm -f conftest.err conftest.i conftest.
$ac_ext
3512 # OK, works on sane cases. Now check whether nonexistent headers
3513 # can be detected and how.
3514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3516 #include <ac_nonexistent.h>
3518 if ac_fn_c_try_cpp
"$LINENO"; then :
3519 # Broken: success on invalid input.
3522 # Passes both tests.
3526 rm -f conftest.err conftest.i conftest.
$ac_ext
3529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3530 rm -f conftest.i conftest.err conftest.
$ac_ext
3531 if $ac_preproc_ok; then :
3534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3536 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3537 See \`config.log' for more details" "$LINENO" 5; }
3541 ac_cpp
='$CPP $CPPFLAGS'
3542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3548 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3549 if ${ac_cv_path_GREP+:} false
; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -z "$GREP"; then
3553 ac_path_GREP_found
=false
3554 # Loop through the user's path and test for each of PROGNAME-LIST
3555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3556 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3559 test -z "$as_dir" && as_dir
=.
3560 for ac_prog
in grep ggrep
; do
3561 for ac_exec_ext
in '' $ac_executable_extensions; do
3562 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3563 as_fn_executable_p
"$ac_path_GREP" ||
continue
3564 # Check for GNU ac_path_GREP and select it if it is found.
3565 # Check for GNU $ac_path_GREP
3566 case `"$ac_path_GREP" --version 2>&1` in
3568 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3571 $as_echo_n 0123456789 >"conftest.in"
3574 cat "conftest.in" "conftest.in" >"conftest.tmp"
3575 mv "conftest.tmp" "conftest.in"
3576 cp "conftest.in" "conftest.nl"
3577 $as_echo 'GREP' >> "conftest.nl"
3578 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3579 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3580 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3581 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3582 # Best one so far, save it but keep looking for a better one
3583 ac_cv_path_GREP
="$ac_path_GREP"
3584 ac_path_GREP_max
=$ac_count
3586 # 10*(2^10) chars as input seems more than enough
3587 test $ac_count -gt 10 && break
3589 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3592 $ac_path_GREP_found && break 3
3597 if test -z "$ac_cv_path_GREP"; then
3598 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3601 ac_cv_path_GREP
=$GREP
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3606 $as_echo "$ac_cv_path_GREP" >&6; }
3607 GREP
="$ac_cv_path_GREP"
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3611 $as_echo_n "checking for egrep... " >&6; }
3612 if ${ac_cv_path_EGREP+:} false
; then :
3613 $as_echo_n "(cached) " >&6
3615 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3616 then ac_cv_path_EGREP
="$GREP -E"
3618 if test -z "$EGREP"; then
3619 ac_path_EGREP_found
=false
3620 # Loop through the user's path and test for each of PROGNAME-LIST
3621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3622 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3625 test -z "$as_dir" && as_dir
=.
3626 for ac_prog
in egrep; do
3627 for ac_exec_ext
in '' $ac_executable_extensions; do
3628 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3629 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3630 # Check for GNU ac_path_EGREP and select it if it is found.
3631 # Check for GNU $ac_path_EGREP
3632 case `"$ac_path_EGREP" --version 2>&1` in
3634 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3637 $as_echo_n 0123456789 >"conftest.in"
3640 cat "conftest.in" "conftest.in" >"conftest.tmp"
3641 mv "conftest.tmp" "conftest.in"
3642 cp "conftest.in" "conftest.nl"
3643 $as_echo 'EGREP' >> "conftest.nl"
3644 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3645 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3646 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3647 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3648 # Best one so far, save it but keep looking for a better one
3649 ac_cv_path_EGREP
="$ac_path_EGREP"
3650 ac_path_EGREP_max
=$ac_count
3652 # 10*(2^10) chars as input seems more than enough
3653 test $ac_count -gt 10 && break
3655 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3658 $ac_path_EGREP_found && break 3
3663 if test -z "$ac_cv_path_EGREP"; then
3664 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3667 ac_cv_path_EGREP
=$EGREP
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3673 $as_echo "$ac_cv_path_EGREP" >&6; }
3674 EGREP
="$ac_cv_path_EGREP"
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3678 $as_echo_n "checking for ANSI C header files... " >&6; }
3679 if ${ac_cv_header_stdc+:} false
; then :
3680 $as_echo_n "(cached) " >&6
3682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3697 if ac_fn_c_try_compile
"$LINENO"; then :
3698 ac_cv_header_stdc
=yes
3700 ac_cv_header_stdc
=no
3702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3704 if test $ac_cv_header_stdc = yes; then
3705 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3712 $EGREP "memchr" >/dev
/null
2>&1; then :
3715 ac_cv_header_stdc
=no
3721 if test $ac_cv_header_stdc = yes; then
3722 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3729 $EGREP "free" >/dev
/null
2>&1; then :
3732 ac_cv_header_stdc
=no
3738 if test $ac_cv_header_stdc = yes; then
3739 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3740 if test "$cross_compiling" = yes; then :
3743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3744 /* end confdefs.h. */
3747 #if ((' ' & 0x0FF) == 0x020)
3748 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3749 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3751 # define ISLOWER(c) \
3752 (('a' <= (c) && (c) <= 'i') \
3753 || ('j' <= (c) && (c) <= 'r') \
3754 || ('s' <= (c) && (c) <= 'z'))
3755 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3758 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3763 for (i = 0; i < 256; i++)
3764 if (XOR (islower (i), ISLOWER (i))
3765 || toupper (i) != TOUPPER (i))
3770 if ac_fn_c_try_run
"$LINENO"; then :
3773 ac_cv_header_stdc
=no
3775 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3776 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3782 $as_echo "$ac_cv_header_stdc" >&6; }
3783 if test $ac_cv_header_stdc = yes; then
3785 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3789 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3790 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3791 inttypes.h stdint.h unistd.h
3793 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3794 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3796 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3797 cat >>confdefs.h
<<_ACEOF
3798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3807 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3808 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3815 if test "$MINIX" = yes; then
3817 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3820 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3823 $as_echo "#define _MINIX 1" >>confdefs.h
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3829 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3830 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3831 $as_echo_n "(cached) " >&6
3833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3836 # define __EXTENSIONS__ 1
3837 $ac_includes_default
3846 if ac_fn_c_try_compile
"$LINENO"; then :
3847 ac_cv_safe_to_define___extensions__
=yes
3849 ac_cv_safe_to_define___extensions__
=no
3851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3854 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3855 test $ac_cv_safe_to_define___extensions__ = yes &&
3856 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3858 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3860 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3862 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3864 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3868 ac_config_headers
="$ac_config_headers config.h"
3871 am__api_version
='1.13'
3873 # Find a good install program. We prefer a C program (faster),
3874 # so one script is as good as another. But avoid the broken or
3875 # incompatible versions:
3876 # SysV /etc/install, /usr/sbin/install
3877 # SunOS /usr/etc/install
3878 # IRIX /sbin/install
3880 # AmigaOS /C/install, which installs bootblocks on floppy discs
3881 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3882 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3883 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3884 # OS/2's system install, which has a completely different semantic
3885 # ./install, which can be erroneously created by make from ./install.sh.
3886 # Reject install programs that cannot install multiple files.
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3888 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3889 if test -z "$INSTALL"; then
3890 if ${ac_cv_path_install+:} false
; then :
3891 $as_echo_n "(cached) " >&6
3893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir
=.
3898 # Account for people who put trailing slashes in PATH elements.
3899 case $as_dir/ in #((
3900 .
/ | .
// |
/[cC
]/* | \
3901 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3902 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3905 # OSF1 and SCO ODT 3.0 have their own names for install.
3906 # Don't use installbsd from OSF since it installs stuff as root
3908 for ac_prog
in ginstall scoinst
install; do
3909 for ac_exec_ext
in '' $ac_executable_extensions; do
3910 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3911 if test $ac_prog = install &&
3912 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3913 # AIX install. It has an incompatible calling convention.
3915 elif test $ac_prog = install &&
3916 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3917 # program-specific install script used by HP pwplus--don't use.
3920 rm -rf conftest.one conftest.two conftest.dir
3921 echo one
> conftest.one
3922 echo two
> conftest.two
3924 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3925 test -s conftest.one
&& test -s conftest.two
&&
3926 test -s conftest.dir
/conftest.one
&&
3927 test -s conftest.dir
/conftest.two
3929 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3942 rm -rf conftest.one conftest.two conftest.dir
3945 if test "${ac_cv_path_install+set}" = set; then
3946 INSTALL
=$ac_cv_path_install
3948 # As a last resort, use the slow shell script. Don't cache a
3949 # value for INSTALL within a source directory, because that will
3950 # break other packages using the cache if that directory is
3951 # removed, or if the value is a relative name.
3952 INSTALL
=$ac_install_sh
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3956 $as_echo "$INSTALL" >&6; }
3958 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3959 # It thinks the first close brace ends the variable substitution.
3960 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3962 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3964 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3967 $as_echo_n "checking whether build environment is sane... " >&6; }
3968 # Reject unsafe characters in $srcdir or the absolute working directory
3969 # name. Accept space and tab only in the latter.
3973 *[\\\"\
#\$\&\'\`$am_lf]*)
3974 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3977 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3978 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3981 # Do 'set' in a subshell so we don't clobber the current shell's
3982 # arguments. Must try -L first in case configure is actually a
3983 # symlink; some systems play weird games with the mod time of symlinks
3984 # (eg FreeBSD returns the mod time of the symlink's containing
3988 for am_try
in 1 2; do
3989 echo "timestamp, slept: $am_has_slept" > conftest.
file
3990 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3991 if test "$*" = "X"; then
3993 set X
`ls -t "$srcdir/configure" conftest.file`
3995 if test "$*" != "X $srcdir/configure conftest.file" \
3996 && test "$*" != "X conftest.file $srcdir/configure"; then
3998 # If neither matched, then we have a broken ls. This can happen
3999 # if, for instance, CONFIG_SHELL is bash and it inherits a
4000 # broken ls alias from the environment. This has actually
4001 # happened. Such a system could not be considered "sane".
4002 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4003 alias in your environment" "$LINENO" 5
4005 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4012 test "$2" = conftest.
file
4018 as_fn_error $?
"newly created file is older than distributed files!
4019 Check your system clock" "$LINENO" 5
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4022 $as_echo "yes" >&6; }
4023 # If we didn't sleep, we still need to ensure time stamps of config.status and
4024 # generated files are strictly newer.
4026 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4033 test "$program_prefix" != NONE
&&
4034 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4035 # Use a double $ so make ignores it.
4036 test "$program_suffix" != NONE
&&
4037 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4038 # Double any \ or $.
4039 # By default was `s,x,x', remove it if useless.
4040 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4041 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4043 # expand $ac_aux_dir to an absolute path
4044 am_aux_dir
=`cd $ac_aux_dir && pwd`
4046 if test x
"${MISSING+set}" != xset
; then
4049 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4051 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4054 # Use eval to expand $SHELL
4055 if eval "$MISSING --is-lightweight"; then
4056 am_missing_run
="$MISSING "
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4060 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4063 if test x
"${install_sh}" != xset
; then
4066 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4068 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4072 # Installed binaries are usually stripped using 'strip' when the user
4073 # run "make install-strip". However 'strip' might not be the right
4074 # tool to use in cross-compilation environments, therefore Automake
4075 # will honor the 'STRIP' environment variable to overrule this program.
4076 if test "$cross_compiling" != no
; then
4077 if test -n "$ac_tool_prefix"; then
4078 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4079 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if ${ac_cv_prog_STRIP+:} false
; then :
4083 $as_echo_n "(cached) " >&6
4085 if test -n "$STRIP"; then
4086 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4092 test -z "$as_dir" && as_dir
=.
4093 for ac_exec_ext
in '' $ac_executable_extensions; do
4094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4095 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 STRIP
=$ac_cv_prog_STRIP
4106 if test -n "$STRIP"; then
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4108 $as_echo "$STRIP" >&6; }
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4116 if test -z "$ac_cv_prog_STRIP"; then
4118 # Extract the first word of "strip", so it can be a program name with args.
4119 set dummy strip
; ac_word
=$2
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4121 $as_echo_n "checking for $ac_word... " >&6; }
4122 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4123 $as_echo_n "(cached) " >&6
4125 if test -n "$ac_ct_STRIP"; then
4126 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir
=.
4133 for ac_exec_ext
in '' $ac_executable_extensions; do
4134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4135 ac_cv_prog_ac_ct_STRIP
="strip"
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4146 if test -n "$ac_ct_STRIP"; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4148 $as_echo "$ac_ct_STRIP" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4154 if test "x$ac_ct_STRIP" = x
; then
4157 case $cross_compiling:$ac_tool_warned in
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4161 ac_tool_warned
=yes ;;
4166 STRIP
="$ac_cv_prog_STRIP"
4170 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4173 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4174 if test -z "$MKDIR_P"; then
4175 if ${ac_cv_path_mkdir+:} false
; then :
4176 $as_echo_n "(cached) " >&6
4178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4179 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4182 test -z "$as_dir" && as_dir
=.
4183 for ac_prog
in mkdir gmkdir
; do
4184 for ac_exec_ext
in '' $ac_executable_extensions; do
4185 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4186 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4187 'mkdir (GNU coreutils) '* | \
4188 'mkdir (coreutils) '* | \
4189 'mkdir (fileutils) '4.1*)
4190 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4200 test -d .
/--version && rmdir .
/--version
4201 if test "${ac_cv_path_mkdir+set}" = set; then
4202 MKDIR_P
="$ac_cv_path_mkdir -p"
4204 # As a last resort, use the slow shell script. Don't cache a
4205 # value for MKDIR_P within a source directory, because that will
4206 # break other packages using the cache if that directory is
4207 # removed, or if the value is a relative name.
4208 MKDIR_P
="$ac_install_sh -d"
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4212 $as_echo "$MKDIR_P" >&6; }
4214 for ac_prog
in gawk mawk nawk
awk
4216 # Extract the first word of "$ac_prog", so it can be a program name with args.
4217 set dummy
$ac_prog; ac_word
=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if ${ac_cv_prog_AWK+:} false
; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -n "$AWK"; then
4224 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4230 test -z "$as_dir" && as_dir
=.
4231 for ac_exec_ext
in '' $ac_executable_extensions; do
4232 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4233 ac_cv_prog_AWK
="$ac_prog"
4234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 if test -n "$AWK"; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4246 $as_echo "$AWK" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4253 test -n "$AWK" && break
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4257 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4259 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4260 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4261 $as_echo_n "(cached) " >&6
4263 cat >conftest.
make <<\_ACEOF
4266 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4268 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4269 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4271 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4273 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4277 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4279 $as_echo "yes" >&6; }
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4283 $as_echo "no" >&6; }
4284 SET_MAKE
="MAKE=${MAKE-make}"
4287 rm -rf .tst
2>/dev
/null
4288 mkdir .tst
2>/dev
/null
4289 if test -d .tst
; then
4294 rmdir .tst
2>/dev
/null
4296 DEPDIR
="${am__leading_dot}deps"
4298 ac_config_commands
="$ac_config_commands depfiles"
4301 am_make
=${MAKE-make}
4302 cat > confinc
<< 'END'
4304 @
echo this is the am__doit target
4307 # If we don't find an include directive, just comment out the code.
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4309 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4313 # First try GNU make style include.
4314 echo "include confinc" > confmf
4315 # Ignore all kinds of additional output from 'make'.
4316 case `$am_make -s -f confmf 2> /dev/null` in #(
4317 *the\ am__doit\ target
*)
4323 # Now try BSD make style include.
4324 if test "$am__include" = "#"; then
4325 echo '.include "confinc"' > confmf
4326 case `$am_make -s -f confmf 2> /dev/null` in #(
4327 *the\ am__doit\ target
*)
4328 am__include
=.include
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4337 $as_echo "$_am_result" >&6; }
4338 rm -f confinc confmf
4340 # Check whether --enable-dependency-tracking was given.
4341 if test "${enable_dependency_tracking+set}" = set; then :
4342 enableval
=$enable_dependency_tracking;
4345 if test "x$enable_dependency_tracking" != xno
; then
4346 am_depcomp
="$ac_aux_dir/depcomp"
4350 if test "x$enable_dependency_tracking" != xno; then
4359 # Check whether --enable-silent-rules was given.
4360 if test "${enable_silent_rules+set}" = set; then :
4361 enableval
=$enable_silent_rules;
4364 case $enable_silent_rules in # (((
4365 yes) AM_DEFAULT_VERBOSITY
=0;;
4366 no
) AM_DEFAULT_VERBOSITY
=1;;
4367 *) AM_DEFAULT_VERBOSITY
=1;;
4369 am_make
=${MAKE-make}
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4371 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4372 if ${am_cv_make_support_nested_variables+:} false
; then :
4373 $as_echo_n "(cached) " >&6
4375 if $as_echo 'TRUE=$(BAR$(V))
4381 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4382 am_cv_make_support_nested_variables
=yes
4384 am_cv_make_support_nested_variables
=no
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4388 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4389 if test $am_cv_make_support_nested_variables = yes; then
4391 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4393 AM_V
=$AM_DEFAULT_VERBOSITY
4394 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4398 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4399 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4400 # is not polluted with repeated "-I."
4401 am__isrc
=' -I$(srcdir)'
4402 # test to see if srcdir already configured
4403 if test -f $srcdir/config.status
; then
4404 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4408 # test whether we have cygpath
4409 if test -z "$CYGPATH_W"; then
4410 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4411 CYGPATH_W
='cygpath -w'
4418 # Define the identity of the package.
4424 cat >>confdefs.h
<<_ACEOF
4425 #define PACKAGE "$PACKAGE"
4429 cat >>confdefs.h
<<_ACEOF
4430 #define VERSION "$VERSION"
4433 # Some tools Automake needs.
4435 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4438 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4441 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4444 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4447 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4449 # For better backward compatibility. To be removed once Automake 1.9.x
4450 # dies out for good. For more background, see:
4451 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4452 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4453 mkdir_p
='$(MKDIR_P)'
4455 # We need awk for the "check" target. The system "awk" is bad on
4457 # Always define AMTAR for backward compatibility. Yes, it's still used
4458 # in the wild :-( We should find a proper way to deprecate it ...
4462 # We'll loop over all known methods to create a tar archive until one works.
4463 _am_tools
='gnutar pax cpio none'
4465 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4471 depcc
="$CC" am_compiler_list
=
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4474 $as_echo_n "checking dependency style of $depcc... " >&6; }
4475 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4476 $as_echo_n "(cached) " >&6
4478 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4479 # We make a subdir and do the tests there. Otherwise we can end up
4480 # making bogus files that we don't know about and never remove. For
4481 # instance it was reported that on HP-UX the gcc test will end up
4482 # making a dummy file named 'D' -- because '-MD' means "put the output
4486 # Copy depcomp to subdir because otherwise we won't find it if we're
4487 # using a relative directory.
4488 cp "$am_depcomp" conftest.dir
4490 # We will build objects and dependencies in a subdirectory because
4491 # it helps to detect inapplicable dependency modes. For instance
4492 # both Tru64's cc and ICC support -MD to output dependencies as a
4493 # side effect of compilation, but ICC will put the dependencies in
4494 # the current directory while Tru64 will put them in the object
4498 am_cv_CC_dependencies_compiler_type
=none
4499 if test "$am_compiler_list" = ""; then
4500 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4503 case " $depcc " in #(
4504 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4507 for depmode
in $am_compiler_list; do
4508 # Setup a source with many dependencies, because some compilers
4509 # like to wrap large dependency lists on column 80 (with \), and
4510 # we should not choose a depcomp mode which is confused by this.
4512 # We need to recreate these files for each test, as the compiler may
4513 # overwrite some of them when testing with obscure command lines.
4514 # This happens at least with the AIX C compiler.
4516 for i
in 1 2 3 4 5 6; do
4517 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4518 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4519 # Solaris 10 /bin/sh.
4520 echo '/* dummy */' > sub
/conftst
$i.h
4522 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4524 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4525 # mode. It turns out that the SunPro C++ compiler does not properly
4526 # handle '-M -o', and we need to detect this. Also, some Intel
4527 # versions had trouble with output in subdirs.
4528 am__obj
=sub
/conftest.
${OBJEXT-o}
4529 am__minus_obj
="-o $am__obj"
4532 # This depmode causes a compiler race in universal mode.
4533 test "$am__universal" = false ||
continue
4536 # After this tag, mechanisms are not by side-effect, so they'll
4537 # only be used when explicitly requested.
4538 if test "x$enable_dependency_tracking" = xyes
; then
4544 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4545 # This compiler won't grok '-c -o', but also, the minuso test has
4546 # not run yet. These depmodes are late enough in the game, and
4547 # so weak that their functioning should not be impacted.
4548 am__obj
=conftest.
${OBJEXT-o}
4553 if depmode
=$depmode \
4554 source=sub
/conftest.c object
=$am__obj \
4555 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4556 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4557 >/dev
/null
2>conftest.err
&&
4558 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4559 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4560 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4561 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4562 # icc doesn't choke on unknown options, it will just issue warnings
4563 # or remarks (even with -Werror). So we grep stderr for any message
4564 # that says an option was ignored or not supported.
4565 # When given -MP, icc 7.0 and 7.1 complain thusly:
4566 # icc: Command line warning: ignoring option '-M'; no argument required
4567 # The diagnosis changed in icc 8.0:
4568 # icc: Command line remark: option '-MP' not supported
4569 if (grep 'ignoring option' conftest.err ||
4570 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4571 am_cv_CC_dependencies_compiler_type
=$depmode
4580 am_cv_CC_dependencies_compiler_type
=none
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4585 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4586 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4589 test "x$enable_dependency_tracking" != xno \
4590 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4592 am__fastdepCC_FALSE
='#'
4594 am__fastdepCC_TRUE
='#'
4595 am__fastdepCC_FALSE
=
4603 if test -n "$ac_aux_dir"; then
4604 case "$ac_aux_dir" in
4605 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
4606 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
4609 if test -z "$MKINSTALLDIRS"; then
4610 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4616 $as_echo_n "checking whether NLS is requested... " >&6; }
4617 # Check whether --enable-nls was given.
4618 if test "${enable_nls+set}" = set; then :
4619 enableval
=$enable_nls; USE_NLS
=$enableval
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4625 $as_echo "$USE_NLS" >&6; }
4632 # Prepare PATH_SEPARATOR.
4633 # The user is always right.
4634 if test "${PATH_SEPARATOR+set}" != set; then
4635 echo "#! /bin/sh" >conf$$.sh
4636 echo "exit 0" >>conf$$.sh
4638 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4646 # Find out how to test for executable files. Don't use a zero-byte file,
4647 # as systems may use methods other than mode bits to determine executability.
4648 cat >conf$$.
file <<_ASEOF
4652 chmod +x conf$$.
file
4653 if test -x conf$$.
file >/dev
/null
2>&1; then
4654 ac_executable_p
="test -x"
4656 ac_executable_p
="test -f"
4660 # Extract the first word of "msgfmt", so it can be a program name with args.
4661 set dummy msgfmt
; ac_word
=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if ${ac_cv_path_MSGFMT+:} false
; then :
4665 $as_echo_n "(cached) " >&6
4669 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
4672 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4673 for ac_dir
in $PATH; do
4675 test -z "$ac_dir" && ac_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4678 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
4679 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4680 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
4687 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
4691 MSGFMT
="$ac_cv_path_MSGFMT"
4692 if test "$MSGFMT" != ":"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4694 $as_echo "$MSGFMT" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4700 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4701 set dummy gmsgfmt
; ac_word
=$2
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 $as_echo_n "checking for $ac_word... " >&6; }
4704 if ${ac_cv_path_GMSGFMT+:} false
; then :
4705 $as_echo_n "(cached) " >&6
4709 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
4712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir
=.
4717 for ac_exec_ext
in '' $ac_executable_extensions; do
4718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4719 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
4720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
4731 GMSGFMT
=$ac_cv_path_GMSGFMT
4732 if test -n "$GMSGFMT"; then
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4734 $as_echo "$GMSGFMT" >&6; }
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4743 # Prepare PATH_SEPARATOR.
4744 # The user is always right.
4745 if test "${PATH_SEPARATOR+set}" != set; then
4746 echo "#! /bin/sh" >conf$$.sh
4747 echo "exit 0" >>conf$$.sh
4749 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4757 # Find out how to test for executable files. Don't use a zero-byte file,
4758 # as systems may use methods other than mode bits to determine executability.
4759 cat >conf$$.
file <<_ASEOF
4763 chmod +x conf$$.
file
4764 if test -x conf$$.
file >/dev
/null
2>&1; then
4765 ac_executable_p
="test -x"
4767 ac_executable_p
="test -f"
4771 # Extract the first word of "xgettext", so it can be a program name with args.
4772 set dummy xgettext
; ac_word
=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_path_XGETTEXT+:} false
; then :
4776 $as_echo_n "(cached) " >&6
4780 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
4783 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4784 for ac_dir
in $PATH; do
4786 test -z "$ac_dir" && ac_dir
=.
4787 for ac_exec_ext
in '' $ac_executable_extensions; do
4788 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4789 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4790 (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
4791 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
4798 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
4802 XGETTEXT
="$ac_cv_path_XGETTEXT"
4803 if test "$XGETTEXT" != ":"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4805 $as_echo "$XGETTEXT" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4814 # Prepare PATH_SEPARATOR.
4815 # The user is always right.
4816 if test "${PATH_SEPARATOR+set}" != set; then
4817 echo "#! /bin/sh" >conf$$.sh
4818 echo "exit 0" >>conf$$.sh
4820 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4828 # Find out how to test for executable files. Don't use a zero-byte file,
4829 # as systems may use methods other than mode bits to determine executability.
4830 cat >conf$$.
file <<_ASEOF
4834 chmod +x conf$$.
file
4835 if test -x conf$$.
file >/dev
/null
2>&1; then
4836 ac_executable_p
="test -x"
4838 ac_executable_p
="test -f"
4842 # Extract the first word of "msgmerge", so it can be a program name with args.
4843 set dummy msgmerge
; ac_word
=$2
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 $as_echo_n "checking for $ac_word... " >&6; }
4846 if ${ac_cv_path_MSGMERGE+:} false
; then :
4847 $as_echo_n "(cached) " >&6
4851 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
4854 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
4855 for ac_dir
in $PATH; do
4857 test -z "$ac_dir" && ac_dir
=.
4858 for ac_exec_ext
in '' $ac_executable_extensions; do
4859 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4860 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
4861 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
4868 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
4872 MSGMERGE
="$ac_cv_path_MSGMERGE"
4873 if test "$MSGMERGE" != ":"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4875 $as_echo "$MSGMERGE" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4882 if test "$GMSGFMT" != ":"; then
4883 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
4884 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
4887 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4889 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
4894 if test "$XGETTEXT" != ":"; then
4895 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
4896 (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
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
4900 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
4906 ac_config_commands
="$ac_config_commands default-1"
4909 if test -n "$ac_tool_prefix"; then
4910 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4911 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_prog_RANLIB+:} false
; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$RANLIB"; then
4918 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4927 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 RANLIB
=$ac_cv_prog_RANLIB
4938 if test -n "$RANLIB"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4940 $as_echo "$RANLIB" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4948 if test -z "$ac_cv_prog_RANLIB"; then
4949 ac_ct_RANLIB
=$RANLIB
4950 # Extract the first word of "ranlib", so it can be a program name with args.
4951 set dummy ranlib
; ac_word
=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$ac_ct_RANLIB"; then
4958 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir
=.
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4978 if test -n "$ac_ct_RANLIB"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4980 $as_echo "$ac_ct_RANLIB" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4986 if test "x$ac_ct_RANLIB" = x
; then
4989 case $cross_compiling:$ac_tool_warned in
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4993 ac_tool_warned
=yes ;;
4995 RANLIB
=$ac_ct_RANLIB
4998 RANLIB
="$ac_cv_prog_RANLIB"
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
5003 $as_echo_n "checking for strerror in -lcposix... " >&6; }
5004 if ${ac_cv_lib_cposix_strerror+:} false
; then :
5005 $as_echo_n "(cached) " >&6
5007 ac_check_lib_save_LIBS
=$LIBS
5008 LIBS
="-lcposix $LIBS"
5009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5012 /* Override any GCC internal prototype to avoid an error.
5013 Use char because int might match the return type of a GCC
5014 builtin and then its argument prototype would still apply. */
5027 if ac_fn_c_try_link
"$LINENO"; then :
5028 ac_cv_lib_cposix_strerror
=yes
5030 ac_cv_lib_cposix_strerror
=no
5032 rm -f core conftest.err conftest.
$ac_objext \
5033 conftest
$ac_exeext conftest.
$ac_ext
5034 LIBS
=$ac_check_lib_save_LIBS
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
5037 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
5038 if test "x$ac_cv_lib_cposix_strerror" = xyes
; then :
5039 LIBS
="$LIBS -lcposix"
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5045 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5046 if ${ac_cv_c_const+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5057 /* Ultrix mips cc rejects this sort of thing. */
5058 typedef int charset[2];
5059 const charset cs = { 0, 0 };
5060 /* SunOS 4.1.1 cc rejects this. */
5061 char const *const *pcpcc;
5063 /* NEC SVR4.0.2 mips cc rejects this. */
5064 struct point {int x, y;};
5065 static struct point const zero = {0,0};
5066 /* AIX XL C 1.02.0.0 rejects this.
5067 It does not let you subtract one const X* pointer from another in
5068 an arm of an if-expression whose if-part is not a constant
5070 const char *g = "string";
5071 pcpcc = &g + (g ? g-g : 0);
5072 /* HPUX 7.0 cc rejects these. */
5074 ppc = (char**) pcpcc;
5075 pcpcc = (char const *const *) ppc;
5076 { /* SCO 3.2v4 cc rejects this sort of thing. */
5079 char const *s = 0 ? (char *) 0 : (char const *) 0;
5084 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5086 const int *foo = &x[0];
5089 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5090 typedef const int *iptr;
5094 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5095 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5096 struct s { int j; const int *ap[3]; } bx;
5097 struct s *b = &bx; b->j = 5;
5099 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5103 return !cs[0] && !zero.x;
5110 if ac_fn_c_try_compile
"$LINENO"; then :
5115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5118 $as_echo "$ac_cv_c_const" >&6; }
5119 if test $ac_cv_c_const = no
; then
5121 $as_echo "#define const /**/" >>confdefs.h
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed" >&5
5127 $as_echo_n "checking for signed... " >&6; }
5128 if ${bh_cv_c_signed+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h. */
5142 if ac_fn_c_try_compile
"$LINENO"; then :
5147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bh_cv_c_signed" >&5
5150 $as_echo "$bh_cv_c_signed" >&6; }
5151 if test $bh_cv_c_signed = no
; then
5153 $as_echo "#define signed /**/" >>confdefs.h
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5158 $as_echo_n "checking for inline... " >&6; }
5159 if ${ac_cv_c_inline+:} false
; then :
5160 $as_echo_n "(cached) " >&6
5163 for ac_kw
in inline __inline__ __inline
; do
5164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5165 /* end confdefs.h. */
5168 static $ac_kw foo_t static_foo () {return 0; }
5169 $ac_kw foo_t foo () {return 0; }
5173 if ac_fn_c_try_compile
"$LINENO"; then :
5174 ac_cv_c_inline
=$ac_kw
5176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5177 test "$ac_cv_c_inline" != no
&& break
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5182 $as_echo "$ac_cv_c_inline" >&6; }
5184 case $ac_cv_c_inline in
5187 case $ac_cv_c_inline in
5189 *) ac_val
=$ac_cv_c_inline;;
5191 cat >>confdefs.h
<<_ACEOF
5193 #define inline $ac_val
5199 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5200 if test "x$ac_cv_type_off_t" = xyes
; then :
5204 cat >>confdefs.h
<<_ACEOF
5205 #define off_t long int
5210 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5211 if test "x$ac_cv_type_size_t" = xyes
; then :
5215 cat >>confdefs.h
<<_ACEOF
5216 #define size_t unsigned int
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long" >&5
5223 $as_echo_n "checking for long long... " >&6; }
5224 if ${ac_cv_type_long_long+:} false
; then :
5225 $as_echo_n "(cached) " >&6
5227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5229 long long ll = 1LL; int i = 63;
5233 long long llmax = (long long) -1;
5234 return ll << i | ll >> i | llmax / ll | llmax % ll;
5239 if ac_fn_c_try_link
"$LINENO"; then :
5240 ac_cv_type_long_long
=yes
5242 ac_cv_type_long_long
=no
5244 rm -f core conftest.err conftest.
$ac_objext \
5245 conftest
$ac_exeext conftest.
$ac_ext
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long" >&5
5248 $as_echo "$ac_cv_type_long_long" >&6; }
5249 if test $ac_cv_type_long_long = yes; then
5251 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
5257 $as_echo_n "checking for long double... " >&6; }
5258 if ${gt_cv_c_long_double+:} false
; then :
5259 $as_echo_n "(cached) " >&6
5261 if test "$GCC" = yes; then
5262 gt_cv_c_long_double
=yes
5264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5267 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
5268 long double foo = 0.0;
5269 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
5270 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
5280 if ac_fn_c_try_compile
"$LINENO"; then :
5281 gt_cv_c_long_double
=yes
5283 gt_cv_c_long_double
=no
5285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_long_double" >&5
5289 $as_echo "$gt_cv_c_long_double" >&6; }
5290 if test $gt_cv_c_long_double = yes; then
5292 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
5298 $as_echo_n "checking for wchar_t... " >&6; }
5299 if ${gt_cv_c_wchar_t+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5305 wchar_t foo = (wchar_t)'\0';
5314 if ac_fn_c_try_compile
"$LINENO"; then :
5319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
5322 $as_echo "$gt_cv_c_wchar_t" >&6; }
5323 if test $gt_cv_c_wchar_t = yes; then
5325 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
5331 $as_echo_n "checking for wint_t... " >&6; }
5332 if ${gt_cv_c_wint_t+:} false
; then :
5333 $as_echo_n "(cached) " >&6
5335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5338 wint_t foo = (wchar_t)'\0';
5347 if ac_fn_c_try_compile
"$LINENO"; then :
5352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
5355 $as_echo "$gt_cv_c_wint_t" >&6; }
5356 if test $gt_cv_c_wint_t = yes; then
5358 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
5364 $as_echo_n "checking for inttypes.h... " >&6; }
5365 if ${jm_ac_cv_header_inttypes_h+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5370 #include <sys/types.h>
5371 #include <inttypes.h>
5375 uintmax_t i = (uintmax_t) -1;
5380 if ac_fn_c_try_compile
"$LINENO"; then :
5381 jm_ac_cv_header_inttypes_h
=yes
5383 jm_ac_cv_header_inttypes_h
=no
5385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
5388 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
5389 if test $jm_ac_cv_header_inttypes_h = yes; then
5391 cat >>confdefs.h
<<_ACEOF
5392 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
5399 $as_echo_n "checking for stdint.h... " >&6; }
5400 if ${jm_ac_cv_header_stdint_h+:} false
; then :
5401 $as_echo_n "(cached) " >&6
5403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5405 #include <sys/types.h>
5410 uintmax_t i = (uintmax_t) -1;
5415 if ac_fn_c_try_compile
"$LINENO"; then :
5416 jm_ac_cv_header_stdint_h
=yes
5418 jm_ac_cv_header_stdint_h
=no
5420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
5423 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
5424 if test $jm_ac_cv_header_stdint_h = yes; then
5426 cat >>confdefs.h
<<_ACEOF
5427 #define HAVE_STDINT_H_WITH_UINTMAX 1
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
5436 $as_echo_n "checking for intmax_t... " >&6; }
5437 if ${gt_cv_c_intmax_t+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5445 #if HAVE_STDINT_H_WITH_UINTMAX
5448 #if HAVE_INTTYPES_H_WITH_UINTMAX
5449 #include <inttypes.h>
5460 if ac_fn_c_try_compile
"$LINENO"; then :
5461 gt_cv_c_intmax_t
=yes
5465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
5468 $as_echo "$gt_cv_c_intmax_t" >&6; }
5469 if test $gt_cv_c_intmax_t = yes; then
5471 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
5478 $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
5479 if ${gt_cv_func_printf_posix+:} false
; then :
5480 $as_echo_n "(cached) " >&6
5483 if test "$cross_compiling" = yes; then :
5485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5488 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
5493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5494 $EGREP "notposix" >/dev
/null
2>&1; then :
5495 gt_cv_func_printf_posix
="guessing no"
5497 gt_cv_func_printf_posix
="guessing yes"
5503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h. */
5508 /* The string "%2$d %1$d", with dollar characters protected from the shell's
5509 dollar expansion (possibly an autoconf bug). */
5510 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
5511 static char buf[100];
5514 sprintf (buf, format, 33, 55);
5515 return (strcmp (buf, "55 33") != 0);
5518 if ac_fn_c_try_run
"$LINENO"; then :
5519 gt_cv_func_printf_posix
=yes
5521 gt_cv_func_printf_posix
=no
5523 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5524 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
5530 $as_echo "$gt_cv_func_printf_posix" >&6; }
5531 case $gt_cv_func_printf_posix in
5534 $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
5539 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5540 # for constant arguments. Useless!
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5542 $as_echo_n "checking for working alloca.h... " >&6; }
5543 if ${ac_cv_working_alloca_h+:} false
; then :
5544 $as_echo_n "(cached) " >&6
5546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5552 char *p = (char *) alloca (2 * sizeof (int));
5558 if ac_fn_c_try_link
"$LINENO"; then :
5559 ac_cv_working_alloca_h
=yes
5561 ac_cv_working_alloca_h
=no
5563 rm -f core conftest.err conftest.
$ac_objext \
5564 conftest
$ac_exeext conftest.
$ac_ext
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5567 $as_echo "$ac_cv_working_alloca_h" >&6; }
5568 if test $ac_cv_working_alloca_h = yes; then
5570 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5575 $as_echo_n "checking for alloca... " >&6; }
5576 if ${ac_cv_func_alloca_works+:} false
; then :
5577 $as_echo_n "(cached) " >&6
5579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5582 # define alloca __builtin_alloca
5585 # include <malloc.h>
5586 # define alloca _alloca
5588 # ifdef HAVE_ALLOCA_H
5589 # include <alloca.h>
5594 # ifndef alloca /* predefined by HP cc +Olibcalls */
5595 void *alloca (size_t);
5605 char *p = (char *) alloca (1);
5611 if ac_fn_c_try_link
"$LINENO"; then :
5612 ac_cv_func_alloca_works
=yes
5614 ac_cv_func_alloca_works
=no
5616 rm -f core conftest.err conftest.
$ac_objext \
5617 conftest
$ac_exeext conftest.
$ac_ext
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5620 $as_echo "$ac_cv_func_alloca_works" >&6; }
5622 if test $ac_cv_func_alloca_works = yes; then
5624 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5627 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5628 # that cause trouble. Some versions do not even contain alloca or
5629 # contain a buggy version. If you still want to use their alloca,
5630 # use ar to extract alloca.o from them instead of compiling alloca.c.
5632 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5634 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5638 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5639 if ${ac_cv_os_cray+:} false
; then :
5640 $as_echo_n "(cached) " >&6
5642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5644 #if defined CRAY && ! defined CRAY2
5651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5652 $EGREP "webecray" >/dev
/null
2>&1; then :
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5661 $as_echo "$ac_cv_os_cray" >&6; }
5662 if test $ac_cv_os_cray = yes; then
5663 for ac_func
in _getb67 GETB67 getb67
; do
5664 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5665 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5666 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5668 cat >>confdefs.h
<<_ACEOF
5669 #define CRAY_STACKSEG_END $ac_func
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5679 $as_echo_n "checking stack direction for C alloca... " >&6; }
5680 if ${ac_cv_c_stack_direction+:} false
; then :
5681 $as_echo_n "(cached) " >&6
5683 if test "$cross_compiling" = yes; then :
5684 ac_cv_c_stack_direction
=0
5686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5688 $ac_includes_default
5690 find_stack_direction (int *addr, int depth)
5695 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5696 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5701 main (int argc, char **argv)
5703 return find_stack_direction (0, argc + !argv + 20) < 0;
5706 if ac_fn_c_try_run
"$LINENO"; then :
5707 ac_cv_c_stack_direction
=1
5709 ac_cv_c_stack_direction
=-1
5711 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5712 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5717 $as_echo "$ac_cv_c_stack_direction" >&6; }
5718 cat >>confdefs.h
<<_ACEOF
5719 #define STACK_DIRECTION $ac_cv_c_stack_direction
5728 for ac_header
in $ac_header_list
5730 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5731 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5733 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5734 cat >>confdefs.h
<<_ACEOF
5735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5749 for ac_func
in getpagesize
5751 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
5752 if test "x$ac_cv_func_getpagesize" = xyes
; then :
5753 cat >>confdefs.h
<<_ACEOF
5754 #define HAVE_GETPAGESIZE 1
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
5761 $as_echo_n "checking for working mmap... " >&6; }
5762 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
5763 $as_echo_n "(cached) " >&6
5765 if test "$cross_compiling" = yes; then :
5766 ac_cv_func_mmap_fixed_mapped
=no
5768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5769 /* end confdefs.h. */
5770 $ac_includes_default
5771 /* malloc might have been renamed as rpl_malloc. */
5774 /* Thanks to Mike Haertel and Jim Avera for this test.
5775 Here is a matrix of mmap possibilities:
5776 mmap private not fixed
5777 mmap private fixed at somewhere currently unmapped
5778 mmap private fixed at somewhere already mapped
5779 mmap shared not fixed
5780 mmap shared fixed at somewhere currently unmapped
5781 mmap shared fixed at somewhere already mapped
5782 For private mappings, we should verify that changes cannot be read()
5783 back from the file, nor mmap's back from the file at a different
5784 address. (There have been systems where private was not correctly
5785 implemented like the infamous i386 svr4.0, and systems where the
5786 VM page cache was not coherent with the file system buffer cache
5787 like early versions of FreeBSD and possibly contemporary NetBSD.)
5788 For shared mappings, we should conversely verify that changes get
5789 propagated back to all the places they're supposed to be.
5791 Grep wants private fixed already mapped.
5792 The main things grep needs to know about mmap are:
5793 * does it exist and is it safe to write into the mmap'd area
5794 * how to use it (BSD variants) */
5797 #include <sys/mman.h>
5799 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
5803 /* This mess was copied from the GNU getpagesize.h. */
5804 #ifndef HAVE_GETPAGESIZE
5805 # ifdef _SC_PAGESIZE
5806 # define getpagesize() sysconf(_SC_PAGESIZE)
5807 # else /* no _SC_PAGESIZE */
5808 # ifdef HAVE_SYS_PARAM_H
5809 # include <sys/param.h>
5810 # ifdef EXEC_PAGESIZE
5811 # define getpagesize() EXEC_PAGESIZE
5812 # else /* no EXEC_PAGESIZE */
5814 # define getpagesize() NBPG * CLSIZE
5817 # endif /* no CLSIZE */
5818 # else /* no NBPG */
5820 # define getpagesize() NBPC
5821 # else /* no NBPC */
5823 # define getpagesize() PAGESIZE
5824 # endif /* PAGESIZE */
5825 # endif /* no NBPC */
5826 # endif /* no NBPG */
5827 # endif /* no EXEC_PAGESIZE */
5828 # else /* no HAVE_SYS_PARAM_H */
5829 # define getpagesize() 8192 /* punt totally */
5830 # endif /* no HAVE_SYS_PARAM_H */
5831 # endif /* no _SC_PAGESIZE */
5833 #endif /* no HAVE_GETPAGESIZE */
5838 char *data, *data2, *data3;
5843 pagesize = getpagesize ();
5845 /* First, make a file with some known garbage in it. */
5846 data = (char *) malloc (pagesize);
5849 for (i = 0; i < pagesize; ++i)
5850 *(data + i) = rand ();
5852 fd = creat ("conftest.mmap", 0600);
5855 if (write (fd, data, pagesize) != pagesize)
5859 /* Next, check that the tail of a page is zero-filled. File must have
5860 non-zero length, otherwise we risk SIGBUS for entire page. */
5861 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
5865 if (write (fd2, cdata2, 1) != 1)
5867 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
5868 if (data2 == MAP_FAILED)
5870 for (i = 0; i < pagesize; ++i)
5874 if (munmap (data2, pagesize))
5877 /* Next, try to mmap the file at a fixed address which already has
5878 something else allocated at it. If we can, also make sure that
5879 we see the same garbage. */
5880 fd = open ("conftest.mmap", O_RDWR);
5883 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5884 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5886 for (i = 0; i < pagesize; ++i)
5887 if (*(data + i) != *(data2 + i))
5890 /* Finally, make sure that changes to the mapped area do not
5891 percolate back to the file as seen by read(). (This is a bug on
5892 some variants of i386 svr4.0.) */
5893 for (i = 0; i < pagesize; ++i)
5894 *(data2 + i) = *(data2 + i) + 1;
5895 data3 = (char *) malloc (pagesize);
5898 if (read (fd, data3, pagesize) != pagesize)
5900 for (i = 0; i < pagesize; ++i)
5901 if (*(data + i) != *(data3 + i))
5907 if ac_fn_c_try_run
"$LINENO"; then :
5908 ac_cv_func_mmap_fixed_mapped
=yes
5910 ac_cv_func_mmap_fixed_mapped
=no
5912 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5913 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
5918 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
5919 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5921 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
5924 rm -f conftest.mmap conftest.txt
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
5928 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
5929 if ${ac_cv_gnu_library_2_1+:} false
; then :
5930 $as_echo_n "(cached) " >&6
5932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5933 /* end confdefs.h. */
5935 #include <features.h>
5936 #ifdef __GNU_LIBRARY__
5937 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
5943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5944 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
5945 ac_cv_gnu_library_2_1
=yes
5947 ac_cv_gnu_library_2_1
=no
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
5955 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
5957 GLIBC21
="$ac_cv_gnu_library_2_1"
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
5963 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
5964 if ${gt_cv_int_divbyzero_sigfpe+:} false
; then :
5965 $as_echo_n "(cached) " >&6
5968 if test "$cross_compiling" = yes; then :
5970 # Guess based on the CPU.
5972 alpha
* | i3456786 | m68k | s390
*)
5973 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
5975 gt_cv_int_divbyzero_sigfpe
="guessing no";;
5979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5987 sigfpe_handler (int sig)
5989 sigfpe_handler (sig) int sig;
5992 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
5993 exit (sig != SIGFPE);
6003 signal (SIGFPE, sigfpe_handler);
6004 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
6005 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
6006 signal (SIGTRAP, sigfpe_handler);
6008 /* Linux/SPARC yields signal SIGILL. */
6009 #if defined (__sparc__) && defined (__linux__)
6010 signal (SIGILL, sigfpe_handler);
6019 if ac_fn_c_try_run
"$LINENO"; then :
6020 gt_cv_int_divbyzero_sigfpe
=yes
6022 gt_cv_int_divbyzero_sigfpe
=no
6024 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6025 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
6031 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
6032 case "$gt_cv_int_divbyzero_sigfpe" in
6037 cat >>confdefs.h
<<_ACEOF
6038 #define INTDIV0_RAISES_SIGFPE $value
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
6044 $as_echo_n "checking for unsigned long long... " >&6; }
6045 if ${ac_cv_type_unsigned_long_long+:} false
; then :
6046 $as_echo_n "(cached) " >&6
6048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6050 unsigned long long ull = 1ULL; int i = 63;
6054 unsigned long long ullmax = (unsigned long long) -1;
6055 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
6060 if ac_fn_c_try_link
"$LINENO"; then :
6061 ac_cv_type_unsigned_long_long
=yes
6063 ac_cv_type_unsigned_long_long
=no
6065 rm -f core conftest.err conftest.
$ac_objext \
6066 conftest
$ac_exeext conftest.
$ac_ext
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
6069 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
6070 if test $ac_cv_type_unsigned_long_long = yes; then
6072 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
6079 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
6081 test $ac_cv_type_unsigned_long_long = yes \
6082 && ac_type
='unsigned long long' \
6083 || ac_type
='unsigned long'
6085 cat >>confdefs.h
<<_ACEOF
6086 #define uintmax_t $ac_type
6091 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
6097 $as_echo_n "checking for inttypes.h... " >&6; }
6098 if ${gt_cv_header_inttypes_h+:} false
; then :
6099 $as_echo_n "(cached) " >&6
6102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6104 #include <sys/types.h>
6105 #include <inttypes.h>
6114 if ac_fn_c_try_compile
"$LINENO"; then :
6115 gt_cv_header_inttypes_h
=yes
6117 gt_cv_header_inttypes_h
=no
6119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
6123 $as_echo "$gt_cv_header_inttypes_h" >&6; }
6124 if test $gt_cv_header_inttypes_h = yes; then
6126 cat >>confdefs.h
<<_ACEOF
6127 #define HAVE_INTTYPES_H 1
6134 if test $gt_cv_header_inttypes_h = yes; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
6136 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
6137 if ${gt_cv_inttypes_pri_broken+:} false
; then :
6138 $as_echo_n "(cached) " >&6
6141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6142 /* end confdefs.h. */
6143 #include <inttypes.h>
6156 if ac_fn_c_try_compile
"$LINENO"; then :
6157 gt_cv_inttypes_pri_broken
=no
6159 gt_cv_inttypes_pri_broken
=yes
6161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
6165 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
6167 if test "$gt_cv_inttypes_pri_broken" = yes; then
6169 cat >>confdefs.h
<<_ACEOF
6170 #define PRI_MACROS_BROKEN 1
6176 for ac_header
in stdint.h
6178 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
6179 if test "x$ac_cv_header_stdint_h" = xyes
; then :
6180 cat >>confdefs.h
<<_ACEOF
6181 #define HAVE_STDINT_H 1
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
6189 $as_echo_n "checking for SIZE_MAX... " >&6; }
6191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6204 $EGREP "Found it" >/dev
/null
2>&1; then :
6209 if test -z "$result"; then
6210 if ac_fn_c_compute_int
"$LINENO" "~(size_t)0 / 10" "res_hi" "#include <stddef.h>"; then :
6217 if ac_fn_c_compute_int
"$LINENO" "~(size_t)0 % 10" "res_lo" "#include <stddef.h>"; then :
6224 if ac_fn_c_compute_int
"$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
6231 if test "$fits_in_uint" = 1; then
6232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6236 extern unsigned long foo;
6246 if ac_fn_c_try_compile
"$LINENO"; then :
6249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6251 if test -z "$result"; then
6252 if test "$fits_in_uint" = 1; then
6253 result
="$res_hi$res_lo"U
6255 result
="$res_hi$res_lo"UL
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6262 $as_echo "$result" >&6; }
6263 if test "$result" != yes; then
6265 cat >>confdefs.h
<<_ACEOF
6266 #define SIZE_MAX $result
6273 for ac_header
in stdint.h
6275 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
6276 if test "x$ac_cv_header_stdint_h" = xyes
; then :
6277 cat >>confdefs.h
<<_ACEOF
6278 #define HAVE_STDINT_H 1
6287 if test "X$prefix" = "XNONE"; then
6288 acl_final_prefix
="$ac_default_prefix"
6290 acl_final_prefix
="$prefix"
6292 if test "X$exec_prefix" = "XNONE"; then
6293 acl_final_exec_prefix
='${prefix}'
6295 acl_final_exec_prefix
="$exec_prefix"
6297 acl_save_prefix
="$prefix"
6298 prefix
="$acl_final_prefix"
6299 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6300 prefix
="$acl_save_prefix"
6303 # Check whether --with-gnu-ld was given.
6304 if test "${with_gnu_ld+set}" = set; then :
6305 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6310 # Prepare PATH_SEPARATOR.
6311 # The user is always right.
6312 if test "${PATH_SEPARATOR+set}" != set; then
6313 echo "#! /bin/sh" >conf$$.sh
6314 echo "exit 0" >>conf$$.sh
6316 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6324 if test "$GCC" = yes; then
6325 # Check if gcc -print-prog-name=ld gives a path.
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6327 $as_echo_n "checking for ld used by GCC... " >&6; }
6330 # gcc leaves a trailing carriage return which upsets mingw
6331 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6333 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6336 # Accept absolute paths.
6337 [\\/]* |
[A-Za-z
]:[\\/]*)
6338 re_direlt
='/[^/][^/]*/\.\./'
6339 # Canonicalize the path of ld
6340 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6341 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6342 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6344 test -z "$LD" && LD
="$ac_prog"
6347 # If it fails, then pretend we aren't using GCC.
6351 # If it is relative, then search for the first ld in PATH.
6355 elif test "$with_gnu_ld" = yes; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6357 $as_echo_n "checking for GNU ld... " >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6360 $as_echo_n "checking for non-GNU ld... " >&6; }
6362 if ${acl_cv_path_LD+:} false
; then :
6363 $as_echo_n "(cached) " >&6
6365 if test -z "$LD"; then
6366 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6367 for ac_dir
in $PATH; do
6368 test -z "$ac_dir" && ac_dir
=.
6369 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6370 acl_cv_path_LD
="$ac_dir/$ac_prog"
6371 # Check to see if the program is GNU ld. I'd rather use --version,
6372 # but apparently some GNU ld's only accept -v.
6373 # Break only if it was the GNU/non-GNU ld that we prefer.
6374 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
6375 *GNU
* |
*'with BFD'*)
6376 test "$with_gnu_ld" != no
&& break ;;
6378 test "$with_gnu_ld" != yes && break ;;
6384 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6388 LD
="$acl_cv_path_LD"
6389 if test -n "$LD"; then
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6391 $as_echo "$LD" >&6; }
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6394 $as_echo "no" >&6; }
6396 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6398 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6399 if ${acl_cv_prog_gnu_ld+:} false
; then :
6400 $as_echo_n "(cached) " >&6
6402 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6403 case `$LD -v 2>&1 </dev/null` in
6404 *GNU
* |
*'with BFD'*)
6405 acl_cv_prog_gnu_ld
=yes ;;
6407 acl_cv_prog_gnu_ld
=no
;;
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6411 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
6412 with_gnu_ld
=$acl_cv_prog_gnu_ld
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6417 $as_echo_n "checking for shared library run path origin... " >&6; }
6418 if ${acl_cv_rpath+:} false
; then :
6419 $as_echo_n "(cached) " >&6
6422 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6423 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6430 $as_echo "$acl_cv_rpath" >&6; }
6432 libext
="$acl_cv_libext"
6433 shlibext
="$acl_cv_shlibext"
6434 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6435 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6436 hardcode_direct
="$acl_cv_hardcode_direct"
6437 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6438 # Check whether --enable-rpath was given.
6439 if test "${enable_rpath+set}" = set; then :
6440 enableval
=$enable_rpath; :
6454 acl_save_prefix
="$prefix"
6455 prefix
="$acl_final_prefix"
6456 acl_save_exec_prefix
="$exec_prefix"
6457 exec_prefix
="$acl_final_exec_prefix"
6459 eval additional_includedir
=\"$includedir\"
6460 eval additional_libdir
=\"$libdir\"
6462 exec_prefix
="$acl_save_exec_prefix"
6463 prefix
="$acl_save_prefix"
6466 # Check whether --with-libiconv-prefix was given.
6467 if test "${with_libiconv_prefix+set}" = set; then :
6468 withval
=$with_libiconv_prefix;
6469 if test "X$withval" = "Xno"; then
6472 if test "X$withval" = "X"; then
6474 acl_save_prefix
="$prefix"
6475 prefix
="$acl_final_prefix"
6476 acl_save_exec_prefix
="$exec_prefix"
6477 exec_prefix
="$acl_final_exec_prefix"
6479 eval additional_includedir
=\"$includedir\"
6480 eval additional_libdir
=\"$libdir\"
6482 exec_prefix
="$acl_save_exec_prefix"
6483 prefix
="$acl_save_prefix"
6486 additional_includedir
="$withval/include"
6487 additional_libdir
="$withval/lib"
6498 names_already_handled
=
6499 names_next_round
='iconv '
6500 while test -n "$names_next_round"; do
6501 names_this_round
="$names_next_round"
6503 for name
in $names_this_round; do
6505 for n
in $names_already_handled; do
6506 if test "$n" = "$name"; then
6511 if test -z "$already_handled"; then
6512 names_already_handled
="$names_already_handled $name"
6513 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6514 eval value
=\"\
$HAVE_LIB$uppername\"
6515 if test -n "$value"; then
6516 if test "$value" = yes; then
6517 eval value
=\"\
$LIB$uppername\"
6518 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6519 eval value
=\"\
$LTLIB$uppername\"
6520 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6529 if test $use_additional = yes; then
6530 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6531 found_dir
="$additional_libdir"
6532 found_so
="$additional_libdir/lib$name.$shlibext"
6533 if test -f "$additional_libdir/lib$name.la"; then
6534 found_la
="$additional_libdir/lib$name.la"
6537 if test -f "$additional_libdir/lib$name.$libext"; then
6538 found_dir
="$additional_libdir"
6539 found_a
="$additional_libdir/lib$name.$libext"
6540 if test -f "$additional_libdir/lib$name.la"; then
6541 found_la
="$additional_libdir/lib$name.la"
6546 if test "X$found_dir" = "X"; then
6547 for x
in $LDFLAGS $LTLIBICONV; do
6549 acl_save_prefix
="$prefix"
6550 prefix
="$acl_final_prefix"
6551 acl_save_exec_prefix
="$exec_prefix"
6552 exec_prefix
="$acl_final_exec_prefix"
6554 exec_prefix
="$acl_save_exec_prefix"
6555 prefix
="$acl_save_prefix"
6559 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6560 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6562 found_so
="$dir/lib$name.$shlibext"
6563 if test -f "$dir/lib$name.la"; then
6564 found_la
="$dir/lib$name.la"
6567 if test -f "$dir/lib$name.$libext"; then
6569 found_a
="$dir/lib$name.$libext"
6570 if test -f "$dir/lib$name.la"; then
6571 found_la
="$dir/lib$name.la"
6577 if test "X$found_dir" != "X"; then
6582 if test "X$found_dir" != "X"; then
6583 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6584 if test "X$found_so" != "X"; then
6585 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6586 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6589 for x
in $ltrpathdirs; do
6590 if test "X$x" = "X$found_dir"; then
6595 if test -z "$haveit"; then
6596 ltrpathdirs
="$ltrpathdirs $found_dir"
6598 if test "$hardcode_direct" = yes; then
6599 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6601 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6602 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6604 for x
in $rpathdirs; do
6605 if test "X$x" = "X$found_dir"; then
6610 if test -z "$haveit"; then
6611 rpathdirs
="$rpathdirs $found_dir"
6615 for x
in $LDFLAGS $LIBICONV; do
6617 acl_save_prefix
="$prefix"
6618 prefix
="$acl_final_prefix"
6619 acl_save_exec_prefix
="$exec_prefix"
6620 exec_prefix
="$acl_final_exec_prefix"
6622 exec_prefix
="$acl_save_exec_prefix"
6623 prefix
="$acl_save_prefix"
6625 if test "X$x" = "X-L$found_dir"; then
6630 if test -z "$haveit"; then
6631 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6633 if test "$hardcode_minus_L" != no
; then
6634 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6636 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6642 if test "X$found_a" != "X"; then
6643 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6645 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6648 additional_includedir
=
6649 case "$found_dir" in
6651 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6652 additional_includedir
="$basedir/include"
6655 if test "X$additional_includedir" != "X"; then
6656 if test "X$additional_includedir" != "X/usr/include"; then
6658 if test "X$additional_includedir" = "X/usr/local/include"; then
6659 if test -n "$GCC"; then
6661 linux
*) haveit
=yes;;
6665 if test -z "$haveit"; then
6666 for x
in $CPPFLAGS $INCICONV; do
6668 acl_save_prefix
="$prefix"
6669 prefix
="$acl_final_prefix"
6670 acl_save_exec_prefix
="$exec_prefix"
6671 exec_prefix
="$acl_final_exec_prefix"
6673 exec_prefix
="$acl_save_exec_prefix"
6674 prefix
="$acl_save_prefix"
6676 if test "X$x" = "X-I$additional_includedir"; then
6681 if test -z "$haveit"; then
6682 if test -d "$additional_includedir"; then
6683 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6689 if test -n "$found_la"; then
6690 save_libdir
="$libdir"
6692 */* |
*\\*) .
"$found_la" ;;
6693 *) .
"./$found_la" ;;
6695 libdir
="$save_libdir"
6696 for dep
in $dependency_libs; do
6699 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6700 if test "X$additional_libdir" != "X/usr/lib"; then
6702 if test "X$additional_libdir" = "X/usr/local/lib"; then
6703 if test -n "$GCC"; then
6705 linux
*) haveit
=yes;;
6709 if test -z "$haveit"; then
6711 for x
in $LDFLAGS $LIBICONV; do
6713 acl_save_prefix
="$prefix"
6714 prefix
="$acl_final_prefix"
6715 acl_save_exec_prefix
="$exec_prefix"
6716 exec_prefix
="$acl_final_exec_prefix"
6718 exec_prefix
="$acl_save_exec_prefix"
6719 prefix
="$acl_save_prefix"
6721 if test "X$x" = "X-L$additional_libdir"; then
6726 if test -z "$haveit"; then
6727 if test -d "$additional_libdir"; then
6728 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6732 for x
in $LDFLAGS $LTLIBICONV; do
6734 acl_save_prefix
="$prefix"
6735 prefix
="$acl_final_prefix"
6736 acl_save_exec_prefix
="$exec_prefix"
6737 exec_prefix
="$acl_final_exec_prefix"
6739 exec_prefix
="$acl_save_exec_prefix"
6740 prefix
="$acl_save_prefix"
6742 if test "X$x" = "X-L$additional_libdir"; then
6747 if test -z "$haveit"; then
6748 if test -d "$additional_libdir"; then
6749 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6756 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6757 if test "$enable_rpath" != no
; then
6759 for x
in $rpathdirs; do
6760 if test "X$x" = "X$dir"; then
6765 if test -z "$haveit"; then
6766 rpathdirs
="$rpathdirs $dir"
6769 for x
in $ltrpathdirs; do
6770 if test "X$x" = "X$dir"; then
6775 if test -z "$haveit"; then
6776 ltrpathdirs
="$ltrpathdirs $dir"
6781 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6784 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6787 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6788 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6794 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6795 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6801 if test "X$rpathdirs" != "X"; then
6802 if test -n "$hardcode_libdir_separator"; then
6804 for found_dir
in $rpathdirs; do
6805 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6807 acl_save_libdir
="$libdir"
6809 eval flag
=\"$hardcode_libdir_flag_spec\"
6810 libdir
="$acl_save_libdir"
6811 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6813 for found_dir
in $rpathdirs; do
6814 acl_save_libdir
="$libdir"
6816 eval flag
=\"$hardcode_libdir_flag_spec\"
6817 libdir
="$acl_save_libdir"
6818 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6822 if test "X$ltrpathdirs" != "X"; then
6823 for found_dir
in $ltrpathdirs; do
6824 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6835 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
6836 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
6840 $as_echo "#define ptrdiff_t long" >>confdefs.h
6845 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
6846 stdlib.h string.h unistd.h sys
/param.h
6848 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6849 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6850 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6851 cat >>confdefs.h
<<_ACEOF
6852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6859 for ac_func
in asprintf fwprintf getcwd getegid geteuid getgid getuid \
6860 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
6861 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
6864 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6865 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6866 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6867 cat >>confdefs.h
<<_ACEOF
6868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
6877 $as_echo_n "checking whether _snprintf is declared... " >&6; }
6878 if ${ac_cv_have_decl__snprintf+:} false
; then :
6879 $as_echo_n "(cached) " >&6
6881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6889 char *p = (char *) _snprintf;
6896 if ac_fn_c_try_compile
"$LINENO"; then :
6897 ac_cv_have_decl__snprintf
=yes
6899 ac_cv_have_decl__snprintf
=no
6901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5
6904 $as_echo "$ac_cv_have_decl__snprintf" >&6; }
6905 if test $ac_cv_have_decl__snprintf = yes; then
6911 cat >>confdefs.h
<<_ACEOF
6912 #define HAVE_DECL__SNPRINTF $gt_value
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
6918 $as_echo_n "checking whether _snwprintf is declared... " >&6; }
6919 if ${ac_cv_have_decl__snwprintf+:} false
; then :
6920 $as_echo_n "(cached) " >&6
6922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6923 /* end confdefs.h. */
6930 char *p = (char *) _snwprintf;
6937 if ac_fn_c_try_compile
"$LINENO"; then :
6938 ac_cv_have_decl__snwprintf
=yes
6940 ac_cv_have_decl__snwprintf
=no
6942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5
6945 $as_echo "$ac_cv_have_decl__snwprintf" >&6; }
6946 if test $ac_cv_have_decl__snwprintf = yes; then
6952 cat >>confdefs.h
<<_ACEOF
6953 #define HAVE_DECL__SNWPRINTF $gt_value
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
6960 $as_echo_n "checking whether feof_unlocked is declared... " >&6; }
6961 if ${ac_cv_have_decl_feof_unlocked+:} false
; then :
6962 $as_echo_n "(cached) " >&6
6964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6971 #ifndef feof_unlocked
6972 char *p = (char *) feof_unlocked;
6979 if ac_fn_c_try_compile
"$LINENO"; then :
6980 ac_cv_have_decl_feof_unlocked
=yes
6982 ac_cv_have_decl_feof_unlocked
=no
6984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5
6987 $as_echo "$ac_cv_have_decl_feof_unlocked" >&6; }
6988 if test $ac_cv_have_decl_feof_unlocked = yes; then
6994 cat >>confdefs.h
<<_ACEOF
6995 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
7001 $as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
7002 if ${ac_cv_have_decl_fgets_unlocked+:} false
; then :
7003 $as_echo_n "(cached) " >&6
7005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7006 /* end confdefs.h. */
7012 #ifndef fgets_unlocked
7013 char *p = (char *) fgets_unlocked;
7020 if ac_fn_c_try_compile
"$LINENO"; then :
7021 ac_cv_have_decl_fgets_unlocked
=yes
7023 ac_cv_have_decl_fgets_unlocked
=no
7025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5
7028 $as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; }
7029 if test $ac_cv_have_decl_fgets_unlocked = yes; then
7035 cat >>confdefs.h
<<_ACEOF
7036 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
7042 $as_echo_n "checking whether getc_unlocked is declared... " >&6; }
7043 if ${ac_cv_have_decl_getc_unlocked+:} false
; then :
7044 $as_echo_n "(cached) " >&6
7046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7053 #ifndef getc_unlocked
7054 char *p = (char *) getc_unlocked;
7061 if ac_fn_c_try_compile
"$LINENO"; then :
7062 ac_cv_have_decl_getc_unlocked
=yes
7064 ac_cv_have_decl_getc_unlocked
=no
7066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5
7069 $as_echo "$ac_cv_have_decl_getc_unlocked" >&6; }
7070 if test $ac_cv_have_decl_getc_unlocked = yes; then
7076 cat >>confdefs.h
<<_ACEOF
7077 #define HAVE_DECL_GETC_UNLOCKED $gt_value
7082 case $gt_cv_func_printf_posix in
7083 *yes) HAVE_POSIX_PRINTF
=1 ;;
7084 *) HAVE_POSIX_PRINTF
=0 ;;
7087 if test "$ac_cv_func_asprintf" = yes; then
7093 if test "$ac_cv_func_snprintf" = yes; then
7099 if test "$ac_cv_func_wprintf" = yes; then
7111 am_save_CPPFLAGS
="$CPPFLAGS"
7113 for element
in $INCICONV; do
7115 for x
in $CPPFLAGS; do
7117 acl_save_prefix
="$prefix"
7118 prefix
="$acl_final_prefix"
7119 acl_save_exec_prefix
="$exec_prefix"
7120 exec_prefix
="$acl_final_exec_prefix"
7122 exec_prefix
="$acl_save_exec_prefix"
7123 prefix
="$acl_save_prefix"
7125 if test "X$x" = "X$element"; then
7130 if test -z "$haveit"; then
7131 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7137 $as_echo_n "checking for iconv... " >&6; }
7138 if ${am_cv_func_iconv+:} false
; then :
7139 $as_echo_n "(cached) " >&6
7142 am_cv_func_iconv
="no, consider installing GNU libiconv"
7144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7151 iconv_t cd = iconv_open("","");
7152 iconv(cd,NULL,NULL,NULL,NULL);
7158 if ac_fn_c_try_link
"$LINENO"; then :
7159 am_cv_func_iconv
=yes
7161 rm -f core conftest.err conftest.
$ac_objext \
7162 conftest
$ac_exeext conftest.
$ac_ext
7163 if test "$am_cv_func_iconv" != yes; then
7164 am_save_LIBS
="$LIBS"
7165 LIBS
="$LIBS $LIBICONV"
7166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7173 iconv_t cd = iconv_open("","");
7174 iconv(cd,NULL,NULL,NULL,NULL);
7180 if ac_fn_c_try_link
"$LINENO"; then :
7182 am_cv_func_iconv
=yes
7184 rm -f core conftest.err conftest.
$ac_objext \
7185 conftest
$ac_exeext conftest.
$ac_ext
7186 LIBS
="$am_save_LIBS"
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7191 $as_echo "$am_cv_func_iconv" >&6; }
7192 if test "$am_cv_func_iconv" = yes; then
7194 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
7197 if test "$am_cv_lib_iconv" = yes; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7199 $as_echo_n "checking how to link with libiconv... " >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7201 $as_echo "$LIBICONV" >&6; }
7203 CPPFLAGS
="$am_save_CPPFLAGS"
7210 if test "$am_cv_func_iconv" = yes; then
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
7212 $as_echo_n "checking for iconv declaration... " >&6; }
7213 if ${am_cv_proto_iconv+:} false
; then :
7214 $as_echo_n "(cached) " >&6
7217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7226 #if defined(__STDC__) || defined(__cplusplus)
7227 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7240 if ac_fn_c_try_compile
"$LINENO"; then :
7241 am_cv_proto_iconv_arg1
=""
7243 am_cv_proto_iconv_arg1
="const"
7245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7246 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
7249 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
7251 }$am_cv_proto_iconv" >&5
7253 }$am_cv_proto_iconv" >&6; }
7255 cat >>confdefs.h
<<_ACEOF
7256 #define ICONV_CONST $am_cv_proto_iconv_arg1
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
7263 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
7264 if ${am_cv_langinfo_codeset+:} false
; then :
7265 $as_echo_n "(cached) " >&6
7267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7268 /* end confdefs.h. */
7269 #include <langinfo.h>
7273 char* cs = nl_langinfo(CODESET);
7278 if ac_fn_c_try_link
"$LINENO"; then :
7279 am_cv_langinfo_codeset
=yes
7281 am_cv_langinfo_codeset
=no
7283 rm -f core conftest.err conftest.
$ac_objext \
7284 conftest
$ac_exeext conftest.
$ac_ext
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
7288 $as_echo "$am_cv_langinfo_codeset" >&6; }
7289 if test $am_cv_langinfo_codeset = yes; then
7291 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
7295 if test $ac_cv_header_locale_h = yes; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7298 $as_echo_n "checking for LC_MESSAGES... " >&6; }
7299 if ${am_cv_val_LC_MESSAGES+:} false
; then :
7300 $as_echo_n "(cached) " >&6
7302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7313 if ac_fn_c_try_link
"$LINENO"; then :
7314 am_cv_val_LC_MESSAGES
=yes
7316 am_cv_val_LC_MESSAGES
=no
7318 rm -f core conftest.err conftest.
$ac_objext \
7319 conftest
$ac_exeext conftest.
$ac_ext
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7322 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7323 if test $am_cv_val_LC_MESSAGES = yes; then
7325 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7331 for ac_prog
in bison
7333 # Extract the first word of "$ac_prog", so it can be a program name with args.
7334 set dummy
$ac_prog; ac_word
=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 $as_echo_n "checking for $ac_word... " >&6; }
7337 if ${ac_cv_prog_INTLBISON+:} false
; then :
7338 $as_echo_n "(cached) " >&6
7340 if test -n "$INTLBISON"; then
7341 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
7343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7347 test -z "$as_dir" && as_dir
=.
7348 for ac_exec_ext
in '' $ac_executable_extensions; do
7349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7350 ac_cv_prog_INTLBISON
="$ac_prog"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360 INTLBISON
=$ac_cv_prog_INTLBISON
7361 if test -n "$INTLBISON"; then
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
7363 $as_echo "$INTLBISON" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 $as_echo "no" >&6; }
7370 test -n "$INTLBISON" && break
7373 if test -z "$INTLBISON"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
7377 $as_echo_n "checking version of bison... " >&6; }
7378 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
7379 case $ac_prog_version in
7380 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
7381 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
7382 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
7383 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
7386 $as_echo "$ac_prog_version" >&6; }
7388 if test $ac_verc_fail = yes; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7408 $as_echo_n "checking whether NLS is requested... " >&6; }
7409 # Check whether --enable-nls was given.
7410 if test "${enable_nls+set}" = set; then :
7411 enableval
=$enable_nls; USE_NLS
=$enableval
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7417 $as_echo "$USE_NLS" >&6; }
7422 BUILD_INCLUDED_LIBINTL
=no
7423 USE_INCLUDED_LIBINTL
=no
7429 if test "$USE_NLS" = "yes"; then
7430 gt_use_preinstalled_gnugettext
=no
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
7433 $as_echo_n "checking whether included gettext is requested... " >&6; }
7435 # Check whether --with-included-gettext was given.
7436 if test "${with_included_gettext+set}" = set; then :
7437 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
7439 nls_cv_force_use_gnu_gettext
=no
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
7443 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
7445 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7446 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7454 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7455 if ${gt_cv_func_gnugettext1_libc+:} false
; then :
7456 $as_echo_n "(cached) " >&6
7458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7459 /* end confdefs.h. */
7460 #include <libintl.h>
7461 extern int _nl_msg_cat_cntr;
7462 extern int *_nl_domain_bindings;
7466 bindtextdomain ("", "");
7467 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
7472 if ac_fn_c_try_link
"$LINENO"; then :
7473 gt_cv_func_gnugettext1_libc
=yes
7475 gt_cv_func_gnugettext1_libc
=no
7477 rm -f core conftest.err conftest.
$ac_objext \
7478 conftest
$ac_exeext conftest.
$ac_ext
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
7481 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
7483 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
7489 acl_save_prefix
="$prefix"
7490 prefix
="$acl_final_prefix"
7491 acl_save_exec_prefix
="$exec_prefix"
7492 exec_prefix
="$acl_final_exec_prefix"
7494 eval additional_includedir
=\"$includedir\"
7495 eval additional_libdir
=\"$libdir\"
7497 exec_prefix
="$acl_save_exec_prefix"
7498 prefix
="$acl_save_prefix"
7501 # Check whether --with-libintl-prefix was given.
7502 if test "${with_libintl_prefix+set}" = set; then :
7503 withval
=$with_libintl_prefix;
7504 if test "X$withval" = "Xno"; then
7507 if test "X$withval" = "X"; then
7509 acl_save_prefix
="$prefix"
7510 prefix
="$acl_final_prefix"
7511 acl_save_exec_prefix
="$exec_prefix"
7512 exec_prefix
="$acl_final_exec_prefix"
7514 eval additional_includedir
=\"$includedir\"
7515 eval additional_libdir
=\"$libdir\"
7517 exec_prefix
="$acl_save_exec_prefix"
7518 prefix
="$acl_save_prefix"
7521 additional_includedir
="$withval/include"
7522 additional_libdir
="$withval/lib"
7533 names_already_handled
=
7534 names_next_round
='intl '
7535 while test -n "$names_next_round"; do
7536 names_this_round
="$names_next_round"
7538 for name
in $names_this_round; do
7540 for n
in $names_already_handled; do
7541 if test "$n" = "$name"; then
7546 if test -z "$already_handled"; then
7547 names_already_handled
="$names_already_handled $name"
7548 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7549 eval value
=\"\
$HAVE_LIB$uppername\"
7550 if test -n "$value"; then
7551 if test "$value" = yes; then
7552 eval value
=\"\
$LIB$uppername\"
7553 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
7554 eval value
=\"\
$LTLIB$uppername\"
7555 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
7564 if test $use_additional = yes; then
7565 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7566 found_dir
="$additional_libdir"
7567 found_so
="$additional_libdir/lib$name.$shlibext"
7568 if test -f "$additional_libdir/lib$name.la"; then
7569 found_la
="$additional_libdir/lib$name.la"
7572 if test -f "$additional_libdir/lib$name.$libext"; then
7573 found_dir
="$additional_libdir"
7574 found_a
="$additional_libdir/lib$name.$libext"
7575 if test -f "$additional_libdir/lib$name.la"; then
7576 found_la
="$additional_libdir/lib$name.la"
7581 if test "X$found_dir" = "X"; then
7582 for x
in $LDFLAGS $LTLIBINTL; do
7584 acl_save_prefix
="$prefix"
7585 prefix
="$acl_final_prefix"
7586 acl_save_exec_prefix
="$exec_prefix"
7587 exec_prefix
="$acl_final_exec_prefix"
7589 exec_prefix
="$acl_save_exec_prefix"
7590 prefix
="$acl_save_prefix"
7594 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7595 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7597 found_so
="$dir/lib$name.$shlibext"
7598 if test -f "$dir/lib$name.la"; then
7599 found_la
="$dir/lib$name.la"
7602 if test -f "$dir/lib$name.$libext"; then
7604 found_a
="$dir/lib$name.$libext"
7605 if test -f "$dir/lib$name.la"; then
7606 found_la
="$dir/lib$name.la"
7612 if test "X$found_dir" != "X"; then
7617 if test "X$found_dir" != "X"; then
7618 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
7619 if test "X$found_so" != "X"; then
7620 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7621 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
7624 for x
in $ltrpathdirs; do
7625 if test "X$x" = "X$found_dir"; then
7630 if test -z "$haveit"; then
7631 ltrpathdirs
="$ltrpathdirs $found_dir"
7633 if test "$hardcode_direct" = yes; then
7634 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
7636 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7637 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
7639 for x
in $rpathdirs; do
7640 if test "X$x" = "X$found_dir"; then
7645 if test -z "$haveit"; then
7646 rpathdirs
="$rpathdirs $found_dir"
7650 for x
in $LDFLAGS $LIBINTL; do
7652 acl_save_prefix
="$prefix"
7653 prefix
="$acl_final_prefix"
7654 acl_save_exec_prefix
="$exec_prefix"
7655 exec_prefix
="$acl_final_exec_prefix"
7657 exec_prefix
="$acl_save_exec_prefix"
7658 prefix
="$acl_save_prefix"
7660 if test "X$x" = "X-L$found_dir"; then
7665 if test -z "$haveit"; then
7666 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
7668 if test "$hardcode_minus_L" != no
; then
7669 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
7671 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
7677 if test "X$found_a" != "X"; then
7678 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
7680 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
7683 additional_includedir
=
7684 case "$found_dir" in
7686 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7687 additional_includedir
="$basedir/include"
7690 if test "X$additional_includedir" != "X"; then
7691 if test "X$additional_includedir" != "X/usr/include"; then
7693 if test "X$additional_includedir" = "X/usr/local/include"; then
7694 if test -n "$GCC"; then
7696 linux
*) haveit
=yes;;
7700 if test -z "$haveit"; then
7701 for x
in $CPPFLAGS $INCINTL; do
7703 acl_save_prefix
="$prefix"
7704 prefix
="$acl_final_prefix"
7705 acl_save_exec_prefix
="$exec_prefix"
7706 exec_prefix
="$acl_final_exec_prefix"
7708 exec_prefix
="$acl_save_exec_prefix"
7709 prefix
="$acl_save_prefix"
7711 if test "X$x" = "X-I$additional_includedir"; then
7716 if test -z "$haveit"; then
7717 if test -d "$additional_includedir"; then
7718 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
7724 if test -n "$found_la"; then
7725 save_libdir
="$libdir"
7727 */* |
*\\*) .
"$found_la" ;;
7728 *) .
"./$found_la" ;;
7730 libdir
="$save_libdir"
7731 for dep
in $dependency_libs; do
7734 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7735 if test "X$additional_libdir" != "X/usr/lib"; then
7737 if test "X$additional_libdir" = "X/usr/local/lib"; then
7738 if test -n "$GCC"; then
7740 linux
*) haveit
=yes;;
7744 if test -z "$haveit"; then
7746 for x
in $LDFLAGS $LIBINTL; do
7748 acl_save_prefix
="$prefix"
7749 prefix
="$acl_final_prefix"
7750 acl_save_exec_prefix
="$exec_prefix"
7751 exec_prefix
="$acl_final_exec_prefix"
7753 exec_prefix
="$acl_save_exec_prefix"
7754 prefix
="$acl_save_prefix"
7756 if test "X$x" = "X-L$additional_libdir"; then
7761 if test -z "$haveit"; then
7762 if test -d "$additional_libdir"; then
7763 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
7767 for x
in $LDFLAGS $LTLIBINTL; do
7769 acl_save_prefix
="$prefix"
7770 prefix
="$acl_final_prefix"
7771 acl_save_exec_prefix
="$exec_prefix"
7772 exec_prefix
="$acl_final_exec_prefix"
7774 exec_prefix
="$acl_save_exec_prefix"
7775 prefix
="$acl_save_prefix"
7777 if test "X$x" = "X-L$additional_libdir"; then
7782 if test -z "$haveit"; then
7783 if test -d "$additional_libdir"; then
7784 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
7791 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7792 if test "$enable_rpath" != no
; then
7794 for x
in $rpathdirs; do
7795 if test "X$x" = "X$dir"; then
7800 if test -z "$haveit"; then
7801 rpathdirs
="$rpathdirs $dir"
7804 for x
in $ltrpathdirs; do
7805 if test "X$x" = "X$dir"; then
7810 if test -z "$haveit"; then
7811 ltrpathdirs
="$ltrpathdirs $dir"
7816 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7819 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7822 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
7823 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
7829 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
7830 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
7836 if test "X$rpathdirs" != "X"; then
7837 if test -n "$hardcode_libdir_separator"; then
7839 for found_dir
in $rpathdirs; do
7840 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7842 acl_save_libdir
="$libdir"
7844 eval flag
=\"$hardcode_libdir_flag_spec\"
7845 libdir
="$acl_save_libdir"
7846 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
7848 for found_dir
in $rpathdirs; do
7849 acl_save_libdir
="$libdir"
7851 eval flag
=\"$hardcode_libdir_flag_spec\"
7852 libdir
="$acl_save_libdir"
7853 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
7857 if test "X$ltrpathdirs" != "X"; then
7858 for found_dir
in $ltrpathdirs; do
7859 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7864 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7865 if ${gt_cv_func_gnugettext1_libintl+:} false
; then :
7866 $as_echo_n "(cached) " >&6
7868 gt_save_CPPFLAGS
="$CPPFLAGS"
7869 CPPFLAGS
="$CPPFLAGS $INCINTL"
7870 gt_save_LIBS
="$LIBS"
7871 LIBS
="$LIBS $LIBINTL"
7872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7873 /* end confdefs.h. */
7874 #include <libintl.h>
7875 extern int _nl_msg_cat_cntr;
7880 const char *_nl_expand_alias ();
7884 bindtextdomain ("", "");
7885 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
7890 if ac_fn_c_try_link
"$LINENO"; then :
7891 gt_cv_func_gnugettext1_libintl
=yes
7893 gt_cv_func_gnugettext1_libintl
=no
7895 rm -f core conftest.err conftest.
$ac_objext \
7896 conftest
$ac_exeext conftest.
$ac_ext
7897 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
7898 LIBS
="$LIBS $LIBICONV"
7899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7900 /* end confdefs.h. */
7901 #include <libintl.h>
7902 extern int _nl_msg_cat_cntr;
7907 const char *_nl_expand_alias ();
7911 bindtextdomain ("", "");
7912 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
7917 if ac_fn_c_try_link
"$LINENO"; then :
7918 LIBINTL
="$LIBINTL $LIBICONV"
7919 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
7920 gt_cv_func_gnugettext1_libintl
=yes
7923 rm -f core conftest.err conftest.
$ac_objext \
7924 conftest
$ac_exeext conftest.
$ac_ext
7926 CPPFLAGS
="$gt_save_CPPFLAGS"
7927 LIBS
="$gt_save_LIBS"
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
7930 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
7933 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
7934 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
7935 && test "$PACKAGE" != gettext-runtime \
7936 && test "$PACKAGE" != gettext-tools
; }; then
7937 gt_use_preinstalled_gnugettext
=yes
7945 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
7946 nls_cv_use_gnu_gettext
=yes
7950 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7951 BUILD_INCLUDED_LIBINTL
=yes
7952 USE_INCLUDED_LIBINTL
=yes
7953 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
7954 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
7955 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
7958 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7959 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
7964 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7965 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
7967 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7975 $as_echo_n "checking whether to use NLS... " >&6; }
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7977 $as_echo "$USE_NLS" >&6; }
7978 if test "$USE_NLS" = "yes"; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7980 $as_echo_n "checking where the gettext function comes from... " >&6; }
7981 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7982 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
7983 gt_source
="external libintl"
7988 gt_source
="included intl directory"
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7991 $as_echo "$gt_source" >&6; }
7994 if test "$USE_NLS" = "yes"; then
7996 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7997 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7999 $as_echo_n "checking how to link with libintl... " >&6; }
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8001 $as_echo "$LIBINTL" >&6; }
8003 for element
in $INCINTL; do
8005 for x
in $CPPFLAGS; do
8007 acl_save_prefix
="$prefix"
8008 prefix
="$acl_final_prefix"
8009 acl_save_exec_prefix
="$exec_prefix"
8010 exec_prefix
="$acl_final_exec_prefix"
8012 exec_prefix
="$acl_save_exec_prefix"
8013 prefix
="$acl_save_prefix"
8015 if test "X$x" = "X$element"; then
8020 if test -z "$haveit"; then
8021 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8028 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8031 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8039 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
8040 BUILD_INCLUDED_LIBINTL
=yes
8048 nls_cv_header_libgt
=
8059 if test "$USE_INCLUDED_LIBINTL" = yes; then
8060 INTLOBJS
="\$(GETTOBJS)"
8064 INTL_LIBTOOL_SUFFIX_PREFIX
=
8076 ac_cpp
='$CPP $CPPFLAGS'
8077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8080 if test -n "$ac_tool_prefix"; then
8081 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8082 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8084 $as_echo_n "checking for $ac_word... " >&6; }
8085 if ${ac_cv_prog_CC+:} false
; then :
8086 $as_echo_n "(cached) " >&6
8088 if test -n "$CC"; then
8089 ac_cv_prog_CC
="$CC" # Let the user override the test.
8091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8095 test -z "$as_dir" && as_dir
=.
8096 for ac_exec_ext
in '' $ac_executable_extensions; do
8097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8098 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
8099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 if test -n "$CC"; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8111 $as_echo "$CC" >&6; }
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114 $as_echo "no" >&6; }
8119 if test -z "$ac_cv_prog_CC"; then
8121 # Extract the first word of "gcc", so it can be a program name with args.
8122 set dummy gcc
; ac_word
=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
8126 $as_echo_n "(cached) " >&6
8128 if test -n "$ac_ct_CC"; then
8129 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
8131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir
=.
8136 for ac_exec_ext
in '' $ac_executable_extensions; do
8137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_ac_ct_CC
="gcc"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
8149 if test -n "$ac_ct_CC"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
8151 $as_echo "$ac_ct_CC" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8157 if test "x$ac_ct_CC" = x
; then
8160 case $cross_compiling:$ac_tool_warned in
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8164 ac_tool_warned
=yes ;;
8172 if test -z "$CC"; then
8173 if test -n "$ac_tool_prefix"; then
8174 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8175 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8177 $as_echo_n "checking for $ac_word... " >&6; }
8178 if ${ac_cv_prog_CC+:} false
; then :
8179 $as_echo_n "(cached) " >&6
8181 if test -n "$CC"; then
8182 ac_cv_prog_CC
="$CC" # Let the user override the test.
8184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8188 test -z "$as_dir" && as_dir
=.
8189 for ac_exec_ext
in '' $ac_executable_extensions; do
8190 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8191 ac_cv_prog_CC
="${ac_tool_prefix}cc"
8192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8202 if test -n "$CC"; then
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8204 $as_echo "$CC" >&6; }
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8207 $as_echo "no" >&6; }
8213 if test -z "$CC"; then
8214 # Extract the first word of "cc", so it can be a program name with args.
8215 set dummy cc
; ac_word
=$2
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8217 $as_echo_n "checking for $ac_word... " >&6; }
8218 if ${ac_cv_prog_CC+:} false
; then :
8219 $as_echo_n "(cached) " >&6
8221 if test -n "$CC"; then
8222 ac_cv_prog_CC
="$CC" # Let the user override the test.
8225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8229 test -z "$as_dir" && as_dir
=.
8230 for ac_exec_ext
in '' $ac_executable_extensions; do
8231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
8233 ac_prog_rejected
=yes
8237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 if test $ac_prog_rejected = yes; then
8245 # We found a bogon in the path, so make sure we never use it.
8246 set dummy
$ac_cv_prog_CC
8248 if test $# != 0; then
8249 # We chose a different compiler from the bogus one.
8250 # However, it has the same basename, so the bogon will be chosen
8251 # first if we set CC to just the basename; use the full file name.
8253 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
8259 if test -n "$CC"; then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8261 $as_echo "$CC" >&6; }
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264 $as_echo "no" >&6; }
8269 if test -z "$CC"; then
8270 if test -n "$ac_tool_prefix"; then
8271 for ac_prog
in cl.exe
8273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8274 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8276 $as_echo_n "checking for $ac_word... " >&6; }
8277 if ${ac_cv_prog_CC+:} false
; then :
8278 $as_echo_n "(cached) " >&6
8280 if test -n "$CC"; then
8281 ac_cv_prog_CC
="$CC" # Let the user override the test.
8283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8287 test -z "$as_dir" && as_dir
=.
8288 for ac_exec_ext
in '' $ac_executable_extensions; do
8289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8290 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
8291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8301 if test -n "$CC"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8303 $as_echo "$CC" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8310 test -n "$CC" && break
8313 if test -z "$CC"; then
8315 for ac_prog
in cl.exe
8317 # Extract the first word of "$ac_prog", so it can be a program name with args.
8318 set dummy
$ac_prog; ac_word
=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
8322 $as_echo_n "(cached) " >&6
8324 if test -n "$ac_ct_CC"; then
8325 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
8327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8331 test -z "$as_dir" && as_dir
=.
8332 for ac_exec_ext
in '' $ac_executable_extensions; do
8333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8334 ac_cv_prog_ac_ct_CC
="$ac_prog"
8335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8344 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
8345 if test -n "$ac_ct_CC"; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
8347 $as_echo "$ac_ct_CC" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8354 test -n "$ac_ct_CC" && break
8357 if test "x$ac_ct_CC" = x
; then
8360 case $cross_compiling:$ac_tool_warned in
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8364 ac_tool_warned
=yes ;;
8373 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8375 as_fn_error $?
"no acceptable C compiler found in \$PATH
8376 See \`config.log' for more details" "$LINENO" 5; }
8378 # Provide some information about the compiler.
8379 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
8382 for ac_option
in --version -v -V -qversion; do
8383 { { ac_try
="$ac_compiler $ac_option >&5"
8385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8386 *) ac_try_echo=$ac_try;;
8388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8389 $as_echo "$ac_try_echo"; } >&5
8390 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8392 if test -s conftest.err; then
8394 ... rest of stderr output deleted ...
8395 10q' conftest.err >conftest.er1
8396 cat conftest.er1 >&5
8398 rm -f conftest.er1 conftest.err
8399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8400 test $ac_status = 0; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
8404 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
8405 if ${ac_cv_c_compiler_gnu+:} false; then :
8406 $as_echo_n "(cached) " >&6
8408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8409 /* end confdefs.h. */
8422 if ac_fn_c_try_compile "$LINENO"; then :
8427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8428 ac_cv_c_compiler_gnu=$ac_compiler_gnu
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
8432 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
8433 if test $ac_compiler_gnu = yes; then
8438 ac_test_CFLAGS=${CFLAGS+set}
8439 ac_save_CFLAGS=$CFLAGS
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
8441 $as_echo_n "checking whether $CC accepts -g... " >&6; }
8442 if ${ac_cv_prog_cc_g+:} false; then :
8443 $as_echo_n "(cached) " >&6
8445 ac_save_c_werror_flag=$ac_c_werror_flag
8446 ac_c_werror_flag=yes
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8460 if ac_fn_c_try_compile "$LINENO"; then :
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8475 if ac_fn_c_try_compile "$LINENO"; then :
8478 ac_c_werror_flag=$ac_save_c_werror_flag
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8491 if ac_fn_c_try_compile "$LINENO"; then :
8494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8499 ac_c_werror_flag=$ac_save_c_werror_flag
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
8502 $as_echo "$ac_cv_prog_cc_g" >&6; }
8503 if test "$ac_test_CFLAGS" = set; then
8504 CFLAGS=$ac_save_CFLAGS
8505 elif test $ac_cv_prog_cc_g = yes; then
8506 if test "$GCC" = yes; then
8512 if test "$GCC" = yes; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
8519 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
8520 if ${ac_cv_prog_cc_c89+:} false; then :
8521 $as_echo_n "(cached) " >&6
8523 ac_cv_prog_cc_c89=no
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8530 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
8531 struct buf { int x; };
8532 FILE * (*rcsopen) (struct buf *, struct stat *, int);
8533 static char *e (p, i)
8539 static char *f (char * (*g) (char **, int), char **p, ...)
8544 s = g (p, va_arg (v,int));
8549 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
8550 function prototypes and stuff, but not '\xHH' hex character constants.
8551 These don't provoke an error unfortunately, instead are silently treated
8552 as 'x'. The following induces an error, until -std is added to get
8553 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
8554 array size at least. It's necessary to write '\x00'==0 to get something
8555 that's true only with -std. */
8556 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
8558 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
8559 inside strings and character constants. */
8561 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
8563 int test (int i, double x);
8564 struct s1 {int (*f) (int a);};
8565 struct s2 {int (*f) (double a);};
8566 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
8572 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
8577 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
8578 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8580 CC="$ac_save_CC $ac_arg"
8581 if ac_fn_c_try_compile "$LINENO"; then :
8582 ac_cv_prog_cc_c89=$ac_arg
8584 rm -f core conftest.err conftest.$ac_objext
8585 test "x$ac_cv_prog_cc_c89" != "xno" && break
8587 rm -f conftest.$ac_ext
8592 case "x$ac_cv_prog_cc_c89" in
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
8595 $as_echo "none needed" >&6; } ;;
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
8598 $as_echo "unsupported" >&6; } ;;
8600 CC="$CC $ac_cv_prog_cc_c89"
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
8602 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
8604 if test "x$ac_cv_prog_cc_c89" != xno; then :
8609 ac_cpp='$CPP $CPPFLAGS'
8610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8614 if test -n "$ac_tool_prefix"; then
8615 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8616 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8618 $as_echo_n "checking for $ac_word... " >&6; }
8619 if ${ac_cv_prog_RANLIB+:} false; then :
8620 $as_echo_n "(cached) " >&6
8622 if test -n "$RANLIB"; then
8623 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8629 test -z "$as_dir" && as_dir=.
8630 for ac_exec_ext in '' $ac_executable_extensions; do
8631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8632 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8642 RANLIB=$ac_cv_prog_RANLIB
8643 if test -n "$RANLIB"; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8645 $as_echo "$RANLIB" >&6; }
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8648 $as_echo "no" >&6; }
8653 if test -z "$ac_cv_prog_RANLIB"; then
8654 ac_ct_RANLIB=$RANLIB
8655 # Extract the first word of "ranlib", so it can be a program name with args.
8656 set dummy ranlib; ac_word=$2
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8658 $as_echo_n "checking for $ac_word... " >&6; }
8659 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8660 $as_echo_n "(cached) " >&6
8662 if test -n "$ac_ct_RANLIB"; then
8663 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8669 test -z "$as_dir" && as_dir=.
8670 for ac_exec_ext in '' $ac_executable_extensions; do
8671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8672 ac_cv_prog_ac_ct_RANLIB="ranlib"
8673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8683 if test -n "$ac_ct_RANLIB"; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8685 $as_echo "$ac_ct_RANLIB" >&6; }
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8688 $as_echo "no" >&6; }
8691 if test "x$ac_ct_RANLIB" = x; then
8694 case $cross_compiling:$ac_tool_warned in
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8698 ac_tool_warned=yes ;;
8700 RANLIB=$ac_ct_RANLIB
8703 RANLIB="$ac_cv_prog_RANLIB"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
8709 $as_echo_n "checking for main in -lm... " >&6; }
8710 if ${ac_cv_lib_m_main+:} false; then :
8711 $as_echo_n "(cached) " >&6
8713 ac_check_lib_save_LIBS=$LIBS
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8727 if ac_fn_c_try_link "$LINENO"; then :
8728 ac_cv_lib_m_main=yes
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 LIBS=$ac_check_lib_save_LIBS
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
8737 $as_echo "$ac_cv_lib_m_main" >&6; }
8738 if test "x$ac_cv_lib_m_main" = xyes; then :
8739 cat >>confdefs.h <<_ACEOF
8746 as_fn_error $? "lib math is needed" "$LINENO" 5
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5
8750 $as_echo_n "checking for main in -lz... " >&6; }
8751 if ${ac_cv_lib_z_main+:} false; then :
8752 $as_echo_n "(cached) " >&6
8754 ac_check_lib_save_LIBS=$LIBS
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8768 if ac_fn_c_try_link "$LINENO"; then :
8769 ac_cv_lib_z_main=yes
8773 rm -f core conftest.err conftest.$ac_objext \
8774 conftest$ac_exeext conftest.$ac_ext
8775 LIBS=$ac_check_lib_save_LIBS
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5
8778 $as_echo "$ac_cv_lib_z_main" >&6; }
8779 if test "x$ac_cv_lib_z_main" = xyes; then :
8780 cat >>confdefs.h <<_ACEOF
8787 as_fn_error $? "libz is needed" "$LINENO" 5
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpng" >&5
8791 $as_echo_n "checking for main in -lpng... " >&6; }
8792 if ${ac_cv_lib_png_main+:} false; then :
8793 $as_echo_n "(cached) " >&6
8795 ac_check_lib_save_LIBS=$LIBS
8797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8798 /* end confdefs.h. */
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 ac_cv_lib_png_main=yes
8812 ac_cv_lib_png_main=no
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 LIBS=$ac_check_lib_save_LIBS
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_main" >&5
8819 $as_echo "$ac_cv_lib_png_main" >&6; }
8820 if test "x$ac_cv_lib_png_main" = xyes; then :
8821 cat >>confdefs.h <<_ACEOF
8822 #define HAVE_LIBPNG 1
8828 as_fn_error $? "libpng is needed" "$LINENO" 5
8833 # Check whether --with-sdl-prefix was given.
8834 if test "${with_sdl_prefix+set}" = set; then :
8835 withval=$with_sdl_prefix; sdl_prefix="$withval"
8841 # Check whether --with-sdl-exec-prefix was given.
8842 if test "${with_sdl_exec_prefix+set}" = set; then :
8843 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
8848 # Check whether --enable-sdltest was given.
8849 if test "${enable_sdltest+set}" = set; then :
8850 enableval=$enable_sdltest;
8856 if test x$sdl_exec_prefix != x ; then
8857 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
8858 if test x${SDL_CONFIG+set} != xset ; then
8859 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
8862 if test x$sdl_prefix != x ; then
8863 sdl_args="$sdl_args --prefix=$sdl_prefix"
8864 if test x${SDL_CONFIG+set} != xset ; then
8865 SDL_CONFIG=$sdl_prefix/bin/sdl-config
8870 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
8871 # Extract the first word of "sdl-config", so it can be a program name with args.
8872 set dummy sdl-config; ac_word=$2
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8874 $as_echo_n "checking for $ac_word... " >&6; }
8875 if ${ac_cv_path_SDL_CONFIG+:} false; then :
8876 $as_echo_n "(cached) " >&6
8880 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
8883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8887 test -z "$as_dir" && as_dir=.
8888 for ac_exec_ext in '' $ac_executable_extensions; do
8889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8890 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8898 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
8902 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
8903 if test -n "$SDL_CONFIG"; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
8905 $as_echo "$SDL_CONFIG" >&6; }
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8908 $as_echo "no" >&6; }
8912 min_sdl_version=1.2.0
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
8914 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
8916 if test "$SDL_CONFIG" = "no" ; then
8919 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
8920 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
8922 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
8923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8924 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
8925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8926 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
8927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8928 if test "x$enable_sdltest" = "xyes" ; then
8929 ac_save_CFLAGS="$CFLAGS"
8930 ac_save_LIBS="$LIBS"
8931 CFLAGS="$CFLAGS $SDL_CFLAGS"
8932 LIBS="$LIBS $SDL_LIBS"
8934 if test "$cross_compiling" = yes; then :
8935 echo $ac_n "cross compiling; assumed OK... $ac_c"
8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8946 my_strdup (char *str)
8952 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
8953 strcpy (new_str, str);
8961 int main (int argc, char *argv[])
8963 int major, minor, micro;
8966 /* This hangs on some systems (?)
8967 system ("touch conf.sdltest");
8969 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
8971 /* HP/UX 9 (%@#!) writes to sscanf strings */
8972 tmp_version = my_strdup("$min_sdl_version");
8973 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8974 printf("%s, bad version string\n", "$min_sdl_version");
8978 if (($sdl_major_version > major) ||
8979 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
8980 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
8986 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
8987 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
8988 printf("*** best to upgrade to the required version.\n");
8989 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
8990 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
8991 printf("*** config.cache before re-running configure\n");
8998 if ac_fn_c_try_run "$LINENO"; then :
9003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9004 conftest.$ac_objext conftest.beam conftest.$ac_ext
9007 CFLAGS="$ac_save_CFLAGS"
9008 LIBS="$ac_save_LIBS"
9011 if test "x$no_sdl" = x ; then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9013 $as_echo "yes" >&6; }
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9017 $as_echo "no" >&6; }
9018 if test "$SDL_CONFIG" = "no" ; then
9019 echo "*** The sdl-config script installed by SDL could not be found"
9020 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
9021 echo "*** your path, or set the SDL_CONFIG environment variable to the"
9022 echo "*** full path to sdl-config."
9024 if test -f conf.sdltest ; then
9027 echo "*** Could not run SDL test program, checking why..."
9028 CFLAGS="$CFLAGS $SDL_CFLAGS"
9029 LIBS="$LIBS $SDL_LIBS"
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9036 int main(int argc, char *argv[])
9039 #define main K_and_R_C_main
9049 if ac_fn_c_try_link "$LINENO"; then :
9050 echo "*** The test program compiled, but did not run. This usually means"
9051 echo "*** that the run-time linker is not finding SDL or finding the wrong"
9052 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
9053 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9054 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9055 echo "*** is required on your system"
9057 echo "*** If you have an old version installed, it is best to remove it, although"
9058 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9060 echo "*** The test program failed to compile or link. See the file config.log for the"
9061 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
9062 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
9063 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
9065 rm -f core conftest.err conftest.$ac_objext \
9066 conftest$ac_exeext conftest.$ac_ext
9067 CFLAGS="$ac_save_CFLAGS"
9068 LIBS="$ac_save_LIBS"
9073 as_fn_error $? "lib SDL is needed" "$LINENO" 5
9079 CFLAGS="-Wall $CFLAGS $SDL_CFLAGS"
9080 LIBS="$LIBS $SDL_LIBS"
9083 # Check whether --enable-warp was given.
9084 if test "${enable_warp+set}" = set; then :
9085 enableval=$enable_warp; warp_flag="-DMOUSE_WARP"
9090 audio_flag="-DAUDIO_ENABLED"
9091 mixer_flag="-lSDL_mixer"
9092 # Check whether --enable-audio was given.
9093 if test "${enable_audio+set}" = set; then :
9094 enableval=$enable_audio; audio_flag=""; mixer_flag=""
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_mixer" >&5
9099 $as_echo_n "checking for main in -lSDL_mixer... " >&6; }
9100 if ${ac_cv_lib_SDL_mixer_main+:} false; then :
9101 $as_echo_n "(cached) " >&6
9103 ac_check_lib_save_LIBS=$LIBS
9104 LIBS="-lSDL_mixer $LIBS"
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9117 if ac_fn_c_try_link "$LINENO"; then :
9118 ac_cv_lib_SDL_mixer_main=yes
9120 ac_cv_lib_SDL_mixer_main=no
9122 rm -f core conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9124 LIBS=$ac_check_lib_save_LIBS
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_mixer_main" >&5
9127 $as_echo "$ac_cv_lib_SDL_mixer_main" >&6; }
9128 if test "x$ac_cv_lib_SDL_mixer_main" = xyes; then :
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_Mixer found\"" >&5
9130 $as_echo "\"SDL_Mixer found\"" >&6; }
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&5
9133 $as_echo "\"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&6; }; audio_flag=""; mixer_flag=""
9142 # Check whether --with-docdir was given.
9143 if test "${with_docdir+set}" = set; then :
9144 withval=$with_docdir; doc_dir="$withval"
9149 network_flag="-DNETWORK_ENABLED"
9150 # Check whether --enable-network was given.
9151 if test "${enable_network+set}" = set; then :
9152 enableval=$enable_network; network_flag=""
9159 # Check whether --enable-sdl-net was given.
9160 if test "${enable_sdl_net+set}" = set; then :
9161 enableval=$enable_sdl_net; sdlnet_flag="-DSDL_NET_ENABLED"; sdlnet_lib_flag="-lSDL_net"
9166 if test "$sdlnet_flag" == "-DSDL_NET_ENABLED" ; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_net" >&5
9168 $as_echo_n "checking for main in -lSDL_net... " >&6; }
9169 if ${ac_cv_lib_SDL_net_main+:} false; then :
9170 $as_echo_n "(cached) " >&6
9172 ac_check_lib_save_LIBS=$LIBS
9173 LIBS="-lSDL_net $LIBS"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9186 if ac_fn_c_try_link "$LINENO"; then :
9187 ac_cv_lib_SDL_net_main=yes
9189 ac_cv_lib_SDL_net_main=no
9191 rm -f core conftest.err conftest.$ac_objext \
9192 conftest$ac_exeext conftest.$ac_ext
9193 LIBS=$ac_check_lib_save_LIBS
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_net_main" >&5
9196 $as_echo "$ac_cv_lib_SDL_net_main" >&6; }
9197 if test "x$ac_cv_lib_SDL_net_main" = xyes; then :
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_net found\"" >&5
9199 $as_echo "\"SDL_net found\"" >&6; }
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&5
9202 $as_echo "\"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&6; }; sdlnet_flag=""; sdlnet_lib_flag=""; network_flag=""
9208 # Check whether --enable-netdebug was given.
9209 if test "${enable_netdebug+set}" = set; then :
9210 enableval=$enable_netdebug; netdebug_flag="-DNET_DEBUG_MSG"
9215 localedir=$datadir/locale
9216 locdir_flag="-DLOCALEDIR=\\\"$localedir\\\""
9218 inst_dir="$datadir/lbreakout2"
9219 hi_dir=$localstatedir
9221 # Check whether --enable-install was given.
9222 if test "${enable_install+set}" = set; then :
9223 enableval=$enable_install; inst_dir="." hi_dir="."
9224 locdir_flag="-DLOCALEDIR=\\\"../dict\\\""
9225 rm -rf dict; mkdir dict
9226 for lang in `cat po
/LINGUAS
`; do
9227 mkdir dict/$lang; mkdir dict/$lang/LC_MESSAGES
9228 ln -s ../../../po/$lang.gmo dict/$lang/LC_MESSAGES/$PACKAGE.mo
9234 inst_flag="-DSRC_DIR=\\\"$inst_dir\\\""
9235 hi_inst_flag="-DHI_DIR=\\\"$hi_dir\\\""
9246 win32_inst_script="`pwd -W`/installer.iss"
9247 arch_flag="-march=i586"
9248 win32_deps="lbreakout2res.o" ;;
9251 win32_inst_script=""
9259 if test "x$win32" = xyes; then
9260 for ac_prog in gawk mawk nawk awk
9262 # Extract the first word of "$ac_prog", so it can be a program name with args.
9263 set dummy $ac_prog; ac_word=$2
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9265 $as_echo_n "checking for $ac_word... " >&6; }
9266 if ${ac_cv_prog_AWK+:} false; then :
9267 $as_echo_n "(cached) " >&6
9269 if test -n "$AWK"; then
9270 ac_cv_prog_AWK="$AWK" # Let the user override the test.
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9276 test -z "$as_dir" && as_dir=.
9277 for ac_exec_ext in '' $ac_executable_extensions; do
9278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9279 ac_cv_prog_AWK="$ac_prog"
9280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9290 if test -n "$AWK"; then
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9292 $as_echo "$AWK" >&6; }
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9295 $as_echo "no" >&6; }
9299 test -n "$AWK" && break
9305 appname="LBreakout2"
9308 ac_config_files="$ac_config_files Makefile docs/Makefile common/Makefile game/Makefile gui/Makefile client/Makefile client/gui_theme/Makefile client/gfx/Makefile client/gfx/AbsoluteB/Makefile client/gfx/Oz/Makefile client/gfx/Moiree/Makefile client/gfx/Classic/Makefile client/sounds/Makefile client/levels/Makefile server/Makefile server/levels/Makefile intl/Makefile po/Makefile.in m4/Makefile"
9310 cat >confcache <<\_ACEOF
9311 # This file is a shell script that caches the results of configure
9312 # tests run on this system so they can be shared between configure
9313 # scripts and configure runs, see configure's option --config-cache.
9314 # It is not useful on other systems. If it contains results you don't
9315 # want to keep, you may remove or edit it.
9317 # config.status only pays attention to the cache file if you give it
9318 # the --recheck option to rerun configure.
9320 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
9321 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9326 # The following way of writing the cache mishandles newlines in values,
9327 # but we know of no workaround that is simple, portable, and efficient.
9328 # So, we kill variables containing newlines.
9329 # Ultrix sh set writes to stderr and can't be redirected directly,
9330 # and sets the high bit in the cache file unless we assign to the vars.
9332 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9333 eval ac_val
=\$
$ac_var
9337 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9341 _ | IFS | as_nl
) ;; #(
9342 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
9343 *) { eval $ac_var=; unset $ac_var;} ;;
9349 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9350 *${as_nl}ac_space
=\
*)
9351 # `set' does not quote correctly, so add quotes: double-quote
9352 # substitution turns \\\\ into \\, and sed turns \\ into \.
9355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9358 # `set' quotes correctly as required by POSIX, so do not add quotes.
9359 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9368 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9370 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9372 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9373 if test -w "$cache_file"; then
9374 if test "x$cache_file" != "x/dev/null"; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9376 $as_echo "$as_me: updating cache $cache_file" >&6;}
9377 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
9378 cat confcache
>"$cache_file"
9380 case $cache_file in #(
9382 mv -f confcache
"$cache_file"$$
&&
9383 mv -f "$cache_file"$$
"$cache_file" ;; #(
9385 mv -f confcache
"$cache_file" ;;
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9391 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9396 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9397 # Let make expand exec_prefix.
9398 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9400 DEFS
=-DHAVE_CONFIG_H
9404 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9405 # 1. Remove the extension, and $U if already installed.
9406 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9407 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
9408 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9409 # will be set to the directory where LIBOBJS objects are built.
9410 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9411 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
9415 LTLIBOBJS
=$ac_ltlibobjs
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
9419 $as_echo_n "checking that generated files are newer than configure... " >&6; }
9420 if test -n "$am_sleep_pid"; then
9421 # Hide warnings about reused PIDs.
9422 wait $am_sleep_pid 2>/dev
/null
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
9425 $as_echo "done" >&6; }
9426 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9427 as_fn_error $?
"conditional \"AMDEP\" was never defined.
9428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9430 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9431 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
9432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9434 if test -n "$EXEEXT"; then
9436 am__EXEEXT_FALSE
='#'
9443 : "${CONFIG_STATUS=./config.status}"
9445 ac_clean_files_save
=$ac_clean_files
9446 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9448 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9450 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9452 # Generated by $as_me.
9453 # Run this file to recreate the current configuration.
9454 # Compiler output produced by configure, useful for debugging
9455 # configure, is in config.log if it exists.
9461 SHELL=\${CONFIG_SHELL-$SHELL}
9464 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
9465 ## -------------------- ##
9466 ## M4sh Initialization. ##
9467 ## -------------------- ##
9469 # Be more Bourne compatible
9470 DUALCASE
=1; export DUALCASE
# for MKS sh
9471 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
9474 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9475 # is contrary to our usage. Disable this feature.
9476 alias -g '${1+"$@"}'='"$@"'
9477 setopt NO_GLOB_SUBST
9479 case `(set -o) 2>/dev/null` in #(
9491 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9492 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9493 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9494 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9495 # Prefer a ksh shell builtin over an external printf program on Solaris,
9496 # but without wasting forks for bash or zsh.
9497 if test -z "$BASH_VERSION$ZSH_VERSION" \
9498 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9499 as_echo='print
-r --'
9500 as_echo_n='print
-rn --'
9501 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9502 as_echo='printf %s
\n'
9503 as_echo_n='printf %s
'
9505 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9506 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9507 as_echo_n='/usr
/ucb
/echo -n'
9509 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9510 as_echo_n_body='eval
9514 expr "X$arg" : "X\\(.*\\)$as_nl";
9515 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9517 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9519 export as_echo_n_body
9520 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9523 as_echo='sh
-c $as_echo_body as_echo
'
9526 # The user is always right.
9527 if test "${PATH_SEPARATOR+set}" != set; then
9529 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9530 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9537 # We need space, tab and new line, in precisely that order. Quoting is
9538 # there to prevent editors from complaining about space-tab.
9539 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9540 # splitting by setting IFS to empty value.)
9543 # Find who we are. Look in the path if we contain no directory separator.
9546 *[\\/]* ) as_myself=$0 ;;
9547 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9551 test -z "$as_dir" && as_dir=.
9552 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9558 # We did not find ourselves, most probably we were run as `sh COMMAND'
9559 # in which case we are not to be found in the path.
9560 if test "x$as_myself" = x
; then
9563 if test ! -f "$as_myself"; then
9564 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9568 # Unset variables that we do not need and which cause bugs (e.g. in
9569 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
9570 # suppresses any "Segmentation fault" message there. '((' could
9571 # trigger a bug in pdksh 5.2.14.
9572 for as_var
in BASH_ENV ENV MAIL MAILPATH
9573 do eval test x\
${$as_var+set} = xset \
9574 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
9587 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
9590 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9591 # ----------------------------------------
9592 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9593 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9594 # script with STATUS, using 1 if that was 0.
9597 as_status
=$1; test $as_status -eq 0 && as_status
=1
9599 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
9600 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9602 $as_echo "$as_me: error: $2" >&2
9603 as_fn_exit
$as_status
9607 # as_fn_set_status STATUS
9608 # -----------------------
9609 # Set $? to STATUS, without forking.
9613 } # as_fn_set_status
9617 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9627 # Portably unset VAR.
9630 { eval $1=; unset $1;}
9632 as_unset
=as_fn_unset
9633 # as_fn_append VAR VALUE
9634 # ----------------------
9635 # Append the text in VALUE to the end of the definition contained in VAR. Take
9636 # advantage of any shell optimizations that allow amortized linear growth over
9637 # repeated appends, instead of the typical quadratic growth present in naive
9639 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
9640 eval 'as_fn_append ()
9651 # as_fn_arith ARG...
9652 # ------------------
9653 # Perform arithmetic evaluation on the ARGs, and store the result in the
9654 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9655 # must be portable across $(()) and expr.
9656 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
9657 eval 'as_fn_arith ()
9664 as_val
=`expr "$@" || test $? -eq 1`
9669 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9670 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9676 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9677 as_basename
=basename
9682 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9688 as_me
=`$as_basename -- "$0" ||
9689 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9690 X"$0" : 'X\(//\)$' \| \
9691 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9693 sed '/^.*\/\([^/][^/]*\)\/*$/{
9707 # Avoid depending upon Character Ranges.
9708 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9709 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9710 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9711 as_cr_digits
='0123456789'
9712 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9714 ECHO_C
= ECHO_N
= ECHO_T
=
9715 case `echo -n x` in #(((((
9717 case `echo 'xy\c'` in
9718 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9720 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
9727 rm -f conf$$ conf$$.exe conf$$.
file
9728 if test -d conf$$.dir
; then
9729 rm -f conf$$.dir
/conf$$.
file
9732 mkdir conf$$.dir
2>/dev
/null
9734 if (echo >conf$$.
file) 2>/dev
/null
; then
9735 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9737 # ... but there are two gotchas:
9738 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9739 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9740 # In both cases, we have to default to `cp -pR'.
9741 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9743 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9751 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9752 rmdir conf$$.dir
2>/dev
/null
9757 # Create "$as_dir" as a directory, including parents if necessary.
9762 -*) as_dir
=.
/$as_dir;;
9764 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
9768 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9769 *) as_qdir
=$as_dir;;
9771 as_dirs
="'$as_qdir' $as_dirs"
9772 as_dir
=`$as_dirname -- "$as_dir" ||
9773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9774 X"$as_dir" : 'X\(//\)[^/]' \| \
9775 X"$as_dir" : 'X\(//\)$' \| \
9776 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9777 $as_echo X"$as_dir" |
9778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9795 test -d "$as_dir" && break
9797 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9798 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
9802 if mkdir
-p .
2>/dev
/null
; then
9803 as_mkdir_p
='mkdir -p "$as_dir"'
9805 test -d .
/-p && rmdir .
/-p
9810 # as_fn_executable_p FILE
9811 # -----------------------
9812 # Test if FILE is an executable regular file.
9813 as_fn_executable_p
()
9815 test -f "$1" && test -x "$1"
9816 } # as_fn_executable_p
9818 as_executable_p
=as_fn_executable_p
9820 # Sed expression to map a string onto a valid CPP name.
9821 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9823 # Sed expression to map a string onto a valid variable name.
9824 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9828 ## ----------------------------------- ##
9829 ## Main body of $CONFIG_STATUS script. ##
9830 ## ----------------------------------- ##
9832 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
9834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9835 # Save the log message, to keep $0 and so on meaningful, and to
9836 # report actual input values of CONFIG_FILES etc. instead of their
9837 # values after options handling.
9839 This file was extended by $as_me, which was
9840 generated by GNU Autoconf 2.69. Invocation command line was
9842 CONFIG_FILES = $CONFIG_FILES
9843 CONFIG_HEADERS = $CONFIG_HEADERS
9844 CONFIG_LINKS = $CONFIG_LINKS
9845 CONFIG_COMMANDS = $CONFIG_COMMANDS
9848 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9853 case $ac_config_files in *"
9854 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9857 case $ac_config_headers in *"
9858 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
9862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9863 # Files that config.status was made for.
9864 config_files="$ac_config_files"
9865 config_headers="$ac_config_headers"
9866 config_commands="$ac_config_commands"
9870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9872 \`$as_me' instantiates files and other configuration actions
9873 from templates according to the current configuration. Unless the files
9874 and actions are specified as TAGs, all are instantiated by default.
9876 Usage: $0 [OPTION]... [TAG]...
9878 -h, --help print this help, then exit
9879 -V, --version print version number and configuration settings, then exit
9880 --config print configuration, then exit
9881 -q, --quiet, --silent
9882 do not print progress messages
9883 -d, --debug don't remove temporary files
9884 --recheck update $as_me by reconfiguring in the same conditions
9885 --file=FILE[:TEMPLATE]
9886 instantiate the configuration file FILE
9887 --header=FILE[:TEMPLATE]
9888 instantiate the configuration header FILE
9890 Configuration files:
9893 Configuration headers:
9896 Configuration commands:
9899 Report bugs to the package provider."
9902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9903 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9906 configured by $0, generated by GNU Autoconf 2.69,
9907 with options \\"\$ac_cs_config\\"
9909 Copyright (C) 2012 Free Software Foundation, Inc.
9910 This config.status script is free software; the Free Software Foundation
9911 gives unlimited permission to copy, distribute and modify it."
9918 test -n "\$AWK" || AWK=awk
9921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9922 # The default lists apply if the user does not specify any file.
9928 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9929 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9933 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9945 # Handling of the options.
9946 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9948 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9949 $as_echo "$ac_cs_version"; exit ;;
9950 --config |
--confi |
--conf |
--con |
--co |
--c )
9951 $as_echo "$ac_cs_config"; exit ;;
9952 --debug |
--debu |
--deb |
--de |
--d |
-d )
9954 --file |
--fil |
--fi |
--f )
9957 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9958 '') as_fn_error $?
"missing file argument" ;;
9960 as_fn_append CONFIG_FILES
" '$ac_optarg'"
9961 ac_need_defaults
=false
;;
9962 --header |
--heade |
--head |
--hea )
9965 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9967 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
9968 ac_need_defaults
=false
;;
9970 # Conflict between --help and --header
9971 as_fn_error $?
"ambiguous option: \`$1'
9972 Try \`$0 --help' for more information.";;
9973 --help |
--hel |
-h )
9974 $as_echo "$ac_cs_usage"; exit ;;
9975 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9976 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9980 -*) as_fn_error $?
"unrecognized option: \`$1'
9981 Try \`$0 --help' for more information." ;;
9983 *) as_fn_append ac_config_targets
" $1"
9984 ac_need_defaults
=false
;;
9990 ac_configure_extra_args
=
9992 if $ac_cs_silent; then
9994 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9999 if \$ac_cs_recheck; then
10000 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10002 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10003 CONFIG_SHELL='$SHELL'
10004 export CONFIG_SHELL
10009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10013 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10014 ## Running $as_me. ##
10020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10024 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10025 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
10026 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
10028 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
10029 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10030 LINGUAS="${LINGUAS-%UNSET%}"
10035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10037 # Handling of arguments.
10038 for ac_config_target
in $ac_config_targets
10040 case $ac_config_target in
10041 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
10042 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10043 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10044 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10045 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
10046 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
10047 "game/Makefile") CONFIG_FILES
="$CONFIG_FILES game/Makefile" ;;
10048 "gui/Makefile") CONFIG_FILES
="$CONFIG_FILES gui/Makefile" ;;
10049 "client/Makefile") CONFIG_FILES
="$CONFIG_FILES client/Makefile" ;;
10050 "client/gui_theme/Makefile") CONFIG_FILES
="$CONFIG_FILES client/gui_theme/Makefile" ;;
10051 "client/gfx/Makefile") CONFIG_FILES
="$CONFIG_FILES client/gfx/Makefile" ;;
10052 "client/gfx/AbsoluteB/Makefile") CONFIG_FILES
="$CONFIG_FILES client/gfx/AbsoluteB/Makefile" ;;
10053 "client/gfx/Oz/Makefile") CONFIG_FILES
="$CONFIG_FILES client/gfx/Oz/Makefile" ;;
10054 "client/gfx/Moiree/Makefile") CONFIG_FILES
="$CONFIG_FILES client/gfx/Moiree/Makefile" ;;
10055 "client/gfx/Classic/Makefile") CONFIG_FILES
="$CONFIG_FILES client/gfx/Classic/Makefile" ;;
10056 "client/sounds/Makefile") CONFIG_FILES
="$CONFIG_FILES client/sounds/Makefile" ;;
10057 "client/levels/Makefile") CONFIG_FILES
="$CONFIG_FILES client/levels/Makefile" ;;
10058 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
10059 "server/levels/Makefile") CONFIG_FILES
="$CONFIG_FILES server/levels/Makefile" ;;
10060 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
10061 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
10062 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
10064 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10069 # If the user did not use the arguments to specify the items to instantiate,
10070 # then the envvar interface is used. Set only those that are not.
10071 # We use the long form for the default assignment because of an extremely
10072 # bizarre bug on SunOS 4.1.3.
10073 if $ac_need_defaults; then
10074 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10075 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10076 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10079 # Have a temporary directory for convenience. Make it in the build tree
10080 # simply because there is no reason against having it here, and in addition,
10081 # creating and moving files from /tmp can sometimes cause problems.
10082 # Hook for its removal unless debugging.
10083 # Note that there is a small window in which the directory will not be cleaned:
10084 # after its creation but before its name has been assigned to `$tmp'.
10088 trap 'exit_status=$?
10089 : "${ac_tmp:=$tmp}"
10090 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10092 trap 'as_fn_exit 1' 1 2 13 15
10094 # Create a (secure) tmp directory for tmp files.
10097 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10101 tmp
=.
/conf$$
-$RANDOM
10102 (umask 077 && mkdir
"$tmp")
10103 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
10106 # Set up the scripts for CONFIG_FILES section.
10107 # No need to generate them if there are no CONFIG_FILES.
10108 # This happens for instance with `./config.status config.h'.
10109 if test -n "$CONFIG_FILES"; then
10112 ac_cr
=`echo X | tr X '\015'`
10113 # On cygwin, bash can eat \r inside `` if the user requested igncr.
10114 # But we know of no other shell where ac_cr would be empty at this
10115 # point, so we can use a bashism as a fallback.
10116 if test "x$ac_cr" = x
; then
10117 eval ac_cr
=\$
\'\\r
\'
10119 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10120 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10123 ac_cs_awk_cr
=$ac_cr
10126 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10131 echo "cat >conf$$subs.awk <<_ACEOF" &&
10132 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10134 } >conf$$subs.sh ||
10135 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10136 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10138 for ac_last_try in false false false false false :; do
10139 . ./conf$$subs.sh ||
10140 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10142 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
10143 if test $ac_delim_n = $ac_delim_num; then
10145 elif $ac_last_try; then
10146 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
10148 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10151 rm -f conf$$subs.sh
10153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10154 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
10158 s/^/S["/; s
/!.
*/"]=/
10168 s/\(.\{148\}\)..*/\1/
10170 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
10175 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10182 s/\(.\{148\}\)..*/\1/
10184 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
10188 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10193 ' <conf$$subs.awk | sed '
10198 ' >>$CONFIG_STATUS || ac_write_fail=1
10199 rm -f conf$$subs.awk
10200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10202 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
10203 for (key in S) S_is_set[key] = 1
10209 nfields = split(line, field, "@
")
10211 len = length(field[1])
10212 for (i = 2; i < nfields; i++) {
10214 keylen = length(key)
10215 if (S_is_set[key]) {
10217 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10218 len += length(value) + length(field[++i])
10229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10230 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10231 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
10234 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
10235 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
10238 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10239 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
10240 # trailing colons and then remove the whole line if VPATH becomes empty
10241 # (actually we leave an empty line to preserve line numbers).
10242 if test "x
$srcdir" = x.; then
10243 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
10261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10262 fi # test -n "$CONFIG_FILES"
10264 # Set up the scripts for CONFIG_HEADERS section.
10265 # No need to generate them if there are no CONFIG_HEADERS.
10266 # This happens for instance with `./config.status Makefile'.
10267 if test -n "$CONFIG_HEADERS"; then
10268 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
10272 # Transform confdefs.h into an awk script `defines.awk', embedded as
10273 # here-document in config.status, that substitutes the proper values into
10274 # config.h.in to produce config.h.
10276 # Create a delimiter string that does not exist in confdefs.h, to ease
10277 # handling of long lines.
10279 for ac_last_try in false false :; do
10280 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
10281 if test -z "$ac_tt"; then
10283 elif $ac_last_try; then
10284 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
10286 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10290 # For the awk script, D is an array of macro values keyed by name,
10291 # likewise P contains macro parameters if any. Preserve backslash
10292 # newline sequences.
10294 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10296 s/.\{148\}/&'"$ac_delim"'/g
10299 s/^[ ]*#[ ]*define[ ][ ]*/ /
10306 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
10308 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
10312 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
10313 D["\
1"]=" \
3\\\\\\n
"\\/p
10315 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
10320 s/.\{148\}/&'"$ac_delim"'/g
10325 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
10328 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
10330 ' <confdefs.h | sed '
10331 s/'"$ac_delim"'/"\\\
10332 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10335 for (key in D) D_is_set[key] = 1
10338 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10340 split(line, arg, " ")
10341 if (arg[1] == "#") {
10345 defundef
= substr
(arg
[1], 2)
10348 split(mac1
, mac2
, "(") #)
10350 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
10351 if (D_is_set
[macro
]) {
10352 # Preserve the white space surrounding the "#".
10353 print prefix
"define", macro P
[macro
] D
[macro
]
10356 # Replace #undef with comments. This is necessary, for example,
10357 # in the case of _POSIX_SOURCE, which is predefined and required
10358 # on some systems where configure will not decide to define it.
10359 if (defundef
== "undef") {
10360 print
"/*", prefix defundef
, macro
, "*/"
10368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10369 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
10370 fi # test -n "$CONFIG_HEADERS"
10373 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10378 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10380 case $ac_mode$ac_tag in
10382 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
10383 :[FH
]-) ac_tag
=-:-;;
10384 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10401 -) ac_f
="$ac_tmp/stdin";;
10402 *) # Look for the file first in the build tree, then in the source tree
10403 # (if the path is not absolute). The absolute path cannot be DOS-style,
10404 # because $ac_f cannot contain `:'.
10408 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10410 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10412 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10413 as_fn_append ac_file_inputs
" '$ac_f'"
10416 # Let's still pretend it is `configure' which instantiates (i.e., don't
10417 # use $as_me), people would be surprised to read:
10418 # /* config.h. Generated by config.status. */
10419 configure_input
='Generated from '`
10420 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10422 if test x
"$ac_file" != x-
; then
10423 configure_input
="$ac_file. $configure_input"
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10425 $as_echo "$as_me: creating $ac_file" >&6;}
10427 # Neutralize special characters interpreted by sed in replacement strings.
10428 case $configure_input in #(
10429 *\
&* |
*\|
* |
*\\* )
10430 ac_sed_conf_input
=`$as_echo "$configure_input" |
10431 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10432 *) ac_sed_conf_input
=$configure_input;;
10436 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
10437 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
10442 ac_dir
=`$as_dirname -- "$ac_file" ||
10443 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10444 X"$ac_file" : 'X\(//\)[^/]' \| \
10445 X"$ac_file" : 'X\(//\)$' \| \
10446 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10447 $as_echo X"$ac_file" |
10448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10452 /^X\(\/\/\)[^/].*/{
10465 as_dir
="$ac_dir"; as_fn_mkdir_p
10469 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10471 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10472 # A ".." for each directory in $ac_dir_suffix.
10473 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10474 case $ac_top_builddir_sub in
10475 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10476 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10479 ac_abs_top_builddir
=$ac_pwd
10480 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10481 # for backward compatibility:
10482 ac_top_builddir
=$ac_top_build_prefix
10485 .
) # We are building in place.
10487 ac_top_srcdir
=$ac_top_builddir_sub
10488 ac_abs_top_srcdir
=$ac_pwd ;;
10489 [\\/]* | ?
:[\\/]* ) # Absolute name.
10490 ac_srcdir
=$srcdir$ac_dir_suffix;
10491 ac_top_srcdir
=$srcdir
10492 ac_abs_top_srcdir
=$srcdir ;;
10493 *) # Relative name.
10494 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10495 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10496 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10498 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10508 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10509 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10511 ac_MKDIR_P
=$MKDIR_P
10513 [\\/$
]* | ?
:[\\/]* ) ;;
10514 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
10518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10519 # If the template does not know about datarootdir, expand it.
10520 # FIXME: This hack should be removed a few years after 2.60.
10521 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10532 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10533 *datarootdir
*) ac_datarootdir_seen
=yes;;
10534 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10536 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10539 ac_datarootdir_hack='
10540 s&@datadir@&$datadir&g
10541 s&@docdir@&$docdir&g
10542 s&@infodir@&$infodir&g
10543 s&@localedir@&$localedir&g
10544 s&@mandir@&$mandir&g
10545 s&\\\${datarootdir}&$datarootdir&g' ;;
10549 # Neutralize VPATH when `$srcdir' = `.'.
10550 # Shell code in configure.ac might set extrasub.
10551 # FIXME: do we really want to maintain this feature?
10552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10553 ac_sed_extra="$ac_vpsub
10556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10558 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10559 s|@configure_input@|
$ac_sed_conf_input|
;t t
10560 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10561 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10562 s
&@srcdir@
&$ac_srcdir&;t t
10563 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10564 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10565 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10566 s
&@builddir@
&$ac_builddir&;t t
10567 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10568 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10569 s
&@INSTALL@
&$ac_INSTALL&;t t
10570 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
10571 $ac_datarootdir_hack
10573 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
10574 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
10576 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10577 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
10578 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10579 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10581 which seems to be undefined. Please make sure it is defined" >&5
10582 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10583 which seems to be undefined. Please make sure it is defined" >&2;}
10585 rm -f "$ac_tmp/stdin"
10587 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10588 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10596 if test x"$ac_file" != x-; then
10598 $as_echo "/* $configure_input */" \
10599 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10600 } >"$ac_tmp/config.h" \
10601 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10602 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10604 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10607 mv "$ac_tmp/config.h" "$ac_file" \
10608 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10611 $as_echo "/* $configure_input */" \
10612 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10613 || as_fn_error $? "could not create -" "$LINENO" 5
10615 # Compute "$ac_file"'s index
in $config_headers.
10618 for _am_header
in $config_headers :; do
10619 case $_am_header in
10620 $_am_arg |
$_am_arg:* )
10623 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10626 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10627 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10628 X"$_am_arg" : 'X\(//\)[^/]' \| \
10629 X"$_am_arg" : 'X\(//\)$' \| \
10630 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10631 $as_echo X"$_am_arg" |
10632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10636 /^X\(\/\/\)[^/].*/{
10648 s/.*/./; q'`/stamp-h
$_am_stamp_count
10651 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10652 $as_echo "$as_me: executing $ac_file commands" >&6;}
10657 case $ac_file$ac_mode in
10658 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
10659 # Older Autoconf quotes --file arguments for eval, but not when files
10660 # are listed without --file. Let's play safe and only enable the eval
10661 # if we detect the quoting.
10662 case $CONFIG_FILES in
10663 *\'*) eval set x
"$CONFIG_FILES" ;;
10664 *) set x
$CONFIG_FILES ;;
10669 # Strip MF so we end up with the name of the file.
10670 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10671 # Check whether this is an Automake generated Makefile or not.
10672 # We used to match only the files named 'Makefile.in', but
10673 # some people rename them; so instead we look at the file content.
10674 # Grep'ing the first line is not enough: some people post-process
10675 # each Makefile.in and add a new line on top of each file to say so.
10676 # Grep'ing the whole file is not good either: AIX grep has a line
10677 # limit of 2048, but all sed's we know have understand at least 4000.
10678 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
10679 dirpart
=`$as_dirname -- "$mf" ||
10680 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10681 X"$mf" : 'X\(//\)[^/]' \| \
10682 X"$mf" : 'X\(//\)$' \| \
10683 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10689 /^X\(\/\/\)[^/].*/{
10705 # Extract the definition of DEPDIR, am__include, and am__quote
10706 # from the Makefile without running 'make'.
10707 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10708 test -z "$DEPDIR" && continue
10709 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10710 test -z "$am__include" && continue
10711 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10712 # Find all dependency output files, they are included files with
10713 # $(DEPDIR) in their names. We invoke sed twice because it is the
10714 # simplest approach to changing $(DEPDIR) to its actual value in the
10716 for file in `sed -n "
10717 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10718 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
10719 # Make sure the directory exists.
10720 test -f "$dirpart/$file" && continue
10721 fdir
=`$as_dirname -- "$file" ||
10722 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10723 X"$file" : 'X\(//\)[^/]' \| \
10724 X"$file" : 'X\(//\)$' \| \
10725 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10726 $as_echo X"$file" |
10727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10731 /^X\(\/\/\)[^/].*/{
10744 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
10745 # echo "creating $dirpart/$file"
10746 echo '# dummy' > "$dirpart/$file"
10752 for ac_file
in $CONFIG_FILES; do
10753 # Support "outfile[:infile[:infile...]]"
10755 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
10757 # PO directories have a Makefile.in generated from Makefile.in.in.
10758 case "$ac_file" in */Makefile.
in)
10759 # Adjust a relative srcdir.
10760 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10761 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
10762 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10763 # In autoconf-2.13 it is called $ac_given_srcdir.
10764 # In autoconf-2.50 it is called $srcdir.
10765 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
10766 case "$ac_given_srcdir" in
10767 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
10768 /*) top_srcdir
="$ac_given_srcdir" ;;
10769 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
10771 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10772 rm -f "$ac_dir/POTFILES"
10773 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
10774 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10775 POMAKEFILEDEPS
="POTFILES.in"
10776 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10777 # on $ac_dir but don't depend on user-specified configuration
10779 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10780 # The LINGUAS file contains the set of available languages.
10781 if test -n "$OBSOLETE_ALL_LINGUAS"; then
10782 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
10784 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10785 # Hide the ALL_LINGUAS assigment from automake.
10786 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10787 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
10789 # The set of available languages was given in configure.in.
10790 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10793 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10794 # Compute UPDATEPOFILES
10795 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10796 # Compute DUMMYPOFILES
10797 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10799 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10800 case "$ac_given_srcdir" in
10802 *) srcdirpre
='$(srcdir)/' ;;
10808 for lang
in $ALL_LINGUAS; do
10809 POFILES
="$POFILES $srcdirpre$lang.po"
10810 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
10811 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
10812 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
10814 # CATALOGS depends on both $ac_dir and the user's LINGUAS
10815 # environment variable.
10817 if test -n "$ALL_LINGUAS"; then
10818 for presentlang
in $ALL_LINGUAS; do
10820 if test "%UNSET%" != "$LINGUAS"; then
10821 desiredlanguages
="$LINGUAS"
10823 desiredlanguages
="$ALL_LINGUAS"
10825 for desiredlang
in $desiredlanguages; do
10826 # Use the presentlang catalog if desiredlang is
10827 # a. equal to presentlang, or
10828 # b. a variant of presentlang (because in this case,
10829 # presentlang can be used as a fallback for messages
10830 # which are not translated in the desiredlang catalog).
10831 case "$desiredlang" in
10832 "$presentlang"*) useit
=yes;;
10835 if test $useit = yes; then
10836 INST_LINGUAS
="$INST_LINGUAS $presentlang"
10841 if test -n "$INST_LINGUAS"; then
10842 for lang
in $INST_LINGUAS; do
10843 CATALOGS
="$CATALOGS $lang.gmo"
10846 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
10847 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10848 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
10849 if test -f "$f"; then
10851 *.orig |
*.bak |
*~
) ;;
10852 *) cat "$f" >> "$ac_dir/Makefile" ;;
10867 ac_clean_files
=$ac_clean_files_save
10869 test $ac_write_fail = 0 ||
10870 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
10873 # configure is writing to config.log, and then calls config.status.
10874 # config.status does its own redirection, appending to config.log.
10875 # Unfortunately, on DOS this fails, as config.log is still kept open
10876 # by configure, so config.status won't be able to write to it; its
10877 # output is simply discarded. So we exec the FD to /dev/null,
10878 # effectively closing config.log, so it can be properly (re)opened and
10879 # appended to by config.status. When coming back to configure, we
10880 # need to make the FD available again.
10881 if test "$no_create" != yes; then
10883 ac_config_status_args
=
10884 test "$silent" = yes &&
10885 ac_config_status_args
="$ac_config_status_args --quiet"
10887 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10889 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10890 # would make configure fail if this is the last instruction.
10891 $ac_cs_success || as_fn_exit
1
10893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10895 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}