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
640 INTL_LIBTOOL_SUFFIX_PREFIX
647 BUILD_INCLUDED_LIBINTL
709 program_transform_name
722 enable_option_checking
728 with_included_gettext
731 enable_maintainer_mode
735 ac_precious_vars
='build_alias
746 # Initialize some variables set by options.
748 ac_init_version
=false
749 ac_unrecognized_opts
=
751 # The variables have the same names as the options, with
752 # dashes changed to underlines.
760 program_transform_name
=s
,x
,x
,
768 # Installation directory options.
769 # These are left unexpanded so users can "make install exec_prefix=/foo"
770 # and all the variables that are supposed to be based on exec_prefix
771 # by default will actually change.
772 # Use braces instead of parens because sh, perl, etc. also accept them.
773 # (The list follows the same order as the GNU Coding Standards.)
774 bindir
='${exec_prefix}/bin'
775 sbindir
='${exec_prefix}/sbin'
776 libexecdir
='${exec_prefix}/libexec'
777 datarootdir
='${prefix}/share'
778 datadir
='${datarootdir}'
779 sysconfdir
='${prefix}/etc'
780 sharedstatedir
='${prefix}/com'
781 localstatedir
='${prefix}/var'
782 includedir
='${prefix}/include'
783 oldincludedir
='/usr/include'
784 docdir
='${datarootdir}/doc/${PACKAGE}'
785 infodir
='${datarootdir}/info'
790 libdir
='${exec_prefix}/lib'
791 localedir
='${datarootdir}/locale'
792 mandir
='${datarootdir}/man'
798 # If the previous option needs an argument, assign it.
799 if test -n "$ac_prev"; then
800 eval $ac_prev=\
$ac_option
806 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
811 # Accept the important Cygnus configure options, so we can diagnose typos.
813 case $ac_dashdash$ac_option in
817 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
819 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
822 -build |
--build |
--buil |
--bui |
--bu)
823 ac_prev
=build_alias
;;
824 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
825 build_alias
=$ac_optarg ;;
827 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
828 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
829 ac_prev
=cache_file
;;
830 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
831 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
832 cache_file
=$ac_optarg ;;
835 cache_file
=config.cache
;;
837 -datadir |
--datadir |
--datadi |
--datad)
839 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
840 datadir
=$ac_optarg ;;
842 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
843 |
--dataroo |
--dataro |
--datar)
844 ac_prev
=datarootdir
;;
845 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
846 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
847 datarootdir
=$ac_optarg ;;
849 -disable-* |
--disable-*)
850 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
853 as_fn_error $?
"invalid feature name: $ac_useropt"
854 ac_useropt_orig
=$ac_useropt
855 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
860 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
861 ac_unrecognized_sep
=', ';;
863 eval enable_
$ac_useropt=no
;;
865 -docdir |
--docdir |
--docdi |
--doc |
--do)
867 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
870 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
872 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
875 -enable-* |
--enable-*)
876 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
877 # Reject names that are not valid shell variable names.
878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
879 as_fn_error $?
"invalid feature name: $ac_useropt"
880 ac_useropt_orig
=$ac_useropt
881 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882 case $ac_user_opts in
886 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
887 ac_unrecognized_sep
=', ';;
889 eval enable_
$ac_useropt=\
$ac_optarg ;;
891 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
892 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
893 |
--exec |
--exe |
--ex)
894 ac_prev
=exec_prefix
;;
895 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
896 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
897 |
--exec=* |
--exe=* |
--ex=*)
898 exec_prefix
=$ac_optarg ;;
900 -gas |
--gas |
--ga |
--g)
901 # Obsolete; use --with-gas.
904 -help |
--help |
--hel |
--he |
-h)
906 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
907 ac_init_help
=recursive
;;
908 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
909 ac_init_help
=short
;;
911 -host |
--host |
--hos |
--ho)
912 ac_prev
=host_alias
;;
913 -host=* |
--host=* |
--hos=* |
--ho=*)
914 host_alias
=$ac_optarg ;;
916 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
918 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
920 htmldir
=$ac_optarg ;;
922 -includedir |
--includedir |
--includedi |
--included |
--include \
923 |
--includ |
--inclu |
--incl |
--inc)
924 ac_prev
=includedir
;;
925 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
926 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
927 includedir
=$ac_optarg ;;
929 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
931 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
932 infodir
=$ac_optarg ;;
934 -libdir |
--libdir |
--libdi |
--libd)
936 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
939 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
940 |
--libexe |
--libex |
--libe)
941 ac_prev
=libexecdir
;;
942 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
943 |
--libexe=* |
--libex=* |
--libe=*)
944 libexecdir
=$ac_optarg ;;
946 -localedir |
--localedir |
--localedi |
--localed |
--locale)
948 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
949 localedir
=$ac_optarg ;;
951 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
952 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
953 ac_prev
=localstatedir
;;
954 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
955 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
956 localstatedir
=$ac_optarg ;;
958 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
960 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
964 # Obsolete; use --without-fp.
967 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
968 |
--no-cr |
--no-c |
-n)
971 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
972 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
975 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
976 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
977 |
--oldin |
--oldi |
--old |
--ol |
--o)
978 ac_prev
=oldincludedir
;;
979 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
980 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
981 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
982 oldincludedir
=$ac_optarg ;;
984 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
986 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
989 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
990 |
--program-pre |
--program-pr |
--program-p)
991 ac_prev
=program_prefix
;;
992 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
993 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
994 program_prefix
=$ac_optarg ;;
996 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
997 |
--program-suf |
--program-su |
--program-s)
998 ac_prev
=program_suffix
;;
999 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1000 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1001 program_suffix
=$ac_optarg ;;
1003 -program-transform-name |
--program-transform-name \
1004 |
--program-transform-nam |
--program-transform-na \
1005 |
--program-transform-n |
--program-transform- \
1006 |
--program-transform |
--program-transfor \
1007 |
--program-transfo |
--program-transf \
1008 |
--program-trans |
--program-tran \
1009 |
--progr-tra |
--program-tr |
--program-t)
1010 ac_prev
=program_transform_name
;;
1011 -program-transform-name=* |
--program-transform-name=* \
1012 |
--program-transform-nam=* |
--program-transform-na=* \
1013 |
--program-transform-n=* |
--program-transform-=* \
1014 |
--program-transform=* |
--program-transfor=* \
1015 |
--program-transfo=* |
--program-transf=* \
1016 |
--program-trans=* |
--program-tran=* \
1017 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1018 program_transform_name
=$ac_optarg ;;
1020 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1022 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1023 pdfdir
=$ac_optarg ;;
1025 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1027 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1030 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1031 |
-silent |
--silent |
--silen |
--sile |
--sil)
1034 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1036 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1038 sbindir
=$ac_optarg ;;
1040 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1041 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1042 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1044 ac_prev
=sharedstatedir
;;
1045 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1046 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1047 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1049 sharedstatedir
=$ac_optarg ;;
1051 -site |
--site |
--sit)
1053 -site=* |
--site=* |
--sit=*)
1056 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1058 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1059 srcdir
=$ac_optarg ;;
1061 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1062 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1063 ac_prev
=sysconfdir
;;
1064 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1065 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1066 sysconfdir
=$ac_optarg ;;
1068 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1069 ac_prev
=target_alias
;;
1070 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1071 target_alias
=$ac_optarg ;;
1073 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1076 -version |
--version |
--versio |
--versi |
--vers |
-V)
1077 ac_init_version
=: ;;
1080 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1083 as_fn_error $?
"invalid package name: $ac_useropt"
1084 ac_useropt_orig
=$ac_useropt
1085 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1090 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1091 ac_unrecognized_sep
=', ';;
1093 eval with_
$ac_useropt=\
$ac_optarg ;;
1095 -without-* |
--without-*)
1096 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error $?
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=no
;;
1112 # Obsolete; use --with-x.
1115 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1116 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1117 ac_prev
=x_includes
;;
1118 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1119 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1120 x_includes
=$ac_optarg ;;
1122 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1123 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1124 ac_prev
=x_libraries
;;
1125 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1126 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1127 x_libraries
=$ac_optarg ;;
1129 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1130 Try \`$0 --help' for more information"
1134 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1135 # Reject names that are not valid shell variable names.
1136 case $ac_envvar in #(
1137 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1138 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1140 eval $ac_envvar=\
$ac_optarg
1141 export $ac_envvar ;;
1144 # FIXME: should be removed in autoconf 3.0.
1145 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1146 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1147 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1148 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1154 if test -n "$ac_prev"; then
1155 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1156 as_fn_error $?
"missing argument to $ac_option"
1159 if test -n "$ac_unrecognized_opts"; then
1160 case $enable_option_checking in
1162 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1163 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1167 # Check all directory arguments for consistency.
1168 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1169 datadir sysconfdir sharedstatedir localstatedir includedir \
1170 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1171 libdir localedir mandir
1173 eval ac_val
=\$
$ac_var
1174 # Remove trailing slashes.
1177 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1178 eval $ac_var=\
$ac_val;;
1180 # Be sure to have absolute directory names.
1182 [\\/$
]* | ?
:[\\/]* ) continue;;
1183 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1185 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1188 # There might be people who depend on the old broken behavior: `$host'
1189 # used to hold the argument of --host etc.
1190 # FIXME: To remove some day.
1193 target
=$target_alias
1195 # FIXME: To remove some day.
1196 if test "x$host_alias" != x
; then
1197 if test "x$build_alias" = x
; then
1198 cross_compiling
=maybe
1199 elif test "x$build_alias" != "x$host_alias"; then
1205 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1207 test "$silent" = yes && exec 6>/dev
/null
1210 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1211 ac_ls_di
=`ls -di .` &&
1212 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1213 as_fn_error $?
"working directory cannot be determined"
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 as_fn_error $?
"pwd does not report name of working directory"
1218 # Find the source files, if location was not specified.
1219 if test -z "$srcdir"; then
1220 ac_srcdir_defaulted
=yes
1221 # Try the directory containing this script, then the parent directory.
1222 ac_confdir
=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224 X"$as_myself" : 'X\(//\)[^/]' \| \
1225 X"$as_myself" : 'X\(//\)$' \| \
1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1250 ac_srcdir_defaulted
=no
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1254 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1256 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1260 # When building in place, set srcdir=.
1261 if test "$ac_abs_confdir" = "$ac_pwd"; then
1264 # Remove unnecessary trailing slashes from srcdir.
1265 # Double slashes in file names in object file debugging info
1266 # mess up M-x gdb in Emacs.
1268 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 for ac_var
in $ac_precious_vars; do
1271 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1272 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1273 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1274 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1278 # Report the --help message.
1280 if test "$ac_init_help" = "long"; then
1281 # Omit some internal or obsolete options to make the list less imposing.
1282 # This message is too long to be a string in the A/UX 3.1 sh.
1284 \`configure' configures this package to adapt to many kinds of systems.
1286 Usage: $0 [OPTION]... [VAR=VALUE]...
1288 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1289 VAR=VALUE. See below for descriptions of some of the useful variables.
1291 Defaults for the options are specified in brackets.
1294 -h, --help display this help and exit
1295 --help=short display options specific to this package
1296 --help=recursive display the short help of all the included packages
1297 -V, --version display version information and exit
1298 -q, --quiet, --silent do not print \`checking ...' messages
1299 --cache-file=FILE cache test results in FILE [disabled]
1300 -C, --config-cache alias for \`--cache-file=config.cache'
1301 -n, --no-create do not create output files
1302 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1304 Installation directories:
1305 --prefix=PREFIX install architecture-independent files in PREFIX
1306 [$ac_default_prefix]
1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1310 By default, \`make install' will install all the files in
1311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1312 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1313 for instance \`--prefix=\$HOME'.
1315 For better control, use the options below.
1317 Fine tuning of the installation directories:
1318 --bindir=DIR user executables [EPREFIX/bin]
1319 --sbindir=DIR system admin executables [EPREFIX/sbin]
1320 --libexecdir=DIR program executables [EPREFIX/libexec]
1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1324 --libdir=DIR object code libraries [EPREFIX/lib]
1325 --includedir=DIR C header files [PREFIX/include]
1326 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1329 --infodir=DIR info documentation [DATAROOTDIR/info]
1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1331 --mandir=DIR man documentation [DATAROOTDIR/man]
1332 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1333 --htmldir=DIR html documentation [DOCDIR]
1334 --dvidir=DIR dvi documentation [DOCDIR]
1335 --pdfdir=DIR pdf documentation [DOCDIR]
1336 --psdir=DIR ps documentation [DOCDIR]
1342 --build=BUILD configure
for building on BUILD
[guessed
]
1343 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1347 if test -n "$ac_init_help"; then
1352 --disable-option-checking ignore unrecognized
--enable/--with options
1353 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1354 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1355 --disable-nls do not use Native Language Support
1356 --disable-rpath do not hardcode runtime library paths
1357 --enable-maintainer-mode enable rules only needed by maintainers
1358 --enable-host-shared build
host code as shared libraries
1359 --enable-host-pie build
host code as PIE
1362 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1363 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1364 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1365 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1366 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1367 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1368 --with-included-gettext use the GNU gettext library included here
1369 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1370 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1371 --with-libintl-type=TYPE
type of library to search
for (auto
/static
/shared
)
1373 Some influential environment variables
:
1374 CC C compiler
command
1375 CFLAGS C compiler flags
1376 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1377 nonstandard directory
<lib dir
>
1378 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1379 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1380 you have headers
in a nonstandard directory
<include dir
>
1383 Use these variables to override the choices made by
`configure' or to help
1384 it to find libraries and programs with nonstandard names/locations.
1386 Report bugs to the package provider.
1391 if test "$ac_init_help" = "recursive"; then
1392 # If there are subdirs, report their specific --help.
1393 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1394 test -d "$ac_dir" ||
1395 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1400 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1403 # A ".." for each directory in $ac_dir_suffix.
1404 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1405 case $ac_top_builddir_sub in
1406 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1407 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1410 ac_abs_top_builddir=$ac_pwd
1411 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1412 # for backward compatibility:
1413 ac_top_builddir=$ac_top_build_prefix
1416 .) # We are building in place.
1418 ac_top_srcdir=$ac_top_builddir_sub
1419 ac_abs_top_srcdir=$ac_pwd ;;
1420 [\\/]* | ?:[\\/]* ) # Absolute name.
1421 ac_srcdir=$srcdir$ac_dir_suffix;
1422 ac_top_srcdir=$srcdir
1423 ac_abs_top_srcdir=$srcdir ;;
1425 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1426 ac_top_srcdir=$ac_top_build_prefix$srcdir
1427 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1429 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1431 cd "$ac_dir" || { ac_status=$?; continue; }
1432 # Check for guested configure.
1433 if test -f "$ac_srcdir/configure.gnu"; then
1435 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1436 elif test -f "$ac_srcdir/configure"; then
1438 $SHELL "$ac_srcdir/configure" --help=recursive
1440 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1442 cd "$ac_pwd" || { ac_status=$?; break; }
1446 test -n "$ac_init_help" && exit $ac_status
1447 if $ac_init_version; then
1450 generated by GNU Autoconf 2.69
1452 Copyright (C) 2012 Free Software Foundation, Inc.
1453 This configure script is free software; the Free Software Foundation
1454 gives unlimited permission to copy, distribute and modify it.
1459 ## ------------------------ ##
1460 ## Autoconf initialization. ##
1461 ## ------------------------ ##
1463 # ac_fn_c_try_compile LINENO
1464 # --------------------------
1465 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1466 ac_fn_c_try_compile ()
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 rm -f conftest.$ac_objext
1470 if { { ac_try="$ac_compile"
1472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1473 *) ac_try_echo
=$ac_try;;
1475 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1476 $as_echo "$ac_try_echo"; } >&5
1477 (eval "$ac_compile") 2>conftest.err
1479 if test -s conftest.err
; then
1480 grep -v '^ *+' conftest.err
>conftest.er1
1481 cat conftest.er1
>&5
1482 mv -f conftest.er1 conftest.err
1484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1485 test $ac_status = 0; } && {
1486 test -z "$ac_c_werror_flag" ||
1487 test ! -s conftest.err
1488 } && test -s conftest.
$ac_objext; then :
1491 $as_echo "$as_me: failed program was:" >&5
1492 sed 's/^/| /' conftest.
$ac_ext >&5
1496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1497 as_fn_set_status
$ac_retval
1499 } # ac_fn_c_try_compile
1501 # ac_fn_c_try_cpp LINENO
1502 # ----------------------
1503 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1506 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1507 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1510 *) ac_try_echo=$ac_try;;
1512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513 $as_echo "$ac_try_echo"; } >&5
1514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1516 if test -s conftest.err; then
1517 grep -v '^ *+' conftest.err >conftest.er1
1518 cat conftest.er1 >&5
1519 mv -f conftest.er1 conftest.err
1521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522 test $ac_status = 0; } > conftest.i && {
1523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1524 test ! -s conftest.err
1528 $as_echo "$as_me: failed program was:" >&5
1529 sed 's/^/| /' conftest.$ac_ext >&5
1533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1534 as_fn_set_status $ac_retval
1538 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1539 # -------------------------------------------------------
1540 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1541 # the include files in INCLUDES and setting the cache variable VAR
1543 ac_fn_c_check_header_mongrel ()
1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546 if eval \${$3+:} false; then :
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1548 $as_echo_n "checking for $2... " >&6; }
1549 if eval \${$3+:} false; then :
1550 $as_echo_n "(cached) " >&6
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1554 $as_echo "$ac_res" >&6; }
1556 # Is the header compilable?
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1558 $as_echo_n "checking $2 usability... " >&6; }
1559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1560 /* end confdefs.h. */
1564 if ac_fn_c_try_compile "$LINENO"; then :
1565 ac_header_compiler=yes
1567 ac_header_compiler=no
1569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1571 $as_echo "$ac_header_compiler" >&6; }
1573 # Is the header present?
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1575 $as_echo_n "checking $2 presence... " >&6; }
1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h. */
1580 if ac_fn_c_try_cpp "$LINENO"; then :
1581 ac_header_preproc=yes
1583 ac_header_preproc=no
1585 rm -f conftest.err conftest.i conftest.$ac_ext
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1587 $as_echo "$ac_header_preproc" >&6; }
1589 # So? What about this header?
1590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1593 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1595 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1599 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1601 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1603 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1605 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1607 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1611 $as_echo_n "checking for $2... " >&6; }
1612 if eval \${$3+:} false; then :
1613 $as_echo_n "(cached) " >&6
1615 eval "$3=\$ac_header_compiler"
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 } # ac_fn_c_check_header_mongrel
1625 # ac_fn_c_try_run LINENO
1626 # ----------------------
1627 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1628 # that executables *can* be run.
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 if { { ac_try="$ac_link"
1634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1635 *) ac_try_echo
=$ac_try;;
1637 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_link") 2>&5
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1643 { { case "(($ac_try" in
1644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_try") 2>&5
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; }; }; then :
1655 $as_echo "$as_me: program exited with status $ac_status" >&5
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1659 ac_retval=$ac_status
1661 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status $ac_retval
1667 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1668 # -------------------------------------------------------
1669 # Tests whether HEADER exists and can be compiled using the include files in
1670 # INCLUDES, setting the cache variable VAR accordingly.
1671 ac_fn_c_check_header_compile ()
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if eval \${$3+:} false; then :
1677 $as_echo_n "(cached) " >&6
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1684 if ac_fn_c_try_compile "$LINENO"; then :
1689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693 $as_echo "$ac_res" >&6; }
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 } # ac_fn_c_check_header_compile
1698 # ac_fn_c_try_link LINENO
1699 # -----------------------
1700 # Try to link conftest.$ac_ext, and return whether this succeeded.
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext conftest$ac_exeext
1705 if { { ac_try="$ac_link"
1707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1708 *) ac_try_echo
=$ac_try;;
1710 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_link") 2>conftest.err
1714 if test -s conftest.err
; then
1715 grep -v '^ *+' conftest.err
>conftest.er1
1716 cat conftest.er1
>&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest
$ac_exeext && {
1724 test "$cross_compiling" = yes ||
1725 test -x conftest
$ac_exeext
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.
$ac_ext >&5
1734 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1735 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1736 # interfere with the next link command; also delete a directory that is
1737 # left behind by Apple's compiler. We do this before executing the actions.
1738 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740 as_fn_set_status
$ac_retval
1742 } # ac_fn_c_try_link
1744 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1745 # -------------------------------------------
1746 # Tests whether TYPE exists after having included INCLUDES, setting cache
1747 # variable VAR accordingly.
1748 ac_fn_c_check_type
()
1750 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752 $as_echo_n "checking for $2... " >&6; }
1753 if eval \
${$3+:} false
; then :
1754 $as_echo_n "(cached) " >&6
1757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1769 if ac_fn_c_try_compile
"$LINENO"; then :
1770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1782 if ac_fn_c_try_compile
"$LINENO"; then :
1787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 } # ac_fn_c_check_type
1798 # ac_fn_c_check_func LINENO FUNC VAR
1799 # ----------------------------------
1800 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1801 ac_fn_c_check_func
()
1803 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \
${$3+:} false
; then :
1807 $as_echo_n "(cached) " >&6
1809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1811 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1813 #define $2 innocuous_$2
1815 /* System header to define __stub macros and hopefully few prototypes,
1816 which can conflict with char $2 (); below.
1817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1818 <limits.h> exists even on freestanding compilers. */
1821 # include <limits.h>
1823 # include <assert.h>
1828 /* Override any GCC internal prototype to avoid an error.
1829 Use char because int might match the return type of a GCC
1830 builtin and then its argument prototype would still apply. */
1835 /* The GNU C library defines this for functions which it implements
1836 to always fail with ENOSYS. Some functions are actually named
1837 something starting with __ and the normal name is an alias. */
1838 #if defined __stub_$2 || defined __stub___$2
1850 if ac_fn_c_try_link
"$LINENO"; then :
1855 rm -f core conftest.err conftest.
$ac_objext \
1856 conftest
$ac_exeext conftest.
$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 } # ac_fn_c_check_func
1864 cat >config.log
<<_ACEOF
1865 This file contains any messages produced by compilers while
1866 running configure, to aid debugging if configure makes a mistake.
1868 It was created by $as_me, which was
1869 generated by GNU Autoconf 2.69. Invocation command line was
1881 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1882 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1883 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1884 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1885 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1887 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1888 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1890 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1891 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1892 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1893 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1894 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1895 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1896 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir
=.
1905 $as_echo "PATH: $as_dir"
1921 # Keep a trace of the command line.
1922 # Strip out --no-create and --no-recursion so they do not pile up.
1923 # Strip out --silent because we don't want to record it for future runs.
1924 # Also quote any args containing shell meta-characters.
1925 # Make two passes to allow for proper duplicate-argument suppression.
1929 ac_must_keep_next
=false
1935 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1936 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1937 |
-silent |
--silent |
--silen |
--sile |
--sil)
1940 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1943 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1945 as_fn_append ac_configure_args1
" '$ac_arg'"
1946 if test $ac_must_keep_next = true
; then
1947 ac_must_keep_next
=false
# Got value, back to normal.
1950 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1951 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1952 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1953 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1954 case "$ac_configure_args0 " in
1955 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1958 -* ) ac_must_keep_next
=true
;;
1961 as_fn_append ac_configure_args
" '$ac_arg'"
1966 { ac_configure_args0
=; unset ac_configure_args0
;}
1967 { ac_configure_args1
=; unset ac_configure_args1
;}
1969 # When interrupted or exit'd, cleanup temporary files, and complete
1970 # config.log. We remove comments because anyway the quotes in there
1971 # would cause problems or look ugly.
1972 # WARNING: Use '\'' to represent an apostrophe within the trap.
1973 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1974 trap 'exit_status=$?
1975 # Save into config.log some information that might help in debugging.
1979 $as_echo "## ---------------- ##
1980 ## Cache variables. ##
1981 ## ---------------- ##"
1983 # The following way of writing the cache mishandles newlines in values,
1985 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1986 eval ac_val=\$$ac_var
1990 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1991 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1994 _ | IFS | as_nl) ;; #(
1995 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1996 *) { eval $ac_var=; unset $ac_var;} ;;
2001 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2002 *${as_nl}ac_space=\ *)
2004 "s/'\''/'\''\\\\'\'''\''/g;
2005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2008 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2015 $as_echo "## ----------------- ##
2016 ## Output variables. ##
2017 ## ----------------- ##"
2019 for ac_var in $ac_subst_vars
2021 eval ac_val=\$$ac_var
2023 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2025 $as_echo "$ac_var='\''$ac_val'\''"
2029 if test -n "$ac_subst_files"; then
2030 $as_echo "## ------------------- ##
2031 ## File substitutions. ##
2032 ## ------------------- ##"
2034 for ac_var
in $ac_subst_files
2036 eval ac_val
=\$
$ac_var
2038 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2040 $as_echo "$ac_var='\''$ac_val'\''"
2045 if test -s confdefs.h; then
2046 $as_echo "## ----------- ##
2053 test "$ac_signal" != 0 &&
2054 $as_echo "$as_me: caught signal $ac_signal"
2055 $as_echo "$as_me: exit $exit_status"
2057 rm -f core *.core core.conftest.* &&
2058 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2061 for ac_signal
in 1 2 13 15; do
2062 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2066 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2067 rm -f -r conftest
* confdefs.h
2069 $as_echo "/* confdefs.h */" > confdefs.h
2071 # Predefined preprocessor variables.
2073 cat >>confdefs.h
<<_ACEOF
2074 #define PACKAGE_NAME "$PACKAGE_NAME"
2077 cat >>confdefs.h
<<_ACEOF
2078 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2081 cat >>confdefs.h
<<_ACEOF
2082 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2085 cat >>confdefs.h
<<_ACEOF
2086 #define PACKAGE_STRING "$PACKAGE_STRING"
2089 cat >>confdefs.h
<<_ACEOF
2090 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2093 cat >>confdefs.h
<<_ACEOF
2094 #define PACKAGE_URL "$PACKAGE_URL"
2098 # Let the site file select an alternate cache file if it wants to.
2099 # Prefer an explicitly selected file to automatically selected ones.
2102 if test -n "$CONFIG_SITE"; then
2103 # We do not want a PATH search for config.site.
2104 case $CONFIG_SITE in #((
2105 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2106 */*) ac_site_file1
=$CONFIG_SITE;;
2107 *) ac_site_file1
=.
/$CONFIG_SITE;;
2109 elif test "x$prefix" != xNONE
; then
2110 ac_site_file1
=$prefix/share
/config.site
2111 ac_site_file2
=$prefix/etc
/config.site
2113 ac_site_file1
=$ac_default_prefix/share
/config.site
2114 ac_site_file2
=$ac_default_prefix/etc
/config.site
2116 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2118 test "x$ac_site_file" = xNONE
&& continue
2119 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2121 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2122 sed 's/^/| /' "$ac_site_file" >&5
2124 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2126 as_fn_error $?
"failed to load site script $ac_site_file
2127 See \`config.log' for more details" "$LINENO" 5; }
2131 if test -r "$cache_file"; then
2132 # Some versions of bash will fail to source /dev/null (special files
2133 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2134 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2136 $as_echo "$as_me: loading cache $cache_file" >&6;}
2138 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2139 *) .
"./$cache_file";;
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2144 $as_echo "$as_me: creating cache $cache_file" >&6;}
2148 as_fn_append ac_header_list
" stdlib.h"
2149 as_fn_append ac_header_list
" unistd.h"
2150 as_fn_append ac_header_list
" sys/param.h"
2151 # Check that the precious variables saved in the cache have kept the same
2153 ac_cache_corrupted
=false
2154 for ac_var
in $ac_precious_vars; do
2155 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2156 eval ac_new_set
=\
$ac_env_${ac_var}_set
2157 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2158 eval ac_new_val
=\
$ac_env_${ac_var}_value
2159 case $ac_old_set,$ac_new_set in
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2162 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2163 ac_cache_corrupted
=: ;;
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2166 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2167 ac_cache_corrupted
=: ;;
2170 if test "x$ac_old_val" != "x$ac_new_val"; then
2171 # differences in whitespace do not lead to failure.
2172 ac_old_val_w
=`echo x $ac_old_val`
2173 ac_new_val_w
=`echo x $ac_new_val`
2174 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2176 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2177 ac_cache_corrupted
=:
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2180 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2181 eval $ac_var=\
$ac_old_val
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2184 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2186 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2189 # Pass precious variables to config.status.
2190 if test "$ac_new_set" = set; then
2192 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2193 *) ac_arg
=$ac_var=$ac_new_val ;;
2195 case " $ac_configure_args " in
2196 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2197 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2201 if $ac_cache_corrupted; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2205 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2206 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2208 ## -------------------- ##
2209 ## Main body of script. ##
2210 ## -------------------- ##
2213 ac_cpp
='$CPP $CPPFLAGS'
2214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2223 ac_cpp
='$CPP $CPPFLAGS'
2224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2227 if test -n "$ac_tool_prefix"; then
2228 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2229 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2231 $as_echo_n "checking for $ac_word... " >&6; }
2232 if ${ac_cv_prog_CC+:} false
; then :
2233 $as_echo_n "(cached) " >&6
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC
="$CC" # Let the user override the test.
2238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir
=.
2243 for ac_exec_ext
in '' $ac_executable_extensions; do
2244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2245 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 if test -n "$CC"; then
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2258 $as_echo "$CC" >&6; }
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2261 $as_echo "no" >&6; }
2266 if test -z "$ac_cv_prog_CC"; then
2268 # Extract the first word of "gcc", so it can be a program name with args.
2269 set dummy gcc
; ac_word
=$2
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2271 $as_echo_n "checking for $ac_word... " >&6; }
2272 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2273 $as_echo_n "(cached) " >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir
=.
2283 for ac_exec_ext
in '' $ac_executable_extensions; do
2284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC
="gcc"
2286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2298 $as_echo "$ac_ct_CC" >&6; }
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2301 $as_echo "no" >&6; }
2304 if test "x$ac_ct_CC" = x
; then
2307 case $cross_compiling:$ac_tool_warned in
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2311 ac_tool_warned
=yes ;;
2319 if test -z "$CC"; then
2320 if test -n "$ac_tool_prefix"; then
2321 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2322 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2324 $as_echo_n "checking for $ac_word... " >&6; }
2325 if ${ac_cv_prog_CC+:} false
; then :
2326 $as_echo_n "(cached) " >&6
2328 if test -n "$CC"; then
2329 ac_cv_prog_CC
="$CC" # Let the user override the test.
2331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir
=.
2336 for ac_exec_ext
in '' $ac_executable_extensions; do
2337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 if test -n "$CC"; then
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2351 $as_echo "$CC" >&6; }
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2354 $as_echo "no" >&6; }
2360 if test -z "$CC"; then
2361 # Extract the first word of "cc", so it can be a program name with args.
2362 set dummy cc
; ac_word
=$2
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2364 $as_echo_n "checking for $ac_word... " >&6; }
2365 if ${ac_cv_prog_CC+:} false
; then :
2366 $as_echo_n "(cached) " >&6
2368 if test -n "$CC"; then
2369 ac_cv_prog_CC
="$CC" # Let the user override the test.
2372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir
=.
2377 for ac_exec_ext
in '' $ac_executable_extensions; do
2378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2379 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2380 ac_prog_rejected
=yes
2384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 if test $ac_prog_rejected = yes; then
2392 # We found a bogon in the path, so make sure we never use it.
2393 set dummy
$ac_cv_prog_CC
2395 if test $# != 0; then
2396 # We chose a different compiler from the bogus one.
2397 # However, it has the same basename, so the bogon will be chosen
2398 # first if we set CC to just the basename; use the full file name.
2400 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2406 if test -n "$CC"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2408 $as_echo "$CC" >&6; }
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2411 $as_echo "no" >&6; }
2416 if test -z "$CC"; then
2417 if test -n "$ac_tool_prefix"; then
2418 for ac_prog
in cl.exe
2420 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2421 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2423 $as_echo_n "checking for $ac_word... " >&6; }
2424 if ${ac_cv_prog_CC+:} false
; then :
2425 $as_echo_n "(cached) " >&6
2427 if test -n "$CC"; then
2428 ac_cv_prog_CC
="$CC" # Let the user override the test.
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir
=.
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2437 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 if test -n "$CC"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2450 $as_echo "$CC" >&6; }
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453 $as_echo "no" >&6; }
2457 test -n "$CC" && break
2460 if test -z "$CC"; then
2462 for ac_prog
in cl.exe
2464 # Extract the first word of "$ac_prog", so it can be a program name with args.
2465 set dummy
$ac_prog; ac_word
=$2
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2467 $as_echo_n "checking for $ac_word... " >&6; }
2468 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2469 $as_echo_n "(cached) " >&6
2471 if test -n "$ac_ct_CC"; then
2472 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir
=.
2479 for ac_exec_ext
in '' $ac_executable_extensions; do
2480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2481 ac_cv_prog_ac_ct_CC
="$ac_prog"
2482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2491 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2492 if test -n "$ac_ct_CC"; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2494 $as_echo "$ac_ct_CC" >&6; }
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2497 $as_echo "no" >&6; }
2501 test -n "$ac_ct_CC" && break
2504 if test "x$ac_ct_CC" = x
; then
2507 case $cross_compiling:$ac_tool_warned in
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2511 ac_tool_warned
=yes ;;
2520 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2522 as_fn_error $?
"no acceptable C compiler found in \$PATH
2523 See \`config.log' for more details" "$LINENO" 5; }
2525 # Provide some information about the compiler.
2526 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2529 for ac_option
in --version -v -V -qversion; do
2530 { { ac_try
="$ac_compiler $ac_option >&5"
2532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2539 if test -s conftest.err; then
2541 ... rest of stderr output deleted ...
2542 10q' conftest.err >conftest.er1
2543 cat conftest.er1 >&5
2545 rm -f conftest.er1 conftest.err
2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2547 test $ac_status = 0; }
2550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2551 /* end confdefs.h. */
2561 ac_clean_files_save=$ac_clean_files
2562 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2563 # Try to create an executable without -o first, disregard a.out.
2564 # It will help us diagnose broken compilers, and finding out an intuition
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2567 $as_echo_n "checking whether the C compiler works... " >&6; }
2568 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2570 # The possible output files:
2571 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2574 for ac_file in $ac_files
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2578 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2583 if { { ac_try="$ac_link_default"
2585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2586 *) ac_try_echo
=$ac_try;;
2588 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_link_default") 2>&5
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; }; then :
2594 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2595 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2596 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2597 # so that the user can short-circuit this test for compilers unknown to
2599 for ac_file
in $ac_files ''
2601 test -f "$ac_file" ||
continue
2603 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2606 # We found the default executable, but exeext='' is most
2610 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2612 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2614 # We set ac_cv_exeext here because the later test for it is not
2615 # safe: cross compilers may not add the suffix if given an `-o'
2616 # argument, so we may need to know it at that point already.
2617 # Even if this section looks crufty: it has the advantage of
2624 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2629 if test -z "$ac_file"; then :
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2632 $as_echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.
$ac_ext >&5
2635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2637 as_fn_error
77 "C compiler cannot create executables
2638 See \`config.log' for more details" "$LINENO" 5; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2641 $as_echo "yes" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2644 $as_echo_n "checking for C compiler default output file name... " >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2646 $as_echo "$ac_file" >&6; }
2647 ac_exeext
=$ac_cv_exeext
2649 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2650 ac_clean_files
=$ac_clean_files_save
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2652 $as_echo_n "checking for suffix of executables... " >&6; }
2653 if { { ac_try
="$ac_link"
2655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2659 $as_echo "$ac_try_echo"; } >&5
2660 (eval "$ac_link") 2>&5
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; }; then :
2664 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2665 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2666 # work properly (i.e., refer to `conftest.exe'), while it won't with
2668 for ac_file
in conftest.exe conftest conftest.
*; do
2669 test -f "$ac_file" ||
continue
2671 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2672 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2680 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2681 See \`config.log' for more details" "$LINENO" 5; }
2683 rm -f conftest conftest
$ac_cv_exeext
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2685 $as_echo "$ac_cv_exeext" >&6; }
2687 rm -f conftest.
$ac_ext
2688 EXEEXT
=$ac_cv_exeext
2690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2696 FILE *f = fopen ("conftest.out", "w");
2697 return ferror (f) || fclose (f) != 0;
2703 ac_clean_files
="$ac_clean_files conftest.out"
2704 # Check that the compiler produces executables we can run. If not, either
2705 # the compiler is broken, or we cross compile.
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2707 $as_echo_n "checking whether we are cross compiling... " >&6; }
2708 if test "$cross_compiling" != yes; then
2709 { { ac_try
="$ac_link"
2711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_link") 2>&5
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; }
2720 if { ac_try='./conftest$ac_cv_exeext'
2721 { { case "(($ac_try" in
2722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2723 *) ac_try_echo
=$ac_try;;
2725 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2726 $as_echo "$ac_try_echo"; } >&5
2727 (eval "$ac_try") 2>&5
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2730 test $ac_status = 0; }; }; then
2733 if test "$cross_compiling" = maybe
; then
2736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2738 as_fn_error $?
"cannot run C compiled programs.
2739 If you meant to cross compile, use \`--host'.
2740 See \`config.log' for more details" "$LINENO" 5; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2745 $as_echo "$cross_compiling" >&6; }
2747 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2748 ac_clean_files
=$ac_clean_files_save
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2750 $as_echo_n "checking for suffix of object files... " >&6; }
2751 if ${ac_cv_objext+:} false
; then :
2752 $as_echo_n "(cached) " >&6
2754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2765 rm -f conftest.o conftest.obj
2766 if { { ac_try
="$ac_compile"
2768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2772 $as_echo "$ac_try_echo"; } >&5
2773 (eval "$ac_compile") 2>&5
2775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; }; then :
2777 for ac_file in conftest.o conftest.obj conftest.*; do
2778 test -f "$ac_file" || continue;
2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2781 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2786 $as_echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2791 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2792 See \
`config.log' for more details" "$LINENO" 5; }
2794 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2797 $as_echo "$ac_cv_objext" >&6; }
2798 OBJEXT=$ac_cv_objext
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2801 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2802 if ${ac_cv_c_compiler_gnu+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2819 if ac_fn_c_try_compile "$LINENO"; then :
2824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2825 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2829 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2830 if test $ac_compiler_gnu = yes; then
2835 ac_test_CFLAGS=${CFLAGS+set}
2836 ac_save_CFLAGS=$CFLAGS
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2838 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2839 if ${ac_cv_prog_cc_g+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 ac_save_c_werror_flag=$ac_c_werror_flag
2843 ac_c_werror_flag=yes
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2857 if ac_fn_c_try_compile "$LINENO"; then :
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2872 if ac_fn_c_try_compile "$LINENO"; then :
2875 ac_c_werror_flag=$ac_save_c_werror_flag
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2888 if ac_fn_c_try_compile "$LINENO"; then :
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 ac_c_werror_flag=$ac_save_c_werror_flag
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2899 $as_echo "$ac_cv_prog_cc_g" >&6; }
2900 if test "$ac_test_CFLAGS" = set; then
2901 CFLAGS=$ac_save_CFLAGS
2902 elif test $ac_cv_prog_cc_g = yes; then
2903 if test "$GCC" = yes; then
2909 if test "$GCC" = yes; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2916 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2917 if ${ac_cv_prog_cc_c89+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 ac_cv_prog_cc_c89=no
2922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923 /* end confdefs.h. */
2927 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2928 struct buf { int x; };
2929 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2930 static char *e (p, i)
2936 static char *f (char * (*g) (char **, int), char **p, ...)
2941 s = g (p, va_arg (v,int));
2946 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2947 function prototypes and stuff, but not '\xHH' hex character constants.
2948 These don't provoke an error unfortunately, instead are silently treated
2949 as 'x'. The following induces an error, until -std is added to get
2950 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2951 array size at least. It's necessary to write '\x00'==0 to get something
2952 that's true only with -std. */
2953 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2955 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2956 inside strings and character constants. */
2958 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2960 int test (int i, double x);
2961 struct s1 {int (*f) (int a);};
2962 struct s2 {int (*f) (double a);};
2963 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2969 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2974 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2975 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2977 CC="$ac_save_CC $ac_arg"
2978 if ac_fn_c_try_compile "$LINENO"; then :
2979 ac_cv_prog_cc_c89=$ac_arg
2981 rm -f core conftest.err conftest.$ac_objext
2982 test "x$ac_cv_prog_cc_c89" != "xno" && break
2984 rm -f conftest.$ac_ext
2989 case "x$ac_cv_prog_cc_c89" in
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2992 $as_echo "none needed" >&6; } ;;
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2995 $as_echo "unsupported" >&6; } ;;
2997 CC="$CC $ac_cv_prog_cc_c89"
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2999 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3001 if test "x$ac_cv_prog_cc_c89" != xno; then :
3006 ac_cpp='$CPP $CPPFLAGS'
3007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3013 ac_cpp='$CPP $CPPFLAGS'
3014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3018 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3019 # On Suns, sometimes $CPP names a directory.
3020 if test -n "$CPP" && test -d "$CPP"; then
3023 if test -z "$CPP"; then
3024 if ${ac_cv_prog_CPP+:} false; then :
3025 $as_echo_n "(cached) " >&6
3027 # Double quotes because CPP needs to be expanded
3028 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3031 for ac_c_preproc_warn_flag in '' yes
3033 # Use a header file that comes with gcc, so configuring glibc
3034 # with a fresh cross-compiler works.
3035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3036 # <limits.h> exists even on freestanding compilers.
3037 # On the NeXT, cc -E runs the code through the compiler's parser,
3038 # not just through cpp. "Syntax error" is here to catch this case.
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3042 # include <limits.h>
3044 # include <assert.h>
3048 if ac_fn_c_try_cpp "$LINENO"; then :
3051 # Broken: fails on valid input.
3054 rm -f conftest.err conftest.i conftest.$ac_ext
3056 # OK, works on sane cases. Now check whether nonexistent headers
3057 # can be detected and how.
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3060 #include <ac_nonexistent.h>
3062 if ac_fn_c_try_cpp "$LINENO"; then :
3063 # Broken: success on invalid input.
3066 # Passes both tests.
3070 rm -f conftest.err conftest.i conftest.$ac_ext
3073 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3074 rm -f conftest.i conftest.err conftest.
$ac_ext
3075 if $ac_preproc_ok; then :
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3088 $as_echo "$CPP" >&6; }
3090 for ac_c_preproc_warn_flag
in '' yes
3092 # Use a header file that comes with gcc, so configuring glibc
3093 # with a fresh cross-compiler works.
3094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3095 # <limits.h> exists even on freestanding compilers.
3096 # On the NeXT, cc -E runs the code through the compiler's parser,
3097 # not just through cpp. "Syntax error" is here to catch this case.
3098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3101 # include <limits.h>
3103 # include <assert.h>
3107 if ac_fn_c_try_cpp
"$LINENO"; then :
3110 # Broken: fails on valid input.
3113 rm -f conftest.err conftest.i conftest.
$ac_ext
3115 # OK, works on sane cases. Now check whether nonexistent headers
3116 # can be detected and how.
3117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3119 #include <ac_nonexistent.h>
3121 if ac_fn_c_try_cpp
"$LINENO"; then :
3122 # Broken: success on invalid input.
3125 # Passes both tests.
3129 rm -f conftest.err conftest.i conftest.
$ac_ext
3132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3133 rm -f conftest.i conftest.err conftest.
$ac_ext
3134 if $ac_preproc_ok; then :
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3140 See \`config.log' for more details" "$LINENO" 5; }
3144 ac_cpp
='$CPP $CPPFLAGS'
3145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3151 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3152 if ${ac_cv_path_GREP+:} false
; then :
3153 $as_echo_n "(cached) " >&6
3155 if test -z "$GREP"; then
3156 ac_path_GREP_found
=false
3157 # Loop through the user's path and test for each of PROGNAME-LIST
3158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3162 test -z "$as_dir" && as_dir
=.
3163 for ac_prog
in grep ggrep
; do
3164 for ac_exec_ext
in '' $ac_executable_extensions; do
3165 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3166 as_fn_executable_p
"$ac_path_GREP" ||
continue
3167 # Check for GNU ac_path_GREP and select it if it is found.
3168 # Check for GNU $ac_path_GREP
3169 case `"$ac_path_GREP" --version 2>&1` in
3171 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3174 $as_echo_n 0123456789 >"conftest.in"
3177 cat "conftest.in" "conftest.in" >"conftest.tmp"
3178 mv "conftest.tmp" "conftest.in"
3179 cp "conftest.in" "conftest.nl"
3180 $as_echo 'GREP' >> "conftest.nl"
3181 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3182 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3183 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3184 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3185 # Best one so far, save it but keep looking for a better one
3186 ac_cv_path_GREP
="$ac_path_GREP"
3187 ac_path_GREP_max
=$ac_count
3189 # 10*(2^10) chars as input seems more than enough
3190 test $ac_count -gt 10 && break
3192 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3195 $ac_path_GREP_found && break 3
3200 if test -z "$ac_cv_path_GREP"; then
3201 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3204 ac_cv_path_GREP
=$GREP
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3209 $as_echo "$ac_cv_path_GREP" >&6; }
3210 GREP
="$ac_cv_path_GREP"
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3214 $as_echo_n "checking for egrep... " >&6; }
3215 if ${ac_cv_path_EGREP+:} false
; then :
3216 $as_echo_n "(cached) " >&6
3218 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3219 then ac_cv_path_EGREP
="$GREP -E"
3221 if test -z "$EGREP"; then
3222 ac_path_EGREP_found
=false
3223 # Loop through the user's path and test for each of PROGNAME-LIST
3224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3228 test -z "$as_dir" && as_dir
=.
3229 for ac_prog
in egrep; do
3230 for ac_exec_ext
in '' $ac_executable_extensions; do
3231 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3232 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3233 # Check for GNU ac_path_EGREP and select it if it is found.
3234 # Check for GNU $ac_path_EGREP
3235 case `"$ac_path_EGREP" --version 2>&1` in
3237 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3240 $as_echo_n 0123456789 >"conftest.in"
3243 cat "conftest.in" "conftest.in" >"conftest.tmp"
3244 mv "conftest.tmp" "conftest.in"
3245 cp "conftest.in" "conftest.nl"
3246 $as_echo 'EGREP' >> "conftest.nl"
3247 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3248 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3249 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3250 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3251 # Best one so far, save it but keep looking for a better one
3252 ac_cv_path_EGREP
="$ac_path_EGREP"
3253 ac_path_EGREP_max
=$ac_count
3255 # 10*(2^10) chars as input seems more than enough
3256 test $ac_count -gt 10 && break
3258 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3261 $ac_path_EGREP_found && break 3
3266 if test -z "$ac_cv_path_EGREP"; then
3267 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3270 ac_cv_path_EGREP
=$EGREP
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3276 $as_echo "$ac_cv_path_EGREP" >&6; }
3277 EGREP
="$ac_cv_path_EGREP"
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3281 $as_echo_n "checking for ANSI C header files... " >&6; }
3282 if ${ac_cv_header_stdc+:} false
; then :
3283 $as_echo_n "(cached) " >&6
3285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3300 if ac_fn_c_try_compile
"$LINENO"; then :
3301 ac_cv_header_stdc
=yes
3303 ac_cv_header_stdc
=no
3305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3307 if test $ac_cv_header_stdc = yes; then
3308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3315 $EGREP "memchr" >/dev
/null
2>&1; then :
3318 ac_cv_header_stdc
=no
3324 if test $ac_cv_header_stdc = yes; then
3325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3332 $EGREP "free" >/dev
/null
2>&1; then :
3335 ac_cv_header_stdc
=no
3341 if test $ac_cv_header_stdc = yes; then
3342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3343 if test "$cross_compiling" = yes; then :
3346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3350 #if ((' ' & 0x0FF) == 0x020)
3351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3354 # define ISLOWER(c) \
3355 (('a' <= (c) && (c) <= 'i') \
3356 || ('j' <= (c) && (c) <= 'r') \
3357 || ('s' <= (c) && (c) <= 'z'))
3358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3366 for (i = 0; i < 256; i++)
3367 if (XOR (islower (i), ISLOWER (i))
3368 || toupper (i) != TOUPPER (i))
3373 if ac_fn_c_try_run
"$LINENO"; then :
3376 ac_cv_header_stdc
=no
3378 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3379 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3385 $as_echo "$ac_cv_header_stdc" >&6; }
3386 if test $ac_cv_header_stdc = yes; then
3388 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3392 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3393 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3394 inttypes.h stdint.h unistd.h
3396 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3397 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3399 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3400 cat >>confdefs.h
<<_ACEOF
3401 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3410 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3411 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3418 if test "$MINIX" = yes; then
3420 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3423 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3426 $as_echo "#define _MINIX 1" >>confdefs.h
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3432 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3433 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3434 $as_echo_n "(cached) " >&6
3436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3439 # define __EXTENSIONS__ 1
3440 $ac_includes_default
3449 if ac_fn_c_try_compile
"$LINENO"; then :
3450 ac_cv_safe_to_define___extensions__
=yes
3452 ac_cv_safe_to_define___extensions__
=no
3454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3457 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3458 test $ac_cv_safe_to_define___extensions__ = yes &&
3459 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3461 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3463 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3465 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3467 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3471 ac_config_headers
="$ac_config_headers config.h"
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3476 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3478 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3479 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3480 $as_echo_n "(cached) " >&6
3482 cat >conftest.
make <<\_ACEOF
3485 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3487 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3488 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3490 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3492 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3496 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3498 $as_echo "yes" >&6; }
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 $as_echo "no" >&6; }
3503 SET_MAKE
="MAKE=${MAKE-make}"
3507 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3508 if test -f "$ac_dir/install-sh"; then
3510 ac_install_sh
="$ac_aux_dir/install-sh -c"
3512 elif test -f "$ac_dir/install.sh"; then
3514 ac_install_sh
="$ac_aux_dir/install.sh -c"
3516 elif test -f "$ac_dir/shtool"; then
3518 ac_install_sh
="$ac_aux_dir/shtool install -c"
3522 if test -z "$ac_aux_dir"; then
3523 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3526 # These three variables are undocumented and unsupported,
3527 # and are intended to be withdrawn in a future Autoconf release.
3528 # They can cause serious problems if a builder's source tree is in a directory
3529 # whose full name contains unusual characters.
3530 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3531 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3532 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3535 # Find a good install program. We prefer a C program (faster),
3536 # so one script is as good as another. But avoid the broken or
3537 # incompatible versions:
3538 # SysV /etc/install, /usr/sbin/install
3539 # SunOS /usr/etc/install
3540 # IRIX /sbin/install
3542 # AmigaOS /C/install, which installs bootblocks on floppy discs
3543 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3544 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3545 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3546 # OS/2's system install, which has a completely different semantic
3547 # ./install, which can be erroneously created by make from ./install.sh.
3548 # Reject install programs that cannot install multiple files.
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3550 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3551 if test -z "$INSTALL"; then
3552 if ${ac_cv_path_install+:} false
; then :
3553 $as_echo_n "(cached) " >&6
3555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir
=.
3560 # Account for people who put trailing slashes in PATH elements.
3561 case $as_dir/ in #((
3562 .
/ | .
// |
/[cC
]/* | \
3563 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3564 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3567 # OSF1 and SCO ODT 3.0 have their own names for install.
3568 # Don't use installbsd from OSF since it installs stuff as root
3570 for ac_prog
in ginstall scoinst
install; do
3571 for ac_exec_ext
in '' $ac_executable_extensions; do
3572 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3573 if test $ac_prog = install &&
3574 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3575 # AIX install. It has an incompatible calling convention.
3577 elif test $ac_prog = install &&
3578 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3579 # program-specific install script used by HP pwplus--don't use.
3582 rm -rf conftest.one conftest.two conftest.dir
3583 echo one
> conftest.one
3584 echo two
> conftest.two
3586 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3587 test -s conftest.one
&& test -s conftest.two
&&
3588 test -s conftest.dir
/conftest.one
&&
3589 test -s conftest.dir
/conftest.two
3591 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3604 rm -rf conftest.one conftest.two conftest.dir
3607 if test "${ac_cv_path_install+set}" = set; then
3608 INSTALL
=$ac_cv_path_install
3610 # As a last resort, use the slow shell script. Don't cache a
3611 # value for INSTALL within a source directory, because that will
3612 # break other packages using the cache if that directory is
3613 # removed, or if the value is a relative name.
3614 INSTALL
=$ac_install_sh
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3618 $as_echo "$INSTALL" >&6; }
3620 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3621 # It thinks the first close brace ends the variable substitution.
3622 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3624 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3626 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3630 if test -n "$ac_aux_dir"; then
3631 case "$ac_aux_dir" in
3632 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3633 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3636 if test -z "$MKINSTALLDIRS"; then
3637 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3643 $as_echo_n "checking whether NLS is requested... " >&6; }
3644 # Check whether --enable-nls was given.
3645 if test "${enable_nls+set}" = set; then :
3646 enableval
=$enable_nls; USE_NLS
=$enableval
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3652 $as_echo "$USE_NLS" >&6; }
3659 # Prepare PATH_SEPARATOR.
3660 # The user is always right.
3661 if test "${PATH_SEPARATOR+set}" != set; then
3662 echo "#! /bin/sh" >conf$$.sh
3663 echo "exit 0" >>conf$$.sh
3665 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3673 # Find out how to test for executable files. Don't use a zero-byte file,
3674 # as systems may use methods other than mode bits to determine executability.
3675 cat >conf$$.
file <<_ASEOF
3679 chmod +x conf$$.
file
3680 if test -x conf$$.
file >/dev
/null
2>&1; then
3681 ac_executable_p
="test -x"
3683 ac_executable_p
="test -f"
3687 # Extract the first word of "msgfmt", so it can be a program name with args.
3688 set dummy msgfmt
; ac_word
=$2
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3690 $as_echo_n "checking for $ac_word... " >&6; }
3691 if ${ac_cv_path_MSGFMT+:} false
; then :
3692 $as_echo_n "(cached) " >&6
3696 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3699 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3700 for ac_dir
in $PATH; do
3702 test -z "$ac_dir" && ac_dir
=.
3703 for ac_exec_ext
in '' $ac_executable_extensions; do
3704 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3705 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3706 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3707 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3714 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3718 MSGFMT
="$ac_cv_path_MSGFMT"
3719 if test "$MSGFMT" != ":"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3721 $as_echo "$MSGFMT" >&6; }
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3727 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3728 set dummy gmsgfmt
; ac_word
=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_path_GMSGFMT+:} false
; then :
3732 $as_echo_n "(cached) " >&6
3736 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3743 test -z "$as_dir" && as_dir
=.
3744 for ac_exec_ext
in '' $ac_executable_extensions; do
3745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3746 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3758 GMSGFMT
=$ac_cv_path_GMSGFMT
3759 if test -n "$GMSGFMT"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3761 $as_echo "$GMSGFMT" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3770 # Prepare PATH_SEPARATOR.
3771 # The user is always right.
3772 if test "${PATH_SEPARATOR+set}" != set; then
3773 echo "#! /bin/sh" >conf$$.sh
3774 echo "exit 0" >>conf$$.sh
3776 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3784 # Find out how to test for executable files. Don't use a zero-byte file,
3785 # as systems may use methods other than mode bits to determine executability.
3786 cat >conf$$.
file <<_ASEOF
3790 chmod +x conf$$.
file
3791 if test -x conf$$.
file >/dev
/null
2>&1; then
3792 ac_executable_p
="test -x"
3794 ac_executable_p
="test -f"
3798 # Extract the first word of "xgettext", so it can be a program name with args.
3799 set dummy xgettext
; ac_word
=$2
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3801 $as_echo_n "checking for $ac_word... " >&6; }
3802 if ${ac_cv_path_XGETTEXT+:} false
; then :
3803 $as_echo_n "(cached) " >&6
3807 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3810 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3811 for ac_dir
in $PATH; do
3813 test -z "$ac_dir" && ac_dir
=.
3814 for ac_exec_ext
in '' $ac_executable_extensions; do
3815 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3816 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3817 (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
3818 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
3825 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3829 XGETTEXT
="$ac_cv_path_XGETTEXT"
3830 if test "$XGETTEXT" != ":"; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3832 $as_echo "$XGETTEXT" >&6; }
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3841 # Prepare PATH_SEPARATOR.
3842 # The user is always right.
3843 if test "${PATH_SEPARATOR+set}" != set; then
3844 echo "#! /bin/sh" >conf$$.sh
3845 echo "exit 0" >>conf$$.sh
3847 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3855 # Find out how to test for executable files. Don't use a zero-byte file,
3856 # as systems may use methods other than mode bits to determine executability.
3857 cat >conf$$.
file <<_ASEOF
3861 chmod +x conf$$.
file
3862 if test -x conf$$.
file >/dev
/null
2>&1; then
3863 ac_executable_p
="test -x"
3865 ac_executable_p
="test -f"
3869 # Extract the first word of "msgmerge", so it can be a program name with args.
3870 set dummy msgmerge
; ac_word
=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if ${ac_cv_path_MSGMERGE+:} false
; then :
3874 $as_echo_n "(cached) " >&6
3878 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
3881 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3882 for ac_dir
in $PATH; do
3884 test -z "$ac_dir" && ac_dir
=.
3885 for ac_exec_ext
in '' $ac_executable_extensions; do
3886 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3887 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
3888 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
3895 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
3899 MSGMERGE
="$ac_cv_path_MSGMERGE"
3900 if test "$MSGMERGE" != ":"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3902 $as_echo "$MSGMERGE" >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3909 if test "$GMSGFMT" != ":"; then
3910 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
3911 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3914 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3916 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
3921 if test "$XGETTEXT" != ":"; then
3922 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3923 (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
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
3927 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
3933 ac_config_commands
="$ac_config_commands default-1"
3936 # Make sure we can run config.sub.
3937 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3938 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3941 $as_echo_n "checking build system type... " >&6; }
3942 if ${ac_cv_build+:} false
; then :
3943 $as_echo_n "(cached) " >&6
3945 ac_build_alias
=$build_alias
3946 test "x$ac_build_alias" = x
&&
3947 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3948 test "x$ac_build_alias" = x
&&
3949 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3950 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3951 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3955 $as_echo "$ac_cv_build" >&6; }
3956 case $ac_cv_build in
3958 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3961 ac_save_IFS
=$IFS; IFS
='-'
3967 # Remember, the first character of IFS is used to create $*,
3968 # except with old shells:
3971 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3975 $as_echo_n "checking host system type... " >&6; }
3976 if ${ac_cv_host+:} false
; then :
3977 $as_echo_n "(cached) " >&6
3979 if test "x$host_alias" = x
; then
3980 ac_cv_host
=$ac_cv_build
3982 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3983 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3988 $as_echo "$ac_cv_host" >&6; }
3991 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3994 ac_save_IFS
=$IFS; IFS
='-'
4000 # Remember, the first character of IFS is used to create $*,
4001 # except with old shells:
4004 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4007 if test -n "$ac_tool_prefix"; then
4008 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4009 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4011 $as_echo_n "checking for $ac_word... " >&6; }
4012 if ${ac_cv_prog_RANLIB+:} false
; then :
4013 $as_echo_n "(cached) " >&6
4015 if test -n "$RANLIB"; then
4016 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4022 test -z "$as_dir" && as_dir
=.
4023 for ac_exec_ext
in '' $ac_executable_extensions; do
4024 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4025 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 RANLIB
=$ac_cv_prog_RANLIB
4036 if test -n "$RANLIB"; then
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4038 $as_echo "$RANLIB" >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4041 $as_echo "no" >&6; }
4046 if test -z "$ac_cv_prog_RANLIB"; then
4047 ac_ct_RANLIB
=$RANLIB
4048 # Extract the first word of "ranlib", so it can be a program name with args.
4049 set dummy ranlib
; ac_word
=$2
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4051 $as_echo_n "checking for $ac_word... " >&6; }
4052 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4053 $as_echo_n "(cached) " >&6
4055 if test -n "$ac_ct_RANLIB"; then
4056 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4062 test -z "$as_dir" && as_dir
=.
4063 for ac_exec_ext
in '' $ac_executable_extensions; do
4064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4065 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4075 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4076 if test -n "$ac_ct_RANLIB"; then
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4078 $as_echo "$ac_ct_RANLIB" >&6; }
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081 $as_echo "no" >&6; }
4084 if test "x$ac_ct_RANLIB" = x
; then
4087 case $cross_compiling:$ac_tool_warned in
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4091 ac_tool_warned
=yes ;;
4093 RANLIB
=$ac_ct_RANLIB
4096 RANLIB
="$ac_cv_prog_RANLIB"
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4100 $as_echo_n "checking for library containing strerror... " >&6; }
4101 if ${ac_cv_search_strerror+:} false
; then :
4102 $as_echo_n "(cached) " >&6
4104 ac_func_search_save_LIBS
=$LIBS
4105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4108 /* Override any GCC internal prototype to avoid an error.
4109 Use char because int might match the return type of a GCC
4110 builtin and then its argument prototype would still apply. */
4123 for ac_lib
in '' cposix
; do
4124 if test -z "$ac_lib"; then
4125 ac_res
="none required"
4128 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4130 if ac_fn_c_try_link
"$LINENO"; then :
4131 ac_cv_search_strerror
=$ac_res
4133 rm -f core conftest.err conftest.
$ac_objext \
4135 if ${ac_cv_search_strerror+:} false
; then :
4139 if ${ac_cv_search_strerror+:} false
; then :
4142 ac_cv_search_strerror
=no
4145 LIBS
=$ac_func_search_save_LIBS
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4148 $as_echo "$ac_cv_search_strerror" >&6; }
4149 ac_res
=$ac_cv_search_strerror
4150 if test "$ac_res" != no
; then :
4151 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4156 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4157 if ${ac_cv_c_const+:} false
; then :
4158 $as_echo_n "(cached) " >&6
4160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4168 /* Ultrix mips cc rejects this sort of thing. */
4169 typedef int charset[2];
4170 const charset cs = { 0, 0 };
4171 /* SunOS 4.1.1 cc rejects this. */
4172 char const *const *pcpcc;
4174 /* NEC SVR4.0.2 mips cc rejects this. */
4175 struct point {int x, y;};
4176 static struct point const zero = {0,0};
4177 /* AIX XL C 1.02.0.0 rejects this.
4178 It does not let you subtract one const X* pointer from another in
4179 an arm of an if-expression whose if-part is not a constant
4181 const char *g = "string";
4182 pcpcc = &g + (g ? g-g : 0);
4183 /* HPUX 7.0 cc rejects these. */
4185 ppc = (char**) pcpcc;
4186 pcpcc = (char const *const *) ppc;
4187 { /* SCO 3.2v4 cc rejects this sort of thing. */
4190 char const *s = 0 ? (char *) 0 : (char const *) 0;
4195 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4197 const int *foo = &x[0];
4200 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4201 typedef const int *iptr;
4205 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4206 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4207 struct s { int j; const int *ap[3]; } bx;
4208 struct s *b = &bx; b->j = 5;
4210 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4214 return !cs[0] && !zero.x;
4221 if ac_fn_c_try_compile
"$LINENO"; then :
4226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4229 $as_echo "$ac_cv_c_const" >&6; }
4230 if test $ac_cv_c_const = no
; then
4232 $as_echo "#define const /**/" >>confdefs.h
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4237 $as_echo_n "checking for inline... " >&6; }
4238 if ${ac_cv_c_inline+:} false
; then :
4239 $as_echo_n "(cached) " >&6
4242 for ac_kw
in inline __inline__ __inline
; do
4243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4247 static $ac_kw foo_t static_foo () {return 0; }
4248 $ac_kw foo_t foo () {return 0; }
4252 if ac_fn_c_try_compile
"$LINENO"; then :
4253 ac_cv_c_inline
=$ac_kw
4255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4256 test "$ac_cv_c_inline" != no
&& break
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4261 $as_echo "$ac_cv_c_inline" >&6; }
4263 case $ac_cv_c_inline in
4266 case $ac_cv_c_inline in
4268 *) ac_val
=$ac_cv_c_inline;;
4270 cat >>confdefs.h
<<_ACEOF
4272 #define inline $ac_val
4278 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4279 if test "x$ac_cv_type_off_t" = xyes
; then :
4283 cat >>confdefs.h
<<_ACEOF
4284 #define off_t long int
4289 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4290 if test "x$ac_cv_type_size_t" = xyes
; then :
4294 cat >>confdefs.h
<<_ACEOF
4295 #define size_t unsigned int
4300 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4301 # for constant arguments. Useless!
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4303 $as_echo_n "checking for working alloca.h... " >&6; }
4304 if ${ac_cv_working_alloca_h+:} false
; then :
4305 $as_echo_n "(cached) " >&6
4307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4313 char *p = (char *) alloca (2 * sizeof (int));
4319 if ac_fn_c_try_link
"$LINENO"; then :
4320 ac_cv_working_alloca_h
=yes
4322 ac_cv_working_alloca_h
=no
4324 rm -f core conftest.err conftest.
$ac_objext \
4325 conftest
$ac_exeext conftest.
$ac_ext
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4328 $as_echo "$ac_cv_working_alloca_h" >&6; }
4329 if test $ac_cv_working_alloca_h = yes; then
4331 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4336 $as_echo_n "checking for alloca... " >&6; }
4337 if ${ac_cv_func_alloca_works+:} false
; then :
4338 $as_echo_n "(cached) " >&6
4340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4343 # define alloca __builtin_alloca
4346 # include <malloc.h>
4347 # define alloca _alloca
4349 # ifdef HAVE_ALLOCA_H
4350 # include <alloca.h>
4355 # ifndef alloca /* predefined by HP cc +Olibcalls */
4356 void *alloca (size_t);
4366 char *p = (char *) alloca (1);
4372 if ac_fn_c_try_link
"$LINENO"; then :
4373 ac_cv_func_alloca_works
=yes
4375 ac_cv_func_alloca_works
=no
4377 rm -f core conftest.err conftest.
$ac_objext \
4378 conftest
$ac_exeext conftest.
$ac_ext
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4381 $as_echo "$ac_cv_func_alloca_works" >&6; }
4383 if test $ac_cv_func_alloca_works = yes; then
4385 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4388 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4389 # that cause trouble. Some versions do not even contain alloca or
4390 # contain a buggy version. If you still want to use their alloca,
4391 # use ar to extract alloca.o from them instead of compiling alloca.c.
4393 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
4395 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4399 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4400 if ${ac_cv_os_cray+:} false
; then :
4401 $as_echo_n "(cached) " >&6
4403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4405 #if defined CRAY && ! defined CRAY2
4412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4413 $EGREP "webecray" >/dev
/null
2>&1; then :
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4422 $as_echo "$ac_cv_os_cray" >&6; }
4423 if test $ac_cv_os_cray = yes; then
4424 for ac_func
in _getb67 GETB67 getb67
; do
4425 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4426 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4427 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4429 cat >>confdefs.h
<<_ACEOF
4430 #define CRAY_STACKSEG_END $ac_func
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4440 $as_echo_n "checking stack direction for C alloca... " >&6; }
4441 if ${ac_cv_c_stack_direction+:} false
; then :
4442 $as_echo_n "(cached) " >&6
4444 if test "$cross_compiling" = yes; then :
4445 ac_cv_c_stack_direction
=0
4447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4449 $ac_includes_default
4451 find_stack_direction (int *addr, int depth)
4456 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
4457 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
4462 main (int argc, char **argv)
4464 return find_stack_direction (0, argc + !argv + 20) < 0;
4467 if ac_fn_c_try_run
"$LINENO"; then :
4468 ac_cv_c_stack_direction
=1
4470 ac_cv_c_stack_direction
=-1
4472 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4473 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4478 $as_echo "$ac_cv_c_stack_direction" >&6; }
4479 cat >>confdefs.h
<<_ACEOF
4480 #define STACK_DIRECTION $ac_cv_c_stack_direction
4489 for ac_header
in $ac_header_list
4491 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4492 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4494 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4495 cat >>confdefs.h
<<_ACEOF
4496 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4510 for ac_func
in getpagesize
4512 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4513 if test "x$ac_cv_func_getpagesize" = xyes
; then :
4514 cat >>confdefs.h
<<_ACEOF
4515 #define HAVE_GETPAGESIZE 1
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4522 $as_echo_n "checking for working mmap... " >&6; }
4523 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
4524 $as_echo_n "(cached) " >&6
4526 if test "$cross_compiling" = yes; then :
4527 ac_cv_func_mmap_fixed_mapped
=no
4529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4531 $ac_includes_default
4532 /* malloc might have been renamed as rpl_malloc. */
4535 /* Thanks to Mike Haertel and Jim Avera for this test.
4536 Here is a matrix of mmap possibilities:
4537 mmap private not fixed
4538 mmap private fixed at somewhere currently unmapped
4539 mmap private fixed at somewhere already mapped
4540 mmap shared not fixed
4541 mmap shared fixed at somewhere currently unmapped
4542 mmap shared fixed at somewhere already mapped
4543 For private mappings, we should verify that changes cannot be read()
4544 back from the file, nor mmap's back from the file at a different
4545 address. (There have been systems where private was not correctly
4546 implemented like the infamous i386 svr4.0, and systems where the
4547 VM page cache was not coherent with the file system buffer cache
4548 like early versions of FreeBSD and possibly contemporary NetBSD.)
4549 For shared mappings, we should conversely verify that changes get
4550 propagated back to all the places they're supposed to be.
4552 Grep wants private fixed already mapped.
4553 The main things grep needs to know about mmap are:
4554 * does it exist and is it safe to write into the mmap'd area
4555 * how to use it (BSD variants) */
4558 #include <sys/mman.h>
4560 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4564 /* This mess was copied from the GNU getpagesize.h. */
4565 #ifndef HAVE_GETPAGESIZE
4566 # ifdef _SC_PAGESIZE
4567 # define getpagesize() sysconf(_SC_PAGESIZE)
4568 # else /* no _SC_PAGESIZE */
4569 # ifdef HAVE_SYS_PARAM_H
4570 # include <sys/param.h>
4571 # ifdef EXEC_PAGESIZE
4572 # define getpagesize() EXEC_PAGESIZE
4573 # else /* no EXEC_PAGESIZE */
4575 # define getpagesize() NBPG * CLSIZE
4578 # endif /* no CLSIZE */
4579 # else /* no NBPG */
4581 # define getpagesize() NBPC
4582 # else /* no NBPC */
4584 # define getpagesize() PAGESIZE
4585 # endif /* PAGESIZE */
4586 # endif /* no NBPC */
4587 # endif /* no NBPG */
4588 # endif /* no EXEC_PAGESIZE */
4589 # else /* no HAVE_SYS_PARAM_H */
4590 # define getpagesize() 8192 /* punt totally */
4591 # endif /* no HAVE_SYS_PARAM_H */
4592 # endif /* no _SC_PAGESIZE */
4594 #endif /* no HAVE_GETPAGESIZE */
4599 char *data, *data2, *data3;
4604 pagesize = getpagesize ();
4606 /* First, make a file with some known garbage in it. */
4607 data = (char *) malloc (pagesize);
4610 for (i = 0; i < pagesize; ++i)
4611 *(data + i) = rand ();
4613 fd = creat ("conftest.mmap", 0600);
4616 if (write (fd, data, pagesize) != pagesize)
4620 /* Next, check that the tail of a page is zero-filled. File must have
4621 non-zero length, otherwise we risk SIGBUS for entire page. */
4622 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4626 if (write (fd2, cdata2, 1) != 1)
4628 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4629 if (data2 == MAP_FAILED)
4631 for (i = 0; i < pagesize; ++i)
4635 if (munmap (data2, pagesize))
4638 /* Next, try to mmap the file at a fixed address which already has
4639 something else allocated at it. If we can, also make sure that
4640 we see the same garbage. */
4641 fd = open ("conftest.mmap", O_RDWR);
4644 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4645 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4647 for (i = 0; i < pagesize; ++i)
4648 if (*(data + i) != *(data2 + i))
4651 /* Finally, make sure that changes to the mapped area do not
4652 percolate back to the file as seen by read(). (This is a bug on
4653 some variants of i386 svr4.0.) */
4654 for (i = 0; i < pagesize; ++i)
4655 *(data2 + i) = *(data2 + i) + 1;
4656 data3 = (char *) malloc (pagesize);
4659 if (read (fd, data3, pagesize) != pagesize)
4661 for (i = 0; i < pagesize; ++i)
4662 if (*(data + i) != *(data3 + i))
4668 if ac_fn_c_try_run
"$LINENO"; then :
4669 ac_cv_func_mmap_fixed_mapped
=yes
4671 ac_cv_func_mmap_fixed_mapped
=no
4673 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4674 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4679 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4680 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4682 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4685 rm -f conftest.mmap conftest.txt
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
4689 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
4690 if ${ac_cv_gnu_library_2_1+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4696 #include <features.h>
4697 #ifdef __GNU_LIBRARY__
4698 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4705 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
4706 ac_cv_gnu_library_2_1
=yes
4708 ac_cv_gnu_library_2_1
=no
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
4716 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
4718 GLIBC21
="$ac_cv_gnu_library_2_1"
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
4724 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
4725 if ${gt_cv_int_divbyzero_sigfpe+:} false
; then :
4726 $as_echo_n "(cached) " >&6
4729 if test "$cross_compiling" = yes; then :
4731 # Guess based on the CPU.
4733 alpha
* | i3456786 | m68k | s390
*)
4734 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
4736 gt_cv_int_divbyzero_sigfpe
="guessing no";;
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4748 sigfpe_handler (int sig)
4750 sigfpe_handler (sig) int sig;
4753 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
4754 exit (sig != SIGFPE);
4764 signal (SIGFPE, sigfpe_handler);
4765 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
4766 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
4767 signal (SIGTRAP, sigfpe_handler);
4769 /* Linux/SPARC yields signal SIGILL. */
4770 #if defined (__sparc__) && defined (__linux__)
4771 signal (SIGILL, sigfpe_handler);
4780 if ac_fn_c_try_run
"$LINENO"; then :
4781 gt_cv_int_divbyzero_sigfpe
=yes
4783 gt_cv_int_divbyzero_sigfpe
=no
4785 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4786 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
4792 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
4793 case "$gt_cv_int_divbyzero_sigfpe" in
4798 cat >>confdefs.h
<<_ACEOF
4799 #define INTDIV0_RAISES_SIGFPE $value
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4805 $as_echo_n "checking for inttypes.h... " >&6; }
4806 if ${jm_ac_cv_header_inttypes_h+:} false
; then :
4807 $as_echo_n "(cached) " >&6
4809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4811 #include <sys/types.h>
4812 #include <inttypes.h>
4816 uintmax_t i = (uintmax_t) -1;
4821 if ac_fn_c_try_compile
"$LINENO"; then :
4822 jm_ac_cv_header_inttypes_h
=yes
4824 jm_ac_cv_header_inttypes_h
=no
4826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
4829 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
4830 if test $jm_ac_cv_header_inttypes_h = yes; then
4832 cat >>confdefs.h
<<_ACEOF
4833 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
4840 $as_echo_n "checking for stdint.h... " >&6; }
4841 if ${jm_ac_cv_header_stdint_h+:} false
; then :
4842 $as_echo_n "(cached) " >&6
4844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4846 #include <sys/types.h>
4851 uintmax_t i = (uintmax_t) -1;
4856 if ac_fn_c_try_compile
"$LINENO"; then :
4857 jm_ac_cv_header_stdint_h
=yes
4859 jm_ac_cv_header_stdint_h
=no
4861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
4864 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
4865 if test $jm_ac_cv_header_stdint_h = yes; then
4867 cat >>confdefs.h
<<_ACEOF
4868 #define HAVE_STDINT_H_WITH_UINTMAX 1
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
4875 $as_echo_n "checking for unsigned long long... " >&6; }
4876 if ${ac_cv_type_unsigned_long_long+:} false
; then :
4877 $as_echo_n "(cached) " >&6
4879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4881 unsigned long long ull = 1; int i = 63;
4885 unsigned long long ullmax = (unsigned long long) -1;
4886 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4891 if ac_fn_c_try_link
"$LINENO"; then :
4892 ac_cv_type_unsigned_long_long
=yes
4894 ac_cv_type_unsigned_long_long
=no
4896 rm -f core conftest.err conftest.
$ac_objext \
4897 conftest
$ac_exeext conftest.
$ac_ext
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
4900 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
4901 if test $ac_cv_type_unsigned_long_long = yes; then
4903 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
4910 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
4912 test $ac_cv_type_unsigned_long_long = yes \
4913 && ac_type
='unsigned long long' \
4914 || ac_type
='unsigned long'
4916 cat >>confdefs.h
<<_ACEOF
4917 #define uintmax_t $ac_type
4922 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4928 $as_echo_n "checking for inttypes.h... " >&6; }
4929 if ${gt_cv_header_inttypes_h+:} false
; then :
4930 $as_echo_n "(cached) " >&6
4933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4935 #include <sys/types.h>
4936 #include <inttypes.h>
4945 if ac_fn_c_try_compile
"$LINENO"; then :
4946 gt_cv_header_inttypes_h
=yes
4948 gt_cv_header_inttypes_h
=no
4950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
4954 $as_echo "$gt_cv_header_inttypes_h" >&6; }
4955 if test $gt_cv_header_inttypes_h = yes; then
4957 cat >>confdefs.h
<<_ACEOF
4958 #define HAVE_INTTYPES_H 1
4965 if test $gt_cv_header_inttypes_h = yes; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
4967 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
4968 if ${gt_cv_inttypes_pri_broken+:} false
; then :
4969 $as_echo_n "(cached) " >&6
4972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4974 #include <inttypes.h>
4987 if ac_fn_c_try_compile
"$LINENO"; then :
4988 gt_cv_inttypes_pri_broken
=no
4990 gt_cv_inttypes_pri_broken
=yes
4992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
4996 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
4998 if test "$gt_cv_inttypes_pri_broken" = yes; then
5000 cat >>confdefs.h
<<_ACEOF
5001 #define PRI_MACROS_BROKEN 1
5007 if test "X$prefix" = "XNONE"; then
5008 acl_final_prefix
="$ac_default_prefix"
5010 acl_final_prefix
="$prefix"
5012 if test "X$exec_prefix" = "XNONE"; then
5013 acl_final_exec_prefix
='${prefix}'
5015 acl_final_exec_prefix
="$exec_prefix"
5017 acl_save_prefix
="$prefix"
5018 prefix
="$acl_final_prefix"
5019 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5020 prefix
="$acl_save_prefix"
5023 # Check whether --with-gnu-ld was given.
5024 if test "${with_gnu_ld+set}" = set; then :
5025 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5030 # Prepare PATH_SEPARATOR.
5031 # The user is always right.
5032 if test "${PATH_SEPARATOR+set}" != set; then
5033 echo "#! /bin/sh" >conf$$.sh
5034 echo "exit 0" >>conf$$.sh
5036 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5044 if test "$GCC" = yes; then
5045 # Check if gcc -print-prog-name=ld gives a path.
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5047 $as_echo_n "checking for ld used by GCC... " >&6; }
5050 # gcc leaves a trailing carriage return which upsets mingw
5051 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5053 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5056 # Accept absolute paths.
5057 [\\/]* |
[A-Za-z
]:[\\/]*)
5058 re_direlt
='/[^/][^/]*/\.\./'
5059 # Canonicalize the path of ld
5060 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5061 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5062 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5064 test -z "$LD" && LD
="$ac_prog"
5067 # If it fails, then pretend we aren't using GCC.
5071 # If it is relative, then search for the first ld in PATH.
5075 elif test "$with_gnu_ld" = yes; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5077 $as_echo_n "checking for GNU ld... " >&6; }
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5080 $as_echo_n "checking for non-GNU ld... " >&6; }
5082 if ${acl_cv_path_LD+:} false
; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -z "$LD"; then
5086 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5087 for ac_dir
in $PATH; do
5088 test -z "$ac_dir" && ac_dir
=.
5089 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5090 acl_cv_path_LD
="$ac_dir/$ac_prog"
5091 # Check to see if the program is GNU ld. I'd rather use --version,
5092 # but apparently some GNU ld's only accept -v.
5093 # Break only if it was the GNU/non-GNU ld that we prefer.
5094 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
$EGREP '(GNU|with BFD)' > /dev
/null
; then
5095 test "$with_gnu_ld" != no
&& break
5097 test "$with_gnu_ld" != yes && break
5103 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5107 LD
="$acl_cv_path_LD"
5108 if test -n "$LD"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5110 $as_echo "$LD" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5115 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5117 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5118 if ${acl_cv_prog_gnu_ld+:} false
; then :
5119 $as_echo_n "(cached) " >&6
5121 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5122 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
5123 acl_cv_prog_gnu_ld
=yes
5125 acl_cv_prog_gnu_ld
=no
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5129 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5130 with_gnu_ld
=$acl_cv_prog_gnu_ld
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5135 $as_echo_n "checking for shared library run path origin... " >&6; }
5136 if ${acl_cv_rpath+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5140 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5141 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5148 $as_echo "$acl_cv_rpath" >&6; }
5150 libext
="$acl_cv_libext"
5151 shlibext
="$acl_cv_shlibext"
5152 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5153 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5154 hardcode_direct
="$acl_cv_hardcode_direct"
5155 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5156 # Check whether --enable-rpath was given.
5157 if test "${enable_rpath+set}" = set; then :
5158 enableval
=$enable_rpath; :
5172 acl_save_prefix
="$prefix"
5173 prefix
="$acl_final_prefix"
5174 acl_save_exec_prefix
="$exec_prefix"
5175 exec_prefix
="$acl_final_exec_prefix"
5177 eval additional_includedir
=\"$includedir\"
5178 eval additional_libdir
=\"$libdir\"
5180 exec_prefix
="$acl_save_exec_prefix"
5181 prefix
="$acl_save_prefix"
5184 # Check whether --with-libiconv-prefix was given.
5185 if test "${with_libiconv_prefix+set}" = set; then :
5186 withval
=$with_libiconv_prefix;
5187 if test "X$withval" = "Xno"; then
5190 if test "X$withval" = "X"; then
5192 acl_save_prefix
="$prefix"
5193 prefix
="$acl_final_prefix"
5194 acl_save_exec_prefix
="$exec_prefix"
5195 exec_prefix
="$acl_final_exec_prefix"
5197 eval additional_includedir
=\"$includedir\"
5198 eval additional_libdir
=\"$libdir\"
5200 exec_prefix
="$acl_save_exec_prefix"
5201 prefix
="$acl_save_prefix"
5204 additional_includedir
="$withval/include"
5205 additional_libdir
="$withval/lib"
5212 # Check whether --with-libiconv-type was given.
5213 if test "${with_libiconv_type+set}" = set; then :
5214 withval
=$with_libiconv_type; with_libiconv_type
=$withval
5216 with_libiconv_type
=auto
5219 lib_type
=`eval echo \$with_libiconv_type`
5226 names_already_handled
=
5227 names_next_round
='iconv '
5228 while test -n "$names_next_round"; do
5229 names_this_round
="$names_next_round"
5231 for name
in $names_this_round; do
5233 for n
in $names_already_handled; do
5234 if test "$n" = "$name"; then
5239 if test -z "$already_handled"; then
5240 names_already_handled
="$names_already_handled $name"
5241 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5242 eval value
=\"\
$HAVE_LIB$uppername\"
5243 if test -n "$value"; then
5244 if test "$value" = yes; then
5245 eval value
=\"\
$LIB$uppername\"
5246 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5247 eval value
=\"\
$LTLIB$uppername\"
5248 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5257 if test $use_additional = yes; then
5258 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
5259 found_dir
="$additional_libdir"
5260 found_so
="$additional_libdir/lib$name.$shlibext"
5261 if test -f "$additional_libdir/lib$name.la"; then
5262 found_la
="$additional_libdir/lib$name.la"
5264 elif test x
$lib_type != xshared
; then
5265 if test -f "$additional_libdir/lib$name.$libext"; then
5266 found_dir
="$additional_libdir"
5267 found_a
="$additional_libdir/lib$name.$libext"
5268 if test -f "$additional_libdir/lib$name.la"; then
5269 found_la
="$additional_libdir/lib$name.la"
5274 if test "X$found_dir" = "X"; then
5275 for x
in $LDFLAGS $LTLIBICONV; do
5277 acl_save_prefix
="$prefix"
5278 prefix
="$acl_final_prefix"
5279 acl_save_exec_prefix
="$exec_prefix"
5280 exec_prefix
="$acl_final_exec_prefix"
5282 exec_prefix
="$acl_save_exec_prefix"
5283 prefix
="$acl_save_prefix"
5287 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5288 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
5290 found_so
="$dir/lib$name.$shlibext"
5291 if test -f "$dir/lib$name.la"; then
5292 found_la
="$dir/lib$name.la"
5294 elif test x
$lib_type != xshared
; then
5295 if test -f "$dir/lib$name.$libext"; then
5297 found_a
="$dir/lib$name.$libext"
5298 if test -f "$dir/lib$name.la"; then
5299 found_la
="$dir/lib$name.la"
5305 if test "X$found_dir" != "X"; then
5310 if test "X$found_dir" != "X"; then
5311 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5312 if test "X$found_so" != "X"; then
5313 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5314 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5317 for x
in $ltrpathdirs; do
5318 if test "X$x" = "X$found_dir"; then
5323 if test -z "$haveit"; then
5324 ltrpathdirs
="$ltrpathdirs $found_dir"
5326 if test "$hardcode_direct" = yes; then
5327 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5329 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5330 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5332 for x
in $rpathdirs; do
5333 if test "X$x" = "X$found_dir"; then
5338 if test -z "$haveit"; then
5339 rpathdirs
="$rpathdirs $found_dir"
5343 for x
in $LDFLAGS $LIBICONV; do
5345 acl_save_prefix
="$prefix"
5346 prefix
="$acl_final_prefix"
5347 acl_save_exec_prefix
="$exec_prefix"
5348 exec_prefix
="$acl_final_exec_prefix"
5350 exec_prefix
="$acl_save_exec_prefix"
5351 prefix
="$acl_save_prefix"
5353 if test "X$x" = "X-L$found_dir"; then
5358 if test -z "$haveit"; then
5359 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5361 if test "$hardcode_minus_L" != no
; then
5362 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5364 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5370 if test "X$found_a" != "X"; then
5371 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5373 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5376 additional_includedir
=
5377 case "$found_dir" in
5379 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5380 additional_includedir
="$basedir/include"
5383 if test "X$additional_includedir" != "X"; then
5384 if test "X$additional_includedir" != "X/usr/include"; then
5386 if test "X$additional_includedir" = "X/usr/local/include"; then
5387 if test -n "$GCC"; then
5389 linux
*) haveit
=yes;;
5393 if test -z "$haveit"; then
5394 for x
in $CPPFLAGS $INCICONV; do
5396 acl_save_prefix
="$prefix"
5397 prefix
="$acl_final_prefix"
5398 acl_save_exec_prefix
="$exec_prefix"
5399 exec_prefix
="$acl_final_exec_prefix"
5401 exec_prefix
="$acl_save_exec_prefix"
5402 prefix
="$acl_save_prefix"
5404 if test "X$x" = "X-I$additional_includedir"; then
5409 if test -z "$haveit"; then
5410 if test -d "$additional_includedir"; then
5411 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5417 if test -n "$found_la"; then
5418 save_libdir
="$libdir"
5420 */* |
*\\*) .
"$found_la" ;;
5421 *) .
"./$found_la" ;;
5423 libdir
="$save_libdir"
5424 for dep
in $dependency_libs; do
5427 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5428 if test "X$additional_libdir" != "X/usr/lib"; then
5430 if test "X$additional_libdir" = "X/usr/local/lib"; then
5431 if test -n "$GCC"; then
5433 linux
*) haveit
=yes;;
5437 if test -z "$haveit"; then
5439 for x
in $LDFLAGS $LIBICONV; do
5441 acl_save_prefix
="$prefix"
5442 prefix
="$acl_final_prefix"
5443 acl_save_exec_prefix
="$exec_prefix"
5444 exec_prefix
="$acl_final_exec_prefix"
5446 exec_prefix
="$acl_save_exec_prefix"
5447 prefix
="$acl_save_prefix"
5449 if test "X$x" = "X-L$additional_libdir"; then
5454 if test -z "$haveit"; then
5455 if test -d "$additional_libdir"; then
5456 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5460 for x
in $LDFLAGS $LTLIBICONV; do
5462 acl_save_prefix
="$prefix"
5463 prefix
="$acl_final_prefix"
5464 acl_save_exec_prefix
="$exec_prefix"
5465 exec_prefix
="$acl_final_exec_prefix"
5467 exec_prefix
="$acl_save_exec_prefix"
5468 prefix
="$acl_save_prefix"
5470 if test "X$x" = "X-L$additional_libdir"; then
5475 if test -z "$haveit"; then
5476 if test -d "$additional_libdir"; then
5477 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5484 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5485 if test "$enable_rpath" != no
; then
5487 for x
in $rpathdirs; do
5488 if test "X$x" = "X$dir"; then
5493 if test -z "$haveit"; then
5494 rpathdirs
="$rpathdirs $dir"
5497 for x
in $ltrpathdirs; do
5498 if test "X$x" = "X$dir"; then
5503 if test -z "$haveit"; then
5504 ltrpathdirs
="$ltrpathdirs $dir"
5509 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5512 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5515 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5516 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5522 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
5523 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5524 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5526 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
5527 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
5534 if test "X$rpathdirs" != "X"; then
5535 if test -n "$hardcode_libdir_separator"; then
5537 for found_dir
in $rpathdirs; do
5538 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5540 acl_save_libdir
="$libdir"
5542 eval flag
=\"$hardcode_libdir_flag_spec\"
5543 libdir
="$acl_save_libdir"
5544 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5546 for found_dir
in $rpathdirs; do
5547 acl_save_libdir
="$libdir"
5549 eval flag
=\"$hardcode_libdir_flag_spec\"
5550 libdir
="$acl_save_libdir"
5551 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5555 if test "X$ltrpathdirs" != "X"; then
5556 for found_dir
in $ltrpathdirs; do
5557 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5564 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5565 stdlib.h string.h unistd.h sys
/param.h
5567 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5568 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5569 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5570 cat >>confdefs.h
<<_ACEOF
5571 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5578 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
5579 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
5580 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
5583 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5584 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5585 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5586 cat >>confdefs.h
<<_ACEOF
5587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5600 $as_echo_n "checking for iconv... " >&6; }
5601 if ${am_cv_func_iconv+:} false
; then :
5602 $as_echo_n "(cached) " >&6
5605 am_cv_func_iconv
="no, consider installing GNU libiconv"
5607 am_save_CPPFLAGS
="$CPPFLAGS"
5608 CPPFLAGS
="$CPPFLAGS $INCICONV"
5609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h. */
5616 iconv_t cd = iconv_open("","");
5617 iconv(cd,NULL,NULL,NULL,NULL);
5623 if ac_fn_c_try_link
"$LINENO"; then :
5624 am_cv_func_iconv
=yes
5626 rm -f core conftest.err conftest.
$ac_objext \
5627 conftest
$ac_exeext conftest.
$ac_ext
5628 CPPFLAGS
="$am_save_CPPFLAGS"
5630 if test "$am_cv_func_iconv" != yes && test -d ..
/libiconv
; then
5631 for _libs
in .libs _libs
; do
5632 am_save_CPPFLAGS
="$CPPFLAGS"
5633 am_save_LIBS
="$LIBS"
5634 CPPFLAGS
="$CPPFLAGS -I../libiconv/include"
5635 LIBS
="$LIBS ../libiconv/lib/$_libs/libiconv.a"
5636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h. */
5643 iconv_t cd = iconv_open("","");
5644 iconv(cd,NULL,NULL,NULL,NULL);
5650 if ac_fn_c_try_link
"$LINENO"; then :
5651 INCICONV
="-I../libiconv/include"
5652 LIBICONV
='${top_builddir}'/..
/libiconv
/lib
/$_libs/libiconv.a
5653 LTLIBICONV
='${top_builddir}'/..
/libiconv
/lib
/libiconv.la
5655 am_cv_func_iconv
=yes
5657 rm -f core conftest.err conftest.
$ac_objext \
5658 conftest
$ac_exeext conftest.
$ac_ext
5659 CPPFLAGS
="$am_save_CPPFLAGS"
5660 LIBS
="$am_save_LIBS"
5661 if test "$am_cv_func_iconv" = "yes"; then
5667 if test "$am_cv_func_iconv" != yes; then
5668 am_save_CPPFLAGS
="$CPPFLAGS"
5669 am_save_LIBS
="$LIBS"
5670 CPPFLAGS
="$CPPFLAGS $INCICONV"
5671 LIBS
="$LIBS $LIBICONV"
5672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5679 iconv_t cd = iconv_open("","");
5680 iconv(cd,NULL,NULL,NULL,NULL);
5686 if ac_fn_c_try_link
"$LINENO"; then :
5688 am_cv_func_iconv
=yes
5690 rm -f core conftest.err conftest.
$ac_objext \
5691 conftest
$ac_exeext conftest.
$ac_ext
5692 CPPFLAGS
="$am_save_CPPFLAGS"
5693 LIBS
="$am_save_LIBS"
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5698 $as_echo "$am_cv_func_iconv" >&6; }
5699 if test "$am_cv_func_iconv" = yes; then
5701 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5704 if test "$am_cv_lib_iconv" = yes; then
5706 for element
in $INCICONV; do
5708 for x
in $CPPFLAGS; do
5710 acl_save_prefix
="$prefix"
5711 prefix
="$acl_final_prefix"
5712 acl_save_exec_prefix
="$exec_prefix"
5713 exec_prefix
="$acl_final_exec_prefix"
5715 exec_prefix
="$acl_save_exec_prefix"
5716 prefix
="$acl_save_prefix"
5718 if test "X$x" = "X$element"; then
5723 if test -z "$haveit"; then
5724 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5729 $as_echo_n "checking how to link with libiconv... " >&6; }
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5731 $as_echo "$LIBICONV" >&6; }
5739 if test "$am_cv_func_iconv" = yes; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
5741 $as_echo_n "checking for iconv declaration... " >&6; }
5742 if ${am_cv_proto_iconv+:} false
; then :
5743 $as_echo_n "(cached) " >&6
5746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5747 /* end confdefs.h. */
5755 #if defined(__STDC__) || defined(__cplusplus)
5756 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
5769 if ac_fn_c_try_compile
"$LINENO"; then :
5770 am_cv_proto_iconv_arg1
=""
5772 am_cv_proto_iconv_arg1
="const"
5774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5775 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);"
5778 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
5780 }$am_cv_proto_iconv" >&5
5782 }$am_cv_proto_iconv" >&6; }
5784 cat >>confdefs.h
<<_ACEOF
5785 #define ICONV_CONST $am_cv_proto_iconv_arg1
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
5792 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
5793 if ${am_cv_langinfo_codeset+:} false
; then :
5794 $as_echo_n "(cached) " >&6
5796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5798 #include <langinfo.h>
5802 char* cs = nl_langinfo(CODESET);
5807 if ac_fn_c_try_link
"$LINENO"; then :
5808 am_cv_langinfo_codeset
=yes
5810 am_cv_langinfo_codeset
=no
5812 rm -f core conftest.err conftest.
$ac_objext \
5813 conftest
$ac_exeext conftest.
$ac_ext
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
5817 $as_echo "$am_cv_langinfo_codeset" >&6; }
5818 if test $am_cv_langinfo_codeset = yes; then
5820 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
5824 if test $ac_cv_header_locale_h = yes; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5827 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5828 if ${am_cv_val_LC_MESSAGES+:} false
; then :
5829 $as_echo_n "(cached) " >&6
5831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5832 /* end confdefs.h. */
5842 if ac_fn_c_try_link
"$LINENO"; then :
5843 am_cv_val_LC_MESSAGES
=yes
5845 am_cv_val_LC_MESSAGES
=no
5847 rm -f core conftest.err conftest.
$ac_objext \
5848 conftest
$ac_exeext conftest.
$ac_ext
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5851 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5852 if test $am_cv_val_LC_MESSAGES = yes; then
5854 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5860 for ac_prog
in bison
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
5863 set dummy
$ac_prog; ac_word
=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_INTLBISON+:} false
; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -n "$INTLBISON"; then
5870 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
5872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir
=.
5877 for ac_exec_ext
in '' $ac_executable_extensions; do
5878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_INTLBISON
="$ac_prog"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 INTLBISON
=$ac_cv_prog_INTLBISON
5890 if test -n "$INTLBISON"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
5892 $as_echo "$INTLBISON" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5899 test -n "$INTLBISON" && break
5902 if test -z "$INTLBISON"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
5906 $as_echo_n "checking version of bison... " >&6; }
5907 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5908 case $ac_prog_version in
5909 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5910 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
5911 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5912 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5915 $as_echo "$ac_prog_version" >&6; }
5917 if test $ac_verc_fail = yes; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5937 $as_echo_n "checking whether NLS is requested... " >&6; }
5938 # Check whether --enable-nls was given.
5939 if test "${enable_nls+set}" = set; then :
5940 enableval
=$enable_nls; USE_NLS
=$enableval
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5946 $as_echo "$USE_NLS" >&6; }
5951 BUILD_INCLUDED_LIBINTL
=no
5952 USE_INCLUDED_LIBINTL
=no
5958 if test "$USE_NLS" = "yes"; then
5959 gt_use_preinstalled_gnugettext
=no
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
5962 $as_echo_n "checking whether included gettext is requested... " >&6; }
5964 # Check whether --with-included-gettext was given.
5965 if test "${with_included_gettext+set}" = set; then :
5966 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
5968 nls_cv_force_use_gnu_gettext
=no
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
5972 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
5974 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
5975 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5983 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5984 if ${gt_cv_func_gnugettext2_libc+:} false
; then :
5985 $as_echo_n "(cached) " >&6
5987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5988 /* end confdefs.h. */
5989 #include <libintl.h>
5990 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5991 extern int _nl_msg_cat_cntr;
5992 extern int *_nl_domain_bindings;
5993 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
5995 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6001 bindtextdomain ("", "");
6002 return (int) gettext ("") + (int) ngettext ("", "", 0) + __GNU_GETTEXT_SYMBOL_EXPRESSION
6007 if ac_fn_c_try_link
"$LINENO"; then :
6008 gt_cv_func_gnugettext2_libc
=yes
6010 gt_cv_func_gnugettext2_libc
=no
6012 rm -f core conftest.err conftest.
$ac_objext \
6013 conftest
$ac_exeext conftest.
$ac_ext
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
6016 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
6018 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
6024 acl_save_prefix
="$prefix"
6025 prefix
="$acl_final_prefix"
6026 acl_save_exec_prefix
="$exec_prefix"
6027 exec_prefix
="$acl_final_exec_prefix"
6029 eval additional_includedir
=\"$includedir\"
6030 eval additional_libdir
=\"$libdir\"
6032 exec_prefix
="$acl_save_exec_prefix"
6033 prefix
="$acl_save_prefix"
6036 # Check whether --with-libintl-prefix was given.
6037 if test "${with_libintl_prefix+set}" = set; then :
6038 withval
=$with_libintl_prefix;
6039 if test "X$withval" = "Xno"; then
6042 if test "X$withval" = "X"; then
6044 acl_save_prefix
="$prefix"
6045 prefix
="$acl_final_prefix"
6046 acl_save_exec_prefix
="$exec_prefix"
6047 exec_prefix
="$acl_final_exec_prefix"
6049 eval additional_includedir
=\"$includedir\"
6050 eval additional_libdir
=\"$libdir\"
6052 exec_prefix
="$acl_save_exec_prefix"
6053 prefix
="$acl_save_prefix"
6056 additional_includedir
="$withval/include"
6057 additional_libdir
="$withval/lib"
6064 # Check whether --with-libintl-type was given.
6065 if test "${with_libintl_type+set}" = set; then :
6066 withval
=$with_libintl_type; with_libintl_type
=$withval
6068 with_libintl_type
=auto
6071 lib_type
=`eval echo \$with_libintl_type`
6078 names_already_handled
=
6079 names_next_round
='intl '
6080 while test -n "$names_next_round"; do
6081 names_this_round
="$names_next_round"
6083 for name
in $names_this_round; do
6085 for n
in $names_already_handled; do
6086 if test "$n" = "$name"; then
6091 if test -z "$already_handled"; then
6092 names_already_handled
="$names_already_handled $name"
6093 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6094 eval value
=\"\
$HAVE_LIB$uppername\"
6095 if test -n "$value"; then
6096 if test "$value" = yes; then
6097 eval value
=\"\
$LIB$uppername\"
6098 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6099 eval value
=\"\
$LTLIB$uppername\"
6100 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6109 if test $use_additional = yes; then
6110 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6111 found_dir
="$additional_libdir"
6112 found_so
="$additional_libdir/lib$name.$shlibext"
6113 if test -f "$additional_libdir/lib$name.la"; then
6114 found_la
="$additional_libdir/lib$name.la"
6116 elif test x
$lib_type != xshared
; then
6117 if test -f "$additional_libdir/lib$name.$libext"; then
6118 found_dir
="$additional_libdir"
6119 found_a
="$additional_libdir/lib$name.$libext"
6120 if test -f "$additional_libdir/lib$name.la"; then
6121 found_la
="$additional_libdir/lib$name.la"
6126 if test "X$found_dir" = "X"; then
6127 for x
in $LDFLAGS $LTLIBINTL; do
6129 acl_save_prefix
="$prefix"
6130 prefix
="$acl_final_prefix"
6131 acl_save_exec_prefix
="$exec_prefix"
6132 exec_prefix
="$acl_final_exec_prefix"
6134 exec_prefix
="$acl_save_exec_prefix"
6135 prefix
="$acl_save_prefix"
6139 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6140 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6142 found_so
="$dir/lib$name.$shlibext"
6143 if test -f "$dir/lib$name.la"; then
6144 found_la
="$dir/lib$name.la"
6146 elif test x
$lib_type != xshared
; then
6147 if test -f "$dir/lib$name.$libext"; then
6149 found_a
="$dir/lib$name.$libext"
6150 if test -f "$dir/lib$name.la"; then
6151 found_la
="$dir/lib$name.la"
6157 if test "X$found_dir" != "X"; then
6162 if test "X$found_dir" != "X"; then
6163 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6164 if test "X$found_so" != "X"; then
6165 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6166 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6169 for x
in $ltrpathdirs; do
6170 if test "X$x" = "X$found_dir"; then
6175 if test -z "$haveit"; then
6176 ltrpathdirs
="$ltrpathdirs $found_dir"
6178 if test "$hardcode_direct" = yes; then
6179 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6181 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6182 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6184 for x
in $rpathdirs; do
6185 if test "X$x" = "X$found_dir"; then
6190 if test -z "$haveit"; then
6191 rpathdirs
="$rpathdirs $found_dir"
6195 for x
in $LDFLAGS $LIBINTL; do
6197 acl_save_prefix
="$prefix"
6198 prefix
="$acl_final_prefix"
6199 acl_save_exec_prefix
="$exec_prefix"
6200 exec_prefix
="$acl_final_exec_prefix"
6202 exec_prefix
="$acl_save_exec_prefix"
6203 prefix
="$acl_save_prefix"
6205 if test "X$x" = "X-L$found_dir"; then
6210 if test -z "$haveit"; then
6211 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6213 if test "$hardcode_minus_L" != no
; then
6214 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6216 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6222 if test "X$found_a" != "X"; then
6223 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6225 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6228 additional_includedir
=
6229 case "$found_dir" in
6231 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6232 additional_includedir
="$basedir/include"
6235 if test "X$additional_includedir" != "X"; then
6236 if test "X$additional_includedir" != "X/usr/include"; then
6238 if test "X$additional_includedir" = "X/usr/local/include"; then
6239 if test -n "$GCC"; then
6241 linux
*) haveit
=yes;;
6245 if test -z "$haveit"; then
6246 for x
in $CPPFLAGS $INCINTL; do
6248 acl_save_prefix
="$prefix"
6249 prefix
="$acl_final_prefix"
6250 acl_save_exec_prefix
="$exec_prefix"
6251 exec_prefix
="$acl_final_exec_prefix"
6253 exec_prefix
="$acl_save_exec_prefix"
6254 prefix
="$acl_save_prefix"
6256 if test "X$x" = "X-I$additional_includedir"; then
6261 if test -z "$haveit"; then
6262 if test -d "$additional_includedir"; then
6263 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6269 if test -n "$found_la"; then
6270 save_libdir
="$libdir"
6272 */* |
*\\*) .
"$found_la" ;;
6273 *) .
"./$found_la" ;;
6275 libdir
="$save_libdir"
6276 for dep
in $dependency_libs; do
6279 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6280 if test "X$additional_libdir" != "X/usr/lib"; then
6282 if test "X$additional_libdir" = "X/usr/local/lib"; then
6283 if test -n "$GCC"; then
6285 linux
*) haveit
=yes;;
6289 if test -z "$haveit"; then
6291 for x
in $LDFLAGS $LIBINTL; do
6293 acl_save_prefix
="$prefix"
6294 prefix
="$acl_final_prefix"
6295 acl_save_exec_prefix
="$exec_prefix"
6296 exec_prefix
="$acl_final_exec_prefix"
6298 exec_prefix
="$acl_save_exec_prefix"
6299 prefix
="$acl_save_prefix"
6301 if test "X$x" = "X-L$additional_libdir"; then
6306 if test -z "$haveit"; then
6307 if test -d "$additional_libdir"; then
6308 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6312 for x
in $LDFLAGS $LTLIBINTL; do
6314 acl_save_prefix
="$prefix"
6315 prefix
="$acl_final_prefix"
6316 acl_save_exec_prefix
="$exec_prefix"
6317 exec_prefix
="$acl_final_exec_prefix"
6319 exec_prefix
="$acl_save_exec_prefix"
6320 prefix
="$acl_save_prefix"
6322 if test "X$x" = "X-L$additional_libdir"; then
6327 if test -z "$haveit"; then
6328 if test -d "$additional_libdir"; then
6329 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6336 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6337 if test "$enable_rpath" != no
; then
6339 for x
in $rpathdirs; do
6340 if test "X$x" = "X$dir"; then
6345 if test -z "$haveit"; then
6346 rpathdirs
="$rpathdirs $dir"
6349 for x
in $ltrpathdirs; do
6350 if test "X$x" = "X$dir"; then
6355 if test -z "$haveit"; then
6356 ltrpathdirs
="$ltrpathdirs $dir"
6361 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6364 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6367 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6368 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6374 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
6375 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6376 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6378 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
6379 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
6386 if test "X$rpathdirs" != "X"; then
6387 if test -n "$hardcode_libdir_separator"; then
6389 for found_dir
in $rpathdirs; do
6390 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6392 acl_save_libdir
="$libdir"
6394 eval flag
=\"$hardcode_libdir_flag_spec\"
6395 libdir
="$acl_save_libdir"
6396 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6398 for found_dir
in $rpathdirs; do
6399 acl_save_libdir
="$libdir"
6401 eval flag
=\"$hardcode_libdir_flag_spec\"
6402 libdir
="$acl_save_libdir"
6403 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6407 if test "X$ltrpathdirs" != "X"; then
6408 for found_dir
in $ltrpathdirs; do
6409 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6414 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6415 if ${gt_cv_func_gnugettext2_libintl+:} false
; then :
6416 $as_echo_n "(cached) " >&6
6418 gt_save_CPPFLAGS
="$CPPFLAGS"
6419 CPPFLAGS
="$CPPFLAGS $INCINTL"
6420 gt_save_LIBS
="$LIBS"
6421 LIBS
="$LIBS $LIBINTL"
6422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6423 /* end confdefs.h. */
6424 #include <libintl.h>
6425 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6426 extern int _nl_msg_cat_cntr;
6431 const char *_nl_expand_alias ();
6432 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (0))
6434 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6440 bindtextdomain ("", "");
6441 return (int) gettext ("") + (int) ngettext ("", "", 0) + __GNU_GETTEXT_SYMBOL_EXPRESSION
6446 if ac_fn_c_try_link
"$LINENO"; then :
6447 gt_cv_func_gnugettext2_libintl
=yes
6449 gt_cv_func_gnugettext2_libintl
=no
6451 rm -f core conftest.err conftest.
$ac_objext \
6452 conftest
$ac_exeext conftest.
$ac_ext
6453 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
6454 LIBS
="$LIBS $LIBICONV"
6455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6457 #include <libintl.h>
6458 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6459 extern int _nl_msg_cat_cntr;
6464 const char *_nl_expand_alias ();
6465 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (0))
6467 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6473 bindtextdomain ("", "");
6474 return (int) gettext ("") + (int) ngettext ("", "", 0) + __GNU_GETTEXT_SYMBOL_EXPRESSION
6479 if ac_fn_c_try_link
"$LINENO"; then :
6480 LIBINTL
="$LIBINTL $LIBICONV"
6481 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6482 gt_cv_func_gnugettext2_libintl
=yes
6485 rm -f core conftest.err conftest.
$ac_objext \
6486 conftest
$ac_exeext conftest.
$ac_ext
6488 CPPFLAGS
="$gt_save_CPPFLAGS"
6489 LIBS
="$gt_save_LIBS"
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
6492 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
6495 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
6496 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
6497 && test "$PACKAGE" != gettext-runtime \
6498 && test "$PACKAGE" != gettext-tools
; }; then
6499 gt_use_preinstalled_gnugettext
=yes
6507 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
6508 nls_cv_use_gnu_gettext
=yes
6512 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6513 BUILD_INCLUDED_LIBINTL
=yes
6514 USE_INCLUDED_LIBINTL
=yes
6515 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
6516 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
6517 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6520 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6521 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6526 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6527 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6529 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6537 $as_echo_n "checking whether to use NLS... " >&6; }
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6539 $as_echo "$USE_NLS" >&6; }
6540 if test "$USE_NLS" = "yes"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6542 $as_echo_n "checking where the gettext function comes from... " >&6; }
6543 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6544 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6545 gt_source
="external libintl"
6550 gt_source
="included intl directory"
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6553 $as_echo "$gt_source" >&6; }
6556 if test "$USE_NLS" = "yes"; then
6558 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6559 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6561 $as_echo_n "checking how to link with libintl... " >&6; }
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6563 $as_echo "$LIBINTL" >&6; }
6565 for element
in $INCINTL; do
6567 for x
in $CPPFLAGS; do
6569 acl_save_prefix
="$prefix"
6570 prefix
="$acl_final_prefix"
6571 acl_save_exec_prefix
="$exec_prefix"
6572 exec_prefix
="$acl_final_exec_prefix"
6574 exec_prefix
="$acl_save_exec_prefix"
6575 prefix
="$acl_save_prefix"
6577 if test "X$x" = "X$element"; then
6582 if test -z "$haveit"; then
6583 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6590 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6593 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6601 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
6602 BUILD_INCLUDED_LIBINTL
=yes
6610 nls_cv_header_libgt
=
6621 if test "$USE_INCLUDED_LIBINTL" = yes; then
6622 INTLOBJS
="\$(GETTOBJS)"
6626 INTL_LIBTOOL_SUFFIX_PREFIX
=
6638 # This replaces the extensive use of DEFS in the original Makefile.in.
6640 $as_echo "#define IN_LIBINTL 1" >>confdefs.h
6643 $as_echo "#define IN_LIBRARY 1" >>confdefs.h
6646 $as_echo "#define DEPENDS_ON_LIBICONV 1" >>confdefs.h
6649 $as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h
6652 $as_echo "#define NO_XMALLOC 1" >>confdefs.h
6655 $as_echo "#define set_relocation_prefix libintl_set_relocation_prefix" >>confdefs.h
6658 $as_echo "#define relocate libintl_relocate" >>confdefs.h
6661 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6662 for ac_prog
in aclocal
6664 # Extract the first word of "$ac_prog", so it can be a program name with args.
6665 set dummy
$ac_prog; ac_word
=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if ${ac_cv_prog_ACLOCAL+:} false
; then :
6669 $as_echo_n "(cached) " >&6
6671 if test -n "$ACLOCAL"; then
6672 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
6674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir
=.
6679 for ac_exec_ext
in '' $ac_executable_extensions; do
6680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6681 ac_cv_prog_ACLOCAL
="$ac_prog"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 ACLOCAL
=$ac_cv_prog_ACLOCAL
6692 if test -n "$ACLOCAL"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
6694 $as_echo "$ACLOCAL" >&6; }
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6701 test -n "$ACLOCAL" && break
6703 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
6705 for ac_prog
in autoconf
6707 # Extract the first word of "$ac_prog", so it can be a program name with args.
6708 set dummy
$ac_prog; ac_word
=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 $as_echo_n "checking for $ac_word... " >&6; }
6711 if ${ac_cv_prog_AUTOCONF+:} false
; then :
6712 $as_echo_n "(cached) " >&6
6714 if test -n "$AUTOCONF"; then
6715 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
6717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6721 test -z "$as_dir" && as_dir
=.
6722 for ac_exec_ext
in '' $ac_executable_extensions; do
6723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6724 ac_cv_prog_AUTOCONF
="$ac_prog"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 AUTOCONF
=$ac_cv_prog_AUTOCONF
6735 if test -n "$AUTOCONF"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
6737 $as_echo "$AUTOCONF" >&6; }
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6744 test -n "$AUTOCONF" && break
6746 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
6748 for ac_prog
in autoheader
6750 # Extract the first word of "$ac_prog", so it can be a program name with args.
6751 set dummy
$ac_prog; ac_word
=$2
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753 $as_echo_n "checking for $ac_word... " >&6; }
6754 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
6755 $as_echo_n "(cached) " >&6
6757 if test -n "$AUTOHEADER"; then
6758 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
6760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6764 test -z "$as_dir" && as_dir
=.
6765 for ac_exec_ext
in '' $ac_executable_extensions; do
6766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_AUTOHEADER
="$ac_prog"
6768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
6778 if test -n "$AUTOHEADER"; then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
6780 $as_echo "$AUTOHEADER" >&6; }
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 $as_echo "no" >&6; }
6787 test -n "$AUTOHEADER" && break
6789 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
6792 # Check whether --enable-maintainer-mode was given.
6793 if test "${enable_maintainer_mode+set}" = set; then :
6794 enableval
=$enable_maintainer_mode;
6796 enable_maintainer_mode
=no
6799 if test "x$enable_maintainer_mode" = xno
; then
6806 # Additional info for config.intl.
6812 case $USE_INCLUDED_LIBINTL in
6814 LIBINTL
=`echo $LIBINTL | sed 's,${top_builddir},-L&/..,; s,\.\./intl/libintl\.a,../intl -lintl,' `
6815 LIBINTL_DEP
='${top_builddir}/../intl/libintl.a'
6816 INCINTL
='-I${top_builddir}/../intl'
6820 # intl is sometimes linked into shared libraries even without --enable-shared
6821 # (e.g. gdbsupport's inprocess agent): so always PICify, just in case.
6827 # PIC is the default on some targets or must not be used.
6829 # For darwin, common symbols are not allowed in MH_DYLIB files
6831 # If we are using a compiler supporting mdynamic-no-pic
6832 # and the option has been tested as safe to add, then cancel
6833 # it here, since the code generated is incompatible with shared
6835 *-mdynamic-no-pic*) PICFLAG
='-fno-common -mno-dynamic-no-pic' ;;
6836 *) PICFLAG
=-fno-common ;;
6840 # PIC is the default.
6843 # PIC is the default for 64-bit PA HP-UX.
6845 i
[34567]86-*-cygwin* | x86_64-
*-cygwin*)
6847 i
[34567]86-*-mingw* | x86_64-
*-mingw*)
6849 i
[34567]86-*-interix[3-9]*)
6850 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6851 # Instead, we relocate shared libraries at runtime.
6853 i
[34567]86-*-nto-qnx*)
6854 # QNX uses GNU C++, but need to define -shared option too, otherwise
6856 PICFLAG
='-fPIC -shared'
6858 i
[34567]86-pc-msdosdjgpp*)
6859 # DJGPP does not support shared libraries at all.
6862 # On IA64 HP-UX, PIC is the default but the pic flag
6863 # sets the default TLS model and affects inlining.
6870 # PIC is the default.
6872 rs6000-ibm-aix
* | powerpc-ibm-aix
*)
6873 # All AIX code is PIC.
6876 # Some targets support both -fPIC and -fpic, but prefer the latter.
6878 i
[34567]86-*-* | x86_64-
*-*)
6881 # FIXME: Override -fPIC default in libgcc only?
6882 sh-
*-linux* | sh
[2346lbe
]*-*-linux*)
6888 # Default to -fPIC unless specified otherwise.
6894 # If the user explicitly uses -fpic/-fPIC, keep that.
6908 if test "$INTLBISON" != :; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison 3 or later" >&5
6911 $as_echo_n "checking bison 3 or later... " >&6; }
6912 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6913 case $ac_prog_version in
6915 ac_prog_version
="$ac_prog_version, bison3"; ac_bison3
=yes;;
6916 *) ac_prog_version
="$ac_prog_version, old";;
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
6919 $as_echo "$ac_prog_version" >&6; }
6920 if test $ac_bison3 = yes; then
6928 # Enable --enable-host-shared.
6929 # Check whether --enable-host-shared was given.
6930 if test "${enable_host_shared+set}" = set; then :
6931 enableval
=$enable_host_shared;
6936 # Enable --enable-host-pie.
6937 # Check whether --enable-host-pie was given.
6938 if test "${enable_host_pie+set}" = set; then :
6939 enableval
=$enable_host_pie;
6944 if test x
$enable_host_shared = xyes
; then
6946 elif test x
$enable_host_pie = xyes
; then
6953 ac_config_files
="$ac_config_files Makefile config.intl"
6955 cat >confcache
<<\_ACEOF
6956 # This file is a shell script that caches the results of configure
6957 # tests run on this system so they can be shared between configure
6958 # scripts and configure runs, see configure's option --config-cache.
6959 # It is not useful on other systems. If it contains results you don't
6960 # want to keep, you may remove or edit it.
6962 # config.status only pays attention to the cache file if you give it
6963 # the --recheck option to rerun configure.
6965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6971 # The following way of writing the cache mishandles newlines in values,
6972 # but we know of no workaround that is simple, portable, and efficient.
6973 # So, we kill variables containing newlines.
6974 # Ultrix sh set writes to stderr and can't be redirected directly,
6975 # and sets the high bit in the cache file unless we assign to the vars.
6977 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6978 eval ac_val
=\$
$ac_var
6982 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6986 _ | IFS | as_nl
) ;; #(
6987 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6988 *) { eval $ac_var=; unset $ac_var;} ;;
6994 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6995 *${as_nl}ac_space
=\
*)
6996 # `set' does not quote correctly, so add quotes: double-quote
6997 # substitution turns \\\\ into \\, and sed turns \\ into \.
7000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7003 # `set' quotes correctly as required by POSIX, so do not add quotes.
7004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7013 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7015 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7017 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7018 if test -w "$cache_file"; then
7019 if test "x$cache_file" != "x/dev/null"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7021 $as_echo "$as_me: updating cache $cache_file" >&6;}
7022 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7023 cat confcache
>"$cache_file"
7025 case $cache_file in #(
7027 mv -f confcache
"$cache_file"$$
&&
7028 mv -f "$cache_file"$$
"$cache_file" ;; #(
7030 mv -f confcache
"$cache_file" ;;
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7036 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7041 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7042 # Let make expand exec_prefix.
7043 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7045 DEFS
=-DHAVE_CONFIG_H
7050 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7051 # 1. Remove the extension, and $U if already installed.
7052 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7053 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7054 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7055 # will be set to the directory where LIBOBJS objects are built.
7056 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7057 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7061 LTLIBOBJS
=$ac_ltlibobjs
7065 : "${CONFIG_STATUS=./config.status}"
7067 ac_clean_files_save
=$ac_clean_files
7068 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7070 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7072 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7074 # Generated by $as_me.
7075 # Run this file to recreate the current configuration.
7076 # Compiler output produced by configure, useful for debugging
7077 # configure, is in config.log if it exists.
7083 SHELL=\${CONFIG_SHELL-$SHELL}
7086 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7087 ## -------------------- ##
7088 ## M4sh Initialization. ##
7089 ## -------------------- ##
7091 # Be more Bourne compatible
7092 DUALCASE
=1; export DUALCASE
# for MKS sh
7093 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7096 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7097 # is contrary to our usage. Disable this feature.
7098 alias -g '${1+"$@"}'='"$@"'
7099 setopt NO_GLOB_SUBST
7101 case `(set -o) 2>/dev/null` in #(
7113 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7114 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7116 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7117 # Prefer a ksh shell builtin over an external printf program on Solaris,
7118 # but without wasting forks for bash or zsh.
7119 if test -z "$BASH_VERSION$ZSH_VERSION" \
7120 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7121 as_echo='print
-r --'
7122 as_echo_n='print
-rn --'
7123 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7124 as_echo='printf %s
\n'
7125 as_echo_n='printf %s
'
7127 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7128 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7129 as_echo_n='/usr
/ucb
/echo -n'
7131 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7132 as_echo_n_body='eval
7136 expr "X$arg" : "X\\(.*\\)$as_nl";
7137 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7139 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7141 export as_echo_n_body
7142 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7145 as_echo='sh
-c $as_echo_body as_echo
'
7148 # The user is always right.
7149 if test "${PATH_SEPARATOR+set}" != set; then
7151 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7152 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7159 # We need space, tab and new line, in precisely that order. Quoting is
7160 # there to prevent editors from complaining about space-tab.
7161 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7162 # splitting by setting IFS to empty value.)
7165 # Find who we are. Look in the path if we contain no directory separator.
7168 *[\\/]* ) as_myself=$0 ;;
7169 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7173 test -z "$as_dir" && as_dir=.
7174 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7180 # We did not find ourselves, most probably we were run as `sh COMMAND'
7181 # in which case we are not to be found in the path.
7182 if test "x$as_myself" = x
; then
7185 if test ! -f "$as_myself"; then
7186 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7190 # Unset variables that we do not need and which cause bugs (e.g. in
7191 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7192 # suppresses any "Segmentation fault" message there. '((' could
7193 # trigger a bug in pdksh 5.2.14.
7194 for as_var
in BASH_ENV ENV MAIL MAILPATH
7195 do eval test x\
${$as_var+set} = xset \
7196 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7209 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7212 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7213 # ----------------------------------------
7214 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7215 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7216 # script with STATUS, using 1 if that was 0.
7219 as_status
=$1; test $as_status -eq 0 && as_status
=1
7221 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7222 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7224 $as_echo "$as_me: error: $2" >&2
7225 as_fn_exit
$as_status
7229 # as_fn_set_status STATUS
7230 # -----------------------
7231 # Set $? to STATUS, without forking.
7235 } # as_fn_set_status
7239 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7249 # Portably unset VAR.
7252 { eval $1=; unset $1;}
7254 as_unset
=as_fn_unset
7255 # as_fn_append VAR VALUE
7256 # ----------------------
7257 # Append the text in VALUE to the end of the definition contained in VAR. Take
7258 # advantage of any shell optimizations that allow amortized linear growth over
7259 # repeated appends, instead of the typical quadratic growth present in naive
7261 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7262 eval 'as_fn_append ()
7273 # as_fn_arith ARG...
7274 # ------------------
7275 # Perform arithmetic evaluation on the ARGs, and store the result in the
7276 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7277 # must be portable across $(()) and expr.
7278 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7279 eval 'as_fn_arith ()
7286 as_val
=`expr "$@" || test $? -eq 1`
7291 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7292 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7298 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7299 as_basename
=basename
7304 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7310 as_me
=`$as_basename -- "$0" ||
7311 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7312 X"$0" : 'X\(//\)$' \| \
7313 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7315 sed '/^.*\/\([^/][^/]*\)\/*$/{
7329 # Avoid depending upon Character Ranges.
7330 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7331 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7332 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7333 as_cr_digits
='0123456789'
7334 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7336 ECHO_C
= ECHO_N
= ECHO_T
=
7337 case `echo -n x` in #(((((
7339 case `echo 'xy\c'` in
7340 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7342 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7349 rm -f conf$$ conf$$.exe conf$$.
file
7350 if test -d conf$$.dir
; then
7351 rm -f conf$$.dir
/conf$$.
file
7354 mkdir conf$$.dir
2>/dev
/null
7356 if (echo >conf$$.
file) 2>/dev
/null
; then
7357 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7359 # ... but there are two gotchas:
7360 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7361 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7362 # In both cases, we have to default to `cp -pR'.
7363 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7365 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7373 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7374 rmdir conf$$.dir
2>/dev
/null
7379 # Create "$as_dir" as a directory, including parents if necessary.
7384 -*) as_dir
=.
/$as_dir;;
7386 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7390 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7391 *) as_qdir
=$as_dir;;
7393 as_dirs
="'$as_qdir' $as_dirs"
7394 as_dir
=`$as_dirname -- "$as_dir" ||
7395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7396 X"$as_dir" : 'X\(//\)[^/]' \| \
7397 X"$as_dir" : 'X\(//\)$' \| \
7398 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7399 $as_echo X"$as_dir" |
7400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7417 test -d "$as_dir" && break
7419 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7420 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7424 if mkdir
-p .
2>/dev
/null
; then
7425 as_mkdir_p
='mkdir -p "$as_dir"'
7427 test -d .
/-p && rmdir .
/-p
7432 # as_fn_executable_p FILE
7433 # -----------------------
7434 # Test if FILE is an executable regular file.
7435 as_fn_executable_p
()
7437 test -f "$1" && test -x "$1"
7438 } # as_fn_executable_p
7440 as_executable_p
=as_fn_executable_p
7442 # Sed expression to map a string onto a valid CPP name.
7443 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7445 # Sed expression to map a string onto a valid variable name.
7446 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7450 ## ----------------------------------- ##
7451 ## Main body of $CONFIG_STATUS script. ##
7452 ## ----------------------------------- ##
7454 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7457 # Save the log message, to keep $0 and so on meaningful, and to
7458 # report actual input values of CONFIG_FILES etc. instead of their
7459 # values after options handling.
7461 This file was extended by $as_me, which was
7462 generated by GNU Autoconf 2.69. Invocation command line was
7464 CONFIG_FILES = $CONFIG_FILES
7465 CONFIG_HEADERS = $CONFIG_HEADERS
7466 CONFIG_LINKS = $CONFIG_LINKS
7467 CONFIG_COMMANDS = $CONFIG_COMMANDS
7470 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7475 case $ac_config_files in *"
7476 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7479 case $ac_config_headers in *"
7480 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7485 # Files that config.status was made for.
7486 config_files="$ac_config_files"
7487 config_headers="$ac_config_headers"
7488 config_commands="$ac_config_commands"
7492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7494 \`$as_me' instantiates files and other configuration actions
7495 from templates according to the current configuration. Unless the files
7496 and actions are specified as TAGs, all are instantiated by default.
7498 Usage: $0 [OPTION]... [TAG]...
7500 -h, --help print this help, then exit
7501 -V, --version print version number and configuration settings, then exit
7502 --config print configuration, then exit
7503 -q, --quiet, --silent
7504 do not print progress messages
7505 -d, --debug don't remove temporary files
7506 --recheck update $as_me by reconfiguring in the same conditions
7507 --file=FILE[:TEMPLATE]
7508 instantiate the configuration file FILE
7509 --header=FILE[:TEMPLATE]
7510 instantiate the configuration header FILE
7512 Configuration files:
7515 Configuration headers:
7518 Configuration commands:
7521 Report bugs to the package provider."
7524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7525 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7528 configured by $0, generated by GNU Autoconf 2.69,
7529 with options \\"\$ac_cs_config\\"
7531 Copyright (C) 2012 Free Software Foundation, Inc.
7532 This config.status script is free software; the Free Software Foundation
7533 gives unlimited permission to copy, distribute and modify it."
7538 test -n "\$AWK" || AWK=awk
7541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7542 # The default lists apply if the user does not specify any file.
7548 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7549 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7553 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7565 # Handling of the options.
7566 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7568 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7569 $as_echo "$ac_cs_version"; exit ;;
7570 --config |
--confi |
--conf |
--con |
--co |
--c )
7571 $as_echo "$ac_cs_config"; exit ;;
7572 --debug |
--debu |
--deb |
--de |
--d |
-d )
7574 --file |
--fil |
--fi |
--f )
7577 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7578 '') as_fn_error $?
"missing file argument" ;;
7580 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7581 ac_need_defaults
=false
;;
7582 --header |
--heade |
--head |
--hea )
7585 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7587 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7588 ac_need_defaults
=false
;;
7590 # Conflict between --help and --header
7591 as_fn_error $?
"ambiguous option: \`$1'
7592 Try \`$0 --help' for more information.";;
7593 --help |
--hel |
-h )
7594 $as_echo "$ac_cs_usage"; exit ;;
7595 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7596 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7600 -*) as_fn_error $?
"unrecognized option: \`$1'
7601 Try \`$0 --help' for more information." ;;
7603 *) as_fn_append ac_config_targets
" $1"
7604 ac_need_defaults
=false
;;
7610 ac_configure_extra_args
=
7612 if $ac_cs_silent; then
7614 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7619 if \$ac_cs_recheck; then
7620 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7622 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7623 CONFIG_SHELL='$SHELL'
7629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7633 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7634 ## Running $as_me. ##
7640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7644 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7645 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7647 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7648 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7649 LINGUAS="${LINGUAS-%UNSET%}"
7654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7656 # Handling of arguments.
7657 for ac_config_target
in $ac_config_targets
7659 case $ac_config_target in
7660 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7661 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7662 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7663 "config.intl") CONFIG_FILES
="$CONFIG_FILES config.intl" ;;
7665 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7670 # If the user did not use the arguments to specify the items to instantiate,
7671 # then the envvar interface is used. Set only those that are not.
7672 # We use the long form for the default assignment because of an extremely
7673 # bizarre bug on SunOS 4.1.3.
7674 if $ac_need_defaults; then
7675 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7676 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7677 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7680 # Have a temporary directory for convenience. Make it in the build tree
7681 # simply because there is no reason against having it here, and in addition,
7682 # creating and moving files from /tmp can sometimes cause problems.
7683 # Hook for its removal unless debugging.
7684 # Note that there is a small window in which the directory will not be cleaned:
7685 # after its creation but before its name has been assigned to `$tmp'.
7689 trap 'exit_status=$?
7691 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7693 trap 'as_fn_exit 1' 1 2 13 15
7695 # Create a (secure) tmp directory for tmp files.
7698 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7702 tmp
=.
/conf$$
-$RANDOM
7703 (umask 077 && mkdir
"$tmp")
7704 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7707 # Set up the scripts for CONFIG_FILES section.
7708 # No need to generate them if there are no CONFIG_FILES.
7709 # This happens for instance with `./config.status config.h'.
7710 if test -n "$CONFIG_FILES"; then
7713 ac_cr
=`echo X | tr X '\015'`
7714 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7715 # But we know of no other shell where ac_cr would be empty at this
7716 # point, so we can use a bashism as a fallback.
7717 if test "x$ac_cr" = x
; then
7718 eval ac_cr
=\$
\'\\r
\'
7720 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7721 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7727 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7732 echo "cat >conf$$subs.awk <<_ACEOF" &&
7733 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7736 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7737 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7739 for ac_last_try in false false false false false :; do
7740 . ./conf$$subs.sh ||
7741 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7743 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7744 if test $ac_delim_n = $ac_delim_num; then
7746 elif $ac_last_try; then
7747 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7749 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7755 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7759 s/^/S["/; s
/!.
*/"]=/
7769 s/\(.\{148\}\)..*/\1/
7771 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7776 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7783 s/\(.\{148\}\)..*/\1/
7785 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7789 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7794 ' <conf$$subs.awk | sed '
7799 ' >>$CONFIG_STATUS || ac_write_fail=1
7800 rm -f conf$$subs.awk
7801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7803 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7804 for (key in S) S_is_set[key] = 1
7810 nfields = split(line, field, "@
")
7812 len = length(field[1])
7813 for (i = 2; i < nfields; i++) {
7815 keylen = length(key)
7816 if (S_is_set[key]) {
7818 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7819 len += length(value) + length(field[++i])
7830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7831 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7832 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7835 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7836 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7839 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7840 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7841 # trailing colons and then remove the whole line if VPATH becomes empty
7842 # (actually we leave an empty line to preserve line numbers).
7843 if test "x
$srcdir" = x.; then
7844 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7863 fi # test -n "$CONFIG_FILES"
7865 # Set up the scripts for CONFIG_HEADERS section.
7866 # No need to generate them if there are no CONFIG_HEADERS.
7867 # This happens for instance with `./config.status Makefile'.
7868 if test -n "$CONFIG_HEADERS"; then
7869 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7873 # Transform confdefs.h into an awk script `defines.awk', embedded as
7874 # here-document in config.status, that substitutes the proper values into
7875 # config.h.in to produce config.h.
7877 # Create a delimiter string that does not exist in confdefs.h, to ease
7878 # handling of long lines.
7880 for ac_last_try in false false :; do
7881 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7882 if test -z "$ac_tt"; then
7884 elif $ac_last_try; then
7885 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7887 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7891 # For the awk script, D is an array of macro values keyed by name,
7892 # likewise P contains macro parameters if any. Preserve backslash
7893 # newline sequences.
7895 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7897 s/.\{148\}/&'"$ac_delim"'/g
7900 s/^[ ]*#[ ]*define[ ][ ]*/ /
7907 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7909 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7913 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7914 D["\
1"]=" \
3\\\\\\n
"\\/p
7916 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7921 s/.\{148\}/&'"$ac_delim"'/g
7926 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7929 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7931 ' <confdefs.h | sed '
7932 s/'"$ac_delim"'/"\\\
7933 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7936 for (key in D) D_is_set[key] = 1
7939 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7941 split(line, arg, " ")
7942 if (arg[1] == "#") {
7946 defundef
= substr
(arg
[1], 2)
7949 split(mac1
, mac2
, "(") #)
7951 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7952 if (D_is_set
[macro
]) {
7953 # Preserve the white space surrounding the "#".
7954 print prefix
"define", macro P
[macro
] D
[macro
]
7957 # Replace #undef with comments. This is necessary, for example,
7958 # in the case of _POSIX_SOURCE, which is predefined and required
7959 # on some systems where configure will not decide to define it.
7960 if (defundef
== "undef") {
7961 print
"/*", prefix defundef
, macro
, "*/"
7969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7970 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7971 fi # test -n "$CONFIG_HEADERS"
7974 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7979 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7981 case $ac_mode$ac_tag in
7983 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7984 :[FH
]-) ac_tag
=-:-;;
7985 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8002 -) ac_f
="$ac_tmp/stdin";;
8003 *) # Look for the file first in the build tree, then in the source tree
8004 # (if the path is not absolute). The absolute path cannot be DOS-style,
8005 # because $ac_f cannot contain `:'.
8009 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8011 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8013 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8014 as_fn_append ac_file_inputs
" '$ac_f'"
8017 # Let's still pretend it is `configure' which instantiates (i.e., don't
8018 # use $as_me), people would be surprised to read:
8019 # /* config.h. Generated by config.status. */
8020 configure_input
='Generated from '`
8021 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8023 if test x
"$ac_file" != x-
; then
8024 configure_input
="$ac_file. $configure_input"
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8026 $as_echo "$as_me: creating $ac_file" >&6;}
8028 # Neutralize special characters interpreted by sed in replacement strings.
8029 case $configure_input in #(
8030 *\
&* |
*\|
* |
*\\* )
8031 ac_sed_conf_input
=`$as_echo "$configure_input" |
8032 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8033 *) ac_sed_conf_input
=$configure_input;;
8037 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8038 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8043 ac_dir
=`$as_dirname -- "$ac_file" ||
8044 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8045 X"$ac_file" : 'X\(//\)[^/]' \| \
8046 X"$ac_file" : 'X\(//\)$' \| \
8047 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8048 $as_echo X"$ac_file" |
8049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8066 as_dir
="$ac_dir"; as_fn_mkdir_p
8070 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8072 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8073 # A ".." for each directory in $ac_dir_suffix.
8074 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8075 case $ac_top_builddir_sub in
8076 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8077 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8080 ac_abs_top_builddir
=$ac_pwd
8081 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8082 # for backward compatibility:
8083 ac_top_builddir
=$ac_top_build_prefix
8086 .
) # We are building in place.
8088 ac_top_srcdir
=$ac_top_builddir_sub
8089 ac_abs_top_srcdir
=$ac_pwd ;;
8090 [\\/]* | ?
:[\\/]* ) # Absolute name.
8091 ac_srcdir
=$srcdir$ac_dir_suffix;
8092 ac_top_srcdir
=$srcdir
8093 ac_abs_top_srcdir
=$srcdir ;;
8095 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8096 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8097 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8099 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8109 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8110 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8115 # If the template does not know about datarootdir, expand it.
8116 # FIXME: This hack should be removed a few years after 2.60.
8117 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8128 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8129 *datarootdir
*) ac_datarootdir_seen
=yes;;
8130 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8132 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8135 ac_datarootdir_hack='
8136 s&@datadir@&$datadir&g
8137 s&@docdir@&$docdir&g
8138 s&@infodir@&$infodir&g
8139 s&@localedir@&$localedir&g
8140 s&@mandir@&$mandir&g
8141 s&\\\${datarootdir}&$datarootdir&g' ;;
8145 # Neutralize VPATH when `$srcdir' = `.'.
8146 # Shell code in configure.ac might set extrasub.
8147 # FIXME: do we really want to maintain this feature?
8148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8149 ac_sed_extra="$ac_vpsub
8152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8154 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8155 s|@configure_input@|
$ac_sed_conf_input|
;t t
8156 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8157 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8158 s
&@srcdir@
&$ac_srcdir&;t t
8159 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8160 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8161 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8162 s
&@builddir@
&$ac_builddir&;t t
8163 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8164 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8165 s
&@INSTALL@
&$ac_INSTALL&;t t
8166 $ac_datarootdir_hack
8168 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8169 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8171 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8172 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8173 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8174 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8176 which seems to be undefined. Please make sure it is defined" >&5
8177 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8178 which seems to be undefined. Please make sure it is defined" >&2;}
8180 rm -f "$ac_tmp/stdin"
8182 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8183 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8185 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8191 if test x"$ac_file" != x-; then
8193 $as_echo "/* $configure_input */" \
8194 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8195 } >"$ac_tmp/config.h" \
8196 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8197 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8199 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8202 mv "$ac_tmp/config.h" "$ac_file" \
8203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8206 $as_echo "/* $configure_input */" \
8207 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8208 || as_fn_error $? "could not create -" "$LINENO" 5
8212 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8213 $as_echo "$as_me: executing $ac_file commands" >&6;}
8218 case $ac_file$ac_mode in
8220 for ac_file in $CONFIG_FILES; do
8221 # Support "outfile[:infile[:infile...]]"
8223 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
8225 # PO directories have a Makefile.in generated from Makefile.in.in.
8226 case "$ac_file" in */Makefile.in)
8227 # Adjust a relative srcdir.
8228 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
8229 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
8230 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
8231 # In autoconf-2.13 it is called $ac_given_srcdir.
8232 # In autoconf-2.50 it is called $srcdir.
8233 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8234 case "$ac_given_srcdir" in
8235 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
8236 /*) top_srcdir="$ac_given_srcdir" ;;
8237 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8239 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8240 rm -f "$ac_dir/POTFILES"
8241 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8242 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8243 POMAKEFILEDEPS="POTFILES.in"
8244 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8245 # on $ac_dir but don't depend on user-specified configuration
8247 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8248 # The LINGUAS file contains the set of available languages.
8249 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8250 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
8252 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8253 # Hide the ALL_LINGUAS assigment from automake.
8254 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8255 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8257 # The set of available languages was given in configure.ac.
8258 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8260 case "$ac_given_srcdir" in
8262 *) srcdirpre
='$(srcdir)/' ;;
8268 for lang
in $ALL_LINGUAS; do
8269 POFILES
="$POFILES $srcdirpre$lang.po"
8270 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8271 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8272 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8274 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8275 # environment variable.
8277 if test -n "$ALL_LINGUAS"; then
8278 for presentlang
in $ALL_LINGUAS; do
8280 if test "%UNSET%" != "$LINGUAS"; then
8281 desiredlanguages
="$LINGUAS"
8283 desiredlanguages
="$ALL_LINGUAS"
8285 for desiredlang
in $desiredlanguages; do
8286 # Use the presentlang catalog if desiredlang is
8287 # a. equal to presentlang, or
8288 # b. a variant of presentlang (because in this case,
8289 # presentlang can be used as a fallback for messages
8290 # which are not translated in the desiredlang catalog).
8291 case "$desiredlang" in
8292 "$presentlang"*) useit
=yes;;
8295 if test $useit = yes; then
8296 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8301 if test -n "$INST_LINGUAS"; then
8302 for lang
in $INST_LINGUAS; do
8303 CATALOGS
="$CATALOGS $lang.gmo"
8306 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8307 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"
8308 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8309 if test -f "$f"; then
8311 *.orig |
*.bak |
*~
) ;;
8312 *) cat "$f" >> "$ac_dir/Makefile" ;;
8327 ac_clean_files
=$ac_clean_files_save
8329 test $ac_write_fail = 0 ||
8330 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8333 # configure is writing to config.log, and then calls config.status.
8334 # config.status does its own redirection, appending to config.log.
8335 # Unfortunately, on DOS this fails, as config.log is still kept open
8336 # by configure, so config.status won't be able to write to it; its
8337 # output is simply discarded. So we exec the FD to /dev/null,
8338 # effectively closing config.log, so it can be properly (re)opened and
8339 # appended to by config.status. When coming back to configure, we
8340 # need to make the FD available again.
8341 if test "$no_create" != yes; then
8343 ac_config_status_args
=
8344 test "$silent" = yes &&
8345 ac_config_status_args
="$ac_config_status_args --quiet"
8347 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8349 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8350 # would make configure fail if this is the last instruction.
8351 $ac_cs_success || as_fn_exit
1
8353 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8355 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}