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 # Factoring default headers for most tests.
586 ac_includes_default
="\
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
598 # ifdef HAVE_STDLIB_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
621 ac_unique_file
="gettext.c"
623 ac_subst_vars
='LTLIBOBJS
638 INTL_LIBTOOL_SUFFIX_PREFIX
645 BUILD_INCLUDED_LIBINTL
707 program_transform_name
720 enable_option_checking
726 with_included_gettext
729 enable_maintainer_mode
732 ac_precious_vars
='build_alias
743 # Initialize some variables set by options.
745 ac_init_version
=false
746 ac_unrecognized_opts
=
748 # The variables have the same names as the options, with
749 # dashes changed to underlines.
757 program_transform_name
=s
,x
,x
,
765 # Installation directory options.
766 # These are left unexpanded so users can "make install exec_prefix=/foo"
767 # and all the variables that are supposed to be based on exec_prefix
768 # by default will actually change.
769 # Use braces instead of parens because sh, perl, etc. also accept them.
770 # (The list follows the same order as the GNU Coding Standards.)
771 bindir
='${exec_prefix}/bin'
772 sbindir
='${exec_prefix}/sbin'
773 libexecdir
='${exec_prefix}/libexec'
774 datarootdir
='${prefix}/share'
775 datadir
='${datarootdir}'
776 sysconfdir
='${prefix}/etc'
777 sharedstatedir
='${prefix}/com'
778 localstatedir
='${prefix}/var'
779 includedir
='${prefix}/include'
780 oldincludedir
='/usr/include'
781 docdir
='${datarootdir}/doc/${PACKAGE}'
782 infodir
='${datarootdir}/info'
787 libdir
='${exec_prefix}/lib'
788 localedir
='${datarootdir}/locale'
789 mandir
='${datarootdir}/man'
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\
$ac_option
803 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
808 # Accept the important Cygnus configure options, so we can diagnose typos.
810 case $ac_dashdash$ac_option in
814 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
816 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
819 -build |
--build |
--buil |
--bui |
--bu)
820 ac_prev
=build_alias
;;
821 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
822 build_alias
=$ac_optarg ;;
824 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
825 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
826 ac_prev
=cache_file
;;
827 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
828 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
829 cache_file
=$ac_optarg ;;
832 cache_file
=config.cache
;;
834 -datadir |
--datadir |
--datadi |
--datad)
836 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
837 datadir
=$ac_optarg ;;
839 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
840 |
--dataroo |
--dataro |
--datar)
841 ac_prev
=datarootdir
;;
842 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
843 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
844 datarootdir
=$ac_optarg ;;
846 -disable-* |
--disable-*)
847 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
850 as_fn_error $?
"invalid feature name: $ac_useropt"
851 ac_useropt_orig
=$ac_useropt
852 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
853 case $ac_user_opts in
857 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
858 ac_unrecognized_sep
=', ';;
860 eval enable_
$ac_useropt=no
;;
862 -docdir |
--docdir |
--docdi |
--doc |
--do)
864 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
867 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
869 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
872 -enable-* |
--enable-*)
873 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
876 as_fn_error $?
"invalid feature name: $ac_useropt"
877 ac_useropt_orig
=$ac_useropt
878 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
883 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
884 ac_unrecognized_sep
=', ';;
886 eval enable_
$ac_useropt=\
$ac_optarg ;;
888 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
889 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
890 |
--exec |
--exe |
--ex)
891 ac_prev
=exec_prefix
;;
892 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
893 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
894 |
--exec=* |
--exe=* |
--ex=*)
895 exec_prefix
=$ac_optarg ;;
897 -gas |
--gas |
--ga |
--g)
898 # Obsolete; use --with-gas.
901 -help |
--help |
--hel |
--he |
-h)
903 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
904 ac_init_help
=recursive
;;
905 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
906 ac_init_help
=short
;;
908 -host |
--host |
--hos |
--ho)
909 ac_prev
=host_alias
;;
910 -host=* |
--host=* |
--hos=* |
--ho=*)
911 host_alias
=$ac_optarg ;;
913 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
915 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
917 htmldir
=$ac_optarg ;;
919 -includedir |
--includedir |
--includedi |
--included |
--include \
920 |
--includ |
--inclu |
--incl |
--inc)
921 ac_prev
=includedir
;;
922 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
923 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
924 includedir
=$ac_optarg ;;
926 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
928 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
929 infodir
=$ac_optarg ;;
931 -libdir |
--libdir |
--libdi |
--libd)
933 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
936 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
937 |
--libexe |
--libex |
--libe)
938 ac_prev
=libexecdir
;;
939 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
940 |
--libexe=* |
--libex=* |
--libe=*)
941 libexecdir
=$ac_optarg ;;
943 -localedir |
--localedir |
--localedi |
--localed |
--locale)
945 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
946 localedir
=$ac_optarg ;;
948 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
949 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
950 ac_prev
=localstatedir
;;
951 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
952 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
953 localstatedir
=$ac_optarg ;;
955 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
957 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
961 # Obsolete; use --without-fp.
964 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
965 |
--no-cr |
--no-c |
-n)
968 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
969 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
972 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
973 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
974 |
--oldin |
--oldi |
--old |
--ol |
--o)
975 ac_prev
=oldincludedir
;;
976 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
977 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
978 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
979 oldincludedir
=$ac_optarg ;;
981 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
983 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
986 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
987 |
--program-pre |
--program-pr |
--program-p)
988 ac_prev
=program_prefix
;;
989 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
990 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
991 program_prefix
=$ac_optarg ;;
993 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
994 |
--program-suf |
--program-su |
--program-s)
995 ac_prev
=program_suffix
;;
996 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
997 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
998 program_suffix
=$ac_optarg ;;
1000 -program-transform-name |
--program-transform-name \
1001 |
--program-transform-nam |
--program-transform-na \
1002 |
--program-transform-n |
--program-transform- \
1003 |
--program-transform |
--program-transfor \
1004 |
--program-transfo |
--program-transf \
1005 |
--program-trans |
--program-tran \
1006 |
--progr-tra |
--program-tr |
--program-t)
1007 ac_prev
=program_transform_name
;;
1008 -program-transform-name=* |
--program-transform-name=* \
1009 |
--program-transform-nam=* |
--program-transform-na=* \
1010 |
--program-transform-n=* |
--program-transform-=* \
1011 |
--program-transform=* |
--program-transfor=* \
1012 |
--program-transfo=* |
--program-transf=* \
1013 |
--program-trans=* |
--program-tran=* \
1014 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1015 program_transform_name
=$ac_optarg ;;
1017 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1019 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1020 pdfdir
=$ac_optarg ;;
1022 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1024 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1027 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1028 |
-silent |
--silent |
--silen |
--sile |
--sil)
1031 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1033 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1035 sbindir
=$ac_optarg ;;
1037 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1038 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1039 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1041 ac_prev
=sharedstatedir
;;
1042 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1043 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1044 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1046 sharedstatedir
=$ac_optarg ;;
1048 -site |
--site |
--sit)
1050 -site=* |
--site=* |
--sit=*)
1053 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1055 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1056 srcdir
=$ac_optarg ;;
1058 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1059 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1060 ac_prev
=sysconfdir
;;
1061 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1062 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1063 sysconfdir
=$ac_optarg ;;
1065 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1066 ac_prev
=target_alias
;;
1067 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1068 target_alias
=$ac_optarg ;;
1070 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1073 -version |
--version |
--versio |
--versi |
--vers |
-V)
1074 ac_init_version
=: ;;
1077 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1080 as_fn_error $?
"invalid package name: $ac_useropt"
1081 ac_useropt_orig
=$ac_useropt
1082 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1087 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1088 ac_unrecognized_sep
=', ';;
1090 eval with_
$ac_useropt=\
$ac_optarg ;;
1092 -without-* |
--without-*)
1093 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1096 as_fn_error $?
"invalid package name: $ac_useropt"
1097 ac_useropt_orig
=$ac_useropt
1098 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1103 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1104 ac_unrecognized_sep
=', ';;
1106 eval with_
$ac_useropt=no
;;
1109 # Obsolete; use --with-x.
1112 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1113 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1114 ac_prev
=x_includes
;;
1115 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1116 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1117 x_includes
=$ac_optarg ;;
1119 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1120 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1121 ac_prev
=x_libraries
;;
1122 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1123 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1124 x_libraries
=$ac_optarg ;;
1126 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1127 Try \`$0 --help' for more information"
1131 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1132 # Reject names that are not valid shell variable names.
1133 case $ac_envvar in #(
1134 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1135 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1137 eval $ac_envvar=\
$ac_optarg
1138 export $ac_envvar ;;
1141 # FIXME: should be removed in autoconf 3.0.
1142 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1143 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1144 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1145 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1151 if test -n "$ac_prev"; then
1152 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1153 as_fn_error $?
"missing argument to $ac_option"
1156 if test -n "$ac_unrecognized_opts"; then
1157 case $enable_option_checking in
1159 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1160 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1164 # Check all directory arguments for consistency.
1165 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1170 eval ac_val
=\$
$ac_var
1171 # Remove trailing slashes.
1174 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1175 eval $ac_var=\
$ac_val;;
1177 # Be sure to have absolute directory names.
1179 [\\/$
]* | ?
:[\\/]* ) continue;;
1180 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1182 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1185 # There might be people who depend on the old broken behavior: `$host'
1186 # used to hold the argument of --host etc.
1187 # FIXME: To remove some day.
1190 target
=$target_alias
1192 # FIXME: To remove some day.
1193 if test "x$host_alias" != x
; then
1194 if test "x$build_alias" = x
; then
1195 cross_compiling
=maybe
1196 elif test "x$build_alias" != "x$host_alias"; then
1202 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1204 test "$silent" = yes && exec 6>/dev
/null
1207 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1208 ac_ls_di
=`ls -di .` &&
1209 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1210 as_fn_error $?
"working directory cannot be determined"
1211 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1212 as_fn_error $?
"pwd does not report name of working directory"
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted
=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir
=`$as_dirname -- "$as_myself" ||
1220 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$as_myself" : 'X\(//\)[^/]' \| \
1222 X"$as_myself" : 'X\(//\)$' \| \
1223 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1224 $as_echo X"$as_myself" |
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1247 ac_srcdir_defaulted
=no
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1251 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1253 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1265 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 for ac_var
in $ac_precious_vars; do
1268 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1270 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1275 # Report the --help message.
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1281 \`configure' configures this package to adapt to many kinds of systems.
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1288 Defaults for the options are specified in brackets.
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking ...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1312 For better control, use the options below.
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1339 --build=BUILD configure
for building on BUILD
[guessed
]
1340 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1344 if test -n "$ac_init_help"; then
1349 --disable-option-checking ignore unrecognized
--enable/--with options
1350 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1351 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1352 --disable-nls do not use Native Language Support
1353 --disable-rpath do not hardcode runtime library paths
1354 --enable-maintainer-mode enable rules only needed by maintainers
1355 --enable-host-shared build
host code as shared libraries
1358 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1359 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1360 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1361 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1362 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1363 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1364 --with-included-gettext use the GNU gettext library included here
1365 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1366 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1367 --with-libintl-type=TYPE
type of library to search
for (auto
/static
/shared
)
1369 Some influential environment variables
:
1370 CC C compiler
command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1373 nonstandard directory
<lib dir
>
1374 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1375 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1376 you have headers
in a nonstandard directory
<include dir
>
1379 Use these variables to override the choices made by
`configure' or to help
1380 it to find libraries and programs with nonstandard names/locations.
1382 Report bugs to the package provider.
1387 if test "$ac_init_help" = "recursive"; then
1388 # If there are subdirs, report their specific --help.
1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1390 test -d "$ac_dir" ||
1391 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406 ac_abs_top_builddir=$ac_pwd
1407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir=$ac_top_build_prefix
1412 .) # We are building in place.
1414 ac_top_srcdir=$ac_top_builddir_sub
1415 ac_abs_top_srcdir=$ac_pwd ;;
1416 [\\/]* | ?:[\\/]* ) # Absolute name.
1417 ac_srcdir=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir=$srcdir
1419 ac_abs_top_srcdir=$srcdir ;;
1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" || { ac_status=$?; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1436 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 cd "$ac_pwd" || { ac_status=$?; break; }
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1446 generated by GNU Autoconf 2.69
1448 Copyright (C) 2012 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1455 ## ------------------------ ##
1456 ## Autoconf initialization. ##
1457 ## ------------------------ ##
1459 # ac_fn_c_try_compile LINENO
1460 # --------------------------
1461 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1462 ac_fn_c_try_compile ()
1464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1465 rm -f conftest.$ac_objext
1466 if { { ac_try="$ac_compile"
1468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1469 *) ac_try_echo
=$ac_try;;
1471 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1472 $as_echo "$ac_try_echo"; } >&5
1473 (eval "$ac_compile") 2>conftest.err
1475 if test -s conftest.err
; then
1476 grep -v '^ *+' conftest.err
>conftest.er1
1477 cat conftest.er1
>&5
1478 mv -f conftest.er1 conftest.err
1480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1481 test $ac_status = 0; } && {
1482 test -z "$ac_c_werror_flag" ||
1483 test ! -s conftest.err
1484 } && test -s conftest.
$ac_objext; then :
1487 $as_echo "$as_me: failed program was:" >&5
1488 sed 's/^/| /' conftest.
$ac_ext >&5
1492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1493 as_fn_set_status
$ac_retval
1495 } # ac_fn_c_try_compile
1497 # ac_fn_c_try_cpp LINENO
1498 # ----------------------
1499 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1502 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1503 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1506 *) ac_try_echo=$ac_try;;
1508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509 $as_echo "$ac_try_echo"; } >&5
1510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1512 if test -s conftest.err; then
1513 grep -v '^ *+' conftest.err >conftest.er1
1514 cat conftest.er1 >&5
1515 mv -f conftest.er1 conftest.err
1517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518 test $ac_status = 0; } > conftest.i && {
1519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1520 test ! -s conftest.err
1524 $as_echo "$as_me: failed program was:" >&5
1525 sed 's/^/| /' conftest.$ac_ext >&5
1529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1530 as_fn_set_status $ac_retval
1534 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1535 # -------------------------------------------------------
1536 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1537 # the include files in INCLUDES and setting the cache variable VAR
1539 ac_fn_c_check_header_mongrel ()
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 if eval \${$3+:} false; then :
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1544 $as_echo_n "checking for $2... " >&6; }
1545 if eval \${$3+:} false; then :
1546 $as_echo_n "(cached) " >&6
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1550 $as_echo "$ac_res" >&6; }
1552 # Is the header compilable?
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1554 $as_echo_n "checking $2 usability... " >&6; }
1555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1556 /* end confdefs.h. */
1560 if ac_fn_c_try_compile "$LINENO"; then :
1561 ac_header_compiler=yes
1563 ac_header_compiler=no
1565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1567 $as_echo "$ac_header_compiler" >&6; }
1569 # Is the header present?
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1571 $as_echo_n "checking $2 presence... " >&6; }
1572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1573 /* end confdefs.h. */
1576 if ac_fn_c_try_cpp "$LINENO"; then :
1577 ac_header_preproc=yes
1579 ac_header_preproc=no
1581 rm -f conftest.err conftest.i conftest.$ac_ext
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1583 $as_echo "$ac_header_preproc" >&6; }
1585 # So? What about this header?
1586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1589 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1591 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1595 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1597 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1599 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1601 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1603 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1607 $as_echo_n "checking for $2... " >&6; }
1608 if eval \${$3+:} false; then :
1609 $as_echo_n "(cached) " >&6
1611 eval "$3=\$ac_header_compiler"
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1615 $as_echo "$ac_res" >&6; }
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 } # ac_fn_c_check_header_mongrel
1621 # ac_fn_c_try_run LINENO
1622 # ----------------------
1623 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1624 # that executables *can* be run.
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 if { { ac_try="$ac_link"
1630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1631 *) ac_try_echo
=$ac_try;;
1633 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_link") 2>&5
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1639 { { case "(($ac_try" in
1640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_try") 2>&5
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; }; }; then :
1651 $as_echo "$as_me: program exited with status $ac_status" >&5
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1655 ac_retval=$ac_status
1657 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 as_fn_set_status $ac_retval
1663 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1664 # -------------------------------------------------------
1665 # Tests whether HEADER exists and can be compiled using the include files in
1666 # INCLUDES, setting the cache variable VAR accordingly.
1667 ac_fn_c_check_header_compile ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671 $as_echo_n "checking for $2... " >&6; }
1672 if eval \${$3+:} false; then :
1673 $as_echo_n "(cached) " >&6
1675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1676 /* end confdefs.h. */
1680 if ac_fn_c_try_compile "$LINENO"; then :
1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 } # ac_fn_c_check_header_compile
1694 # ac_fn_c_try_link LINENO
1695 # -----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded.
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 rm -f conftest.$ac_objext conftest$ac_exeext
1701 if { { ac_try="$ac_link"
1703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1704 *) ac_try_echo
=$ac_try;;
1706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>conftest.err
1710 if test -s conftest.err
; then
1711 grep -v '^ *+' conftest.err
>conftest.er1
1712 cat conftest.er1
>&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } && {
1717 test -z "$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1719 } && test -s conftest
$ac_exeext && {
1720 test "$cross_compiling" = yes ||
1721 test -x conftest
$ac_exeext
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.
$ac_ext >&5
1730 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1731 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1732 # interfere with the next link command; also delete a directory that is
1733 # left behind by Apple's compiler. We do this before executing the actions.
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status
$ac_retval
1738 } # ac_fn_c_try_link
1740 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1741 # -------------------------------------------
1742 # Tests whether TYPE exists after having included INCLUDES, setting cache
1743 # variable VAR accordingly.
1744 ac_fn_c_check_type
()
1746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \
${$3+:} false
; then :
1750 $as_echo_n "(cached) " >&6
1753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1765 if ac_fn_c_try_compile
"$LINENO"; then :
1766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1778 if ac_fn_c_try_compile
"$LINENO"; then :
1783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1789 $as_echo "$ac_res" >&6; }
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 } # ac_fn_c_check_type
1794 # ac_fn_c_check_func LINENO FUNC VAR
1795 # ----------------------------------
1796 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1797 ac_fn_c_check_func
()
1799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \
${$3+:} false
; then :
1803 $as_echo_n "(cached) " >&6
1805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1807 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1809 #define $2 innocuous_$2
1811 /* System header to define __stub macros and hopefully few prototypes,
1812 which can conflict with char $2 (); below.
1813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1814 <limits.h> exists even on freestanding compilers. */
1817 # include <limits.h>
1819 # include <assert.h>
1824 /* Override any GCC internal prototype to avoid an error.
1825 Use char because int might match the return type of a GCC
1826 builtin and then its argument prototype would still apply. */
1831 /* The GNU C library defines this for functions which it implements
1832 to always fail with ENOSYS. Some functions are actually named
1833 something starting with __ and the normal name is an alias. */
1834 #if defined __stub_$2 || defined __stub___$2
1846 if ac_fn_c_try_link
"$LINENO"; then :
1851 rm -f core conftest.err conftest.
$ac_objext \
1852 conftest
$ac_exeext conftest.
$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_func
1860 cat >config.log
<<_ACEOF
1861 This file contains any messages produced by compilers while
1862 running configure, to aid debugging if configure makes a mistake.
1864 It was created by $as_me, which was
1865 generated by GNU Autoconf 2.69. Invocation command line was
1877 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1878 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1879 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1880 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1881 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1883 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1884 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1886 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1887 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1888 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1889 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1890 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1891 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1892 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1900 test -z "$as_dir" && as_dir
=.
1901 $as_echo "PATH: $as_dir"
1917 # Keep a trace of the command line.
1918 # Strip out --no-create and --no-recursion so they do not pile up.
1919 # Strip out --silent because we don't want to record it for future runs.
1920 # Also quote any args containing shell meta-characters.
1921 # Make two passes to allow for proper duplicate-argument suppression.
1925 ac_must_keep_next
=false
1931 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1932 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1933 |
-silent |
--silent |
--silen |
--sile |
--sil)
1936 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1939 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1941 as_fn_append ac_configure_args1
" '$ac_arg'"
1942 if test $ac_must_keep_next = true
; then
1943 ac_must_keep_next
=false
# Got value, back to normal.
1946 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1947 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1948 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1949 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1950 case "$ac_configure_args0 " in
1951 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1954 -* ) ac_must_keep_next
=true
;;
1957 as_fn_append ac_configure_args
" '$ac_arg'"
1962 { ac_configure_args0
=; unset ac_configure_args0
;}
1963 { ac_configure_args1
=; unset ac_configure_args1
;}
1965 # When interrupted or exit'd, cleanup temporary files, and complete
1966 # config.log. We remove comments because anyway the quotes in there
1967 # would cause problems or look ugly.
1968 # WARNING: Use '\'' to represent an apostrophe within the trap.
1969 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1970 trap 'exit_status=$?
1971 # Save into config.log some information that might help in debugging.
1975 $as_echo "## ---------------- ##
1976 ## Cache variables. ##
1977 ## ---------------- ##"
1979 # The following way of writing the cache mishandles newlines in values,
1981 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1982 eval ac_val=\$$ac_var
1986 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1987 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1990 _ | IFS | as_nl) ;; #(
1991 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1992 *) { eval $ac_var=; unset $ac_var;} ;;
1997 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1998 *${as_nl}ac_space=\ *)
2000 "s/'\''/'\''\\\\'\'''\''/g;
2001 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2011 $as_echo "## ----------------- ##
2012 ## Output variables. ##
2013 ## ----------------- ##"
2015 for ac_var in $ac_subst_vars
2017 eval ac_val=\$$ac_var
2019 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2021 $as_echo "$ac_var='\''$ac_val'\''"
2025 if test -n "$ac_subst_files"; then
2026 $as_echo "## ------------------- ##
2027 ## File substitutions. ##
2028 ## ------------------- ##"
2030 for ac_var
in $ac_subst_files
2032 eval ac_val
=\$
$ac_var
2034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036 $as_echo "$ac_var='\''$ac_val'\''"
2041 if test -s confdefs.h; then
2042 $as_echo "## ----------- ##
2049 test "$ac_signal" != 0 &&
2050 $as_echo "$as_me: caught signal $ac_signal"
2051 $as_echo "$as_me: exit $exit_status"
2053 rm -f core *.core core.conftest.* &&
2054 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2057 for ac_signal
in 1 2 13 15; do
2058 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2062 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2063 rm -f -r conftest
* confdefs.h
2065 $as_echo "/* confdefs.h */" > confdefs.h
2067 # Predefined preprocessor variables.
2069 cat >>confdefs.h
<<_ACEOF
2070 #define PACKAGE_NAME "$PACKAGE_NAME"
2073 cat >>confdefs.h
<<_ACEOF
2074 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2077 cat >>confdefs.h
<<_ACEOF
2078 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2081 cat >>confdefs.h
<<_ACEOF
2082 #define PACKAGE_STRING "$PACKAGE_STRING"
2085 cat >>confdefs.h
<<_ACEOF
2086 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2089 cat >>confdefs.h
<<_ACEOF
2090 #define PACKAGE_URL "$PACKAGE_URL"
2094 # Let the site file select an alternate cache file if it wants to.
2095 # Prefer an explicitly selected file to automatically selected ones.
2098 if test -n "$CONFIG_SITE"; then
2099 # We do not want a PATH search for config.site.
2100 case $CONFIG_SITE in #((
2101 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2102 */*) ac_site_file1
=$CONFIG_SITE;;
2103 *) ac_site_file1
=.
/$CONFIG_SITE;;
2105 elif test "x$prefix" != xNONE
; then
2106 ac_site_file1
=$prefix/share
/config.site
2107 ac_site_file2
=$prefix/etc
/config.site
2109 ac_site_file1
=$ac_default_prefix/share
/config.site
2110 ac_site_file2
=$ac_default_prefix/etc
/config.site
2112 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2114 test "x$ac_site_file" = xNONE
&& continue
2115 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2117 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2118 sed 's/^/| /' "$ac_site_file" >&5
2120 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2122 as_fn_error $?
"failed to load site script $ac_site_file
2123 See \`config.log' for more details" "$LINENO" 5; }
2127 if test -r "$cache_file"; then
2128 # Some versions of bash will fail to source /dev/null (special files
2129 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2130 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2132 $as_echo "$as_me: loading cache $cache_file" >&6;}
2134 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2135 *) .
"./$cache_file";;
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2140 $as_echo "$as_me: creating cache $cache_file" >&6;}
2144 as_fn_append ac_header_list
" stdlib.h"
2145 as_fn_append ac_header_list
" unistd.h"
2146 as_fn_append ac_header_list
" sys/param.h"
2147 # Check that the precious variables saved in the cache have kept the same
2149 ac_cache_corrupted
=false
2150 for ac_var
in $ac_precious_vars; do
2151 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2152 eval ac_new_set
=\
$ac_env_${ac_var}_set
2153 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2154 eval ac_new_val
=\
$ac_env_${ac_var}_value
2155 case $ac_old_set,$ac_new_set in
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2158 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2159 ac_cache_corrupted
=: ;;
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2162 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2163 ac_cache_corrupted
=: ;;
2166 if test "x$ac_old_val" != "x$ac_new_val"; then
2167 # differences in whitespace do not lead to failure.
2168 ac_old_val_w
=`echo x $ac_old_val`
2169 ac_new_val_w
=`echo x $ac_new_val`
2170 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2172 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2173 ac_cache_corrupted
=:
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2176 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2177 eval $ac_var=\
$ac_old_val
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2180 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2182 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2185 # Pass precious variables to config.status.
2186 if test "$ac_new_set" = set; then
2188 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2189 *) ac_arg
=$ac_var=$ac_new_val ;;
2191 case " $ac_configure_args " in
2192 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2193 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2197 if $ac_cache_corrupted; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2201 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2202 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2204 ## -------------------- ##
2205 ## Main body of script. ##
2206 ## -------------------- ##
2209 ac_cpp
='$CPP $CPPFLAGS'
2210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2219 ac_cpp
='$CPP $CPPFLAGS'
2220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2223 if test -n "$ac_tool_prefix"; then
2224 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2225 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if ${ac_cv_prog_CC+:} false
; then :
2229 $as_echo_n "(cached) " >&6
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC
="$CC" # Let the user override the test.
2234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir
=.
2239 for ac_exec_ext
in '' $ac_executable_extensions; do
2240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$CC"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2254 $as_echo "$CC" >&6; }
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257 $as_echo "no" >&6; }
2262 if test -z "$ac_cv_prog_CC"; then
2264 # Extract the first word of "gcc", so it can be a program name with args.
2265 set dummy gcc
; ac_word
=$2
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2267 $as_echo_n "checking for $ac_word... " >&6; }
2268 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2269 $as_echo_n "(cached) " >&6
2271 if test -n "$ac_ct_CC"; then
2272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir
=.
2279 for ac_exec_ext
in '' $ac_executable_extensions; do
2280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2281 ac_cv_prog_ac_ct_CC
="gcc"
2282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2292 if test -n "$ac_ct_CC"; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2294 $as_echo "$ac_ct_CC" >&6; }
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2297 $as_echo "no" >&6; }
2300 if test "x$ac_ct_CC" = x
; then
2303 case $cross_compiling:$ac_tool_warned in
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2307 ac_tool_warned
=yes ;;
2315 if test -z "$CC"; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2318 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if ${ac_cv_prog_CC+:} false
; then :
2322 $as_echo_n "(cached) " >&6
2324 if test -n "$CC"; then
2325 ac_cv_prog_CC
="$CC" # Let the user override the test.
2327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir
=.
2332 for ac_exec_ext
in '' $ac_executable_extensions; do
2333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2334 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 if test -n "$CC"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2347 $as_echo "$CC" >&6; }
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2350 $as_echo "no" >&6; }
2356 if test -z "$CC"; then
2357 # Extract the first word of "cc", so it can be a program name with args.
2358 set dummy cc
; ac_word
=$2
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if ${ac_cv_prog_CC+:} false
; then :
2362 $as_echo_n "(cached) " >&6
2364 if test -n "$CC"; then
2365 ac_cv_prog_CC
="$CC" # Let the user override the test.
2368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir
=.
2373 for ac_exec_ext
in '' $ac_executable_extensions; do
2374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2375 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2376 ac_prog_rejected
=yes
2380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 if test $ac_prog_rejected = yes; then
2388 # We found a bogon in the path, so make sure we never use it.
2389 set dummy
$ac_cv_prog_CC
2391 if test $# != 0; then
2392 # We chose a different compiler from the bogus one.
2393 # However, it has the same basename, so the bogon will be chosen
2394 # first if we set CC to just the basename; use the full file name.
2396 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2402 if test -n "$CC"; then
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2404 $as_echo "$CC" >&6; }
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2407 $as_echo "no" >&6; }
2412 if test -z "$CC"; then
2413 if test -n "$ac_tool_prefix"; then
2414 for ac_prog
in cl.exe
2416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2417 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
2420 if ${ac_cv_prog_CC+:} false
; then :
2421 $as_echo_n "(cached) " >&6
2423 if test -n "$CC"; then
2424 ac_cv_prog_CC
="$CC" # Let the user override the test.
2426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir
=.
2431 for ac_exec_ext
in '' $ac_executable_extensions; do
2432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2433 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 if test -n "$CC"; then
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2446 $as_echo "$CC" >&6; }
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449 $as_echo "no" >&6; }
2453 test -n "$CC" && break
2456 if test -z "$CC"; then
2458 for ac_prog
in cl.exe
2460 # Extract the first word of "$ac_prog", so it can be a program name with args.
2461 set dummy
$ac_prog; ac_word
=$2
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2463 $as_echo_n "checking for $ac_word... " >&6; }
2464 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2465 $as_echo_n "(cached) " >&6
2467 if test -n "$ac_ct_CC"; then
2468 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir
=.
2475 for ac_exec_ext
in '' $ac_executable_extensions; do
2476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2477 ac_cv_prog_ac_ct_CC
="$ac_prog"
2478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2488 if test -n "$ac_ct_CC"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2490 $as_echo "$ac_ct_CC" >&6; }
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2493 $as_echo "no" >&6; }
2497 test -n "$ac_ct_CC" && break
2500 if test "x$ac_ct_CC" = x
; then
2503 case $cross_compiling:$ac_tool_warned in
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2507 ac_tool_warned
=yes ;;
2516 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2518 as_fn_error $?
"no acceptable C compiler found in \$PATH
2519 See \`config.log' for more details" "$LINENO" 5; }
2521 # Provide some information about the compiler.
2522 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2525 for ac_option
in --version -v -V -qversion; do
2526 { { ac_try
="$ac_compiler $ac_option >&5"
2528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2529 *) ac_try_echo=$ac_try;;
2531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2532 $as_echo "$ac_try_echo"; } >&5
2533 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2535 if test -s conftest.err; then
2537 ... rest of stderr output deleted ...
2538 10q' conftest.err >conftest.er1
2539 cat conftest.er1 >&5
2541 rm -f conftest.er1 conftest.err
2542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2543 test $ac_status = 0; }
2546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2547 /* end confdefs.h. */
2557 ac_clean_files_save=$ac_clean_files
2558 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2559 # Try to create an executable without -o first, disregard a.out.
2560 # It will help us diagnose broken compilers, and finding out an intuition
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2563 $as_echo_n "checking whether the C compiler works... " >&6; }
2564 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2566 # The possible output files:
2567 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2570 for ac_file in $ac_files
2573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2574 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2579 if { { ac_try="$ac_link_default"
2581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2582 *) ac_try_echo
=$ac_try;;
2584 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2585 $as_echo "$ac_try_echo"; } >&5
2586 (eval "$ac_link_default") 2>&5
2588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2589 test $ac_status = 0; }; then :
2590 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2591 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2592 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2593 # so that the user can short-circuit this test for compilers unknown to
2595 for ac_file
in $ac_files ''
2597 test -f "$ac_file" ||
continue
2599 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2602 # We found the default executable, but exeext='' is most
2606 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2608 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2610 # We set ac_cv_exeext here because the later test for it is not
2611 # safe: cross compilers may not add the suffix if given an `-o'
2612 # argument, so we may need to know it at that point already.
2613 # Even if this section looks crufty: it has the advantage of
2620 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2625 if test -z "$ac_file"; then :
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627 $as_echo "no" >&6; }
2628 $as_echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.
$ac_ext >&5
2631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2633 as_fn_error
77 "C compiler cannot create executables
2634 See \`config.log' for more details" "$LINENO" 5; }
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637 $as_echo "yes" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2640 $as_echo_n "checking for C compiler default output file name... " >&6; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2642 $as_echo "$ac_file" >&6; }
2643 ac_exeext
=$ac_cv_exeext
2645 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2646 ac_clean_files
=$ac_clean_files_save
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2648 $as_echo_n "checking for suffix of executables... " >&6; }
2649 if { { ac_try
="$ac_link"
2651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_link") 2>&5
2658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; }; then :
2660 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2661 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2662 # work properly (i.e., refer to `conftest.exe'), while it won't with
2664 for ac_file
in conftest.exe conftest conftest.
*; do
2665 test -f "$ac_file" ||
continue
2667 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2668 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2676 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2677 See \`config.log' for more details" "$LINENO" 5; }
2679 rm -f conftest conftest
$ac_cv_exeext
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2681 $as_echo "$ac_cv_exeext" >&6; }
2683 rm -f conftest.
$ac_ext
2684 EXEEXT
=$ac_cv_exeext
2686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2687 /* end confdefs.h. */
2692 FILE *f = fopen ("conftest.out", "w");
2693 return ferror (f) || fclose (f) != 0;
2699 ac_clean_files
="$ac_clean_files conftest.out"
2700 # Check that the compiler produces executables we can run. If not, either
2701 # the compiler is broken, or we cross compile.
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2703 $as_echo_n "checking whether we are cross compiling... " >&6; }
2704 if test "$cross_compiling" != yes; then
2705 { { ac_try
="$ac_link"
2707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2708 *) ac_try_echo=$ac_try;;
2710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2711 $as_echo "$ac_try_echo"; } >&5
2712 (eval "$ac_link") 2>&5
2714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2715 test $ac_status = 0; }
2716 if { ac_try='./conftest$ac_cv_exeext'
2717 { { case "(($ac_try" in
2718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2719 *) ac_try_echo
=$ac_try;;
2721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_try") 2>&5
2725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726 test $ac_status = 0; }; }; then
2729 if test "$cross_compiling" = maybe
; then
2732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2734 as_fn_error $?
"cannot run C compiled programs.
2735 If you meant to cross compile, use \`--host'.
2736 See \`config.log' for more details" "$LINENO" 5; }
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2741 $as_echo "$cross_compiling" >&6; }
2743 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2744 ac_clean_files
=$ac_clean_files_save
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2746 $as_echo_n "checking for suffix of object files... " >&6; }
2747 if ${ac_cv_objext+:} false
; then :
2748 $as_echo_n "(cached) " >&6
2750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2761 rm -f conftest.o conftest.obj
2762 if { { ac_try
="$ac_compile"
2764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768 $as_echo "$ac_try_echo"; } >&5
2769 (eval "$ac_compile") 2>&5
2771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772 test $ac_status = 0; }; then :
2773 for ac_file in conftest.o conftest.obj conftest.*; do
2774 test -f "$ac_file" || continue;
2776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2777 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2782 $as_echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2787 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2788 See \
`config.log' for more details" "$LINENO" 5; }
2790 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2793 $as_echo "$ac_cv_objext" >&6; }
2794 OBJEXT=$ac_cv_objext
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2797 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2798 if ${ac_cv_c_compiler_gnu+:} false; then :
2799 $as_echo_n "(cached) " >&6
2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802 /* end confdefs.h. */
2815 if ac_fn_c_try_compile "$LINENO"; then :
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2825 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2826 if test $ac_compiler_gnu = yes; then
2831 ac_test_CFLAGS=${CFLAGS+set}
2832 ac_save_CFLAGS=$CFLAGS
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2834 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2835 if ${ac_cv_prog_cc_g+:} false; then :
2836 $as_echo_n "(cached) " >&6
2838 ac_save_c_werror_flag=$ac_c_werror_flag
2839 ac_c_werror_flag=yes
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2853 if ac_fn_c_try_compile "$LINENO"; then :
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2868 if ac_fn_c_try_compile "$LINENO"; then :
2871 ac_c_werror_flag=$ac_save_c_werror_flag
2873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2884 if ac_fn_c_try_compile "$LINENO"; then :
2887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892 ac_c_werror_flag=$ac_save_c_werror_flag
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2895 $as_echo "$ac_cv_prog_cc_g" >&6; }
2896 if test "$ac_test_CFLAGS" = set; then
2897 CFLAGS=$ac_save_CFLAGS
2898 elif test $ac_cv_prog_cc_g = yes; then
2899 if test "$GCC" = yes; then
2905 if test "$GCC" = yes; then
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2912 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2913 if ${ac_cv_prog_cc_c89+:} false; then :
2914 $as_echo_n "(cached) " >&6
2916 ac_cv_prog_cc_c89=no
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2923 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2924 struct buf { int x; };
2925 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2926 static char *e (p, i)
2932 static char *f (char * (*g) (char **, int), char **p, ...)
2937 s = g (p, va_arg (v,int));
2942 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2943 function prototypes and stuff, but not '\xHH' hex character constants.
2944 These don't provoke an error unfortunately, instead are silently treated
2945 as 'x'. The following induces an error, until -std is added to get
2946 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2947 array size at least. It's necessary to write '\x00'==0 to get something
2948 that's true only with -std. */
2949 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2951 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2952 inside strings and character constants. */
2954 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2956 int test (int i, double x);
2957 struct s1 {int (*f) (int a);};
2958 struct s2 {int (*f) (double a);};
2959 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2965 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2970 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2971 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2973 CC="$ac_save_CC $ac_arg"
2974 if ac_fn_c_try_compile "$LINENO"; then :
2975 ac_cv_prog_cc_c89=$ac_arg
2977 rm -f core conftest.err conftest.$ac_objext
2978 test "x$ac_cv_prog_cc_c89" != "xno" && break
2980 rm -f conftest.$ac_ext
2985 case "x$ac_cv_prog_cc_c89" in
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2988 $as_echo "none needed" >&6; } ;;
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2991 $as_echo "unsupported" >&6; } ;;
2993 CC="$CC $ac_cv_prog_cc_c89"
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2995 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2997 if test "x$ac_cv_prog_cc_c89" != xno; then :
3002 ac_cpp='$CPP $CPPFLAGS'
3003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3009 ac_cpp='$CPP $CPPFLAGS'
3010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3014 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3015 # On Suns, sometimes $CPP names a directory.
3016 if test -n "$CPP" && test -d "$CPP"; then
3019 if test -z "$CPP"; then
3020 if ${ac_cv_prog_CPP+:} false; then :
3021 $as_echo_n "(cached) " >&6
3023 # Double quotes because CPP needs to be expanded
3024 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3027 for ac_c_preproc_warn_flag in '' yes
3029 # Use a header file that comes with gcc, so configuring glibc
3030 # with a fresh cross-compiler works.
3031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3032 # <limits.h> exists even on freestanding compilers.
3033 # On the NeXT, cc -E runs the code through the compiler's parser,
3034 # not just through cpp. "Syntax error" is here to catch this case.
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3038 # include <limits.h>
3040 # include <assert.h>
3044 if ac_fn_c_try_cpp "$LINENO"; then :
3047 # Broken: fails on valid input.
3050 rm -f conftest.err conftest.i conftest.$ac_ext
3052 # OK, works on sane cases. Now check whether nonexistent headers
3053 # can be detected and how.
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3056 #include <ac_nonexistent.h>
3058 if ac_fn_c_try_cpp "$LINENO"; then :
3059 # Broken: success on invalid input.
3062 # Passes both tests.
3066 rm -f conftest.err conftest.i conftest.$ac_ext
3069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3070 rm -f conftest.i conftest.err conftest.
$ac_ext
3071 if $ac_preproc_ok; then :
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3084 $as_echo "$CPP" >&6; }
3086 for ac_c_preproc_warn_flag
in '' yes
3088 # Use a header file that comes with gcc, so configuring glibc
3089 # with a fresh cross-compiler works.
3090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3091 # <limits.h> exists even on freestanding compilers.
3092 # On the NeXT, cc -E runs the code through the compiler's parser,
3093 # not just through cpp. "Syntax error" is here to catch this case.
3094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3097 # include <limits.h>
3099 # include <assert.h>
3103 if ac_fn_c_try_cpp
"$LINENO"; then :
3106 # Broken: fails on valid input.
3109 rm -f conftest.err conftest.i conftest.
$ac_ext
3111 # OK, works on sane cases. Now check whether nonexistent headers
3112 # can be detected and how.
3113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3115 #include <ac_nonexistent.h>
3117 if ac_fn_c_try_cpp
"$LINENO"; then :
3118 # Broken: success on invalid input.
3121 # Passes both tests.
3125 rm -f conftest.err conftest.i conftest.
$ac_ext
3128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3129 rm -f conftest.i conftest.err conftest.
$ac_ext
3130 if $ac_preproc_ok; 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 $?
"C preprocessor \"$CPP\" fails sanity check
3136 See \`config.log' for more details" "$LINENO" 5; }
3140 ac_cpp
='$CPP $CPPFLAGS'
3141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3147 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3148 if ${ac_cv_path_GREP+:} false
; then :
3149 $as_echo_n "(cached) " >&6
3151 if test -z "$GREP"; then
3152 ac_path_GREP_found
=false
3153 # Loop through the user's path and test for each of PROGNAME-LIST
3154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3155 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3158 test -z "$as_dir" && as_dir
=.
3159 for ac_prog
in grep ggrep
; do
3160 for ac_exec_ext
in '' $ac_executable_extensions; do
3161 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3162 as_fn_executable_p
"$ac_path_GREP" ||
continue
3163 # Check for GNU ac_path_GREP and select it if it is found.
3164 # Check for GNU $ac_path_GREP
3165 case `"$ac_path_GREP" --version 2>&1` in
3167 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3170 $as_echo_n 0123456789 >"conftest.in"
3173 cat "conftest.in" "conftest.in" >"conftest.tmp"
3174 mv "conftest.tmp" "conftest.in"
3175 cp "conftest.in" "conftest.nl"
3176 $as_echo 'GREP' >> "conftest.nl"
3177 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3178 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3179 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3180 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3181 # Best one so far, save it but keep looking for a better one
3182 ac_cv_path_GREP
="$ac_path_GREP"
3183 ac_path_GREP_max
=$ac_count
3185 # 10*(2^10) chars as input seems more than enough
3186 test $ac_count -gt 10 && break
3188 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3191 $ac_path_GREP_found && break 3
3196 if test -z "$ac_cv_path_GREP"; then
3197 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3200 ac_cv_path_GREP
=$GREP
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3205 $as_echo "$ac_cv_path_GREP" >&6; }
3206 GREP
="$ac_cv_path_GREP"
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3210 $as_echo_n "checking for egrep... " >&6; }
3211 if ${ac_cv_path_EGREP+:} false
; then :
3212 $as_echo_n "(cached) " >&6
3214 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3215 then ac_cv_path_EGREP
="$GREP -E"
3217 if test -z "$EGREP"; then
3218 ac_path_EGREP_found
=false
3219 # Loop through the user's path and test for each of PROGNAME-LIST
3220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3221 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3224 test -z "$as_dir" && as_dir
=.
3225 for ac_prog
in egrep; do
3226 for ac_exec_ext
in '' $ac_executable_extensions; do
3227 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3228 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3229 # Check for GNU ac_path_EGREP and select it if it is found.
3230 # Check for GNU $ac_path_EGREP
3231 case `"$ac_path_EGREP" --version 2>&1` in
3233 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3236 $as_echo_n 0123456789 >"conftest.in"
3239 cat "conftest.in" "conftest.in" >"conftest.tmp"
3240 mv "conftest.tmp" "conftest.in"
3241 cp "conftest.in" "conftest.nl"
3242 $as_echo 'EGREP' >> "conftest.nl"
3243 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3244 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3245 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3246 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3247 # Best one so far, save it but keep looking for a better one
3248 ac_cv_path_EGREP
="$ac_path_EGREP"
3249 ac_path_EGREP_max
=$ac_count
3251 # 10*(2^10) chars as input seems more than enough
3252 test $ac_count -gt 10 && break
3254 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3257 $ac_path_EGREP_found && break 3
3262 if test -z "$ac_cv_path_EGREP"; then
3263 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3266 ac_cv_path_EGREP
=$EGREP
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3272 $as_echo "$ac_cv_path_EGREP" >&6; }
3273 EGREP
="$ac_cv_path_EGREP"
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3277 $as_echo_n "checking for ANSI C header files... " >&6; }
3278 if ${ac_cv_header_stdc+:} false
; then :
3279 $as_echo_n "(cached) " >&6
3281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3296 if ac_fn_c_try_compile
"$LINENO"; then :
3297 ac_cv_header_stdc
=yes
3299 ac_cv_header_stdc
=no
3301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3303 if test $ac_cv_header_stdc = yes; then
3304 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3311 $EGREP "memchr" >/dev
/null
2>&1; then :
3314 ac_cv_header_stdc
=no
3320 if test $ac_cv_header_stdc = yes; then
3321 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3328 $EGREP "free" >/dev
/null
2>&1; then :
3331 ac_cv_header_stdc
=no
3337 if test $ac_cv_header_stdc = yes; then
3338 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3339 if test "$cross_compiling" = yes; then :
3342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3346 #if ((' ' & 0x0FF) == 0x020)
3347 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3348 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3350 # define ISLOWER(c) \
3351 (('a' <= (c) && (c) <= 'i') \
3352 || ('j' <= (c) && (c) <= 'r') \
3353 || ('s' <= (c) && (c) <= 'z'))
3354 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3357 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3362 for (i = 0; i < 256; i++)
3363 if (XOR (islower (i), ISLOWER (i))
3364 || toupper (i) != TOUPPER (i))
3369 if ac_fn_c_try_run
"$LINENO"; then :
3372 ac_cv_header_stdc
=no
3374 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3375 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3381 $as_echo "$ac_cv_header_stdc" >&6; }
3382 if test $ac_cv_header_stdc = yes; then
3384 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3388 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3389 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3390 inttypes.h stdint.h unistd.h
3392 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3393 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3395 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3396 cat >>confdefs.h
<<_ACEOF
3397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3406 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3407 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3414 if test "$MINIX" = yes; then
3416 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3419 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3422 $as_echo "#define _MINIX 1" >>confdefs.h
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3428 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3429 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3430 $as_echo_n "(cached) " >&6
3432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3435 # define __EXTENSIONS__ 1
3436 $ac_includes_default
3445 if ac_fn_c_try_compile
"$LINENO"; then :
3446 ac_cv_safe_to_define___extensions__
=yes
3448 ac_cv_safe_to_define___extensions__
=no
3450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3453 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3454 test $ac_cv_safe_to_define___extensions__ = yes &&
3455 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3457 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3459 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3461 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3463 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3467 ac_config_headers
="$ac_config_headers config.h"
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3472 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3474 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3475 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3476 $as_echo_n "(cached) " >&6
3478 cat >conftest.
make <<\_ACEOF
3481 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3483 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3484 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3486 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3488 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3492 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3494 $as_echo "yes" >&6; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3499 SET_MAKE
="MAKE=${MAKE-make}"
3503 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3504 if test -f "$ac_dir/install-sh"; then
3506 ac_install_sh
="$ac_aux_dir/install-sh -c"
3508 elif test -f "$ac_dir/install.sh"; then
3510 ac_install_sh
="$ac_aux_dir/install.sh -c"
3512 elif test -f "$ac_dir/shtool"; then
3514 ac_install_sh
="$ac_aux_dir/shtool install -c"
3518 if test -z "$ac_aux_dir"; then
3519 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3522 # These three variables are undocumented and unsupported,
3523 # and are intended to be withdrawn in a future Autoconf release.
3524 # They can cause serious problems if a builder's source tree is in a directory
3525 # whose full name contains unusual characters.
3526 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3527 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3528 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3531 # Find a good install program. We prefer a C program (faster),
3532 # so one script is as good as another. But avoid the broken or
3533 # incompatible versions:
3534 # SysV /etc/install, /usr/sbin/install
3535 # SunOS /usr/etc/install
3536 # IRIX /sbin/install
3538 # AmigaOS /C/install, which installs bootblocks on floppy discs
3539 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3542 # OS/2's system install, which has a completely different semantic
3543 # ./install, which can be erroneously created by make from ./install.sh.
3544 # Reject install programs that cannot install multiple files.
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3546 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3547 if test -z "$INSTALL"; then
3548 if ${ac_cv_path_install+:} false
; then :
3549 $as_echo_n "(cached) " >&6
3551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3555 test -z "$as_dir" && as_dir
=.
3556 # Account for people who put trailing slashes in PATH elements.
3557 case $as_dir/ in #((
3558 .
/ | .
// |
/[cC
]/* | \
3559 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3560 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3563 # OSF1 and SCO ODT 3.0 have their own names for install.
3564 # Don't use installbsd from OSF since it installs stuff as root
3566 for ac_prog
in ginstall scoinst
install; do
3567 for ac_exec_ext
in '' $ac_executable_extensions; do
3568 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3569 if test $ac_prog = install &&
3570 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3571 # AIX install. It has an incompatible calling convention.
3573 elif test $ac_prog = install &&
3574 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3575 # program-specific install script used by HP pwplus--don't use.
3578 rm -rf conftest.one conftest.two conftest.dir
3579 echo one
> conftest.one
3580 echo two
> conftest.two
3582 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3583 test -s conftest.one
&& test -s conftest.two
&&
3584 test -s conftest.dir
/conftest.one
&&
3585 test -s conftest.dir
/conftest.two
3587 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3600 rm -rf conftest.one conftest.two conftest.dir
3603 if test "${ac_cv_path_install+set}" = set; then
3604 INSTALL
=$ac_cv_path_install
3606 # As a last resort, use the slow shell script. Don't cache a
3607 # value for INSTALL within a source directory, because that will
3608 # break other packages using the cache if that directory is
3609 # removed, or if the value is a relative name.
3610 INSTALL
=$ac_install_sh
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3614 $as_echo "$INSTALL" >&6; }
3616 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3617 # It thinks the first close brace ends the variable substitution.
3618 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3620 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3622 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3626 if test -n "$ac_aux_dir"; then
3627 case "$ac_aux_dir" in
3628 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3629 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3632 if test -z "$MKINSTALLDIRS"; then
3633 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3639 $as_echo_n "checking whether NLS is requested... " >&6; }
3640 # Check whether --enable-nls was given.
3641 if test "${enable_nls+set}" = set; then :
3642 enableval
=$enable_nls; USE_NLS
=$enableval
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3648 $as_echo "$USE_NLS" >&6; }
3655 # Prepare PATH_SEPARATOR.
3656 # The user is always right.
3657 if test "${PATH_SEPARATOR+set}" != set; then
3658 echo "#! /bin/sh" >conf$$.sh
3659 echo "exit 0" >>conf$$.sh
3661 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3669 # Find out how to test for executable files. Don't use a zero-byte file,
3670 # as systems may use methods other than mode bits to determine executability.
3671 cat >conf$$.
file <<_ASEOF
3675 chmod +x conf$$.
file
3676 if test -x conf$$.
file >/dev
/null
2>&1; then
3677 ac_executable_p
="test -x"
3679 ac_executable_p
="test -f"
3683 # Extract the first word of "msgfmt", so it can be a program name with args.
3684 set dummy msgfmt
; ac_word
=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if ${ac_cv_path_MSGFMT+:} false
; then :
3688 $as_echo_n "(cached) " >&6
3692 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3695 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3696 for ac_dir
in $PATH; do
3698 test -z "$ac_dir" && ac_dir
=.
3699 for ac_exec_ext
in '' $ac_executable_extensions; do
3700 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3701 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3702 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3703 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3710 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3714 MSGFMT
="$ac_cv_path_MSGFMT"
3715 if test "$MSGFMT" != ":"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3717 $as_echo "$MSGFMT" >&6; }
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720 $as_echo "no" >&6; }
3723 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3724 set dummy gmsgfmt
; ac_word
=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_path_GMSGFMT+:} false
; then :
3728 $as_echo_n "(cached) " >&6
3732 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir
=.
3740 for ac_exec_ext
in '' $ac_executable_extensions; do
3741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3754 GMSGFMT
=$ac_cv_path_GMSGFMT
3755 if test -n "$GMSGFMT"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3757 $as_echo "$GMSGFMT" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3766 # Prepare PATH_SEPARATOR.
3767 # The user is always right.
3768 if test "${PATH_SEPARATOR+set}" != set; then
3769 echo "#! /bin/sh" >conf$$.sh
3770 echo "exit 0" >>conf$$.sh
3772 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3780 # Find out how to test for executable files. Don't use a zero-byte file,
3781 # as systems may use methods other than mode bits to determine executability.
3782 cat >conf$$.
file <<_ASEOF
3786 chmod +x conf$$.
file
3787 if test -x conf$$.
file >/dev
/null
2>&1; then
3788 ac_executable_p
="test -x"
3790 ac_executable_p
="test -f"
3794 # Extract the first word of "xgettext", so it can be a program name with args.
3795 set dummy xgettext
; ac_word
=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if ${ac_cv_path_XGETTEXT+:} false
; then :
3799 $as_echo_n "(cached) " >&6
3803 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3806 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3807 for ac_dir
in $PATH; do
3809 test -z "$ac_dir" && ac_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3812 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3813 (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
3814 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
3821 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3825 XGETTEXT
="$ac_cv_path_XGETTEXT"
3826 if test "$XGETTEXT" != ":"; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3828 $as_echo "$XGETTEXT" >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3831 $as_echo "no" >&6; }
3837 # Prepare PATH_SEPARATOR.
3838 # The user is always right.
3839 if test "${PATH_SEPARATOR+set}" != set; then
3840 echo "#! /bin/sh" >conf$$.sh
3841 echo "exit 0" >>conf$$.sh
3843 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3851 # Find out how to test for executable files. Don't use a zero-byte file,
3852 # as systems may use methods other than mode bits to determine executability.
3853 cat >conf$$.
file <<_ASEOF
3857 chmod +x conf$$.
file
3858 if test -x conf$$.
file >/dev
/null
2>&1; then
3859 ac_executable_p
="test -x"
3861 ac_executable_p
="test -f"
3865 # Extract the first word of "msgmerge", so it can be a program name with args.
3866 set dummy msgmerge
; ac_word
=$2
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3868 $as_echo_n "checking for $ac_word... " >&6; }
3869 if ${ac_cv_path_MSGMERGE+:} false
; then :
3870 $as_echo_n "(cached) " >&6
3874 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
3877 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3878 for ac_dir
in $PATH; do
3880 test -z "$ac_dir" && ac_dir
=.
3881 for ac_exec_ext
in '' $ac_executable_extensions; do
3882 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3883 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
3884 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
3891 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
3895 MSGMERGE
="$ac_cv_path_MSGMERGE"
3896 if test "$MSGMERGE" != ":"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3898 $as_echo "$MSGMERGE" >&6; }
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3905 if test "$GMSGFMT" != ":"; then
3906 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
3907 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3910 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3912 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
3917 if test "$XGETTEXT" != ":"; then
3918 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3919 (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
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
3923 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
3929 ac_config_commands
="$ac_config_commands default-1"
3932 # Make sure we can run config.sub.
3933 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3934 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3937 $as_echo_n "checking build system type... " >&6; }
3938 if ${ac_cv_build+:} false
; then :
3939 $as_echo_n "(cached) " >&6
3941 ac_build_alias
=$build_alias
3942 test "x$ac_build_alias" = x
&&
3943 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3944 test "x$ac_build_alias" = x
&&
3945 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3946 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3947 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3951 $as_echo "$ac_cv_build" >&6; }
3952 case $ac_cv_build in
3954 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3957 ac_save_IFS
=$IFS; IFS
='-'
3963 # Remember, the first character of IFS is used to create $*,
3964 # except with old shells:
3967 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3971 $as_echo_n "checking host system type... " >&6; }
3972 if ${ac_cv_host+:} false
; then :
3973 $as_echo_n "(cached) " >&6
3975 if test "x$host_alias" = x
; then
3976 ac_cv_host
=$ac_cv_build
3978 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3979 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3984 $as_echo "$ac_cv_host" >&6; }
3987 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3990 ac_save_IFS
=$IFS; IFS
='-'
3996 # Remember, the first character of IFS is used to create $*,
3997 # except with old shells:
4000 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4003 if test -n "$ac_tool_prefix"; then
4004 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4005 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007 $as_echo_n "checking for $ac_word... " >&6; }
4008 if ${ac_cv_prog_RANLIB+:} false
; then :
4009 $as_echo_n "(cached) " >&6
4011 if test -n "$RANLIB"; then
4012 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4018 test -z "$as_dir" && as_dir
=.
4019 for ac_exec_ext
in '' $ac_executable_extensions; do
4020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4021 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 RANLIB
=$ac_cv_prog_RANLIB
4032 if test -n "$RANLIB"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4034 $as_echo "$RANLIB" >&6; }
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4042 if test -z "$ac_cv_prog_RANLIB"; then
4043 ac_ct_RANLIB
=$RANLIB
4044 # Extract the first word of "ranlib", so it can be a program name with args.
4045 set dummy ranlib
; ac_word
=$2
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4047 $as_echo_n "checking for $ac_word... " >&6; }
4048 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4049 $as_echo_n "(cached) " >&6
4051 if test -n "$ac_ct_RANLIB"; then
4052 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4058 test -z "$as_dir" && as_dir
=.
4059 for ac_exec_ext
in '' $ac_executable_extensions; do
4060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4061 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4071 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4072 if test -n "$ac_ct_RANLIB"; then
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4074 $as_echo "$ac_ct_RANLIB" >&6; }
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4077 $as_echo "no" >&6; }
4080 if test "x$ac_ct_RANLIB" = x
; then
4083 case $cross_compiling:$ac_tool_warned in
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4087 ac_tool_warned
=yes ;;
4089 RANLIB
=$ac_ct_RANLIB
4092 RANLIB
="$ac_cv_prog_RANLIB"
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4096 $as_echo_n "checking for library containing strerror... " >&6; }
4097 if ${ac_cv_search_strerror+:} false
; then :
4098 $as_echo_n "(cached) " >&6
4100 ac_func_search_save_LIBS
=$LIBS
4101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4104 /* Override any GCC internal prototype to avoid an error.
4105 Use char because int might match the return type of a GCC
4106 builtin and then its argument prototype would still apply. */
4119 for ac_lib
in '' cposix
; do
4120 if test -z "$ac_lib"; then
4121 ac_res
="none required"
4124 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4126 if ac_fn_c_try_link
"$LINENO"; then :
4127 ac_cv_search_strerror
=$ac_res
4129 rm -f core conftest.err conftest.
$ac_objext \
4131 if ${ac_cv_search_strerror+:} false
; then :
4135 if ${ac_cv_search_strerror+:} false
; then :
4138 ac_cv_search_strerror
=no
4141 LIBS
=$ac_func_search_save_LIBS
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4144 $as_echo "$ac_cv_search_strerror" >&6; }
4145 ac_res
=$ac_cv_search_strerror
4146 if test "$ac_res" != no
; then :
4147 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4152 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4153 if ${ac_cv_c_const+:} false
; then :
4154 $as_echo_n "(cached) " >&6
4156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4164 /* Ultrix mips cc rejects this sort of thing. */
4165 typedef int charset[2];
4166 const charset cs = { 0, 0 };
4167 /* SunOS 4.1.1 cc rejects this. */
4168 char const *const *pcpcc;
4170 /* NEC SVR4.0.2 mips cc rejects this. */
4171 struct point {int x, y;};
4172 static struct point const zero = {0,0};
4173 /* AIX XL C 1.02.0.0 rejects this.
4174 It does not let you subtract one const X* pointer from another in
4175 an arm of an if-expression whose if-part is not a constant
4177 const char *g = "string";
4178 pcpcc = &g + (g ? g-g : 0);
4179 /* HPUX 7.0 cc rejects these. */
4181 ppc = (char**) pcpcc;
4182 pcpcc = (char const *const *) ppc;
4183 { /* SCO 3.2v4 cc rejects this sort of thing. */
4186 char const *s = 0 ? (char *) 0 : (char const *) 0;
4191 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4193 const int *foo = &x[0];
4196 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4197 typedef const int *iptr;
4201 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4202 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4203 struct s { int j; const int *ap[3]; } bx;
4204 struct s *b = &bx; b->j = 5;
4206 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4210 return !cs[0] && !zero.x;
4217 if ac_fn_c_try_compile
"$LINENO"; then :
4222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4225 $as_echo "$ac_cv_c_const" >&6; }
4226 if test $ac_cv_c_const = no
; then
4228 $as_echo "#define const /**/" >>confdefs.h
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4233 $as_echo_n "checking for inline... " >&6; }
4234 if ${ac_cv_c_inline+:} false
; then :
4235 $as_echo_n "(cached) " >&6
4238 for ac_kw
in inline __inline__ __inline
; do
4239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4243 static $ac_kw foo_t static_foo () {return 0; }
4244 $ac_kw foo_t foo () {return 0; }
4248 if ac_fn_c_try_compile
"$LINENO"; then :
4249 ac_cv_c_inline
=$ac_kw
4251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4252 test "$ac_cv_c_inline" != no
&& break
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4257 $as_echo "$ac_cv_c_inline" >&6; }
4259 case $ac_cv_c_inline in
4262 case $ac_cv_c_inline in
4264 *) ac_val
=$ac_cv_c_inline;;
4266 cat >>confdefs.h
<<_ACEOF
4268 #define inline $ac_val
4274 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4275 if test "x$ac_cv_type_off_t" = xyes
; then :
4279 cat >>confdefs.h
<<_ACEOF
4280 #define off_t long int
4285 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4286 if test "x$ac_cv_type_size_t" = xyes
; then :
4290 cat >>confdefs.h
<<_ACEOF
4291 #define size_t unsigned int
4296 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4297 # for constant arguments. Useless!
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4299 $as_echo_n "checking for working alloca.h... " >&6; }
4300 if ${ac_cv_working_alloca_h+:} false
; then :
4301 $as_echo_n "(cached) " >&6
4303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4309 char *p = (char *) alloca (2 * sizeof (int));
4315 if ac_fn_c_try_link
"$LINENO"; then :
4316 ac_cv_working_alloca_h
=yes
4318 ac_cv_working_alloca_h
=no
4320 rm -f core conftest.err conftest.
$ac_objext \
4321 conftest
$ac_exeext conftest.
$ac_ext
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4324 $as_echo "$ac_cv_working_alloca_h" >&6; }
4325 if test $ac_cv_working_alloca_h = yes; then
4327 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4332 $as_echo_n "checking for alloca... " >&6; }
4333 if ${ac_cv_func_alloca_works+:} false
; then :
4334 $as_echo_n "(cached) " >&6
4336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4339 # define alloca __builtin_alloca
4342 # include <malloc.h>
4343 # define alloca _alloca
4345 # ifdef HAVE_ALLOCA_H
4346 # include <alloca.h>
4351 # ifndef alloca /* predefined by HP cc +Olibcalls */
4352 void *alloca (size_t);
4362 char *p = (char *) alloca (1);
4368 if ac_fn_c_try_link
"$LINENO"; then :
4369 ac_cv_func_alloca_works
=yes
4371 ac_cv_func_alloca_works
=no
4373 rm -f core conftest.err conftest.
$ac_objext \
4374 conftest
$ac_exeext conftest.
$ac_ext
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4377 $as_echo "$ac_cv_func_alloca_works" >&6; }
4379 if test $ac_cv_func_alloca_works = yes; then
4381 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4384 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4385 # that cause trouble. Some versions do not even contain alloca or
4386 # contain a buggy version. If you still want to use their alloca,
4387 # use ar to extract alloca.o from them instead of compiling alloca.c.
4389 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
4391 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4395 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4396 if ${ac_cv_os_cray+:} false
; then :
4397 $as_echo_n "(cached) " >&6
4399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4401 #if defined CRAY && ! defined CRAY2
4408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4409 $EGREP "webecray" >/dev
/null
2>&1; then :
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4418 $as_echo "$ac_cv_os_cray" >&6; }
4419 if test $ac_cv_os_cray = yes; then
4420 for ac_func
in _getb67 GETB67 getb67
; do
4421 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4422 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4423 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4425 cat >>confdefs.h
<<_ACEOF
4426 #define CRAY_STACKSEG_END $ac_func
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4436 $as_echo_n "checking stack direction for C alloca... " >&6; }
4437 if ${ac_cv_c_stack_direction+:} false
; then :
4438 $as_echo_n "(cached) " >&6
4440 if test "$cross_compiling" = yes; then :
4441 ac_cv_c_stack_direction
=0
4443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4445 $ac_includes_default
4447 find_stack_direction (int *addr, int depth)
4452 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
4453 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
4458 main (int argc, char **argv)
4460 return find_stack_direction (0, argc + !argv + 20) < 0;
4463 if ac_fn_c_try_run
"$LINENO"; then :
4464 ac_cv_c_stack_direction
=1
4466 ac_cv_c_stack_direction
=-1
4468 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4469 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4474 $as_echo "$ac_cv_c_stack_direction" >&6; }
4475 cat >>confdefs.h
<<_ACEOF
4476 #define STACK_DIRECTION $ac_cv_c_stack_direction
4485 for ac_header
in $ac_header_list
4487 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4488 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4490 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4491 cat >>confdefs.h
<<_ACEOF
4492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4506 for ac_func
in getpagesize
4508 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4509 if test "x$ac_cv_func_getpagesize" = xyes
; then :
4510 cat >>confdefs.h
<<_ACEOF
4511 #define HAVE_GETPAGESIZE 1
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4518 $as_echo_n "checking for working mmap... " >&6; }
4519 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
4520 $as_echo_n "(cached) " >&6
4522 if test "$cross_compiling" = yes; then :
4523 ac_cv_func_mmap_fixed_mapped
=no
4525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4527 $ac_includes_default
4528 /* malloc might have been renamed as rpl_malloc. */
4531 /* Thanks to Mike Haertel and Jim Avera for this test.
4532 Here is a matrix of mmap possibilities:
4533 mmap private not fixed
4534 mmap private fixed at somewhere currently unmapped
4535 mmap private fixed at somewhere already mapped
4536 mmap shared not fixed
4537 mmap shared fixed at somewhere currently unmapped
4538 mmap shared fixed at somewhere already mapped
4539 For private mappings, we should verify that changes cannot be read()
4540 back from the file, nor mmap's back from the file at a different
4541 address. (There have been systems where private was not correctly
4542 implemented like the infamous i386 svr4.0, and systems where the
4543 VM page cache was not coherent with the file system buffer cache
4544 like early versions of FreeBSD and possibly contemporary NetBSD.)
4545 For shared mappings, we should conversely verify that changes get
4546 propagated back to all the places they're supposed to be.
4548 Grep wants private fixed already mapped.
4549 The main things grep needs to know about mmap are:
4550 * does it exist and is it safe to write into the mmap'd area
4551 * how to use it (BSD variants) */
4554 #include <sys/mman.h>
4556 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4560 /* This mess was copied from the GNU getpagesize.h. */
4561 #ifndef HAVE_GETPAGESIZE
4562 # ifdef _SC_PAGESIZE
4563 # define getpagesize() sysconf(_SC_PAGESIZE)
4564 # else /* no _SC_PAGESIZE */
4565 # ifdef HAVE_SYS_PARAM_H
4566 # include <sys/param.h>
4567 # ifdef EXEC_PAGESIZE
4568 # define getpagesize() EXEC_PAGESIZE
4569 # else /* no EXEC_PAGESIZE */
4571 # define getpagesize() NBPG * CLSIZE
4574 # endif /* no CLSIZE */
4575 # else /* no NBPG */
4577 # define getpagesize() NBPC
4578 # else /* no NBPC */
4580 # define getpagesize() PAGESIZE
4581 # endif /* PAGESIZE */
4582 # endif /* no NBPC */
4583 # endif /* no NBPG */
4584 # endif /* no EXEC_PAGESIZE */
4585 # else /* no HAVE_SYS_PARAM_H */
4586 # define getpagesize() 8192 /* punt totally */
4587 # endif /* no HAVE_SYS_PARAM_H */
4588 # endif /* no _SC_PAGESIZE */
4590 #endif /* no HAVE_GETPAGESIZE */
4595 char *data, *data2, *data3;
4600 pagesize = getpagesize ();
4602 /* First, make a file with some known garbage in it. */
4603 data = (char *) malloc (pagesize);
4606 for (i = 0; i < pagesize; ++i)
4607 *(data + i) = rand ();
4609 fd = creat ("conftest.mmap", 0600);
4612 if (write (fd, data, pagesize) != pagesize)
4616 /* Next, check that the tail of a page is zero-filled. File must have
4617 non-zero length, otherwise we risk SIGBUS for entire page. */
4618 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4622 if (write (fd2, cdata2, 1) != 1)
4624 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4625 if (data2 == MAP_FAILED)
4627 for (i = 0; i < pagesize; ++i)
4631 if (munmap (data2, pagesize))
4634 /* Next, try to mmap the file at a fixed address which already has
4635 something else allocated at it. If we can, also make sure that
4636 we see the same garbage. */
4637 fd = open ("conftest.mmap", O_RDWR);
4640 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4641 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4643 for (i = 0; i < pagesize; ++i)
4644 if (*(data + i) != *(data2 + i))
4647 /* Finally, make sure that changes to the mapped area do not
4648 percolate back to the file as seen by read(). (This is a bug on
4649 some variants of i386 svr4.0.) */
4650 for (i = 0; i < pagesize; ++i)
4651 *(data2 + i) = *(data2 + i) + 1;
4652 data3 = (char *) malloc (pagesize);
4655 if (read (fd, data3, pagesize) != pagesize)
4657 for (i = 0; i < pagesize; ++i)
4658 if (*(data + i) != *(data3 + i))
4664 if ac_fn_c_try_run
"$LINENO"; then :
4665 ac_cv_func_mmap_fixed_mapped
=yes
4667 ac_cv_func_mmap_fixed_mapped
=no
4669 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4670 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4675 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4676 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4678 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4681 rm -f conftest.mmap conftest.txt
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
4685 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
4686 if ${ac_cv_gnu_library_2_1+:} false
; then :
4687 $as_echo_n "(cached) " >&6
4689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4690 /* end confdefs.h. */
4692 #include <features.h>
4693 #ifdef __GNU_LIBRARY__
4694 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4701 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
4702 ac_cv_gnu_library_2_1
=yes
4704 ac_cv_gnu_library_2_1
=no
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
4712 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
4714 GLIBC21
="$ac_cv_gnu_library_2_1"
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
4720 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
4721 if ${gt_cv_int_divbyzero_sigfpe+:} false
; then :
4722 $as_echo_n "(cached) " >&6
4725 if test "$cross_compiling" = yes; then :
4727 # Guess based on the CPU.
4729 alpha
* | i3456786 | m68k | s390
*)
4730 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
4732 gt_cv_int_divbyzero_sigfpe
="guessing no";;
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4744 sigfpe_handler (int sig)
4746 sigfpe_handler (sig) int sig;
4749 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
4750 exit (sig != SIGFPE);
4760 signal (SIGFPE, sigfpe_handler);
4761 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
4762 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
4763 signal (SIGTRAP, sigfpe_handler);
4765 /* Linux/SPARC yields signal SIGILL. */
4766 #if defined (__sparc__) && defined (__linux__)
4767 signal (SIGILL, sigfpe_handler);
4776 if ac_fn_c_try_run
"$LINENO"; then :
4777 gt_cv_int_divbyzero_sigfpe
=yes
4779 gt_cv_int_divbyzero_sigfpe
=no
4781 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4782 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
4788 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
4789 case "$gt_cv_int_divbyzero_sigfpe" in
4794 cat >>confdefs.h
<<_ACEOF
4795 #define INTDIV0_RAISES_SIGFPE $value
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4801 $as_echo_n "checking for inttypes.h... " >&6; }
4802 if ${jm_ac_cv_header_inttypes_h+:} false
; then :
4803 $as_echo_n "(cached) " >&6
4805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4807 #include <sys/types.h>
4808 #include <inttypes.h>
4812 uintmax_t i = (uintmax_t) -1;
4817 if ac_fn_c_try_compile
"$LINENO"; then :
4818 jm_ac_cv_header_inttypes_h
=yes
4820 jm_ac_cv_header_inttypes_h
=no
4822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
4825 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
4826 if test $jm_ac_cv_header_inttypes_h = yes; then
4828 cat >>confdefs.h
<<_ACEOF
4829 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
4836 $as_echo_n "checking for stdint.h... " >&6; }
4837 if ${jm_ac_cv_header_stdint_h+:} false
; then :
4838 $as_echo_n "(cached) " >&6
4840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4842 #include <sys/types.h>
4847 uintmax_t i = (uintmax_t) -1;
4852 if ac_fn_c_try_compile
"$LINENO"; then :
4853 jm_ac_cv_header_stdint_h
=yes
4855 jm_ac_cv_header_stdint_h
=no
4857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
4860 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
4861 if test $jm_ac_cv_header_stdint_h = yes; then
4863 cat >>confdefs.h
<<_ACEOF
4864 #define HAVE_STDINT_H_WITH_UINTMAX 1
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
4871 $as_echo_n "checking for unsigned long long... " >&6; }
4872 if ${ac_cv_type_unsigned_long_long+:} false
; then :
4873 $as_echo_n "(cached) " >&6
4875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4877 unsigned long long ull = 1; int i = 63;
4881 unsigned long long ullmax = (unsigned long long) -1;
4882 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4887 if ac_fn_c_try_link
"$LINENO"; then :
4888 ac_cv_type_unsigned_long_long
=yes
4890 ac_cv_type_unsigned_long_long
=no
4892 rm -f core conftest.err conftest.
$ac_objext \
4893 conftest
$ac_exeext conftest.
$ac_ext
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
4896 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
4897 if test $ac_cv_type_unsigned_long_long = yes; then
4899 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
4906 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
4908 test $ac_cv_type_unsigned_long_long = yes \
4909 && ac_type
='unsigned long long' \
4910 || ac_type
='unsigned long'
4912 cat >>confdefs.h
<<_ACEOF
4913 #define uintmax_t $ac_type
4918 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4924 $as_echo_n "checking for inttypes.h... " >&6; }
4925 if ${gt_cv_header_inttypes_h+:} false
; then :
4926 $as_echo_n "(cached) " >&6
4929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4931 #include <sys/types.h>
4932 #include <inttypes.h>
4941 if ac_fn_c_try_compile
"$LINENO"; then :
4942 gt_cv_header_inttypes_h
=yes
4944 gt_cv_header_inttypes_h
=no
4946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
4950 $as_echo "$gt_cv_header_inttypes_h" >&6; }
4951 if test $gt_cv_header_inttypes_h = yes; then
4953 cat >>confdefs.h
<<_ACEOF
4954 #define HAVE_INTTYPES_H 1
4961 if test $gt_cv_header_inttypes_h = yes; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
4963 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
4964 if ${gt_cv_inttypes_pri_broken+:} false
; then :
4965 $as_echo_n "(cached) " >&6
4968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4970 #include <inttypes.h>
4983 if ac_fn_c_try_compile
"$LINENO"; then :
4984 gt_cv_inttypes_pri_broken
=no
4986 gt_cv_inttypes_pri_broken
=yes
4988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
4992 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
4994 if test "$gt_cv_inttypes_pri_broken" = yes; then
4996 cat >>confdefs.h
<<_ACEOF
4997 #define PRI_MACROS_BROKEN 1
5003 if test "X$prefix" = "XNONE"; then
5004 acl_final_prefix
="$ac_default_prefix"
5006 acl_final_prefix
="$prefix"
5008 if test "X$exec_prefix" = "XNONE"; then
5009 acl_final_exec_prefix
='${prefix}'
5011 acl_final_exec_prefix
="$exec_prefix"
5013 acl_save_prefix
="$prefix"
5014 prefix
="$acl_final_prefix"
5015 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5016 prefix
="$acl_save_prefix"
5019 # Check whether --with-gnu-ld was given.
5020 if test "${with_gnu_ld+set}" = set; then :
5021 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5026 # Prepare PATH_SEPARATOR.
5027 # The user is always right.
5028 if test "${PATH_SEPARATOR+set}" != set; then
5029 echo "#! /bin/sh" >conf$$.sh
5030 echo "exit 0" >>conf$$.sh
5032 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5040 if test "$GCC" = yes; then
5041 # Check if gcc -print-prog-name=ld gives a path.
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5043 $as_echo_n "checking for ld used by GCC... " >&6; }
5046 # gcc leaves a trailing carriage return which upsets mingw
5047 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5049 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5052 # Accept absolute paths.
5053 [\\/]* |
[A-Za-z
]:[\\/]*)
5054 re_direlt
='/[^/][^/]*/\.\./'
5055 # Canonicalize the path of ld
5056 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5057 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5058 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5060 test -z "$LD" && LD
="$ac_prog"
5063 # If it fails, then pretend we aren't using GCC.
5067 # If it is relative, then search for the first ld in PATH.
5071 elif test "$with_gnu_ld" = yes; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5073 $as_echo_n "checking for GNU ld... " >&6; }
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5076 $as_echo_n "checking for non-GNU ld... " >&6; }
5078 if ${acl_cv_path_LD+:} false
; then :
5079 $as_echo_n "(cached) " >&6
5081 if test -z "$LD"; then
5082 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5083 for ac_dir
in $PATH; do
5084 test -z "$ac_dir" && ac_dir
=.
5085 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5086 acl_cv_path_LD
="$ac_dir/$ac_prog"
5087 # Check to see if the program is GNU ld. I'd rather use --version,
5088 # but apparently some GNU ld's only accept -v.
5089 # Break only if it was the GNU/non-GNU ld that we prefer.
5090 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5091 test "$with_gnu_ld" != no
&& break
5093 test "$with_gnu_ld" != yes && break
5099 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5103 LD
="$acl_cv_path_LD"
5104 if test -n "$LD"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5106 $as_echo "$LD" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5111 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5113 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5114 if ${acl_cv_prog_gnu_ld+:} false
; then :
5115 $as_echo_n "(cached) " >&6
5117 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5118 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5119 acl_cv_prog_gnu_ld
=yes
5121 acl_cv_prog_gnu_ld
=no
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5125 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5126 with_gnu_ld
=$acl_cv_prog_gnu_ld
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5131 $as_echo_n "checking for shared library run path origin... " >&6; }
5132 if ${acl_cv_rpath+:} false
; then :
5133 $as_echo_n "(cached) " >&6
5136 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5137 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5144 $as_echo "$acl_cv_rpath" >&6; }
5146 libext
="$acl_cv_libext"
5147 shlibext
="$acl_cv_shlibext"
5148 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5149 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5150 hardcode_direct
="$acl_cv_hardcode_direct"
5151 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5152 # Check whether --enable-rpath was given.
5153 if test "${enable_rpath+set}" = set; then :
5154 enableval
=$enable_rpath; :
5168 acl_save_prefix
="$prefix"
5169 prefix
="$acl_final_prefix"
5170 acl_save_exec_prefix
="$exec_prefix"
5171 exec_prefix
="$acl_final_exec_prefix"
5173 eval additional_includedir
=\"$includedir\"
5174 eval additional_libdir
=\"$libdir\"
5176 exec_prefix
="$acl_save_exec_prefix"
5177 prefix
="$acl_save_prefix"
5180 # Check whether --with-libiconv-prefix was given.
5181 if test "${with_libiconv_prefix+set}" = set; then :
5182 withval
=$with_libiconv_prefix;
5183 if test "X$withval" = "Xno"; then
5186 if test "X$withval" = "X"; then
5188 acl_save_prefix
="$prefix"
5189 prefix
="$acl_final_prefix"
5190 acl_save_exec_prefix
="$exec_prefix"
5191 exec_prefix
="$acl_final_exec_prefix"
5193 eval additional_includedir
=\"$includedir\"
5194 eval additional_libdir
=\"$libdir\"
5196 exec_prefix
="$acl_save_exec_prefix"
5197 prefix
="$acl_save_prefix"
5200 additional_includedir
="$withval/include"
5201 additional_libdir
="$withval/lib"
5208 # Check whether --with-libiconv-type was given.
5209 if test "${with_libiconv_type+set}" = set; then :
5210 withval
=$with_libiconv_type; with_libiconv_type
=$withval
5212 with_libiconv_type
=auto
5215 lib_type
=`eval echo \$with_libiconv_type`
5222 names_already_handled
=
5223 names_next_round
='iconv '
5224 while test -n "$names_next_round"; do
5225 names_this_round
="$names_next_round"
5227 for name
in $names_this_round; do
5229 for n
in $names_already_handled; do
5230 if test "$n" = "$name"; then
5235 if test -z "$already_handled"; then
5236 names_already_handled
="$names_already_handled $name"
5237 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5238 eval value
=\"\
$HAVE_LIB$uppername\"
5239 if test -n "$value"; then
5240 if test "$value" = yes; then
5241 eval value
=\"\
$LIB$uppername\"
5242 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5243 eval value
=\"\
$LTLIB$uppername\"
5244 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5253 if test $use_additional = yes; then
5254 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
5255 found_dir
="$additional_libdir"
5256 found_so
="$additional_libdir/lib$name.$shlibext"
5257 if test -f "$additional_libdir/lib$name.la"; then
5258 found_la
="$additional_libdir/lib$name.la"
5260 elif test x
$lib_type != xshared
; then
5261 if test -f "$additional_libdir/lib$name.$libext"; then
5262 found_dir
="$additional_libdir"
5263 found_a
="$additional_libdir/lib$name.$libext"
5264 if test -f "$additional_libdir/lib$name.la"; then
5265 found_la
="$additional_libdir/lib$name.la"
5270 if test "X$found_dir" = "X"; then
5271 for x
in $LDFLAGS $LTLIBICONV; do
5273 acl_save_prefix
="$prefix"
5274 prefix
="$acl_final_prefix"
5275 acl_save_exec_prefix
="$exec_prefix"
5276 exec_prefix
="$acl_final_exec_prefix"
5278 exec_prefix
="$acl_save_exec_prefix"
5279 prefix
="$acl_save_prefix"
5283 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5284 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
5286 found_so
="$dir/lib$name.$shlibext"
5287 if test -f "$dir/lib$name.la"; then
5288 found_la
="$dir/lib$name.la"
5290 elif test x
$lib_type != xshared
; then
5291 if test -f "$dir/lib$name.$libext"; then
5293 found_a
="$dir/lib$name.$libext"
5294 if test -f "$dir/lib$name.la"; then
5295 found_la
="$dir/lib$name.la"
5301 if test "X$found_dir" != "X"; then
5306 if test "X$found_dir" != "X"; then
5307 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5308 if test "X$found_so" != "X"; then
5309 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5310 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5313 for x
in $ltrpathdirs; do
5314 if test "X$x" = "X$found_dir"; then
5319 if test -z "$haveit"; then
5320 ltrpathdirs
="$ltrpathdirs $found_dir"
5322 if test "$hardcode_direct" = yes; then
5323 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5325 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5326 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5328 for x
in $rpathdirs; do
5329 if test "X$x" = "X$found_dir"; then
5334 if test -z "$haveit"; then
5335 rpathdirs
="$rpathdirs $found_dir"
5339 for x
in $LDFLAGS $LIBICONV; do
5341 acl_save_prefix
="$prefix"
5342 prefix
="$acl_final_prefix"
5343 acl_save_exec_prefix
="$exec_prefix"
5344 exec_prefix
="$acl_final_exec_prefix"
5346 exec_prefix
="$acl_save_exec_prefix"
5347 prefix
="$acl_save_prefix"
5349 if test "X$x" = "X-L$found_dir"; then
5354 if test -z "$haveit"; then
5355 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5357 if test "$hardcode_minus_L" != no
; then
5358 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5360 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5366 if test "X$found_a" != "X"; then
5367 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5369 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5372 additional_includedir
=
5373 case "$found_dir" in
5375 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5376 additional_includedir
="$basedir/include"
5379 if test "X$additional_includedir" != "X"; then
5380 if test "X$additional_includedir" != "X/usr/include"; then
5382 if test "X$additional_includedir" = "X/usr/local/include"; then
5383 if test -n "$GCC"; then
5385 linux
*) haveit
=yes;;
5389 if test -z "$haveit"; then
5390 for x
in $CPPFLAGS $INCICONV; do
5392 acl_save_prefix
="$prefix"
5393 prefix
="$acl_final_prefix"
5394 acl_save_exec_prefix
="$exec_prefix"
5395 exec_prefix
="$acl_final_exec_prefix"
5397 exec_prefix
="$acl_save_exec_prefix"
5398 prefix
="$acl_save_prefix"
5400 if test "X$x" = "X-I$additional_includedir"; then
5405 if test -z "$haveit"; then
5406 if test -d "$additional_includedir"; then
5407 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5413 if test -n "$found_la"; then
5414 save_libdir
="$libdir"
5416 */* |
*\\*) .
"$found_la" ;;
5417 *) .
"./$found_la" ;;
5419 libdir
="$save_libdir"
5420 for dep
in $dependency_libs; do
5423 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5424 if test "X$additional_libdir" != "X/usr/lib"; then
5426 if test "X$additional_libdir" = "X/usr/local/lib"; then
5427 if test -n "$GCC"; then
5429 linux
*) haveit
=yes;;
5433 if test -z "$haveit"; then
5435 for x
in $LDFLAGS $LIBICONV; do
5437 acl_save_prefix
="$prefix"
5438 prefix
="$acl_final_prefix"
5439 acl_save_exec_prefix
="$exec_prefix"
5440 exec_prefix
="$acl_final_exec_prefix"
5442 exec_prefix
="$acl_save_exec_prefix"
5443 prefix
="$acl_save_prefix"
5445 if test "X$x" = "X-L$additional_libdir"; then
5450 if test -z "$haveit"; then
5451 if test -d "$additional_libdir"; then
5452 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5456 for x
in $LDFLAGS $LTLIBICONV; do
5458 acl_save_prefix
="$prefix"
5459 prefix
="$acl_final_prefix"
5460 acl_save_exec_prefix
="$exec_prefix"
5461 exec_prefix
="$acl_final_exec_prefix"
5463 exec_prefix
="$acl_save_exec_prefix"
5464 prefix
="$acl_save_prefix"
5466 if test "X$x" = "X-L$additional_libdir"; then
5471 if test -z "$haveit"; then
5472 if test -d "$additional_libdir"; then
5473 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5480 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5481 if test "$enable_rpath" != no
; then
5483 for x
in $rpathdirs; do
5484 if test "X$x" = "X$dir"; then
5489 if test -z "$haveit"; then
5490 rpathdirs
="$rpathdirs $dir"
5493 for x
in $ltrpathdirs; do
5494 if test "X$x" = "X$dir"; then
5499 if test -z "$haveit"; then
5500 ltrpathdirs
="$ltrpathdirs $dir"
5505 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5508 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5511 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5512 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5518 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
5519 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5520 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5522 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
5523 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
5530 if test "X$rpathdirs" != "X"; then
5531 if test -n "$hardcode_libdir_separator"; then
5533 for found_dir
in $rpathdirs; do
5534 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5536 acl_save_libdir
="$libdir"
5538 eval flag
=\"$hardcode_libdir_flag_spec\"
5539 libdir
="$acl_save_libdir"
5540 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5542 for found_dir
in $rpathdirs; do
5543 acl_save_libdir
="$libdir"
5545 eval flag
=\"$hardcode_libdir_flag_spec\"
5546 libdir
="$acl_save_libdir"
5547 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5551 if test "X$ltrpathdirs" != "X"; then
5552 for found_dir
in $ltrpathdirs; do
5553 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5560 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5561 stdlib.h string.h unistd.h sys
/param.h
5563 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5564 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5565 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5566 cat >>confdefs.h
<<_ACEOF
5567 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5574 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
5575 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
5576 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
5579 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5580 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5581 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5582 cat >>confdefs.h
<<_ACEOF
5583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5596 $as_echo_n "checking for iconv... " >&6; }
5597 if ${am_cv_func_iconv+:} false
; then :
5598 $as_echo_n "(cached) " >&6
5601 am_cv_func_iconv
="no, consider installing GNU libiconv"
5603 am_save_CPPFLAGS
="$CPPFLAGS"
5604 CPPFLAGS
="$CPPFLAGS $INCICONV"
5605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5606 /* end confdefs.h. */
5612 iconv_t cd = iconv_open("","");
5613 iconv(cd,NULL,NULL,NULL,NULL);
5619 if ac_fn_c_try_link
"$LINENO"; then :
5620 am_cv_func_iconv
=yes
5622 rm -f core conftest.err conftest.
$ac_objext \
5623 conftest
$ac_exeext conftest.
$ac_ext
5624 CPPFLAGS
="$am_save_CPPFLAGS"
5626 if test "$am_cv_func_iconv" != yes && test -d ..
/libiconv
; then
5627 for _libs
in .libs _libs
; do
5628 am_save_CPPFLAGS
="$CPPFLAGS"
5629 am_save_LIBS
="$LIBS"
5630 CPPFLAGS
="$CPPFLAGS -I../libiconv/include"
5631 LIBS
="$LIBS ../libiconv/lib/$_libs/libiconv.a"
5632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5639 iconv_t cd = iconv_open("","");
5640 iconv(cd,NULL,NULL,NULL,NULL);
5646 if ac_fn_c_try_link
"$LINENO"; then :
5647 INCICONV
="-I../libiconv/include"
5648 LIBICONV
='${top_builddir}'/..
/libiconv
/lib
/$_libs/libiconv.a
5649 LTLIBICONV
='${top_builddir}'/..
/libiconv
/lib
/libiconv.la
5651 am_cv_func_iconv
=yes
5653 rm -f core conftest.err conftest.
$ac_objext \
5654 conftest
$ac_exeext conftest.
$ac_ext
5655 CPPFLAGS
="$am_save_CPPFLAGS"
5656 LIBS
="$am_save_LIBS"
5657 if test "$am_cv_func_iconv" = "yes"; then
5663 if test "$am_cv_func_iconv" != yes; then
5664 am_save_CPPFLAGS
="$CPPFLAGS"
5665 am_save_LIBS
="$LIBS"
5666 CPPFLAGS
="$CPPFLAGS $INCICONV"
5667 LIBS
="$LIBS $LIBICONV"
5668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5669 /* end confdefs.h. */
5675 iconv_t cd = iconv_open("","");
5676 iconv(cd,NULL,NULL,NULL,NULL);
5682 if ac_fn_c_try_link
"$LINENO"; then :
5684 am_cv_func_iconv
=yes
5686 rm -f core conftest.err conftest.
$ac_objext \
5687 conftest
$ac_exeext conftest.
$ac_ext
5688 CPPFLAGS
="$am_save_CPPFLAGS"
5689 LIBS
="$am_save_LIBS"
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5694 $as_echo "$am_cv_func_iconv" >&6; }
5695 if test "$am_cv_func_iconv" = yes; then
5697 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5700 if test "$am_cv_lib_iconv" = yes; then
5702 for element
in $INCICONV; do
5704 for x
in $CPPFLAGS; do
5706 acl_save_prefix
="$prefix"
5707 prefix
="$acl_final_prefix"
5708 acl_save_exec_prefix
="$exec_prefix"
5709 exec_prefix
="$acl_final_exec_prefix"
5711 exec_prefix
="$acl_save_exec_prefix"
5712 prefix
="$acl_save_prefix"
5714 if test "X$x" = "X$element"; then
5719 if test -z "$haveit"; then
5720 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5725 $as_echo_n "checking how to link with libiconv... " >&6; }
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5727 $as_echo "$LIBICONV" >&6; }
5735 if test "$am_cv_func_iconv" = yes; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
5737 $as_echo_n "checking for iconv declaration... " >&6; }
5738 if ${am_cv_proto_iconv+:} false
; then :
5739 $as_echo_n "(cached) " >&6
5742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5751 #if defined(__STDC__) || defined(__cplusplus)
5752 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
5765 if ac_fn_c_try_compile
"$LINENO"; then :
5766 am_cv_proto_iconv_arg1
=""
5768 am_cv_proto_iconv_arg1
="const"
5770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5771 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);"
5774 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
5776 }$am_cv_proto_iconv" >&5
5778 }$am_cv_proto_iconv" >&6; }
5780 cat >>confdefs.h
<<_ACEOF
5781 #define ICONV_CONST $am_cv_proto_iconv_arg1
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
5788 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
5789 if ${am_cv_langinfo_codeset+:} false
; then :
5790 $as_echo_n "(cached) " >&6
5792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5794 #include <langinfo.h>
5798 char* cs = nl_langinfo(CODESET);
5803 if ac_fn_c_try_link
"$LINENO"; then :
5804 am_cv_langinfo_codeset
=yes
5806 am_cv_langinfo_codeset
=no
5808 rm -f core conftest.err conftest.
$ac_objext \
5809 conftest
$ac_exeext conftest.
$ac_ext
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
5813 $as_echo "$am_cv_langinfo_codeset" >&6; }
5814 if test $am_cv_langinfo_codeset = yes; then
5816 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
5820 if test $ac_cv_header_locale_h = yes; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5823 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5824 if ${am_cv_val_LC_MESSAGES+:} false
; then :
5825 $as_echo_n "(cached) " >&6
5827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5838 if ac_fn_c_try_link
"$LINENO"; then :
5839 am_cv_val_LC_MESSAGES
=yes
5841 am_cv_val_LC_MESSAGES
=no
5843 rm -f core conftest.err conftest.
$ac_objext \
5844 conftest
$ac_exeext conftest.
$ac_ext
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5847 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5848 if test $am_cv_val_LC_MESSAGES = yes; then
5850 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5856 for ac_prog
in bison
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy
$ac_prog; ac_word
=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_INTLBISON+:} false
; then :
5863 $as_echo_n "(cached) " >&6
5865 if test -n "$INTLBISON"; then
5866 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
5868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir
=.
5873 for ac_exec_ext
in '' $ac_executable_extensions; do
5874 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_INTLBISON
="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 INTLBISON
=$ac_cv_prog_INTLBISON
5886 if test -n "$INTLBISON"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
5888 $as_echo "$INTLBISON" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$INTLBISON" && break
5898 if test -z "$INTLBISON"; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
5902 $as_echo_n "checking version of bison... " >&6; }
5903 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5904 case $ac_prog_version in
5905 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5906 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
5907 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5908 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5911 $as_echo "$ac_prog_version" >&6; }
5913 if test $ac_verc_fail = yes; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5933 $as_echo_n "checking whether NLS is requested... " >&6; }
5934 # Check whether --enable-nls was given.
5935 if test "${enable_nls+set}" = set; then :
5936 enableval
=$enable_nls; USE_NLS
=$enableval
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5942 $as_echo "$USE_NLS" >&6; }
5947 BUILD_INCLUDED_LIBINTL
=no
5948 USE_INCLUDED_LIBINTL
=no
5954 if test "$USE_NLS" = "yes"; then
5955 gt_use_preinstalled_gnugettext
=no
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
5958 $as_echo_n "checking whether included gettext is requested... " >&6; }
5960 # Check whether --with-included-gettext was given.
5961 if test "${with_included_gettext+set}" = set; then :
5962 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
5964 nls_cv_force_use_gnu_gettext
=no
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
5968 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
5970 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
5971 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5979 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5980 if ${gt_cv_func_gnugettext2_libc+:} false
; then :
5981 $as_echo_n "(cached) " >&6
5983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5985 #include <libintl.h>
5986 extern int _nl_msg_cat_cntr;
5987 extern int *_nl_domain_bindings;
5991 bindtextdomain ("", "");
5992 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
5997 if ac_fn_c_try_link
"$LINENO"; then :
5998 gt_cv_func_gnugettext2_libc
=yes
6000 gt_cv_func_gnugettext2_libc
=no
6002 rm -f core conftest.err conftest.
$ac_objext \
6003 conftest
$ac_exeext conftest.
$ac_ext
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
6006 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
6008 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
6014 acl_save_prefix
="$prefix"
6015 prefix
="$acl_final_prefix"
6016 acl_save_exec_prefix
="$exec_prefix"
6017 exec_prefix
="$acl_final_exec_prefix"
6019 eval additional_includedir
=\"$includedir\"
6020 eval additional_libdir
=\"$libdir\"
6022 exec_prefix
="$acl_save_exec_prefix"
6023 prefix
="$acl_save_prefix"
6026 # Check whether --with-libintl-prefix was given.
6027 if test "${with_libintl_prefix+set}" = set; then :
6028 withval
=$with_libintl_prefix;
6029 if test "X$withval" = "Xno"; then
6032 if test "X$withval" = "X"; then
6034 acl_save_prefix
="$prefix"
6035 prefix
="$acl_final_prefix"
6036 acl_save_exec_prefix
="$exec_prefix"
6037 exec_prefix
="$acl_final_exec_prefix"
6039 eval additional_includedir
=\"$includedir\"
6040 eval additional_libdir
=\"$libdir\"
6042 exec_prefix
="$acl_save_exec_prefix"
6043 prefix
="$acl_save_prefix"
6046 additional_includedir
="$withval/include"
6047 additional_libdir
="$withval/lib"
6054 # Check whether --with-libintl-type was given.
6055 if test "${with_libintl_type+set}" = set; then :
6056 withval
=$with_libintl_type; with_libintl_type
=$withval
6058 with_libintl_type
=auto
6061 lib_type
=`eval echo \$with_libintl_type`
6068 names_already_handled
=
6069 names_next_round
='intl '
6070 while test -n "$names_next_round"; do
6071 names_this_round
="$names_next_round"
6073 for name
in $names_this_round; do
6075 for n
in $names_already_handled; do
6076 if test "$n" = "$name"; then
6081 if test -z "$already_handled"; then
6082 names_already_handled
="$names_already_handled $name"
6083 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6084 eval value
=\"\
$HAVE_LIB$uppername\"
6085 if test -n "$value"; then
6086 if test "$value" = yes; then
6087 eval value
=\"\
$LIB$uppername\"
6088 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6089 eval value
=\"\
$LTLIB$uppername\"
6090 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6099 if test $use_additional = yes; then
6100 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6101 found_dir
="$additional_libdir"
6102 found_so
="$additional_libdir/lib$name.$shlibext"
6103 if test -f "$additional_libdir/lib$name.la"; then
6104 found_la
="$additional_libdir/lib$name.la"
6106 elif test x
$lib_type != xshared
; then
6107 if test -f "$additional_libdir/lib$name.$libext"; then
6108 found_dir
="$additional_libdir"
6109 found_a
="$additional_libdir/lib$name.$libext"
6110 if test -f "$additional_libdir/lib$name.la"; then
6111 found_la
="$additional_libdir/lib$name.la"
6116 if test "X$found_dir" = "X"; then
6117 for x
in $LDFLAGS $LTLIBINTL; do
6119 acl_save_prefix
="$prefix"
6120 prefix
="$acl_final_prefix"
6121 acl_save_exec_prefix
="$exec_prefix"
6122 exec_prefix
="$acl_final_exec_prefix"
6124 exec_prefix
="$acl_save_exec_prefix"
6125 prefix
="$acl_save_prefix"
6129 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6130 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6132 found_so
="$dir/lib$name.$shlibext"
6133 if test -f "$dir/lib$name.la"; then
6134 found_la
="$dir/lib$name.la"
6136 elif test x
$lib_type != xshared
; then
6137 if test -f "$dir/lib$name.$libext"; then
6139 found_a
="$dir/lib$name.$libext"
6140 if test -f "$dir/lib$name.la"; then
6141 found_la
="$dir/lib$name.la"
6147 if test "X$found_dir" != "X"; then
6152 if test "X$found_dir" != "X"; then
6153 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6154 if test "X$found_so" != "X"; then
6155 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6156 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6159 for x
in $ltrpathdirs; do
6160 if test "X$x" = "X$found_dir"; then
6165 if test -z "$haveit"; then
6166 ltrpathdirs
="$ltrpathdirs $found_dir"
6168 if test "$hardcode_direct" = yes; then
6169 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6171 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6172 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6174 for x
in $rpathdirs; do
6175 if test "X$x" = "X$found_dir"; then
6180 if test -z "$haveit"; then
6181 rpathdirs
="$rpathdirs $found_dir"
6185 for x
in $LDFLAGS $LIBINTL; do
6187 acl_save_prefix
="$prefix"
6188 prefix
="$acl_final_prefix"
6189 acl_save_exec_prefix
="$exec_prefix"
6190 exec_prefix
="$acl_final_exec_prefix"
6192 exec_prefix
="$acl_save_exec_prefix"
6193 prefix
="$acl_save_prefix"
6195 if test "X$x" = "X-L$found_dir"; then
6200 if test -z "$haveit"; then
6201 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6203 if test "$hardcode_minus_L" != no
; then
6204 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6206 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6212 if test "X$found_a" != "X"; then
6213 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6215 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6218 additional_includedir
=
6219 case "$found_dir" in
6221 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6222 additional_includedir
="$basedir/include"
6225 if test "X$additional_includedir" != "X"; then
6226 if test "X$additional_includedir" != "X/usr/include"; then
6228 if test "X$additional_includedir" = "X/usr/local/include"; then
6229 if test -n "$GCC"; then
6231 linux
*) haveit
=yes;;
6235 if test -z "$haveit"; then
6236 for x
in $CPPFLAGS $INCINTL; do
6238 acl_save_prefix
="$prefix"
6239 prefix
="$acl_final_prefix"
6240 acl_save_exec_prefix
="$exec_prefix"
6241 exec_prefix
="$acl_final_exec_prefix"
6243 exec_prefix
="$acl_save_exec_prefix"
6244 prefix
="$acl_save_prefix"
6246 if test "X$x" = "X-I$additional_includedir"; then
6251 if test -z "$haveit"; then
6252 if test -d "$additional_includedir"; then
6253 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6259 if test -n "$found_la"; then
6260 save_libdir
="$libdir"
6262 */* |
*\\*) .
"$found_la" ;;
6263 *) .
"./$found_la" ;;
6265 libdir
="$save_libdir"
6266 for dep
in $dependency_libs; do
6269 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6270 if test "X$additional_libdir" != "X/usr/lib"; then
6272 if test "X$additional_libdir" = "X/usr/local/lib"; then
6273 if test -n "$GCC"; then
6275 linux
*) haveit
=yes;;
6279 if test -z "$haveit"; then
6281 for x
in $LDFLAGS $LIBINTL; do
6283 acl_save_prefix
="$prefix"
6284 prefix
="$acl_final_prefix"
6285 acl_save_exec_prefix
="$exec_prefix"
6286 exec_prefix
="$acl_final_exec_prefix"
6288 exec_prefix
="$acl_save_exec_prefix"
6289 prefix
="$acl_save_prefix"
6291 if test "X$x" = "X-L$additional_libdir"; then
6296 if test -z "$haveit"; then
6297 if test -d "$additional_libdir"; then
6298 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6302 for x
in $LDFLAGS $LTLIBINTL; do
6304 acl_save_prefix
="$prefix"
6305 prefix
="$acl_final_prefix"
6306 acl_save_exec_prefix
="$exec_prefix"
6307 exec_prefix
="$acl_final_exec_prefix"
6309 exec_prefix
="$acl_save_exec_prefix"
6310 prefix
="$acl_save_prefix"
6312 if test "X$x" = "X-L$additional_libdir"; then
6317 if test -z "$haveit"; then
6318 if test -d "$additional_libdir"; then
6319 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6326 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6327 if test "$enable_rpath" != no
; then
6329 for x
in $rpathdirs; do
6330 if test "X$x" = "X$dir"; then
6335 if test -z "$haveit"; then
6336 rpathdirs
="$rpathdirs $dir"
6339 for x
in $ltrpathdirs; do
6340 if test "X$x" = "X$dir"; then
6345 if test -z "$haveit"; then
6346 ltrpathdirs
="$ltrpathdirs $dir"
6351 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6354 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6357 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6358 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6364 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
6365 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6366 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6368 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
6369 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
6376 if test "X$rpathdirs" != "X"; then
6377 if test -n "$hardcode_libdir_separator"; then
6379 for found_dir
in $rpathdirs; do
6380 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6382 acl_save_libdir
="$libdir"
6384 eval flag
=\"$hardcode_libdir_flag_spec\"
6385 libdir
="$acl_save_libdir"
6386 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6388 for found_dir
in $rpathdirs; do
6389 acl_save_libdir
="$libdir"
6391 eval flag
=\"$hardcode_libdir_flag_spec\"
6392 libdir
="$acl_save_libdir"
6393 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6397 if test "X$ltrpathdirs" != "X"; then
6398 for found_dir
in $ltrpathdirs; do
6399 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6404 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6405 if ${gt_cv_func_gnugettext2_libintl+:} false
; then :
6406 $as_echo_n "(cached) " >&6
6408 gt_save_CPPFLAGS
="$CPPFLAGS"
6409 CPPFLAGS
="$CPPFLAGS $INCINTL"
6410 gt_save_LIBS
="$LIBS"
6411 LIBS
="$LIBS $LIBINTL"
6412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6414 #include <libintl.h>
6415 extern int _nl_msg_cat_cntr;
6420 const char *_nl_expand_alias ();
6424 bindtextdomain ("", "");
6425 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6430 if ac_fn_c_try_link
"$LINENO"; then :
6431 gt_cv_func_gnugettext2_libintl
=yes
6433 gt_cv_func_gnugettext2_libintl
=no
6435 rm -f core conftest.err conftest.
$ac_objext \
6436 conftest
$ac_exeext conftest.
$ac_ext
6437 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
6438 LIBS
="$LIBS $LIBICONV"
6439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6441 #include <libintl.h>
6442 extern int _nl_msg_cat_cntr;
6447 const char *_nl_expand_alias ();
6451 bindtextdomain ("", "");
6452 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6457 if ac_fn_c_try_link
"$LINENO"; then :
6458 LIBINTL
="$LIBINTL $LIBICONV"
6459 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6460 gt_cv_func_gnugettext2_libintl
=yes
6463 rm -f core conftest.err conftest.
$ac_objext \
6464 conftest
$ac_exeext conftest.
$ac_ext
6466 CPPFLAGS
="$gt_save_CPPFLAGS"
6467 LIBS
="$gt_save_LIBS"
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
6470 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
6473 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
6474 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
6475 && test "$PACKAGE" != gettext-runtime \
6476 && test "$PACKAGE" != gettext-tools
; }; then
6477 gt_use_preinstalled_gnugettext
=yes
6485 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
6486 nls_cv_use_gnu_gettext
=yes
6490 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6491 BUILD_INCLUDED_LIBINTL
=yes
6492 USE_INCLUDED_LIBINTL
=yes
6493 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
6494 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
6495 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6498 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6499 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6504 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6505 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6507 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6515 $as_echo_n "checking whether to use NLS... " >&6; }
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6517 $as_echo "$USE_NLS" >&6; }
6518 if test "$USE_NLS" = "yes"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6520 $as_echo_n "checking where the gettext function comes from... " >&6; }
6521 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6522 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6523 gt_source
="external libintl"
6528 gt_source
="included intl directory"
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6531 $as_echo "$gt_source" >&6; }
6534 if test "$USE_NLS" = "yes"; then
6536 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6537 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6539 $as_echo_n "checking how to link with libintl... " >&6; }
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6541 $as_echo "$LIBINTL" >&6; }
6543 for element
in $INCINTL; do
6545 for x
in $CPPFLAGS; do
6547 acl_save_prefix
="$prefix"
6548 prefix
="$acl_final_prefix"
6549 acl_save_exec_prefix
="$exec_prefix"
6550 exec_prefix
="$acl_final_exec_prefix"
6552 exec_prefix
="$acl_save_exec_prefix"
6553 prefix
="$acl_save_prefix"
6555 if test "X$x" = "X$element"; then
6560 if test -z "$haveit"; then
6561 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6568 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6571 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6579 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
6580 BUILD_INCLUDED_LIBINTL
=yes
6588 nls_cv_header_libgt
=
6599 if test "$USE_INCLUDED_LIBINTL" = yes; then
6600 INTLOBJS
="\$(GETTOBJS)"
6604 INTL_LIBTOOL_SUFFIX_PREFIX
=
6616 # This replaces the extensive use of DEFS in the original Makefile.in.
6618 $as_echo "#define IN_LIBINTL 1" >>confdefs.h
6621 $as_echo "#define IN_LIBRARY 1" >>confdefs.h
6624 $as_echo "#define DEPENDS_ON_LIBICONV 1" >>confdefs.h
6627 $as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h
6630 $as_echo "#define NO_XMALLOC 1" >>confdefs.h
6633 $as_echo "#define set_relocation_prefix libintl_set_relocation_prefix" >>confdefs.h
6636 $as_echo "#define relocate libintl_relocate" >>confdefs.h
6639 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6640 for ac_prog
in aclocal
6642 # Extract the first word of "$ac_prog", so it can be a program name with args.
6643 set dummy
$ac_prog; ac_word
=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_ACLOCAL+:} false
; then :
6647 $as_echo_n "(cached) " >&6
6649 if test -n "$ACLOCAL"; then
6650 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
6652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6656 test -z "$as_dir" && as_dir
=.
6657 for ac_exec_ext
in '' $ac_executable_extensions; do
6658 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_ACLOCAL
="$ac_prog"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 ACLOCAL
=$ac_cv_prog_ACLOCAL
6670 if test -n "$ACLOCAL"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
6672 $as_echo "$ACLOCAL" >&6; }
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6679 test -n "$ACLOCAL" && break
6681 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
6683 for ac_prog
in autoconf
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy
$ac_prog; ac_word
=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_AUTOCONF+:} false
; then :
6690 $as_echo_n "(cached) " >&6
6692 if test -n "$AUTOCONF"; then
6693 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
6695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6699 test -z "$as_dir" && as_dir
=.
6700 for ac_exec_ext
in '' $ac_executable_extensions; do
6701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_AUTOCONF
="$ac_prog"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6712 AUTOCONF
=$ac_cv_prog_AUTOCONF
6713 if test -n "$AUTOCONF"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
6715 $as_echo "$AUTOCONF" >&6; }
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6722 test -n "$AUTOCONF" && break
6724 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
6726 for ac_prog
in autoheader
6728 # Extract the first word of "$ac_prog", so it can be a program name with args.
6729 set dummy
$ac_prog; ac_word
=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 $as_echo_n "checking for $ac_word... " >&6; }
6732 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
6733 $as_echo_n "(cached) " >&6
6735 if test -n "$AUTOHEADER"; then
6736 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
6738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6742 test -z "$as_dir" && as_dir
=.
6743 for ac_exec_ext
in '' $ac_executable_extensions; do
6744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_AUTOHEADER
="$ac_prog"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
6756 if test -n "$AUTOHEADER"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
6758 $as_echo "$AUTOHEADER" >&6; }
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 $as_echo "no" >&6; }
6765 test -n "$AUTOHEADER" && break
6767 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
6770 # Check whether --enable-maintainer-mode was given.
6771 if test "${enable_maintainer_mode+set}" = set; then :
6772 enableval
=$enable_maintainer_mode;
6774 enable_maintainer_mode
=no
6777 if test "x$enable_maintainer_mode" = xno
; then
6784 # Additional info for config.intl.
6790 case $USE_INCLUDED_LIBINTL in
6792 LIBINTL
=`echo $LIBINTL | sed 's,${top_builddir},&/..,' `
6793 LTLIBINTL
=`echo $LTLIBINTL | sed 's,${top_builddir},&/..,' `
6794 LIBINTL_DEP
='${top_builddir}/../intl/libintl.a'
6795 INCINTL
='-I${top_builddir}/../intl'
6801 if test "$INTLBISON" != :; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison 3 or later" >&5
6804 $as_echo_n "checking bison 3 or later... " >&6; }
6805 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6806 case $ac_prog_version in
6808 ac_prog_version
="$ac_prog_version, bison3"; ac_bison3
=yes;;
6809 *) ac_prog_version
="$ac_prog_version, old";;
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
6812 $as_echo "$ac_prog_version" >&6; }
6813 if test $ac_bison3 = yes; then
6821 # Check whether --enable-host-shared was given.
6822 if test "${enable_host_shared+set}" = set; then :
6823 enableval
=$enable_host_shared; PICFLAG
=-fPIC
6830 ac_config_files
="$ac_config_files Makefile config.intl"
6832 cat >confcache
<<\_ACEOF
6833 # This file is a shell script that caches the results of configure
6834 # tests run on this system so they can be shared between configure
6835 # scripts and configure runs, see configure's option --config-cache.
6836 # It is not useful on other systems. If it contains results you don't
6837 # want to keep, you may remove or edit it.
6839 # config.status only pays attention to the cache file if you give it
6840 # the --recheck option to rerun configure.
6842 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6848 # The following way of writing the cache mishandles newlines in values,
6849 # but we know of no workaround that is simple, portable, and efficient.
6850 # So, we kill variables containing newlines.
6851 # Ultrix sh set writes to stderr and can't be redirected directly,
6852 # and sets the high bit in the cache file unless we assign to the vars.
6854 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6855 eval ac_val
=\$
$ac_var
6859 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6860 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6863 _ | IFS | as_nl
) ;; #(
6864 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6865 *) { eval $ac_var=; unset $ac_var;} ;;
6871 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6872 *${as_nl}ac_space
=\
*)
6873 # `set' does not quote correctly, so add quotes: double-quote
6874 # substitution turns \\\\ into \\, and sed turns \\ into \.
6877 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6880 # `set' quotes correctly as required by POSIX, so do not add quotes.
6881 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6892 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6894 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6895 if test -w "$cache_file"; then
6896 if test "x$cache_file" != "x/dev/null"; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6898 $as_echo "$as_me: updating cache $cache_file" >&6;}
6899 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6900 cat confcache
>"$cache_file"
6902 case $cache_file in #(
6904 mv -f confcache
"$cache_file"$$
&&
6905 mv -f "$cache_file"$$
"$cache_file" ;; #(
6907 mv -f confcache
"$cache_file" ;;
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6913 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6918 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6919 # Let make expand exec_prefix.
6920 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6922 DEFS
=-DHAVE_CONFIG_H
6927 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6928 # 1. Remove the extension, and $U if already installed.
6929 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6930 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6931 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6932 # will be set to the directory where LIBOBJS objects are built.
6933 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6934 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6938 LTLIBOBJS
=$ac_ltlibobjs
6942 : "${CONFIG_STATUS=./config.status}"
6944 ac_clean_files_save
=$ac_clean_files
6945 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6947 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6949 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6951 # Generated by $as_me.
6952 # Run this file to recreate the current configuration.
6953 # Compiler output produced by configure, useful for debugging
6954 # configure, is in config.log if it exists.
6960 SHELL=\${CONFIG_SHELL-$SHELL}
6963 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6964 ## -------------------- ##
6965 ## M4sh Initialization. ##
6966 ## -------------------- ##
6968 # Be more Bourne compatible
6969 DUALCASE
=1; export DUALCASE
# for MKS sh
6970 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6973 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6974 # is contrary to our usage. Disable this feature.
6975 alias -g '${1+"$@"}'='"$@"'
6976 setopt NO_GLOB_SUBST
6978 case `(set -o) 2>/dev/null` in #(
6990 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6991 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6992 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6993 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6994 # Prefer a ksh shell builtin over an external printf program on Solaris,
6995 # but without wasting forks for bash or zsh.
6996 if test -z "$BASH_VERSION$ZSH_VERSION" \
6997 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6998 as_echo='print
-r --'
6999 as_echo_n='print
-rn --'
7000 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7001 as_echo='printf %s
\n'
7002 as_echo_n='printf %s
'
7004 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7005 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7006 as_echo_n='/usr
/ucb
/echo -n'
7008 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7009 as_echo_n_body='eval
7013 expr "X$arg" : "X\\(.*\\)$as_nl";
7014 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7016 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7018 export as_echo_n_body
7019 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7022 as_echo='sh
-c $as_echo_body as_echo
'
7025 # The user is always right.
7026 if test "${PATH_SEPARATOR+set}" != set; then
7028 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7029 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7036 # We need space, tab and new line, in precisely that order. Quoting is
7037 # there to prevent editors from complaining about space-tab.
7038 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7039 # splitting by setting IFS to empty value.)
7042 # Find who we are. Look in the path if we contain no directory separator.
7045 *[\\/]* ) as_myself=$0 ;;
7046 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir=.
7051 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7057 # We did not find ourselves, most probably we were run as `sh COMMAND'
7058 # in which case we are not to be found in the path.
7059 if test "x$as_myself" = x
; then
7062 if test ! -f "$as_myself"; then
7063 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7067 # Unset variables that we do not need and which cause bugs (e.g. in
7068 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7069 # suppresses any "Segmentation fault" message there. '((' could
7070 # trigger a bug in pdksh 5.2.14.
7071 for as_var
in BASH_ENV ENV MAIL MAILPATH
7072 do eval test x\
${$as_var+set} = xset \
7073 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7086 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7089 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7090 # ----------------------------------------
7091 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7092 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7093 # script with STATUS, using 1 if that was 0.
7096 as_status
=$1; test $as_status -eq 0 && as_status
=1
7098 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7099 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7101 $as_echo "$as_me: error: $2" >&2
7102 as_fn_exit
$as_status
7106 # as_fn_set_status STATUS
7107 # -----------------------
7108 # Set $? to STATUS, without forking.
7112 } # as_fn_set_status
7116 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7126 # Portably unset VAR.
7129 { eval $1=; unset $1;}
7131 as_unset
=as_fn_unset
7132 # as_fn_append VAR VALUE
7133 # ----------------------
7134 # Append the text in VALUE to the end of the definition contained in VAR. Take
7135 # advantage of any shell optimizations that allow amortized linear growth over
7136 # repeated appends, instead of the typical quadratic growth present in naive
7138 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7139 eval 'as_fn_append ()
7150 # as_fn_arith ARG...
7151 # ------------------
7152 # Perform arithmetic evaluation on the ARGs, and store the result in the
7153 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7154 # must be portable across $(()) and expr.
7155 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7156 eval 'as_fn_arith ()
7163 as_val
=`expr "$@" || test $? -eq 1`
7168 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7169 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7175 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7176 as_basename
=basename
7181 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7187 as_me
=`$as_basename -- "$0" ||
7188 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7189 X"$0" : 'X\(//\)$' \| \
7190 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7192 sed '/^.*\/\([^/][^/]*\)\/*$/{
7206 # Avoid depending upon Character Ranges.
7207 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7208 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7209 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7210 as_cr_digits
='0123456789'
7211 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7213 ECHO_C
= ECHO_N
= ECHO_T
=
7214 case `echo -n x` in #(((((
7216 case `echo 'xy\c'` in
7217 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7219 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7226 rm -f conf$$ conf$$.exe conf$$.
file
7227 if test -d conf$$.dir
; then
7228 rm -f conf$$.dir
/conf$$.
file
7231 mkdir conf$$.dir
2>/dev
/null
7233 if (echo >conf$$.
file) 2>/dev
/null
; then
7234 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7236 # ... but there are two gotchas:
7237 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7238 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7239 # In both cases, we have to default to `cp -pR'.
7240 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7242 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7250 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7251 rmdir conf$$.dir
2>/dev
/null
7256 # Create "$as_dir" as a directory, including parents if necessary.
7261 -*) as_dir
=.
/$as_dir;;
7263 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7267 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7268 *) as_qdir
=$as_dir;;
7270 as_dirs
="'$as_qdir' $as_dirs"
7271 as_dir
=`$as_dirname -- "$as_dir" ||
7272 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7273 X"$as_dir" : 'X\(//\)[^/]' \| \
7274 X"$as_dir" : 'X\(//\)$' \| \
7275 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7276 $as_echo X"$as_dir" |
7277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7294 test -d "$as_dir" && break
7296 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7297 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7301 if mkdir
-p .
2>/dev
/null
; then
7302 as_mkdir_p
='mkdir -p "$as_dir"'
7304 test -d .
/-p && rmdir .
/-p
7309 # as_fn_executable_p FILE
7310 # -----------------------
7311 # Test if FILE is an executable regular file.
7312 as_fn_executable_p
()
7314 test -f "$1" && test -x "$1"
7315 } # as_fn_executable_p
7317 as_executable_p
=as_fn_executable_p
7319 # Sed expression to map a string onto a valid CPP name.
7320 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7322 # Sed expression to map a string onto a valid variable name.
7323 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7327 ## ----------------------------------- ##
7328 ## Main body of $CONFIG_STATUS script. ##
7329 ## ----------------------------------- ##
7331 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7334 # Save the log message, to keep $0 and so on meaningful, and to
7335 # report actual input values of CONFIG_FILES etc. instead of their
7336 # values after options handling.
7338 This file was extended by $as_me, which was
7339 generated by GNU Autoconf 2.69. Invocation command line was
7341 CONFIG_FILES = $CONFIG_FILES
7342 CONFIG_HEADERS = $CONFIG_HEADERS
7343 CONFIG_LINKS = $CONFIG_LINKS
7344 CONFIG_COMMANDS = $CONFIG_COMMANDS
7347 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7352 case $ac_config_files in *"
7353 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7356 case $ac_config_headers in *"
7357 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7362 # Files that config.status was made for.
7363 config_files="$ac_config_files"
7364 config_headers="$ac_config_headers"
7365 config_commands="$ac_config_commands"
7369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7371 \`$as_me' instantiates files and other configuration actions
7372 from templates according to the current configuration. Unless the files
7373 and actions are specified as TAGs, all are instantiated by default.
7375 Usage: $0 [OPTION]... [TAG]...
7377 -h, --help print this help, then exit
7378 -V, --version print version number and configuration settings, then exit
7379 --config print configuration, then exit
7380 -q, --quiet, --silent
7381 do not print progress messages
7382 -d, --debug don't remove temporary files
7383 --recheck update $as_me by reconfiguring in the same conditions
7384 --file=FILE[:TEMPLATE]
7385 instantiate the configuration file FILE
7386 --header=FILE[:TEMPLATE]
7387 instantiate the configuration header FILE
7389 Configuration files:
7392 Configuration headers:
7395 Configuration commands:
7398 Report bugs to the package provider."
7401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7402 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7405 configured by $0, generated by GNU Autoconf 2.69,
7406 with options \\"\$ac_cs_config\\"
7408 Copyright (C) 2012 Free Software Foundation, Inc.
7409 This config.status script is free software; the Free Software Foundation
7410 gives unlimited permission to copy, distribute and modify it."
7415 test -n "\$AWK" || AWK=awk
7418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7419 # The default lists apply if the user does not specify any file.
7425 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7426 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7430 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7442 # Handling of the options.
7443 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7445 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7446 $as_echo "$ac_cs_version"; exit ;;
7447 --config |
--confi |
--conf |
--con |
--co |
--c )
7448 $as_echo "$ac_cs_config"; exit ;;
7449 --debug |
--debu |
--deb |
--de |
--d |
-d )
7451 --file |
--fil |
--fi |
--f )
7454 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7455 '') as_fn_error $?
"missing file argument" ;;
7457 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7458 ac_need_defaults
=false
;;
7459 --header |
--heade |
--head |
--hea )
7462 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7464 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7465 ac_need_defaults
=false
;;
7467 # Conflict between --help and --header
7468 as_fn_error $?
"ambiguous option: \`$1'
7469 Try \`$0 --help' for more information.";;
7470 --help |
--hel |
-h )
7471 $as_echo "$ac_cs_usage"; exit ;;
7472 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7473 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7477 -*) as_fn_error $?
"unrecognized option: \`$1'
7478 Try \`$0 --help' for more information." ;;
7480 *) as_fn_append ac_config_targets
" $1"
7481 ac_need_defaults
=false
;;
7487 ac_configure_extra_args
=
7489 if $ac_cs_silent; then
7491 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7496 if \$ac_cs_recheck; then
7497 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7499 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7500 CONFIG_SHELL='$SHELL'
7506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7510 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7511 ## Running $as_me. ##
7517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7521 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7522 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7524 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7525 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7526 LINGUAS="${LINGUAS-%UNSET%}"
7531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7533 # Handling of arguments.
7534 for ac_config_target
in $ac_config_targets
7536 case $ac_config_target in
7537 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7538 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7539 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7540 "config.intl") CONFIG_FILES
="$CONFIG_FILES config.intl" ;;
7542 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7547 # If the user did not use the arguments to specify the items to instantiate,
7548 # then the envvar interface is used. Set only those that are not.
7549 # We use the long form for the default assignment because of an extremely
7550 # bizarre bug on SunOS 4.1.3.
7551 if $ac_need_defaults; then
7552 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7553 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7554 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7557 # Have a temporary directory for convenience. Make it in the build tree
7558 # simply because there is no reason against having it here, and in addition,
7559 # creating and moving files from /tmp can sometimes cause problems.
7560 # Hook for its removal unless debugging.
7561 # Note that there is a small window in which the directory will not be cleaned:
7562 # after its creation but before its name has been assigned to `$tmp'.
7566 trap 'exit_status=$?
7568 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7570 trap 'as_fn_exit 1' 1 2 13 15
7572 # Create a (secure) tmp directory for tmp files.
7575 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7579 tmp
=.
/conf$$
-$RANDOM
7580 (umask 077 && mkdir
"$tmp")
7581 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7584 # Set up the scripts for CONFIG_FILES section.
7585 # No need to generate them if there are no CONFIG_FILES.
7586 # This happens for instance with `./config.status config.h'.
7587 if test -n "$CONFIG_FILES"; then
7590 ac_cr
=`echo X | tr X '\015'`
7591 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7592 # But we know of no other shell where ac_cr would be empty at this
7593 # point, so we can use a bashism as a fallback.
7594 if test "x$ac_cr" = x
; then
7595 eval ac_cr
=\$
\'\\r
\'
7597 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7598 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7604 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7609 echo "cat >conf$$subs.awk <<_ACEOF" &&
7610 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7613 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7614 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7616 for ac_last_try in false false false false false :; do
7617 . ./conf$$subs.sh ||
7618 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7620 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7621 if test $ac_delim_n = $ac_delim_num; then
7623 elif $ac_last_try; then
7624 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7626 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7632 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7636 s/^/S["/; s
/!.
*/"]=/
7646 s/\(.\{148\}\)..*/\1/
7648 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7653 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7660 s/\(.\{148\}\)..*/\1/
7662 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7666 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7671 ' <conf$$subs.awk | sed '
7676 ' >>$CONFIG_STATUS || ac_write_fail=1
7677 rm -f conf$$subs.awk
7678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7680 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7681 for (key in S) S_is_set[key] = 1
7687 nfields = split(line, field, "@
")
7689 len = length(field[1])
7690 for (i = 2; i < nfields; i++) {
7692 keylen = length(key)
7693 if (S_is_set[key]) {
7695 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7696 len += length(value) + length(field[++i])
7707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7708 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7709 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7712 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7713 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7716 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7717 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7718 # trailing colons and then remove the whole line if VPATH becomes empty
7719 # (actually we leave an empty line to preserve line numbers).
7720 if test "x
$srcdir" = x.; then
7721 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7740 fi # test -n "$CONFIG_FILES"
7742 # Set up the scripts for CONFIG_HEADERS section.
7743 # No need to generate them if there are no CONFIG_HEADERS.
7744 # This happens for instance with `./config.status Makefile'.
7745 if test -n "$CONFIG_HEADERS"; then
7746 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7750 # Transform confdefs.h into an awk script `defines.awk', embedded as
7751 # here-document in config.status, that substitutes the proper values into
7752 # config.h.in to produce config.h.
7754 # Create a delimiter string that does not exist in confdefs.h, to ease
7755 # handling of long lines.
7757 for ac_last_try in false false :; do
7758 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7759 if test -z "$ac_tt"; then
7761 elif $ac_last_try; then
7762 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7764 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7768 # For the awk script, D is an array of macro values keyed by name,
7769 # likewise P contains macro parameters if any. Preserve backslash
7770 # newline sequences.
7772 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7774 s/.\{148\}/&'"$ac_delim"'/g
7777 s/^[ ]*#[ ]*define[ ][ ]*/ /
7784 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7786 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7790 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7791 D["\
1"]=" \
3\\\\\\n
"\\/p
7793 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7798 s/.\{148\}/&'"$ac_delim"'/g
7803 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7806 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7808 ' <confdefs.h | sed '
7809 s/'"$ac_delim"'/"\\\
7810 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7813 for (key in D) D_is_set[key] = 1
7816 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7818 split(line, arg, " ")
7819 if (arg[1] == "#") {
7823 defundef
= substr
(arg
[1], 2)
7826 split(mac1
, mac2
, "(") #)
7828 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7829 if (D_is_set
[macro
]) {
7830 # Preserve the white space surrounding the "#".
7831 print prefix
"define", macro P
[macro
] D
[macro
]
7834 # Replace #undef with comments. This is necessary, for example,
7835 # in the case of _POSIX_SOURCE, which is predefined and required
7836 # on some systems where configure will not decide to define it.
7837 if (defundef
== "undef") {
7838 print
"/*", prefix defundef
, macro
, "*/"
7846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7847 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7848 fi # test -n "$CONFIG_HEADERS"
7851 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7856 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7858 case $ac_mode$ac_tag in
7860 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7861 :[FH
]-) ac_tag
=-:-;;
7862 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7879 -) ac_f
="$ac_tmp/stdin";;
7880 *) # Look for the file first in the build tree, then in the source tree
7881 # (if the path is not absolute). The absolute path cannot be DOS-style,
7882 # because $ac_f cannot contain `:'.
7886 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7888 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7890 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7891 as_fn_append ac_file_inputs
" '$ac_f'"
7894 # Let's still pretend it is `configure' which instantiates (i.e., don't
7895 # use $as_me), people would be surprised to read:
7896 # /* config.h. Generated by config.status. */
7897 configure_input
='Generated from '`
7898 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7900 if test x
"$ac_file" != x-
; then
7901 configure_input
="$ac_file. $configure_input"
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7903 $as_echo "$as_me: creating $ac_file" >&6;}
7905 # Neutralize special characters interpreted by sed in replacement strings.
7906 case $configure_input in #(
7907 *\
&* |
*\|
* |
*\\* )
7908 ac_sed_conf_input
=`$as_echo "$configure_input" |
7909 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7910 *) ac_sed_conf_input
=$configure_input;;
7914 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7915 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7920 ac_dir
=`$as_dirname -- "$ac_file" ||
7921 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7922 X"$ac_file" : 'X\(//\)[^/]' \| \
7923 X"$ac_file" : 'X\(//\)$' \| \
7924 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7925 $as_echo X"$ac_file" |
7926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7943 as_dir
="$ac_dir"; as_fn_mkdir_p
7947 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7949 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7950 # A ".." for each directory in $ac_dir_suffix.
7951 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7952 case $ac_top_builddir_sub in
7953 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7954 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7957 ac_abs_top_builddir
=$ac_pwd
7958 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7959 # for backward compatibility:
7960 ac_top_builddir
=$ac_top_build_prefix
7963 .
) # We are building in place.
7965 ac_top_srcdir
=$ac_top_builddir_sub
7966 ac_abs_top_srcdir
=$ac_pwd ;;
7967 [\\/]* | ?
:[\\/]* ) # Absolute name.
7968 ac_srcdir
=$srcdir$ac_dir_suffix;
7969 ac_top_srcdir
=$srcdir
7970 ac_abs_top_srcdir
=$srcdir ;;
7972 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7973 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7974 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7976 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7986 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7987 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7992 # If the template does not know about datarootdir, expand it.
7993 # FIXME: This hack should be removed a few years after 2.60.
7994 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8005 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8006 *datarootdir
*) ac_datarootdir_seen
=yes;;
8007 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8009 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8012 ac_datarootdir_hack='
8013 s&@datadir@&$datadir&g
8014 s&@docdir@&$docdir&g
8015 s&@infodir@&$infodir&g
8016 s&@localedir@&$localedir&g
8017 s&@mandir@&$mandir&g
8018 s&\\\${datarootdir}&$datarootdir&g' ;;
8022 # Neutralize VPATH when `$srcdir' = `.'.
8023 # Shell code in configure.ac might set extrasub.
8024 # FIXME: do we really want to maintain this feature?
8025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8026 ac_sed_extra="$ac_vpsub
8029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8031 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8032 s|@configure_input@|
$ac_sed_conf_input|
;t t
8033 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8034 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8035 s
&@srcdir@
&$ac_srcdir&;t t
8036 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8037 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8038 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8039 s
&@builddir@
&$ac_builddir&;t t
8040 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8041 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8042 s
&@INSTALL@
&$ac_INSTALL&;t t
8043 $ac_datarootdir_hack
8045 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8046 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8048 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8049 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8050 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8051 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8053 which seems to be undefined. Please make sure it is defined" >&5
8054 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8055 which seems to be undefined. Please make sure it is defined" >&2;}
8057 rm -f "$ac_tmp/stdin"
8059 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8060 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8068 if test x"$ac_file" != x-; then
8070 $as_echo "/* $configure_input */" \
8071 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8072 } >"$ac_tmp/config.h" \
8073 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8074 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8076 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8079 mv "$ac_tmp/config.h" "$ac_file" \
8080 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8083 $as_echo "/* $configure_input */" \
8084 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8085 || as_fn_error $? "could not create -" "$LINENO" 5
8089 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8090 $as_echo "$as_me: executing $ac_file commands" >&6;}
8095 case $ac_file$ac_mode in
8097 for ac_file in $CONFIG_FILES; do
8098 # Support "outfile[:infile[:infile...]]"
8100 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
8102 # PO directories have a Makefile.in generated from Makefile.in.in.
8103 case "$ac_file" in */Makefile.in)
8104 # Adjust a relative srcdir.
8105 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
8106 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
8107 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
8108 # In autoconf-2.13 it is called $ac_given_srcdir.
8109 # In autoconf-2.50 it is called $srcdir.
8110 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8111 case "$ac_given_srcdir" in
8112 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
8113 /*) top_srcdir="$ac_given_srcdir" ;;
8114 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8116 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8117 rm -f "$ac_dir/POTFILES"
8118 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8119 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8120 POMAKEFILEDEPS="POTFILES.in"
8121 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8122 # on $ac_dir but don't depend on user-specified configuration
8124 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8125 # The LINGUAS file contains the set of available languages.
8126 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8127 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
8129 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8130 # Hide the ALL_LINGUAS assigment from automake.
8131 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8132 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8134 # The set of available languages was given in configure.ac.
8135 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8137 case "$ac_given_srcdir" in
8139 *) srcdirpre
='$(srcdir)/' ;;
8145 for lang
in $ALL_LINGUAS; do
8146 POFILES
="$POFILES $srcdirpre$lang.po"
8147 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8148 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8149 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8151 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8152 # environment variable.
8154 if test -n "$ALL_LINGUAS"; then
8155 for presentlang
in $ALL_LINGUAS; do
8157 if test "%UNSET%" != "$LINGUAS"; then
8158 desiredlanguages
="$LINGUAS"
8160 desiredlanguages
="$ALL_LINGUAS"
8162 for desiredlang
in $desiredlanguages; do
8163 # Use the presentlang catalog if desiredlang is
8164 # a. equal to presentlang, or
8165 # b. a variant of presentlang (because in this case,
8166 # presentlang can be used as a fallback for messages
8167 # which are not translated in the desiredlang catalog).
8168 case "$desiredlang" in
8169 "$presentlang"*) useit
=yes;;
8172 if test $useit = yes; then
8173 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8178 if test -n "$INST_LINGUAS"; then
8179 for lang
in $INST_LINGUAS; do
8180 CATALOGS
="$CATALOGS $lang.gmo"
8183 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8184 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8185 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8186 if test -f "$f"; then
8188 *.orig |
*.bak |
*~
) ;;
8189 *) cat "$f" >> "$ac_dir/Makefile" ;;
8204 ac_clean_files
=$ac_clean_files_save
8206 test $ac_write_fail = 0 ||
8207 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8210 # configure is writing to config.log, and then calls config.status.
8211 # config.status does its own redirection, appending to config.log.
8212 # Unfortunately, on DOS this fails, as config.log is still kept open
8213 # by configure, so config.status won't be able to write to it; its
8214 # output is simply discarded. So we exec the FD to /dev/null,
8215 # effectively closing config.log, so it can be properly (re)opened and
8216 # appended to by config.status. When coming back to configure, we
8217 # need to make the FD available again.
8218 if test "$no_create" != yes; then
8220 ac_config_status_args
=
8221 test "$silent" = yes &&
8222 ac_config_status_args
="$ac_config_status_args --quiet"
8224 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8226 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8227 # would make configure fail if this is the last instruction.
8228 $ac_cs_success || as_fn_exit
1
8230 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8232 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}