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
643 INTL_LIBTOOL_SUFFIX_PREFIX
650 BUILD_INCLUDED_LIBINTL
712 program_transform_name
725 enable_option_checking
731 with_included_gettext
734 enable_maintainer_mode
738 ac_precious_vars
='build_alias
749 # Initialize some variables set by options.
751 ac_init_version
=false
752 ac_unrecognized_opts
=
754 # The variables have the same names as the options, with
755 # dashes changed to underlines.
763 program_transform_name
=s
,x
,x
,
771 # Installation directory options.
772 # These are left unexpanded so users can "make install exec_prefix=/foo"
773 # and all the variables that are supposed to be based on exec_prefix
774 # by default will actually change.
775 # Use braces instead of parens because sh, perl, etc. also accept them.
776 # (The list follows the same order as the GNU Coding Standards.)
777 bindir
='${exec_prefix}/bin'
778 sbindir
='${exec_prefix}/sbin'
779 libexecdir
='${exec_prefix}/libexec'
780 datarootdir
='${prefix}/share'
781 datadir
='${datarootdir}'
782 sysconfdir
='${prefix}/etc'
783 sharedstatedir
='${prefix}/com'
784 localstatedir
='${prefix}/var'
785 includedir
='${prefix}/include'
786 oldincludedir
='/usr/include'
787 docdir
='${datarootdir}/doc/${PACKAGE}'
788 infodir
='${datarootdir}/info'
793 libdir
='${exec_prefix}/lib'
794 localedir
='${datarootdir}/locale'
795 mandir
='${datarootdir}/man'
801 # If the previous option needs an argument, assign it.
802 if test -n "$ac_prev"; then
803 eval $ac_prev=\
$ac_option
809 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 # Accept the important Cygnus configure options, so we can diagnose typos.
816 case $ac_dashdash$ac_option in
820 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
822 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
825 -build |
--build |
--buil |
--bui |
--bu)
826 ac_prev
=build_alias
;;
827 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
828 build_alias
=$ac_optarg ;;
830 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
831 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
832 ac_prev
=cache_file
;;
833 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
834 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
835 cache_file
=$ac_optarg ;;
838 cache_file
=config.cache
;;
840 -datadir |
--datadir |
--datadi |
--datad)
842 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
843 datadir
=$ac_optarg ;;
845 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
846 |
--dataroo |
--dataro |
--datar)
847 ac_prev
=datarootdir
;;
848 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
849 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
850 datarootdir
=$ac_optarg ;;
852 -disable-* |
--disable-*)
853 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
856 as_fn_error $?
"invalid feature name: $ac_useropt"
857 ac_useropt_orig
=$ac_useropt
858 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in
863 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
864 ac_unrecognized_sep
=', ';;
866 eval enable_
$ac_useropt=no
;;
868 -docdir |
--docdir |
--docdi |
--doc |
--do)
870 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
873 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
875 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
878 -enable-* |
--enable-*)
879 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
882 as_fn_error $?
"invalid feature name: $ac_useropt"
883 ac_useropt_orig
=$ac_useropt
884 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
890 ac_unrecognized_sep
=', ';;
892 eval enable_
$ac_useropt=\
$ac_optarg ;;
894 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
895 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
896 |
--exec |
--exe |
--ex)
897 ac_prev
=exec_prefix
;;
898 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
899 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
900 |
--exec=* |
--exe=* |
--ex=*)
901 exec_prefix
=$ac_optarg ;;
903 -gas |
--gas |
--ga |
--g)
904 # Obsolete; use --with-gas.
907 -help |
--help |
--hel |
--he |
-h)
909 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
910 ac_init_help
=recursive
;;
911 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
912 ac_init_help
=short
;;
914 -host |
--host |
--hos |
--ho)
915 ac_prev
=host_alias
;;
916 -host=* |
--host=* |
--hos=* |
--ho=*)
917 host_alias
=$ac_optarg ;;
919 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
921 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
923 htmldir
=$ac_optarg ;;
925 -includedir |
--includedir |
--includedi |
--included |
--include \
926 |
--includ |
--inclu |
--incl |
--inc)
927 ac_prev
=includedir
;;
928 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
929 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
930 includedir
=$ac_optarg ;;
932 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
934 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
935 infodir
=$ac_optarg ;;
937 -libdir |
--libdir |
--libdi |
--libd)
939 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
942 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
943 |
--libexe |
--libex |
--libe)
944 ac_prev
=libexecdir
;;
945 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
946 |
--libexe=* |
--libex=* |
--libe=*)
947 libexecdir
=$ac_optarg ;;
949 -localedir |
--localedir |
--localedi |
--localed |
--locale)
951 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
952 localedir
=$ac_optarg ;;
954 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
955 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
956 ac_prev
=localstatedir
;;
957 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
958 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
959 localstatedir
=$ac_optarg ;;
961 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
963 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
967 # Obsolete; use --without-fp.
970 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
971 |
--no-cr |
--no-c |
-n)
974 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
975 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
978 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
979 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
980 |
--oldin |
--oldi |
--old |
--ol |
--o)
981 ac_prev
=oldincludedir
;;
982 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
983 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
984 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
985 oldincludedir
=$ac_optarg ;;
987 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
989 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
992 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
993 |
--program-pre |
--program-pr |
--program-p)
994 ac_prev
=program_prefix
;;
995 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
996 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
997 program_prefix
=$ac_optarg ;;
999 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1000 |
--program-suf |
--program-su |
--program-s)
1001 ac_prev
=program_suffix
;;
1002 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1003 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1004 program_suffix
=$ac_optarg ;;
1006 -program-transform-name |
--program-transform-name \
1007 |
--program-transform-nam |
--program-transform-na \
1008 |
--program-transform-n |
--program-transform- \
1009 |
--program-transform |
--program-transfor \
1010 |
--program-transfo |
--program-transf \
1011 |
--program-trans |
--program-tran \
1012 |
--progr-tra |
--program-tr |
--program-t)
1013 ac_prev
=program_transform_name
;;
1014 -program-transform-name=* |
--program-transform-name=* \
1015 |
--program-transform-nam=* |
--program-transform-na=* \
1016 |
--program-transform-n=* |
--program-transform-=* \
1017 |
--program-transform=* |
--program-transfor=* \
1018 |
--program-transfo=* |
--program-transf=* \
1019 |
--program-trans=* |
--program-tran=* \
1020 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1021 program_transform_name
=$ac_optarg ;;
1023 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1025 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1026 pdfdir
=$ac_optarg ;;
1028 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1030 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1033 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1034 |
-silent |
--silent |
--silen |
--sile |
--sil)
1037 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1039 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1041 sbindir
=$ac_optarg ;;
1043 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1044 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1045 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1047 ac_prev
=sharedstatedir
;;
1048 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1049 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1050 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1052 sharedstatedir
=$ac_optarg ;;
1054 -site |
--site |
--sit)
1056 -site=* |
--site=* |
--sit=*)
1059 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1061 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1062 srcdir
=$ac_optarg ;;
1064 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1065 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1066 ac_prev
=sysconfdir
;;
1067 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1068 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1069 sysconfdir
=$ac_optarg ;;
1071 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1072 ac_prev
=target_alias
;;
1073 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1074 target_alias
=$ac_optarg ;;
1076 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1079 -version |
--version |
--versio |
--versi |
--vers |
-V)
1080 ac_init_version
=: ;;
1083 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1086 as_fn_error $?
"invalid package name: $ac_useropt"
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval with_
$ac_useropt=\
$ac_optarg ;;
1098 -without-* |
--without-*)
1099 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1102 as_fn_error $?
"invalid package name: $ac_useropt"
1103 ac_useropt_orig
=$ac_useropt
1104 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110 ac_unrecognized_sep
=', ';;
1112 eval with_
$ac_useropt=no
;;
1115 # Obsolete; use --with-x.
1118 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1119 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1120 ac_prev
=x_includes
;;
1121 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1122 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1123 x_includes
=$ac_optarg ;;
1125 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1126 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1127 ac_prev
=x_libraries
;;
1128 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1129 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1130 x_libraries
=$ac_optarg ;;
1132 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1133 Try \`$0 --help' for more information"
1137 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1138 # Reject names that are not valid shell variable names.
1139 case $ac_envvar in #(
1140 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1141 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1143 eval $ac_envvar=\
$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1157 if test -n "$ac_prev"; then
1158 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1159 as_fn_error $?
"missing argument to $ac_option"
1162 if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in
1165 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170 # Check all directory arguments for consistency.
1171 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1172 datadir sysconfdir sharedstatedir localstatedir includedir \
1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1174 libdir localedir mandir
1176 eval ac_val
=\$
$ac_var
1177 # Remove trailing slashes.
1180 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1181 eval $ac_var=\
$ac_val;;
1183 # Be sure to have absolute directory names.
1185 [\\/$
]* | ?
:[\\/]* ) continue;;
1186 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1188 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 elif test "x$build_alias" != "x$host_alias"; then
1208 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1210 test "$silent" = yes && exec 6>/dev
/null
1213 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di
=`ls -di .` &&
1215 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1216 as_fn_error $?
"working directory cannot be determined"
1217 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1218 as_fn_error $?
"pwd does not report name of working directory"
1221 # Find the source files, if location was not specified.
1222 if test -z "$srcdir"; then
1223 ac_srcdir_defaulted
=yes
1224 # Try the directory containing this script, then the parent directory.
1225 ac_confdir
=`$as_dirname -- "$as_myself" ||
1226 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1227 X"$as_myself" : 'X\(//\)[^/]' \| \
1228 X"$as_myself" : 'X\(//\)$' \| \
1229 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1230 $as_echo X"$as_myself" |
1231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1253 ac_srcdir_defaulted
=no
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1256 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1257 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1259 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1261 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1263 # When building in place, set srcdir=.
1264 if test "$ac_abs_confdir" = "$ac_pwd"; then
1267 # Remove unnecessary trailing slashes from srcdir.
1268 # Double slashes in file names in object file debugging info
1269 # mess up M-x gdb in Emacs.
1271 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1273 for ac_var
in $ac_precious_vars; do
1274 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1275 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1276 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1277 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1281 # Report the --help message.
1283 if test "$ac_init_help" = "long"; then
1284 # Omit some internal or obsolete options to make the list less imposing.
1285 # This message is too long to be a string in the A/UX 3.1 sh.
1287 \`configure' configures this package to adapt to many kinds of systems.
1289 Usage: $0 [OPTION]... [VAR=VALUE]...
1291 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1292 VAR=VALUE. See below for descriptions of some of the useful variables.
1294 Defaults for the options are specified in brackets.
1297 -h, --help display this help and exit
1298 --help=short display options specific to this package
1299 --help=recursive display the short help of all the included packages
1300 -V, --version display version information and exit
1301 -q, --quiet, --silent do not print \`checking ...' messages
1302 --cache-file=FILE cache test results in FILE [disabled]
1303 -C, --config-cache alias for \`--cache-file=config.cache'
1304 -n, --no-create do not create output files
1305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1307 Installation directories:
1308 --prefix=PREFIX install architecture-independent files in PREFIX
1309 [$ac_default_prefix]
1310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1313 By default, \`make install' will install all the files in
1314 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1315 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1316 for instance \`--prefix=\$HOME'.
1318 For better control, use the options below.
1320 Fine tuning of the installation directories:
1321 --bindir=DIR user executables [EPREFIX/bin]
1322 --sbindir=DIR system admin executables [EPREFIX/sbin]
1323 --libexecdir=DIR program executables [EPREFIX/libexec]
1324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1327 --libdir=DIR object code libraries [EPREFIX/lib]
1328 --includedir=DIR C header files [PREFIX/include]
1329 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1330 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1331 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1332 --infodir=DIR info documentation [DATAROOTDIR/info]
1333 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1334 --mandir=DIR man documentation [DATAROOTDIR/man]
1335 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1336 --htmldir=DIR html documentation [DOCDIR]
1337 --dvidir=DIR dvi documentation [DOCDIR]
1338 --pdfdir=DIR pdf documentation [DOCDIR]
1339 --psdir=DIR ps documentation [DOCDIR]
1345 --build=BUILD configure
for building on BUILD
[guessed
]
1346 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1350 if test -n "$ac_init_help"; then
1355 --disable-option-checking ignore unrecognized
--enable/--with options
1356 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1357 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1358 --disable-nls do not use Native Language Support
1359 --disable-rpath do not hardcode runtime library paths
1360 --enable-maintainer-mode enable rules only needed by maintainers
1361 --enable-host-shared build
host code as shared libraries
1362 --enable-host-pie build
host code as PIE
1365 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1366 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1367 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1368 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1369 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1370 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1371 --with-included-gettext use the GNU gettext library included here
1372 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1373 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1374 --with-libintl-type=TYPE
type of library to search
for (auto
/static
/shared
)
1376 Some influential environment variables
:
1377 CC C compiler
command
1378 CFLAGS C compiler flags
1379 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1380 nonstandard directory
<lib dir
>
1381 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1382 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1383 you have headers
in a nonstandard directory
<include dir
>
1386 Use these variables to override the choices made by
`configure' or to help
1387 it to find libraries and programs with nonstandard names/locations.
1389 Report bugs to the package provider.
1394 if test "$ac_init_help" = "recursive"; then
1395 # If there are subdirs, report their specific --help.
1396 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1397 test -d "$ac_dir" ||
1398 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1403 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1406 # A ".." for each directory in $ac_dir_suffix.
1407 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1408 case $ac_top_builddir_sub in
1409 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1413 ac_abs_top_builddir=$ac_pwd
1414 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1415 # for backward compatibility:
1416 ac_top_builddir=$ac_top_build_prefix
1419 .) # We are building in place.
1421 ac_top_srcdir=$ac_top_builddir_sub
1422 ac_abs_top_srcdir=$ac_pwd ;;
1423 [\\/]* | ?:[\\/]* ) # Absolute name.
1424 ac_srcdir=$srcdir$ac_dir_suffix;
1425 ac_top_srcdir=$srcdir
1426 ac_abs_top_srcdir=$srcdir ;;
1428 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1429 ac_top_srcdir=$ac_top_build_prefix$srcdir
1430 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1432 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1434 cd "$ac_dir" || { ac_status=$?; continue; }
1435 # Check for guested configure.
1436 if test -f "$ac_srcdir/configure.gnu"; then
1438 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1439 elif test -f "$ac_srcdir/configure"; then
1441 $SHELL "$ac_srcdir/configure" --help=recursive
1443 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1445 cd "$ac_pwd" || { ac_status=$?; break; }
1449 test -n "$ac_init_help" && exit $ac_status
1450 if $ac_init_version; then
1453 generated by GNU Autoconf 2.69
1455 Copyright (C) 2012 Free Software Foundation, Inc.
1456 This configure script is free software; the Free Software Foundation
1457 gives unlimited permission to copy, distribute and modify it.
1462 ## ------------------------ ##
1463 ## Autoconf initialization. ##
1464 ## ------------------------ ##
1466 # ac_fn_c_try_compile LINENO
1467 # --------------------------
1468 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1469 ac_fn_c_try_compile ()
1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1472 rm -f conftest.$ac_objext
1473 if { { ac_try="$ac_compile"
1475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1476 *) ac_try_echo
=$ac_try;;
1478 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1479 $as_echo "$ac_try_echo"; } >&5
1480 (eval "$ac_compile") 2>conftest.err
1482 if test -s conftest.err
; then
1483 grep -v '^ *+' conftest.err
>conftest.er1
1484 cat conftest.er1
>&5
1485 mv -f conftest.er1 conftest.err
1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488 test $ac_status = 0; } && {
1489 test -z "$ac_c_werror_flag" ||
1490 test ! -s conftest.err
1491 } && test -s conftest.
$ac_objext; then :
1494 $as_echo "$as_me: failed program was:" >&5
1495 sed 's/^/| /' conftest.
$ac_ext >&5
1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500 as_fn_set_status
$ac_retval
1502 } # ac_fn_c_try_compile
1504 # ac_fn_c_try_cpp LINENO
1505 # ----------------------
1506 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1509 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1510 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1513 *) ac_try_echo=$ac_try;;
1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516 $as_echo "$ac_try_echo"; } >&5
1517 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1519 if test -s conftest.err; then
1520 grep -v '^ *+' conftest.err >conftest.er1
1521 cat conftest.er1 >&5
1522 mv -f conftest.er1 conftest.err
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } > conftest.i && {
1526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1531 $as_echo "$as_me: failed program was:" >&5
1532 sed 's/^/| /' conftest.$ac_ext >&5
1536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1537 as_fn_set_status $ac_retval
1541 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1542 # -------------------------------------------------------
1543 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1544 # the include files in INCLUDES and setting the cache variable VAR
1546 ac_fn_c_check_header_mongrel ()
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 if eval \${$3+:} false; then :
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1551 $as_echo_n "checking for $2... " >&6; }
1552 if eval \${$3+:} false; then :
1553 $as_echo_n "(cached) " >&6
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1557 $as_echo "$ac_res" >&6; }
1559 # Is the header compilable?
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1561 $as_echo_n "checking $2 usability... " >&6; }
1562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1563 /* end confdefs.h. */
1567 if ac_fn_c_try_compile "$LINENO"; then :
1568 ac_header_compiler=yes
1570 ac_header_compiler=no
1572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1574 $as_echo "$ac_header_compiler" >&6; }
1576 # Is the header present?
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1578 $as_echo_n "checking $2 presence... " >&6; }
1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1580 /* end confdefs.h. */
1583 if ac_fn_c_try_cpp "$LINENO"; then :
1584 ac_header_preproc=yes
1586 ac_header_preproc=no
1588 rm -f conftest.err conftest.i conftest.$ac_ext
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1590 $as_echo "$ac_header_preproc" >&6; }
1592 # So? What about this header?
1593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1596 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1598 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1602 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1604 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1606 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1608 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1610 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if eval \${$3+:} false; then :
1616 $as_echo_n "(cached) " >&6
1618 eval "$3=\$ac_header_compiler"
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 } # ac_fn_c_check_header_mongrel
1628 # ac_fn_c_try_run LINENO
1629 # ----------------------
1630 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1631 # that executables *can* be run.
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 if { { ac_try="$ac_link"
1637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1638 *) ac_try_echo
=$ac_try;;
1640 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_link") 2>&5
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1646 { { case "(($ac_try" in
1647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_try") 2>&5
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; }; }; then :
1658 $as_echo "$as_me: program exited with status $ac_status" >&5
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1662 ac_retval=$ac_status
1664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status $ac_retval
1670 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1671 # -------------------------------------------------------
1672 # Tests whether HEADER exists and can be compiled using the include files in
1673 # INCLUDES, setting the cache variable VAR accordingly.
1674 ac_fn_c_check_header_compile ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1687 if ac_fn_c_try_compile "$LINENO"; then :
1692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1696 $as_echo "$ac_res" >&6; }
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 } # ac_fn_c_check_header_compile
1701 # ac_fn_c_try_link LINENO
1702 # -----------------------
1703 # Try to link conftest.$ac_ext, and return whether this succeeded.
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 rm -f conftest.$ac_objext conftest$ac_exeext
1708 if { { ac_try="$ac_link"
1710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1711 *) ac_try_echo
=$ac_try;;
1713 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_link") 2>conftest.err
1717 if test -s conftest.err
; then
1718 grep -v '^ *+' conftest.err
>conftest.er1
1719 cat conftest.er1
>&5
1720 mv -f conftest.er1 conftest.err
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } && {
1724 test -z "$ac_c_werror_flag" ||
1725 test ! -s conftest.err
1726 } && test -s conftest
$ac_exeext && {
1727 test "$cross_compiling" = yes ||
1728 test -x conftest
$ac_exeext
1732 $as_echo "$as_me: failed program was:" >&5
1733 sed 's/^/| /' conftest.
$ac_ext >&5
1737 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1738 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1739 # interfere with the next link command; also delete a directory that is
1740 # left behind by Apple's compiler. We do this before executing the actions.
1741 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 as_fn_set_status
$ac_retval
1745 } # ac_fn_c_try_link
1747 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1748 # -------------------------------------------
1749 # Tests whether TYPE exists after having included INCLUDES, setting cache
1750 # variable VAR accordingly.
1751 ac_fn_c_check_type
()
1753 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755 $as_echo_n "checking for $2... " >&6; }
1756 if eval \
${$3+:} false
; then :
1757 $as_echo_n "(cached) " >&6
1760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1772 if ac_fn_c_try_compile
"$LINENO"; then :
1773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1785 if ac_fn_c_try_compile
"$LINENO"; then :
1790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796 $as_echo "$ac_res" >&6; }
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 } # ac_fn_c_check_type
1801 # ac_fn_c_check_func LINENO FUNC VAR
1802 # ----------------------------------
1803 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1804 ac_fn_c_check_func
()
1806 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if eval \
${$3+:} false
; then :
1810 $as_echo_n "(cached) " >&6
1812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1814 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1816 #define $2 innocuous_$2
1818 /* System header to define __stub macros and hopefully few prototypes,
1819 which can conflict with char $2 (); below.
1820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1821 <limits.h> exists even on freestanding compilers. */
1824 # include <limits.h>
1826 # include <assert.h>
1831 /* Override any GCC internal prototype to avoid an error.
1832 Use char because int might match the return type of a GCC
1833 builtin and then its argument prototype would still apply. */
1838 /* The GNU C library defines this for functions which it implements
1839 to always fail with ENOSYS. Some functions are actually named
1840 something starting with __ and the normal name is an alias. */
1841 #if defined __stub_$2 || defined __stub___$2
1853 if ac_fn_c_try_link
"$LINENO"; then :
1858 rm -f core conftest.err conftest.
$ac_objext \
1859 conftest
$ac_exeext conftest.
$ac_ext
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1863 $as_echo "$ac_res" >&6; }
1864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 } # ac_fn_c_check_func
1867 cat >config.log
<<_ACEOF
1868 This file contains any messages produced by compilers while
1869 running configure, to aid debugging if configure makes a mistake.
1871 It was created by $as_me, which was
1872 generated by GNU Autoconf 2.69. Invocation command line was
1884 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1885 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1886 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1887 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1888 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1890 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1891 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1893 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1894 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1895 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1896 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1897 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1898 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1899 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir
=.
1908 $as_echo "PATH: $as_dir"
1924 # Keep a trace of the command line.
1925 # Strip out --no-create and --no-recursion so they do not pile up.
1926 # Strip out --silent because we don't want to record it for future runs.
1927 # Also quote any args containing shell meta-characters.
1928 # Make two passes to allow for proper duplicate-argument suppression.
1932 ac_must_keep_next
=false
1938 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1939 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1940 |
-silent |
--silent |
--silen |
--sile |
--sil)
1943 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1946 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1948 as_fn_append ac_configure_args1
" '$ac_arg'"
1949 if test $ac_must_keep_next = true
; then
1950 ac_must_keep_next
=false
# Got value, back to normal.
1953 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1954 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1955 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1956 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1957 case "$ac_configure_args0 " in
1958 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1961 -* ) ac_must_keep_next
=true
;;
1964 as_fn_append ac_configure_args
" '$ac_arg'"
1969 { ac_configure_args0
=; unset ac_configure_args0
;}
1970 { ac_configure_args1
=; unset ac_configure_args1
;}
1972 # When interrupted or exit'd, cleanup temporary files, and complete
1973 # config.log. We remove comments because anyway the quotes in there
1974 # would cause problems or look ugly.
1975 # WARNING: Use '\'' to represent an apostrophe within the trap.
1976 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1977 trap 'exit_status=$?
1978 # Save into config.log some information that might help in debugging.
1982 $as_echo "## ---------------- ##
1983 ## Cache variables. ##
1984 ## ---------------- ##"
1986 # The following way of writing the cache mishandles newlines in values,
1988 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1989 eval ac_val=\$$ac_var
1993 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1994 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1997 _ | IFS | as_nl) ;; #(
1998 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1999 *) { eval $ac_var=; unset $ac_var;} ;;
2004 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2005 *${as_nl}ac_space=\ *)
2007 "s/'\''/'\''\\\\'\'''\''/g;
2008 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2011 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2018 $as_echo "## ----------------- ##
2019 ## Output variables. ##
2020 ## ----------------- ##"
2022 for ac_var in $ac_subst_vars
2024 eval ac_val=\$$ac_var
2026 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2028 $as_echo "$ac_var='\''$ac_val'\''"
2032 if test -n "$ac_subst_files"; then
2033 $as_echo "## ------------------- ##
2034 ## File substitutions. ##
2035 ## ------------------- ##"
2037 for ac_var
in $ac_subst_files
2039 eval ac_val
=\$
$ac_var
2041 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2043 $as_echo "$ac_var='\''$ac_val'\''"
2048 if test -s confdefs.h; then
2049 $as_echo "## ----------- ##
2056 test "$ac_signal" != 0 &&
2057 $as_echo "$as_me: caught signal $ac_signal"
2058 $as_echo "$as_me: exit $exit_status"
2060 rm -f core *.core core.conftest.* &&
2061 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2064 for ac_signal
in 1 2 13 15; do
2065 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2069 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2070 rm -f -r conftest
* confdefs.h
2072 $as_echo "/* confdefs.h */" > confdefs.h
2074 # Predefined preprocessor variables.
2076 cat >>confdefs.h
<<_ACEOF
2077 #define PACKAGE_NAME "$PACKAGE_NAME"
2080 cat >>confdefs.h
<<_ACEOF
2081 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2084 cat >>confdefs.h
<<_ACEOF
2085 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2088 cat >>confdefs.h
<<_ACEOF
2089 #define PACKAGE_STRING "$PACKAGE_STRING"
2092 cat >>confdefs.h
<<_ACEOF
2093 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2096 cat >>confdefs.h
<<_ACEOF
2097 #define PACKAGE_URL "$PACKAGE_URL"
2101 # Let the site file select an alternate cache file if it wants to.
2102 # Prefer an explicitly selected file to automatically selected ones.
2105 if test -n "$CONFIG_SITE"; then
2106 # We do not want a PATH search for config.site.
2107 case $CONFIG_SITE in #((
2108 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2109 */*) ac_site_file1
=$CONFIG_SITE;;
2110 *) ac_site_file1
=.
/$CONFIG_SITE;;
2112 elif test "x$prefix" != xNONE
; then
2113 ac_site_file1
=$prefix/share
/config.site
2114 ac_site_file2
=$prefix/etc
/config.site
2116 ac_site_file1
=$ac_default_prefix/share
/config.site
2117 ac_site_file2
=$ac_default_prefix/etc
/config.site
2119 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2121 test "x$ac_site_file" = xNONE
&& continue
2122 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2124 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2125 sed 's/^/| /' "$ac_site_file" >&5
2127 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2129 as_fn_error $?
"failed to load site script $ac_site_file
2130 See \`config.log' for more details" "$LINENO" 5; }
2134 if test -r "$cache_file"; then
2135 # Some versions of bash will fail to source /dev/null (special files
2136 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2137 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2139 $as_echo "$as_me: loading cache $cache_file" >&6;}
2141 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2142 *) .
"./$cache_file";;
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2147 $as_echo "$as_me: creating cache $cache_file" >&6;}
2151 as_fn_append ac_header_list
" stdlib.h"
2152 as_fn_append ac_header_list
" unistd.h"
2153 as_fn_append ac_header_list
" sys/param.h"
2154 # Check that the precious variables saved in the cache have kept the same
2156 ac_cache_corrupted
=false
2157 for ac_var
in $ac_precious_vars; do
2158 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2159 eval ac_new_set
=\
$ac_env_${ac_var}_set
2160 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2161 eval ac_new_val
=\
$ac_env_${ac_var}_value
2162 case $ac_old_set,$ac_new_set in
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2165 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2166 ac_cache_corrupted
=: ;;
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2169 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2170 ac_cache_corrupted
=: ;;
2173 if test "x$ac_old_val" != "x$ac_new_val"; then
2174 # differences in whitespace do not lead to failure.
2175 ac_old_val_w
=`echo x $ac_old_val`
2176 ac_new_val_w
=`echo x $ac_new_val`
2177 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2179 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2180 ac_cache_corrupted
=:
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2183 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2184 eval $ac_var=\
$ac_old_val
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2187 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2189 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2192 # Pass precious variables to config.status.
2193 if test "$ac_new_set" = set; then
2195 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2196 *) ac_arg
=$ac_var=$ac_new_val ;;
2198 case " $ac_configure_args " in
2199 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2200 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2204 if $ac_cache_corrupted; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2208 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2209 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2211 ## -------------------- ##
2212 ## Main body of script. ##
2213 ## -------------------- ##
2216 ac_cpp
='$CPP $CPPFLAGS'
2217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2226 ac_cpp
='$CPP $CPPFLAGS'
2227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2230 if test -n "$ac_tool_prefix"; then
2231 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2232 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234 $as_echo_n "checking for $ac_word... " >&6; }
2235 if ${ac_cv_prog_CC+:} false
; then :
2236 $as_echo_n "(cached) " >&6
2238 if test -n "$CC"; then
2239 ac_cv_prog_CC
="$CC" # Let the user override the test.
2241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2245 test -z "$as_dir" && as_dir
=.
2246 for ac_exec_ext
in '' $ac_executable_extensions; do
2247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2248 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 if test -n "$CC"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2261 $as_echo "$CC" >&6; }
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2264 $as_echo "no" >&6; }
2269 if test -z "$ac_cv_prog_CC"; then
2271 # Extract the first word of "gcc", so it can be a program name with args.
2272 set dummy gcc
; ac_word
=$2
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2274 $as_echo_n "checking for $ac_word... " >&6; }
2275 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2276 $as_echo_n "(cached) " >&6
2278 if test -n "$ac_ct_CC"; then
2279 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir
=.
2286 for ac_exec_ext
in '' $ac_executable_extensions; do
2287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2288 ac_cv_prog_ac_ct_CC
="gcc"
2289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2299 if test -n "$ac_ct_CC"; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2301 $as_echo "$ac_ct_CC" >&6; }
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2304 $as_echo "no" >&6; }
2307 if test "x$ac_ct_CC" = x
; then
2310 case $cross_compiling:$ac_tool_warned in
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2314 ac_tool_warned
=yes ;;
2322 if test -z "$CC"; then
2323 if test -n "$ac_tool_prefix"; then
2324 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2325 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2327 $as_echo_n "checking for $ac_word... " >&6; }
2328 if ${ac_cv_prog_CC+:} false
; then :
2329 $as_echo_n "(cached) " >&6
2331 if test -n "$CC"; then
2332 ac_cv_prog_CC
="$CC" # Let the user override the test.
2334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir
=.
2339 for ac_exec_ext
in '' $ac_executable_extensions; do
2340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2341 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 if test -n "$CC"; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2354 $as_echo "$CC" >&6; }
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2357 $as_echo "no" >&6; }
2363 if test -z "$CC"; then
2364 # Extract the first word of "cc", so it can be a program name with args.
2365 set dummy cc
; ac_word
=$2
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2367 $as_echo_n "checking for $ac_word... " >&6; }
2368 if ${ac_cv_prog_CC+:} false
; then :
2369 $as_echo_n "(cached) " >&6
2371 if test -n "$CC"; then
2372 ac_cv_prog_CC
="$CC" # Let the user override the test.
2375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir
=.
2380 for ac_exec_ext
in '' $ac_executable_extensions; do
2381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2382 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2383 ac_prog_rejected
=yes
2387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2394 if test $ac_prog_rejected = yes; then
2395 # We found a bogon in the path, so make sure we never use it.
2396 set dummy
$ac_cv_prog_CC
2398 if test $# != 0; then
2399 # We chose a different compiler from the bogus one.
2400 # However, it has the same basename, so the bogon will be chosen
2401 # first if we set CC to just the basename; use the full file name.
2403 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2409 if test -n "$CC"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2411 $as_echo "$CC" >&6; }
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2414 $as_echo "no" >&6; }
2419 if test -z "$CC"; then
2420 if test -n "$ac_tool_prefix"; then
2421 for ac_prog
in cl.exe
2423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2424 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if ${ac_cv_prog_CC+:} false
; then :
2428 $as_echo_n "(cached) " >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC
="$CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2440 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2453 $as_echo "$CC" >&6; }
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2456 $as_echo "no" >&6; }
2460 test -n "$CC" && break
2463 if test -z "$CC"; then
2465 for ac_prog
in cl.exe
2467 # Extract the first word of "$ac_prog", so it can be a program name with args.
2468 set dummy
$ac_prog; ac_word
=$2
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2470 $as_echo_n "checking for $ac_word... " >&6; }
2471 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2472 $as_echo_n "(cached) " >&6
2474 if test -n "$ac_ct_CC"; then
2475 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2481 test -z "$as_dir" && as_dir
=.
2482 for ac_exec_ext
in '' $ac_executable_extensions; do
2483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2484 ac_cv_prog_ac_ct_CC
="$ac_prog"
2485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2494 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2495 if test -n "$ac_ct_CC"; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2497 $as_echo "$ac_ct_CC" >&6; }
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2500 $as_echo "no" >&6; }
2504 test -n "$ac_ct_CC" && break
2507 if test "x$ac_ct_CC" = x
; then
2510 case $cross_compiling:$ac_tool_warned in
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2514 ac_tool_warned
=yes ;;
2523 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2525 as_fn_error $?
"no acceptable C compiler found in \$PATH
2526 See \`config.log' for more details" "$LINENO" 5; }
2528 # Provide some information about the compiler.
2529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2532 for ac_option
in --version -v -V -qversion; do
2533 { { ac_try
="$ac_compiler $ac_option >&5"
2535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2539 $as_echo "$ac_try_echo"; } >&5
2540 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2542 if test -s conftest.err; then
2544 ... rest of stderr output deleted ...
2545 10q' conftest.err >conftest.er1
2546 cat conftest.er1 >&5
2548 rm -f conftest.er1 conftest.err
2549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2550 test $ac_status = 0; }
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2554 /* end confdefs.h. */
2564 ac_clean_files_save=$ac_clean_files
2565 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2566 # Try to create an executable without -o first, disregard a.out.
2567 # It will help us diagnose broken compilers, and finding out an intuition
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2570 $as_echo_n "checking whether the C compiler works... " >&6; }
2571 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2573 # The possible output files:
2574 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2577 for ac_file in $ac_files
2580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2581 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2586 if { { ac_try="$ac_link_default"
2588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2589 *) ac_try_echo
=$ac_try;;
2591 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2592 $as_echo "$ac_try_echo"; } >&5
2593 (eval "$ac_link_default") 2>&5
2595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2596 test $ac_status = 0; }; then :
2597 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2598 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2599 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2600 # so that the user can short-circuit this test for compilers unknown to
2602 for ac_file
in $ac_files ''
2604 test -f "$ac_file" ||
continue
2606 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2609 # We found the default executable, but exeext='' is most
2613 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2615 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2617 # We set ac_cv_exeext here because the later test for it is not
2618 # safe: cross compilers may not add the suffix if given an `-o'
2619 # argument, so we may need to know it at that point already.
2620 # Even if this section looks crufty: it has the advantage of
2627 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2632 if test -z "$ac_file"; then :
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2634 $as_echo "no" >&6; }
2635 $as_echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.
$ac_ext >&5
2638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2640 as_fn_error
77 "C compiler cannot create executables
2641 See \`config.log' for more details" "$LINENO" 5; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2644 $as_echo "yes" >&6; }
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2647 $as_echo_n "checking for C compiler default output file name... " >&6; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2649 $as_echo "$ac_file" >&6; }
2650 ac_exeext
=$ac_cv_exeext
2652 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2653 ac_clean_files
=$ac_clean_files_save
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2655 $as_echo_n "checking for suffix of executables... " >&6; }
2656 if { { ac_try
="$ac_link"
2658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2662 $as_echo "$ac_try_echo"; } >&5
2663 (eval "$ac_link") 2>&5
2665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2666 test $ac_status = 0; }; then :
2667 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2668 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2669 # work properly (i.e., refer to `conftest.exe'), while it won't with
2671 for ac_file
in conftest.exe conftest conftest.
*; do
2672 test -f "$ac_file" ||
continue
2674 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2675 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2683 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2684 See \`config.log' for more details" "$LINENO" 5; }
2686 rm -f conftest conftest
$ac_cv_exeext
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2688 $as_echo "$ac_cv_exeext" >&6; }
2690 rm -f conftest.
$ac_ext
2691 EXEEXT
=$ac_cv_exeext
2693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2699 FILE *f = fopen ("conftest.out", "w");
2700 return ferror (f) || fclose (f) != 0;
2706 ac_clean_files
="$ac_clean_files conftest.out"
2707 # Check that the compiler produces executables we can run. If not, either
2708 # the compiler is broken, or we cross compile.
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2710 $as_echo_n "checking whether we are cross compiling... " >&6; }
2711 if test "$cross_compiling" != yes; then
2712 { { ac_try
="$ac_link"
2714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 $as_echo "$ac_try_echo"; } >&5
2719 (eval "$ac_link") 2>&5
2721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2722 test $ac_status = 0; }
2723 if { ac_try='./conftest$ac_cv_exeext'
2724 { { case "(($ac_try" in
2725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2726 *) ac_try_echo
=$ac_try;;
2728 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729 $as_echo "$ac_try_echo"; } >&5
2730 (eval "$ac_try") 2>&5
2732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2733 test $ac_status = 0; }; }; then
2736 if test "$cross_compiling" = maybe
; then
2739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2741 as_fn_error $?
"cannot run C compiled programs.
2742 If you meant to cross compile, use \`--host'.
2743 See \`config.log' for more details" "$LINENO" 5; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2748 $as_echo "$cross_compiling" >&6; }
2750 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2751 ac_clean_files
=$ac_clean_files_save
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2753 $as_echo_n "checking for suffix of object files... " >&6; }
2754 if ${ac_cv_objext+:} false
; then :
2755 $as_echo_n "(cached) " >&6
2757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2768 rm -f conftest.o conftest.obj
2769 if { { ac_try
="$ac_compile"
2771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 $as_echo "$ac_try_echo"; } >&5
2776 (eval "$ac_compile") 2>&5
2778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779 test $ac_status = 0; }; then :
2780 for ac_file in conftest.o conftest.obj conftest.*; do
2781 test -f "$ac_file" || continue;
2783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2784 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2789 $as_echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2794 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2795 See \
`config.log' for more details" "$LINENO" 5; }
2797 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2800 $as_echo "$ac_cv_objext" >&6; }
2801 OBJEXT=$ac_cv_objext
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2804 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2805 if ${ac_cv_c_compiler_gnu+:} false; then :
2806 $as_echo_n "(cached) " >&6
2808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809 /* end confdefs.h. */
2822 if ac_fn_c_try_compile "$LINENO"; then :
2827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2828 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2832 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2833 if test $ac_compiler_gnu = yes; then
2838 ac_test_CFLAGS=${CFLAGS+set}
2839 ac_save_CFLAGS=$CFLAGS
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2841 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2842 if ${ac_cv_prog_cc_g+:} false; then :
2843 $as_echo_n "(cached) " >&6
2845 ac_save_c_werror_flag=$ac_c_werror_flag
2846 ac_c_werror_flag=yes
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2860 if ac_fn_c_try_compile "$LINENO"; then :
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2875 if ac_fn_c_try_compile "$LINENO"; then :
2878 ac_c_werror_flag=$ac_save_c_werror_flag
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2891 if ac_fn_c_try_compile "$LINENO"; then :
2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 ac_c_werror_flag=$ac_save_c_werror_flag
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2902 $as_echo "$ac_cv_prog_cc_g" >&6; }
2903 if test "$ac_test_CFLAGS" = set; then
2904 CFLAGS=$ac_save_CFLAGS
2905 elif test $ac_cv_prog_cc_g = yes; then
2906 if test "$GCC" = yes; then
2912 if test "$GCC" = yes; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2919 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2920 if ${ac_cv_prog_cc_c89+:} false; then :
2921 $as_echo_n "(cached) " >&6
2923 ac_cv_prog_cc_c89=no
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2930 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2931 struct buf { int x; };
2932 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2933 static char *e (p, i)
2939 static char *f (char * (*g) (char **, int), char **p, ...)
2944 s = g (p, va_arg (v,int));
2949 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2950 function prototypes and stuff, but not '\xHH' hex character constants.
2951 These don't provoke an error unfortunately, instead are silently treated
2952 as 'x'. The following induces an error, until -std is added to get
2953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2954 array size at least. It's necessary to write '\x00'==0 to get something
2955 that's true only with -std. */
2956 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2958 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2959 inside strings and character constants. */
2961 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2963 int test (int i, double x);
2964 struct s1 {int (*f) (int a);};
2965 struct s2 {int (*f) (double a);};
2966 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2972 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2980 CC="$ac_save_CC $ac_arg"
2981 if ac_fn_c_try_compile "$LINENO"; then :
2982 ac_cv_prog_cc_c89=$ac_arg
2984 rm -f core conftest.err conftest.$ac_objext
2985 test "x$ac_cv_prog_cc_c89" != "xno" && break
2987 rm -f conftest.$ac_ext
2992 case "x$ac_cv_prog_cc_c89" in
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2995 $as_echo "none needed" >&6; } ;;
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2998 $as_echo "unsupported" >&6; } ;;
3000 CC="$CC $ac_cv_prog_cc_c89"
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3004 if test "x$ac_cv_prog_cc_c89" != xno; then :
3009 ac_cpp='$CPP $CPPFLAGS'
3010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3016 ac_cpp='$CPP $CPPFLAGS'
3017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3021 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3022 # On Suns, sometimes $CPP names a directory.
3023 if test -n "$CPP" && test -d "$CPP"; then
3026 if test -z "$CPP"; then
3027 if ${ac_cv_prog_CPP+:} false; then :
3028 $as_echo_n "(cached) " >&6
3030 # Double quotes because CPP needs to be expanded
3031 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3034 for ac_c_preproc_warn_flag in '' yes
3036 # Use a header file that comes with gcc, so configuring glibc
3037 # with a fresh cross-compiler works.
3038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3039 # <limits.h> exists even on freestanding compilers.
3040 # On the NeXT, cc -E runs the code through the compiler's parser,
3041 # not just through cpp. "Syntax error" is here to catch this case.
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3045 # include <limits.h>
3047 # include <assert.h>
3051 if ac_fn_c_try_cpp "$LINENO"; then :
3054 # Broken: fails on valid input.
3057 rm -f conftest.err conftest.i conftest.$ac_ext
3059 # OK, works on sane cases. Now check whether nonexistent headers
3060 # can be detected and how.
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3063 #include <ac_nonexistent.h>
3065 if ac_fn_c_try_cpp "$LINENO"; then :
3066 # Broken: success on invalid input.
3069 # Passes both tests.
3073 rm -f conftest.err conftest.i conftest.$ac_ext
3076 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3077 rm -f conftest.i conftest.err conftest.
$ac_ext
3078 if $ac_preproc_ok; then :
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3091 $as_echo "$CPP" >&6; }
3093 for ac_c_preproc_warn_flag
in '' yes
3095 # Use a header file that comes with gcc, so configuring glibc
3096 # with a fresh cross-compiler works.
3097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3098 # <limits.h> exists even on freestanding compilers.
3099 # On the NeXT, cc -E runs the code through the compiler's parser,
3100 # not just through cpp. "Syntax error" is here to catch this case.
3101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3104 # include <limits.h>
3106 # include <assert.h>
3110 if ac_fn_c_try_cpp
"$LINENO"; then :
3113 # Broken: fails on valid input.
3116 rm -f conftest.err conftest.i conftest.
$ac_ext
3118 # OK, works on sane cases. Now check whether nonexistent headers
3119 # can be detected and how.
3120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3122 #include <ac_nonexistent.h>
3124 if ac_fn_c_try_cpp
"$LINENO"; then :
3125 # Broken: success on invalid input.
3128 # Passes both tests.
3132 rm -f conftest.err conftest.i conftest.
$ac_ext
3135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3136 rm -f conftest.i conftest.err conftest.
$ac_ext
3137 if $ac_preproc_ok; then :
3140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3143 See \`config.log' for more details" "$LINENO" 5; }
3147 ac_cpp
='$CPP $CPPFLAGS'
3148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3154 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3155 if ${ac_cv_path_GREP+:} false
; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -z "$GREP"; then
3159 ac_path_GREP_found
=false
3160 # Loop through the user's path and test for each of PROGNAME-LIST
3161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3162 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3165 test -z "$as_dir" && as_dir
=.
3166 for ac_prog
in grep ggrep
; do
3167 for ac_exec_ext
in '' $ac_executable_extensions; do
3168 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3169 as_fn_executable_p
"$ac_path_GREP" ||
continue
3170 # Check for GNU ac_path_GREP and select it if it is found.
3171 # Check for GNU $ac_path_GREP
3172 case `"$ac_path_GREP" --version 2>&1` in
3174 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3177 $as_echo_n 0123456789 >"conftest.in"
3180 cat "conftest.in" "conftest.in" >"conftest.tmp"
3181 mv "conftest.tmp" "conftest.in"
3182 cp "conftest.in" "conftest.nl"
3183 $as_echo 'GREP' >> "conftest.nl"
3184 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3185 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3186 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3187 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3188 # Best one so far, save it but keep looking for a better one
3189 ac_cv_path_GREP
="$ac_path_GREP"
3190 ac_path_GREP_max
=$ac_count
3192 # 10*(2^10) chars as input seems more than enough
3193 test $ac_count -gt 10 && break
3195 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3198 $ac_path_GREP_found && break 3
3203 if test -z "$ac_cv_path_GREP"; then
3204 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3207 ac_cv_path_GREP
=$GREP
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3212 $as_echo "$ac_cv_path_GREP" >&6; }
3213 GREP
="$ac_cv_path_GREP"
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3217 $as_echo_n "checking for egrep... " >&6; }
3218 if ${ac_cv_path_EGREP+:} false
; then :
3219 $as_echo_n "(cached) " >&6
3221 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3222 then ac_cv_path_EGREP
="$GREP -E"
3224 if test -z "$EGREP"; then
3225 ac_path_EGREP_found
=false
3226 # Loop through the user's path and test for each of PROGNAME-LIST
3227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3228 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3231 test -z "$as_dir" && as_dir
=.
3232 for ac_prog
in egrep; do
3233 for ac_exec_ext
in '' $ac_executable_extensions; do
3234 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3235 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3236 # Check for GNU ac_path_EGREP and select it if it is found.
3237 # Check for GNU $ac_path_EGREP
3238 case `"$ac_path_EGREP" --version 2>&1` in
3240 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3243 $as_echo_n 0123456789 >"conftest.in"
3246 cat "conftest.in" "conftest.in" >"conftest.tmp"
3247 mv "conftest.tmp" "conftest.in"
3248 cp "conftest.in" "conftest.nl"
3249 $as_echo 'EGREP' >> "conftest.nl"
3250 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3251 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3252 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3253 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3254 # Best one so far, save it but keep looking for a better one
3255 ac_cv_path_EGREP
="$ac_path_EGREP"
3256 ac_path_EGREP_max
=$ac_count
3258 # 10*(2^10) chars as input seems more than enough
3259 test $ac_count -gt 10 && break
3261 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3264 $ac_path_EGREP_found && break 3
3269 if test -z "$ac_cv_path_EGREP"; then
3270 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3273 ac_cv_path_EGREP
=$EGREP
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3279 $as_echo "$ac_cv_path_EGREP" >&6; }
3280 EGREP
="$ac_cv_path_EGREP"
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3284 $as_echo_n "checking for ANSI C header files... " >&6; }
3285 if ${ac_cv_header_stdc+:} false
; then :
3286 $as_echo_n "(cached) " >&6
3288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3303 if ac_fn_c_try_compile
"$LINENO"; then :
3304 ac_cv_header_stdc
=yes
3306 ac_cv_header_stdc
=no
3308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3310 if test $ac_cv_header_stdc = yes; then
3311 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3318 $EGREP "memchr" >/dev
/null
2>&1; then :
3321 ac_cv_header_stdc
=no
3327 if test $ac_cv_header_stdc = yes; then
3328 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3335 $EGREP "free" >/dev
/null
2>&1; then :
3338 ac_cv_header_stdc
=no
3344 if test $ac_cv_header_stdc = yes; then
3345 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3346 if test "$cross_compiling" = yes; then :
3349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3353 #if ((' ' & 0x0FF) == 0x020)
3354 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3355 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3357 # define ISLOWER(c) \
3358 (('a' <= (c) && (c) <= 'i') \
3359 || ('j' <= (c) && (c) <= 'r') \
3360 || ('s' <= (c) && (c) <= 'z'))
3361 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3364 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3369 for (i = 0; i < 256; i++)
3370 if (XOR (islower (i), ISLOWER (i))
3371 || toupper (i) != TOUPPER (i))
3376 if ac_fn_c_try_run
"$LINENO"; then :
3379 ac_cv_header_stdc
=no
3381 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3382 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3388 $as_echo "$ac_cv_header_stdc" >&6; }
3389 if test $ac_cv_header_stdc = yes; then
3391 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3396 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3397 inttypes.h stdint.h unistd.h
3399 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3400 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3402 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3403 cat >>confdefs.h
<<_ACEOF
3404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3413 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3414 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3421 if test "$MINIX" = yes; then
3423 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3426 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3429 $as_echo "#define _MINIX 1" >>confdefs.h
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3435 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3436 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3437 $as_echo_n "(cached) " >&6
3439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3442 # define __EXTENSIONS__ 1
3443 $ac_includes_default
3452 if ac_fn_c_try_compile
"$LINENO"; then :
3453 ac_cv_safe_to_define___extensions__
=yes
3455 ac_cv_safe_to_define___extensions__
=no
3457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3460 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3461 test $ac_cv_safe_to_define___extensions__ = yes &&
3462 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3464 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3466 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3468 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3470 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3474 ac_config_headers
="$ac_config_headers config.h"
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3479 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3481 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3482 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3483 $as_echo_n "(cached) " >&6
3485 cat >conftest.
make <<\_ACEOF
3488 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3490 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3491 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3493 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3495 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3499 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3501 $as_echo "yes" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3506 SET_MAKE
="MAKE=${MAKE-make}"
3510 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3511 if test -f "$ac_dir/install-sh"; then
3513 ac_install_sh
="$ac_aux_dir/install-sh -c"
3515 elif test -f "$ac_dir/install.sh"; then
3517 ac_install_sh
="$ac_aux_dir/install.sh -c"
3519 elif test -f "$ac_dir/shtool"; then
3521 ac_install_sh
="$ac_aux_dir/shtool install -c"
3525 if test -z "$ac_aux_dir"; then
3526 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3529 # These three variables are undocumented and unsupported,
3530 # and are intended to be withdrawn in a future Autoconf release.
3531 # They can cause serious problems if a builder's source tree is in a directory
3532 # whose full name contains unusual characters.
3533 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3534 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3535 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3538 # Find a good install program. We prefer a C program (faster),
3539 # so one script is as good as another. But avoid the broken or
3540 # incompatible versions:
3541 # SysV /etc/install, /usr/sbin/install
3542 # SunOS /usr/etc/install
3543 # IRIX /sbin/install
3545 # AmigaOS /C/install, which installs bootblocks on floppy discs
3546 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3547 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3548 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3549 # OS/2's system install, which has a completely different semantic
3550 # ./install, which can be erroneously created by make from ./install.sh.
3551 # Reject install programs that cannot install multiple files.
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3553 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3554 if test -z "$INSTALL"; then
3555 if ${ac_cv_path_install+:} false
; then :
3556 $as_echo_n "(cached) " >&6
3558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3562 test -z "$as_dir" && as_dir
=.
3563 # Account for people who put trailing slashes in PATH elements.
3564 case $as_dir/ in #((
3565 .
/ | .
// |
/[cC
]/* | \
3566 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3567 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3570 # OSF1 and SCO ODT 3.0 have their own names for install.
3571 # Don't use installbsd from OSF since it installs stuff as root
3573 for ac_prog
in ginstall scoinst
install; do
3574 for ac_exec_ext
in '' $ac_executable_extensions; do
3575 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3576 if test $ac_prog = install &&
3577 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3578 # AIX install. It has an incompatible calling convention.
3580 elif test $ac_prog = install &&
3581 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3582 # program-specific install script used by HP pwplus--don't use.
3585 rm -rf conftest.one conftest.two conftest.dir
3586 echo one
> conftest.one
3587 echo two
> conftest.two
3589 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3590 test -s conftest.one
&& test -s conftest.two
&&
3591 test -s conftest.dir
/conftest.one
&&
3592 test -s conftest.dir
/conftest.two
3594 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3607 rm -rf conftest.one conftest.two conftest.dir
3610 if test "${ac_cv_path_install+set}" = set; then
3611 INSTALL
=$ac_cv_path_install
3613 # As a last resort, use the slow shell script. Don't cache a
3614 # value for INSTALL within a source directory, because that will
3615 # break other packages using the cache if that directory is
3616 # removed, or if the value is a relative name.
3617 INSTALL
=$ac_install_sh
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3621 $as_echo "$INSTALL" >&6; }
3623 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3624 # It thinks the first close brace ends the variable substitution.
3625 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3627 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3629 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3633 if test -n "$ac_aux_dir"; then
3634 case "$ac_aux_dir" in
3635 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3636 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3639 if test -z "$MKINSTALLDIRS"; then
3640 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3646 $as_echo_n "checking whether NLS is requested... " >&6; }
3647 # Check whether --enable-nls was given.
3648 if test "${enable_nls+set}" = set; then :
3649 enableval
=$enable_nls; USE_NLS
=$enableval
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3655 $as_echo "$USE_NLS" >&6; }
3662 # Prepare PATH_SEPARATOR.
3663 # The user is always right.
3664 if test "${PATH_SEPARATOR+set}" != set; then
3665 echo "#! /bin/sh" >conf$$.sh
3666 echo "exit 0" >>conf$$.sh
3668 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3676 # Find out how to test for executable files. Don't use a zero-byte file,
3677 # as systems may use methods other than mode bits to determine executability.
3678 cat >conf$$.
file <<_ASEOF
3682 chmod +x conf$$.
file
3683 if test -x conf$$.
file >/dev
/null
2>&1; then
3684 ac_executable_p
="test -x"
3686 ac_executable_p
="test -f"
3690 # Extract the first word of "msgfmt", so it can be a program name with args.
3691 set dummy msgfmt
; ac_word
=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if ${ac_cv_path_MSGFMT+:} false
; then :
3695 $as_echo_n "(cached) " >&6
3699 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3702 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3703 for ac_dir
in $PATH; do
3705 test -z "$ac_dir" && ac_dir
=.
3706 for ac_exec_ext
in '' $ac_executable_extensions; do
3707 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3708 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3709 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3710 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3717 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3721 MSGFMT
="$ac_cv_path_MSGFMT"
3722 if test "$MSGFMT" != ":"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3724 $as_echo "$MSGFMT" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3730 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3731 set dummy gmsgfmt
; ac_word
=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_path_GMSGFMT+:} false
; then :
3735 $as_echo_n "(cached) " >&6
3739 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir
=.
3747 for ac_exec_ext
in '' $ac_executable_extensions; do
3748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3761 GMSGFMT
=$ac_cv_path_GMSGFMT
3762 if test -n "$GMSGFMT"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3764 $as_echo "$GMSGFMT" >&6; }
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3773 # Prepare PATH_SEPARATOR.
3774 # The user is always right.
3775 if test "${PATH_SEPARATOR+set}" != set; then
3776 echo "#! /bin/sh" >conf$$.sh
3777 echo "exit 0" >>conf$$.sh
3779 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3787 # Find out how to test for executable files. Don't use a zero-byte file,
3788 # as systems may use methods other than mode bits to determine executability.
3789 cat >conf$$.
file <<_ASEOF
3793 chmod +x conf$$.
file
3794 if test -x conf$$.
file >/dev
/null
2>&1; then
3795 ac_executable_p
="test -x"
3797 ac_executable_p
="test -f"
3801 # Extract the first word of "xgettext", so it can be a program name with args.
3802 set dummy xgettext
; ac_word
=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_path_XGETTEXT+:} false
; then :
3806 $as_echo_n "(cached) " >&6
3810 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3813 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3814 for ac_dir
in $PATH; do
3816 test -z "$ac_dir" && ac_dir
=.
3817 for ac_exec_ext
in '' $ac_executable_extensions; do
3818 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3819 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3820 (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
3821 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
3828 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3832 XGETTEXT
="$ac_cv_path_XGETTEXT"
3833 if test "$XGETTEXT" != ":"; then
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3835 $as_echo "$XGETTEXT" >&6; }
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3838 $as_echo "no" >&6; }
3844 # Prepare PATH_SEPARATOR.
3845 # The user is always right.
3846 if test "${PATH_SEPARATOR+set}" != set; then
3847 echo "#! /bin/sh" >conf$$.sh
3848 echo "exit 0" >>conf$$.sh
3850 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3858 # Find out how to test for executable files. Don't use a zero-byte file,
3859 # as systems may use methods other than mode bits to determine executability.
3860 cat >conf$$.
file <<_ASEOF
3864 chmod +x conf$$.
file
3865 if test -x conf$$.
file >/dev
/null
2>&1; then
3866 ac_executable_p
="test -x"
3868 ac_executable_p
="test -f"
3872 # Extract the first word of "msgmerge", so it can be a program name with args.
3873 set dummy msgmerge
; ac_word
=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_path_MSGMERGE+:} false
; then :
3877 $as_echo_n "(cached) " >&6
3881 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
3884 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3885 for ac_dir
in $PATH; do
3887 test -z "$ac_dir" && ac_dir
=.
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3890 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
3891 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
3898 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
3902 MSGMERGE
="$ac_cv_path_MSGMERGE"
3903 if test "$MSGMERGE" != ":"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3905 $as_echo "$MSGMERGE" >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3912 if test "$GMSGFMT" != ":"; then
3913 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
3914 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3917 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3919 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
3924 if test "$XGETTEXT" != ":"; then
3925 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3926 (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
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
3930 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
3936 ac_config_commands
="$ac_config_commands default-1"
3939 # Make sure we can run config.sub.
3940 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3941 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3944 $as_echo_n "checking build system type... " >&6; }
3945 if ${ac_cv_build+:} false
; then :
3946 $as_echo_n "(cached) " >&6
3948 ac_build_alias
=$build_alias
3949 test "x$ac_build_alias" = x
&&
3950 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3951 test "x$ac_build_alias" = x
&&
3952 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3953 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3954 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3958 $as_echo "$ac_cv_build" >&6; }
3959 case $ac_cv_build in
3961 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3964 ac_save_IFS
=$IFS; IFS
='-'
3970 # Remember, the first character of IFS is used to create $*,
3971 # except with old shells:
3974 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3978 $as_echo_n "checking host system type... " >&6; }
3979 if ${ac_cv_host+:} false
; then :
3980 $as_echo_n "(cached) " >&6
3982 if test "x$host_alias" = x
; then
3983 ac_cv_host
=$ac_cv_build
3985 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3986 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3991 $as_echo "$ac_cv_host" >&6; }
3994 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3997 ac_save_IFS
=$IFS; IFS
='-'
4003 # Remember, the first character of IFS is used to create $*,
4004 # except with old shells:
4007 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4010 if test -n "$ac_tool_prefix"; then
4011 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4012 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014 $as_echo_n "checking for $ac_word... " >&6; }
4015 if ${ac_cv_prog_RANLIB+:} false
; then :
4016 $as_echo_n "(cached) " >&6
4018 if test -n "$RANLIB"; then
4019 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4025 test -z "$as_dir" && as_dir
=.
4026 for ac_exec_ext
in '' $ac_executable_extensions; do
4027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4028 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4038 RANLIB
=$ac_cv_prog_RANLIB
4039 if test -n "$RANLIB"; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4041 $as_echo "$RANLIB" >&6; }
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4044 $as_echo "no" >&6; }
4049 if test -z "$ac_cv_prog_RANLIB"; then
4050 ac_ct_RANLIB
=$RANLIB
4051 # Extract the first word of "ranlib", so it can be a program name with args.
4052 set dummy ranlib
; ac_word
=$2
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4054 $as_echo_n "checking for $ac_word... " >&6; }
4055 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4056 $as_echo_n "(cached) " >&6
4058 if test -n "$ac_ct_RANLIB"; then
4059 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4065 test -z "$as_dir" && as_dir
=.
4066 for ac_exec_ext
in '' $ac_executable_extensions; do
4067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4068 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4078 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4079 if test -n "$ac_ct_RANLIB"; then
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4081 $as_echo "$ac_ct_RANLIB" >&6; }
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4084 $as_echo "no" >&6; }
4087 if test "x$ac_ct_RANLIB" = x
; then
4090 case $cross_compiling:$ac_tool_warned in
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4094 ac_tool_warned
=yes ;;
4096 RANLIB
=$ac_ct_RANLIB
4099 RANLIB
="$ac_cv_prog_RANLIB"
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4103 $as_echo_n "checking for library containing strerror... " >&6; }
4104 if ${ac_cv_search_strerror+:} false
; then :
4105 $as_echo_n "(cached) " >&6
4107 ac_func_search_save_LIBS
=$LIBS
4108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4111 /* Override any GCC internal prototype to avoid an error.
4112 Use char because int might match the return type of a GCC
4113 builtin and then its argument prototype would still apply. */
4126 for ac_lib
in '' cposix
; do
4127 if test -z "$ac_lib"; then
4128 ac_res
="none required"
4131 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4133 if ac_fn_c_try_link
"$LINENO"; then :
4134 ac_cv_search_strerror
=$ac_res
4136 rm -f core conftest.err conftest.
$ac_objext \
4138 if ${ac_cv_search_strerror+:} false
; then :
4142 if ${ac_cv_search_strerror+:} false
; then :
4145 ac_cv_search_strerror
=no
4148 LIBS
=$ac_func_search_save_LIBS
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4151 $as_echo "$ac_cv_search_strerror" >&6; }
4152 ac_res
=$ac_cv_search_strerror
4153 if test "$ac_res" != no
; then :
4154 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4159 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4160 if ${ac_cv_c_const+:} false
; then :
4161 $as_echo_n "(cached) " >&6
4163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4171 /* Ultrix mips cc rejects this sort of thing. */
4172 typedef int charset[2];
4173 const charset cs = { 0, 0 };
4174 /* SunOS 4.1.1 cc rejects this. */
4175 char const *const *pcpcc;
4177 /* NEC SVR4.0.2 mips cc rejects this. */
4178 struct point {int x, y;};
4179 static struct point const zero = {0,0};
4180 /* AIX XL C 1.02.0.0 rejects this.
4181 It does not let you subtract one const X* pointer from another in
4182 an arm of an if-expression whose if-part is not a constant
4184 const char *g = "string";
4185 pcpcc = &g + (g ? g-g : 0);
4186 /* HPUX 7.0 cc rejects these. */
4188 ppc = (char**) pcpcc;
4189 pcpcc = (char const *const *) ppc;
4190 { /* SCO 3.2v4 cc rejects this sort of thing. */
4193 char const *s = 0 ? (char *) 0 : (char const *) 0;
4198 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4200 const int *foo = &x[0];
4203 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4204 typedef const int *iptr;
4208 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4209 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4210 struct s { int j; const int *ap[3]; } bx;
4211 struct s *b = &bx; b->j = 5;
4213 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4217 return !cs[0] && !zero.x;
4224 if ac_fn_c_try_compile
"$LINENO"; then :
4229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4232 $as_echo "$ac_cv_c_const" >&6; }
4233 if test $ac_cv_c_const = no
; then
4235 $as_echo "#define const /**/" >>confdefs.h
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4240 $as_echo_n "checking for inline... " >&6; }
4241 if ${ac_cv_c_inline+:} false
; then :
4242 $as_echo_n "(cached) " >&6
4245 for ac_kw
in inline __inline__ __inline
; do
4246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4250 static $ac_kw foo_t static_foo () {return 0; }
4251 $ac_kw foo_t foo () {return 0; }
4255 if ac_fn_c_try_compile
"$LINENO"; then :
4256 ac_cv_c_inline
=$ac_kw
4258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4259 test "$ac_cv_c_inline" != no
&& break
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4264 $as_echo "$ac_cv_c_inline" >&6; }
4266 case $ac_cv_c_inline in
4269 case $ac_cv_c_inline in
4271 *) ac_val
=$ac_cv_c_inline;;
4273 cat >>confdefs.h
<<_ACEOF
4275 #define inline $ac_val
4281 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4282 if test "x$ac_cv_type_off_t" = xyes
; then :
4286 cat >>confdefs.h
<<_ACEOF
4287 #define off_t long int
4292 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4293 if test "x$ac_cv_type_size_t" = xyes
; then :
4297 cat >>confdefs.h
<<_ACEOF
4298 #define size_t unsigned int
4303 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4304 # for constant arguments. Useless!
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4306 $as_echo_n "checking for working alloca.h... " >&6; }
4307 if ${ac_cv_working_alloca_h+:} false
; then :
4308 $as_echo_n "(cached) " >&6
4310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4316 char *p = (char *) alloca (2 * sizeof (int));
4322 if ac_fn_c_try_link
"$LINENO"; then :
4323 ac_cv_working_alloca_h
=yes
4325 ac_cv_working_alloca_h
=no
4327 rm -f core conftest.err conftest.
$ac_objext \
4328 conftest
$ac_exeext conftest.
$ac_ext
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4331 $as_echo "$ac_cv_working_alloca_h" >&6; }
4332 if test $ac_cv_working_alloca_h = yes; then
4334 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4339 $as_echo_n "checking for alloca... " >&6; }
4340 if ${ac_cv_func_alloca_works+:} false
; then :
4341 $as_echo_n "(cached) " >&6
4343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4346 # define alloca __builtin_alloca
4349 # include <malloc.h>
4350 # define alloca _alloca
4352 # ifdef HAVE_ALLOCA_H
4353 # include <alloca.h>
4358 # ifndef alloca /* predefined by HP cc +Olibcalls */
4359 void *alloca (size_t);
4369 char *p = (char *) alloca (1);
4375 if ac_fn_c_try_link
"$LINENO"; then :
4376 ac_cv_func_alloca_works
=yes
4378 ac_cv_func_alloca_works
=no
4380 rm -f core conftest.err conftest.
$ac_objext \
4381 conftest
$ac_exeext conftest.
$ac_ext
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4384 $as_echo "$ac_cv_func_alloca_works" >&6; }
4386 if test $ac_cv_func_alloca_works = yes; then
4388 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4391 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4392 # that cause trouble. Some versions do not even contain alloca or
4393 # contain a buggy version. If you still want to use their alloca,
4394 # use ar to extract alloca.o from them instead of compiling alloca.c.
4396 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
4398 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4402 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4403 if ${ac_cv_os_cray+:} false
; then :
4404 $as_echo_n "(cached) " >&6
4406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4408 #if defined CRAY && ! defined CRAY2
4415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4416 $EGREP "webecray" >/dev
/null
2>&1; then :
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4425 $as_echo "$ac_cv_os_cray" >&6; }
4426 if test $ac_cv_os_cray = yes; then
4427 for ac_func
in _getb67 GETB67 getb67
; do
4428 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4429 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4430 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4432 cat >>confdefs.h
<<_ACEOF
4433 #define CRAY_STACKSEG_END $ac_func
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4443 $as_echo_n "checking stack direction for C alloca... " >&6; }
4444 if ${ac_cv_c_stack_direction+:} false
; then :
4445 $as_echo_n "(cached) " >&6
4447 if test "$cross_compiling" = yes; then :
4448 ac_cv_c_stack_direction
=0
4450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4452 $ac_includes_default
4454 find_stack_direction (int *addr, int depth)
4459 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
4460 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
4465 main (int argc, char **argv)
4467 return find_stack_direction (0, argc + !argv + 20) < 0;
4470 if ac_fn_c_try_run
"$LINENO"; then :
4471 ac_cv_c_stack_direction
=1
4473 ac_cv_c_stack_direction
=-1
4475 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4476 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4481 $as_echo "$ac_cv_c_stack_direction" >&6; }
4482 cat >>confdefs.h
<<_ACEOF
4483 #define STACK_DIRECTION $ac_cv_c_stack_direction
4492 for ac_header
in $ac_header_list
4494 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4495 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4497 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4498 cat >>confdefs.h
<<_ACEOF
4499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4513 for ac_func
in getpagesize
4515 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4516 if test "x$ac_cv_func_getpagesize" = xyes
; then :
4517 cat >>confdefs.h
<<_ACEOF
4518 #define HAVE_GETPAGESIZE 1
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4525 $as_echo_n "checking for working mmap... " >&6; }
4526 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
4527 $as_echo_n "(cached) " >&6
4529 if test "$cross_compiling" = yes; then :
4530 ac_cv_func_mmap_fixed_mapped
=no
4532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4534 $ac_includes_default
4535 /* malloc might have been renamed as rpl_malloc. */
4538 /* Thanks to Mike Haertel and Jim Avera for this test.
4539 Here is a matrix of mmap possibilities:
4540 mmap private not fixed
4541 mmap private fixed at somewhere currently unmapped
4542 mmap private fixed at somewhere already mapped
4543 mmap shared not fixed
4544 mmap shared fixed at somewhere currently unmapped
4545 mmap shared fixed at somewhere already mapped
4546 For private mappings, we should verify that changes cannot be read()
4547 back from the file, nor mmap's back from the file at a different
4548 address. (There have been systems where private was not correctly
4549 implemented like the infamous i386 svr4.0, and systems where the
4550 VM page cache was not coherent with the file system buffer cache
4551 like early versions of FreeBSD and possibly contemporary NetBSD.)
4552 For shared mappings, we should conversely verify that changes get
4553 propagated back to all the places they're supposed to be.
4555 Grep wants private fixed already mapped.
4556 The main things grep needs to know about mmap are:
4557 * does it exist and is it safe to write into the mmap'd area
4558 * how to use it (BSD variants) */
4561 #include <sys/mman.h>
4563 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4567 /* This mess was copied from the GNU getpagesize.h. */
4568 #ifndef HAVE_GETPAGESIZE
4569 # ifdef _SC_PAGESIZE
4570 # define getpagesize() sysconf(_SC_PAGESIZE)
4571 # else /* no _SC_PAGESIZE */
4572 # ifdef HAVE_SYS_PARAM_H
4573 # include <sys/param.h>
4574 # ifdef EXEC_PAGESIZE
4575 # define getpagesize() EXEC_PAGESIZE
4576 # else /* no EXEC_PAGESIZE */
4578 # define getpagesize() NBPG * CLSIZE
4581 # endif /* no CLSIZE */
4582 # else /* no NBPG */
4584 # define getpagesize() NBPC
4585 # else /* no NBPC */
4587 # define getpagesize() PAGESIZE
4588 # endif /* PAGESIZE */
4589 # endif /* no NBPC */
4590 # endif /* no NBPG */
4591 # endif /* no EXEC_PAGESIZE */
4592 # else /* no HAVE_SYS_PARAM_H */
4593 # define getpagesize() 8192 /* punt totally */
4594 # endif /* no HAVE_SYS_PARAM_H */
4595 # endif /* no _SC_PAGESIZE */
4597 #endif /* no HAVE_GETPAGESIZE */
4602 char *data, *data2, *data3;
4607 pagesize = getpagesize ();
4609 /* First, make a file with some known garbage in it. */
4610 data = (char *) malloc (pagesize);
4613 for (i = 0; i < pagesize; ++i)
4614 *(data + i) = rand ();
4616 fd = creat ("conftest.mmap", 0600);
4619 if (write (fd, data, pagesize) != pagesize)
4623 /* Next, check that the tail of a page is zero-filled. File must have
4624 non-zero length, otherwise we risk SIGBUS for entire page. */
4625 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4629 if (write (fd2, cdata2, 1) != 1)
4631 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4632 if (data2 == MAP_FAILED)
4634 for (i = 0; i < pagesize; ++i)
4638 if (munmap (data2, pagesize))
4641 /* Next, try to mmap the file at a fixed address which already has
4642 something else allocated at it. If we can, also make sure that
4643 we see the same garbage. */
4644 fd = open ("conftest.mmap", O_RDWR);
4647 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4648 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4650 for (i = 0; i < pagesize; ++i)
4651 if (*(data + i) != *(data2 + i))
4654 /* Finally, make sure that changes to the mapped area do not
4655 percolate back to the file as seen by read(). (This is a bug on
4656 some variants of i386 svr4.0.) */
4657 for (i = 0; i < pagesize; ++i)
4658 *(data2 + i) = *(data2 + i) + 1;
4659 data3 = (char *) malloc (pagesize);
4662 if (read (fd, data3, pagesize) != pagesize)
4664 for (i = 0; i < pagesize; ++i)
4665 if (*(data + i) != *(data3 + i))
4671 if ac_fn_c_try_run
"$LINENO"; then :
4672 ac_cv_func_mmap_fixed_mapped
=yes
4674 ac_cv_func_mmap_fixed_mapped
=no
4676 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4677 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4682 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4683 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4685 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4688 rm -f conftest.mmap conftest.txt
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
4692 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
4693 if ${ac_cv_gnu_library_2_1+:} false
; then :
4694 $as_echo_n "(cached) " >&6
4696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4699 #include <features.h>
4700 #ifdef __GNU_LIBRARY__
4701 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4708 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
4709 ac_cv_gnu_library_2_1
=yes
4711 ac_cv_gnu_library_2_1
=no
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
4719 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
4721 GLIBC21
="$ac_cv_gnu_library_2_1"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
4727 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
4728 if ${gt_cv_int_divbyzero_sigfpe+:} false
; then :
4729 $as_echo_n "(cached) " >&6
4732 if test "$cross_compiling" = yes; then :
4734 # Guess based on the CPU.
4736 alpha
* | i3456786 | m68k | s390
*)
4737 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
4739 gt_cv_int_divbyzero_sigfpe
="guessing no";;
4743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4751 sigfpe_handler (int sig)
4753 sigfpe_handler (sig) int sig;
4756 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
4757 exit (sig != SIGFPE);
4767 signal (SIGFPE, sigfpe_handler);
4768 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
4769 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
4770 signal (SIGTRAP, sigfpe_handler);
4772 /* Linux/SPARC yields signal SIGILL. */
4773 #if defined (__sparc__) && defined (__linux__)
4774 signal (SIGILL, sigfpe_handler);
4783 if ac_fn_c_try_run
"$LINENO"; then :
4784 gt_cv_int_divbyzero_sigfpe
=yes
4786 gt_cv_int_divbyzero_sigfpe
=no
4788 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4789 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
4795 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
4796 case "$gt_cv_int_divbyzero_sigfpe" in
4801 cat >>confdefs.h
<<_ACEOF
4802 #define INTDIV0_RAISES_SIGFPE $value
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4808 $as_echo_n "checking for inttypes.h... " >&6; }
4809 if ${jm_ac_cv_header_inttypes_h+:} false
; then :
4810 $as_echo_n "(cached) " >&6
4812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4814 #include <sys/types.h>
4815 #include <inttypes.h>
4819 uintmax_t i = (uintmax_t) -1;
4824 if ac_fn_c_try_compile
"$LINENO"; then :
4825 jm_ac_cv_header_inttypes_h
=yes
4827 jm_ac_cv_header_inttypes_h
=no
4829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
4832 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
4833 if test $jm_ac_cv_header_inttypes_h = yes; then
4835 cat >>confdefs.h
<<_ACEOF
4836 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
4843 $as_echo_n "checking for stdint.h... " >&6; }
4844 if ${jm_ac_cv_header_stdint_h+:} false
; then :
4845 $as_echo_n "(cached) " >&6
4847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4849 #include <sys/types.h>
4854 uintmax_t i = (uintmax_t) -1;
4859 if ac_fn_c_try_compile
"$LINENO"; then :
4860 jm_ac_cv_header_stdint_h
=yes
4862 jm_ac_cv_header_stdint_h
=no
4864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
4867 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
4868 if test $jm_ac_cv_header_stdint_h = yes; then
4870 cat >>confdefs.h
<<_ACEOF
4871 #define HAVE_STDINT_H_WITH_UINTMAX 1
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
4878 $as_echo_n "checking for unsigned long long... " >&6; }
4879 if ${ac_cv_type_unsigned_long_long+:} false
; then :
4880 $as_echo_n "(cached) " >&6
4882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4884 unsigned long long ull = 1; int i = 63;
4888 unsigned long long ullmax = (unsigned long long) -1;
4889 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4894 if ac_fn_c_try_link
"$LINENO"; then :
4895 ac_cv_type_unsigned_long_long
=yes
4897 ac_cv_type_unsigned_long_long
=no
4899 rm -f core conftest.err conftest.
$ac_objext \
4900 conftest
$ac_exeext conftest.
$ac_ext
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
4903 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
4904 if test $ac_cv_type_unsigned_long_long = yes; then
4906 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
4913 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
4915 test $ac_cv_type_unsigned_long_long = yes \
4916 && ac_type
='unsigned long long' \
4917 || ac_type
='unsigned long'
4919 cat >>confdefs.h
<<_ACEOF
4920 #define uintmax_t $ac_type
4925 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4931 $as_echo_n "checking for inttypes.h... " >&6; }
4932 if ${gt_cv_header_inttypes_h+:} false
; then :
4933 $as_echo_n "(cached) " >&6
4936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4938 #include <sys/types.h>
4939 #include <inttypes.h>
4948 if ac_fn_c_try_compile
"$LINENO"; then :
4949 gt_cv_header_inttypes_h
=yes
4951 gt_cv_header_inttypes_h
=no
4953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
4957 $as_echo "$gt_cv_header_inttypes_h" >&6; }
4958 if test $gt_cv_header_inttypes_h = yes; then
4960 cat >>confdefs.h
<<_ACEOF
4961 #define HAVE_INTTYPES_H 1
4968 if test $gt_cv_header_inttypes_h = yes; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
4970 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
4971 if ${gt_cv_inttypes_pri_broken+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4977 #include <inttypes.h>
4990 if ac_fn_c_try_compile
"$LINENO"; then :
4991 gt_cv_inttypes_pri_broken
=no
4993 gt_cv_inttypes_pri_broken
=yes
4995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
4999 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
5001 if test "$gt_cv_inttypes_pri_broken" = yes; then
5003 cat >>confdefs.h
<<_ACEOF
5004 #define PRI_MACROS_BROKEN 1
5010 if test "X$prefix" = "XNONE"; then
5011 acl_final_prefix
="$ac_default_prefix"
5013 acl_final_prefix
="$prefix"
5015 if test "X$exec_prefix" = "XNONE"; then
5016 acl_final_exec_prefix
='${prefix}'
5018 acl_final_exec_prefix
="$exec_prefix"
5020 acl_save_prefix
="$prefix"
5021 prefix
="$acl_final_prefix"
5022 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5023 prefix
="$acl_save_prefix"
5026 # Check whether --with-gnu-ld was given.
5027 if test "${with_gnu_ld+set}" = set; then :
5028 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5033 # Prepare PATH_SEPARATOR.
5034 # The user is always right.
5035 if test "${PATH_SEPARATOR+set}" != set; then
5036 echo "#! /bin/sh" >conf$$.sh
5037 echo "exit 0" >>conf$$.sh
5039 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5047 if test "$GCC" = yes; then
5048 # Check if gcc -print-prog-name=ld gives a path.
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5050 $as_echo_n "checking for ld used by GCC... " >&6; }
5053 # gcc leaves a trailing carriage return which upsets mingw
5054 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5056 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5059 # Accept absolute paths.
5060 [\\/]* |
[A-Za-z
]:[\\/]*)
5061 re_direlt
='/[^/][^/]*/\.\./'
5062 # Canonicalize the path of ld
5063 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5064 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5065 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5067 test -z "$LD" && LD
="$ac_prog"
5070 # If it fails, then pretend we aren't using GCC.
5074 # If it is relative, then search for the first ld in PATH.
5078 elif test "$with_gnu_ld" = yes; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5080 $as_echo_n "checking for GNU ld... " >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5083 $as_echo_n "checking for non-GNU ld... " >&6; }
5085 if ${acl_cv_path_LD+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -z "$LD"; then
5089 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5090 for ac_dir
in $PATH; do
5091 test -z "$ac_dir" && ac_dir
=.
5092 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5093 acl_cv_path_LD
="$ac_dir/$ac_prog"
5094 # Check to see if the program is GNU ld. I'd rather use --version,
5095 # but apparently some GNU ld's only accept -v.
5096 # Break only if it was the GNU/non-GNU ld that we prefer.
5097 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5098 test "$with_gnu_ld" != no
&& break
5100 test "$with_gnu_ld" != yes && break
5106 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5110 LD
="$acl_cv_path_LD"
5111 if test -n "$LD"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5113 $as_echo "$LD" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5118 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5120 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5121 if ${acl_cv_prog_gnu_ld+:} false
; then :
5122 $as_echo_n "(cached) " >&6
5124 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5125 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5126 acl_cv_prog_gnu_ld
=yes
5128 acl_cv_prog_gnu_ld
=no
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5132 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5133 with_gnu_ld
=$acl_cv_prog_gnu_ld
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5138 $as_echo_n "checking for shared library run path origin... " >&6; }
5139 if ${acl_cv_rpath+:} false
; then :
5140 $as_echo_n "(cached) " >&6
5143 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5144 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5151 $as_echo "$acl_cv_rpath" >&6; }
5153 libext
="$acl_cv_libext"
5154 shlibext
="$acl_cv_shlibext"
5155 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5156 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5157 hardcode_direct
="$acl_cv_hardcode_direct"
5158 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5159 # Check whether --enable-rpath was given.
5160 if test "${enable_rpath+set}" = set; then :
5161 enableval
=$enable_rpath; :
5175 acl_save_prefix
="$prefix"
5176 prefix
="$acl_final_prefix"
5177 acl_save_exec_prefix
="$exec_prefix"
5178 exec_prefix
="$acl_final_exec_prefix"
5180 eval additional_includedir
=\"$includedir\"
5181 eval additional_libdir
=\"$libdir\"
5183 exec_prefix
="$acl_save_exec_prefix"
5184 prefix
="$acl_save_prefix"
5187 # Check whether --with-libiconv-prefix was given.
5188 if test "${with_libiconv_prefix+set}" = set; then :
5189 withval
=$with_libiconv_prefix;
5190 if test "X$withval" = "Xno"; then
5193 if test "X$withval" = "X"; then
5195 acl_save_prefix
="$prefix"
5196 prefix
="$acl_final_prefix"
5197 acl_save_exec_prefix
="$exec_prefix"
5198 exec_prefix
="$acl_final_exec_prefix"
5200 eval additional_includedir
=\"$includedir\"
5201 eval additional_libdir
=\"$libdir\"
5203 exec_prefix
="$acl_save_exec_prefix"
5204 prefix
="$acl_save_prefix"
5207 additional_includedir
="$withval/include"
5208 additional_libdir
="$withval/lib"
5215 # Check whether --with-libiconv-type was given.
5216 if test "${with_libiconv_type+set}" = set; then :
5217 withval
=$with_libiconv_type; with_libiconv_type
=$withval
5219 with_libiconv_type
=auto
5222 lib_type
=`eval echo \$with_libiconv_type`
5229 names_already_handled
=
5230 names_next_round
='iconv '
5231 while test -n "$names_next_round"; do
5232 names_this_round
="$names_next_round"
5234 for name
in $names_this_round; do
5236 for n
in $names_already_handled; do
5237 if test "$n" = "$name"; then
5242 if test -z "$already_handled"; then
5243 names_already_handled
="$names_already_handled $name"
5244 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5245 eval value
=\"\
$HAVE_LIB$uppername\"
5246 if test -n "$value"; then
5247 if test "$value" = yes; then
5248 eval value
=\"\
$LIB$uppername\"
5249 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5250 eval value
=\"\
$LTLIB$uppername\"
5251 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5260 if test $use_additional = yes; then
5261 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
5262 found_dir
="$additional_libdir"
5263 found_so
="$additional_libdir/lib$name.$shlibext"
5264 if test -f "$additional_libdir/lib$name.la"; then
5265 found_la
="$additional_libdir/lib$name.la"
5267 elif test x
$lib_type != xshared
; then
5268 if test -f "$additional_libdir/lib$name.$libext"; then
5269 found_dir
="$additional_libdir"
5270 found_a
="$additional_libdir/lib$name.$libext"
5271 if test -f "$additional_libdir/lib$name.la"; then
5272 found_la
="$additional_libdir/lib$name.la"
5277 if test "X$found_dir" = "X"; then
5278 for x
in $LDFLAGS $LTLIBICONV; do
5280 acl_save_prefix
="$prefix"
5281 prefix
="$acl_final_prefix"
5282 acl_save_exec_prefix
="$exec_prefix"
5283 exec_prefix
="$acl_final_exec_prefix"
5285 exec_prefix
="$acl_save_exec_prefix"
5286 prefix
="$acl_save_prefix"
5290 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5291 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
5293 found_so
="$dir/lib$name.$shlibext"
5294 if test -f "$dir/lib$name.la"; then
5295 found_la
="$dir/lib$name.la"
5297 elif test x
$lib_type != xshared
; then
5298 if test -f "$dir/lib$name.$libext"; then
5300 found_a
="$dir/lib$name.$libext"
5301 if test -f "$dir/lib$name.la"; then
5302 found_la
="$dir/lib$name.la"
5308 if test "X$found_dir" != "X"; then
5313 if test "X$found_dir" != "X"; then
5314 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5315 if test "X$found_so" != "X"; then
5316 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5317 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5320 for x
in $ltrpathdirs; do
5321 if test "X$x" = "X$found_dir"; then
5326 if test -z "$haveit"; then
5327 ltrpathdirs
="$ltrpathdirs $found_dir"
5329 if test "$hardcode_direct" = yes; then
5330 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5332 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5333 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5335 for x
in $rpathdirs; do
5336 if test "X$x" = "X$found_dir"; then
5341 if test -z "$haveit"; then
5342 rpathdirs
="$rpathdirs $found_dir"
5346 for x
in $LDFLAGS $LIBICONV; do
5348 acl_save_prefix
="$prefix"
5349 prefix
="$acl_final_prefix"
5350 acl_save_exec_prefix
="$exec_prefix"
5351 exec_prefix
="$acl_final_exec_prefix"
5353 exec_prefix
="$acl_save_exec_prefix"
5354 prefix
="$acl_save_prefix"
5356 if test "X$x" = "X-L$found_dir"; then
5361 if test -z "$haveit"; then
5362 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5364 if test "$hardcode_minus_L" != no
; then
5365 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5367 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5373 if test "X$found_a" != "X"; then
5374 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5376 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5379 additional_includedir
=
5380 case "$found_dir" in
5382 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5383 additional_includedir
="$basedir/include"
5386 if test "X$additional_includedir" != "X"; then
5387 if test "X$additional_includedir" != "X/usr/include"; then
5389 if test "X$additional_includedir" = "X/usr/local/include"; then
5390 if test -n "$GCC"; then
5392 linux
*) haveit
=yes;;
5396 if test -z "$haveit"; then
5397 for x
in $CPPFLAGS $INCICONV; do
5399 acl_save_prefix
="$prefix"
5400 prefix
="$acl_final_prefix"
5401 acl_save_exec_prefix
="$exec_prefix"
5402 exec_prefix
="$acl_final_exec_prefix"
5404 exec_prefix
="$acl_save_exec_prefix"
5405 prefix
="$acl_save_prefix"
5407 if test "X$x" = "X-I$additional_includedir"; then
5412 if test -z "$haveit"; then
5413 if test -d "$additional_includedir"; then
5414 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5420 if test -n "$found_la"; then
5421 save_libdir
="$libdir"
5423 */* |
*\\*) .
"$found_la" ;;
5424 *) .
"./$found_la" ;;
5426 libdir
="$save_libdir"
5427 for dep
in $dependency_libs; do
5430 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5431 if test "X$additional_libdir" != "X/usr/lib"; then
5433 if test "X$additional_libdir" = "X/usr/local/lib"; then
5434 if test -n "$GCC"; then
5436 linux
*) haveit
=yes;;
5440 if test -z "$haveit"; then
5442 for x
in $LDFLAGS $LIBICONV; do
5444 acl_save_prefix
="$prefix"
5445 prefix
="$acl_final_prefix"
5446 acl_save_exec_prefix
="$exec_prefix"
5447 exec_prefix
="$acl_final_exec_prefix"
5449 exec_prefix
="$acl_save_exec_prefix"
5450 prefix
="$acl_save_prefix"
5452 if test "X$x" = "X-L$additional_libdir"; then
5457 if test -z "$haveit"; then
5458 if test -d "$additional_libdir"; then
5459 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5463 for x
in $LDFLAGS $LTLIBICONV; do
5465 acl_save_prefix
="$prefix"
5466 prefix
="$acl_final_prefix"
5467 acl_save_exec_prefix
="$exec_prefix"
5468 exec_prefix
="$acl_final_exec_prefix"
5470 exec_prefix
="$acl_save_exec_prefix"
5471 prefix
="$acl_save_prefix"
5473 if test "X$x" = "X-L$additional_libdir"; then
5478 if test -z "$haveit"; then
5479 if test -d "$additional_libdir"; then
5480 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5487 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5488 if test "$enable_rpath" != no
; then
5490 for x
in $rpathdirs; do
5491 if test "X$x" = "X$dir"; then
5496 if test -z "$haveit"; then
5497 rpathdirs
="$rpathdirs $dir"
5500 for x
in $ltrpathdirs; do
5501 if test "X$x" = "X$dir"; then
5506 if test -z "$haveit"; then
5507 ltrpathdirs
="$ltrpathdirs $dir"
5512 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5515 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5518 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5519 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5525 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
5526 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5527 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5529 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
5530 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
5537 if test "X$rpathdirs" != "X"; then
5538 if test -n "$hardcode_libdir_separator"; then
5540 for found_dir
in $rpathdirs; do
5541 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5543 acl_save_libdir
="$libdir"
5545 eval flag
=\"$hardcode_libdir_flag_spec\"
5546 libdir
="$acl_save_libdir"
5547 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5549 for found_dir
in $rpathdirs; do
5550 acl_save_libdir
="$libdir"
5552 eval flag
=\"$hardcode_libdir_flag_spec\"
5553 libdir
="$acl_save_libdir"
5554 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5558 if test "X$ltrpathdirs" != "X"; then
5559 for found_dir
in $ltrpathdirs; do
5560 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5567 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5568 stdlib.h string.h unistd.h sys
/param.h
5570 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5571 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5572 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5573 cat >>confdefs.h
<<_ACEOF
5574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5581 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
5582 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
5583 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
5586 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5587 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5588 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5589 cat >>confdefs.h
<<_ACEOF
5590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5603 $as_echo_n "checking for iconv... " >&6; }
5604 if ${am_cv_func_iconv+:} false
; then :
5605 $as_echo_n "(cached) " >&6
5608 am_cv_func_iconv
="no, consider installing GNU libiconv"
5610 am_save_CPPFLAGS
="$CPPFLAGS"
5611 CPPFLAGS
="$CPPFLAGS $INCICONV"
5612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5613 /* end confdefs.h. */
5619 iconv_t cd = iconv_open("","");
5620 iconv(cd,NULL,NULL,NULL,NULL);
5626 if ac_fn_c_try_link
"$LINENO"; then :
5627 am_cv_func_iconv
=yes
5629 rm -f core conftest.err conftest.
$ac_objext \
5630 conftest
$ac_exeext conftest.
$ac_ext
5631 CPPFLAGS
="$am_save_CPPFLAGS"
5633 if test "$am_cv_func_iconv" != yes && test -d ..
/libiconv
; then
5634 for _libs
in .libs _libs
; do
5635 am_save_CPPFLAGS
="$CPPFLAGS"
5636 am_save_LIBS
="$LIBS"
5637 CPPFLAGS
="$CPPFLAGS -I../libiconv/include"
5638 LIBS
="$LIBS ../libiconv/lib/$_libs/libiconv.a"
5639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5640 /* end confdefs.h. */
5646 iconv_t cd = iconv_open("","");
5647 iconv(cd,NULL,NULL,NULL,NULL);
5653 if ac_fn_c_try_link
"$LINENO"; then :
5654 INCICONV
="-I../libiconv/include"
5655 LIBICONV
='${top_builddir}'/..
/libiconv
/lib
/$_libs/libiconv.a
5656 LTLIBICONV
='${top_builddir}'/..
/libiconv
/lib
/libiconv.la
5658 am_cv_func_iconv
=yes
5660 rm -f core conftest.err conftest.
$ac_objext \
5661 conftest
$ac_exeext conftest.
$ac_ext
5662 CPPFLAGS
="$am_save_CPPFLAGS"
5663 LIBS
="$am_save_LIBS"
5664 if test "$am_cv_func_iconv" = "yes"; then
5670 if test "$am_cv_func_iconv" != yes; then
5671 am_save_CPPFLAGS
="$CPPFLAGS"
5672 am_save_LIBS
="$LIBS"
5673 CPPFLAGS
="$CPPFLAGS $INCICONV"
5674 LIBS
="$LIBS $LIBICONV"
5675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5682 iconv_t cd = iconv_open("","");
5683 iconv(cd,NULL,NULL,NULL,NULL);
5689 if ac_fn_c_try_link
"$LINENO"; then :
5691 am_cv_func_iconv
=yes
5693 rm -f core conftest.err conftest.
$ac_objext \
5694 conftest
$ac_exeext conftest.
$ac_ext
5695 CPPFLAGS
="$am_save_CPPFLAGS"
5696 LIBS
="$am_save_LIBS"
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5701 $as_echo "$am_cv_func_iconv" >&6; }
5702 if test "$am_cv_func_iconv" = yes; then
5704 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5707 if test "$am_cv_lib_iconv" = yes; then
5709 for element
in $INCICONV; do
5711 for x
in $CPPFLAGS; do
5713 acl_save_prefix
="$prefix"
5714 prefix
="$acl_final_prefix"
5715 acl_save_exec_prefix
="$exec_prefix"
5716 exec_prefix
="$acl_final_exec_prefix"
5718 exec_prefix
="$acl_save_exec_prefix"
5719 prefix
="$acl_save_prefix"
5721 if test "X$x" = "X$element"; then
5726 if test -z "$haveit"; then
5727 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5732 $as_echo_n "checking how to link with libiconv... " >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5734 $as_echo "$LIBICONV" >&6; }
5742 if test "$am_cv_func_iconv" = yes; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
5744 $as_echo_n "checking for iconv declaration... " >&6; }
5745 if ${am_cv_proto_iconv+:} false
; then :
5746 $as_echo_n "(cached) " >&6
5749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5758 #if defined(__STDC__) || defined(__cplusplus)
5759 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
5772 if ac_fn_c_try_compile
"$LINENO"; then :
5773 am_cv_proto_iconv_arg1
=""
5775 am_cv_proto_iconv_arg1
="const"
5777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5778 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);"
5781 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
5783 }$am_cv_proto_iconv" >&5
5785 }$am_cv_proto_iconv" >&6; }
5787 cat >>confdefs.h
<<_ACEOF
5788 #define ICONV_CONST $am_cv_proto_iconv_arg1
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
5795 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
5796 if ${am_cv_langinfo_codeset+:} false
; then :
5797 $as_echo_n "(cached) " >&6
5799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */
5801 #include <langinfo.h>
5805 char* cs = nl_langinfo(CODESET);
5810 if ac_fn_c_try_link
"$LINENO"; then :
5811 am_cv_langinfo_codeset
=yes
5813 am_cv_langinfo_codeset
=no
5815 rm -f core conftest.err conftest.
$ac_objext \
5816 conftest
$ac_exeext conftest.
$ac_ext
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
5820 $as_echo "$am_cv_langinfo_codeset" >&6; }
5821 if test $am_cv_langinfo_codeset = yes; then
5823 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
5827 if test $ac_cv_header_locale_h = yes; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5830 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5831 if ${am_cv_val_LC_MESSAGES+:} false
; then :
5832 $as_echo_n "(cached) " >&6
5834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5845 if ac_fn_c_try_link
"$LINENO"; then :
5846 am_cv_val_LC_MESSAGES
=yes
5848 am_cv_val_LC_MESSAGES
=no
5850 rm -f core conftest.err conftest.
$ac_objext \
5851 conftest
$ac_exeext conftest.
$ac_ext
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5854 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5855 if test $am_cv_val_LC_MESSAGES = yes; then
5857 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5863 for ac_prog
in bison
5865 # Extract the first word of "$ac_prog", so it can be a program name with args.
5866 set dummy
$ac_prog; ac_word
=$2
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 $as_echo_n "checking for $ac_word... " >&6; }
5869 if ${ac_cv_prog_INTLBISON+:} false
; then :
5870 $as_echo_n "(cached) " >&6
5872 if test -n "$INTLBISON"; then
5873 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
5875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5879 test -z "$as_dir" && as_dir
=.
5880 for ac_exec_ext
in '' $ac_executable_extensions; do
5881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5882 ac_cv_prog_INTLBISON
="$ac_prog"
5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 INTLBISON
=$ac_cv_prog_INTLBISON
5893 if test -n "$INTLBISON"; then
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
5895 $as_echo "$INTLBISON" >&6; }
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898 $as_echo "no" >&6; }
5902 test -n "$INTLBISON" && break
5905 if test -z "$INTLBISON"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
5909 $as_echo_n "checking version of bison... " >&6; }
5910 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5911 case $ac_prog_version in
5912 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5913 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
5914 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5915 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5918 $as_echo "$ac_prog_version" >&6; }
5920 if test $ac_verc_fail = yes; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5940 $as_echo_n "checking whether NLS is requested... " >&6; }
5941 # Check whether --enable-nls was given.
5942 if test "${enable_nls+set}" = set; then :
5943 enableval
=$enable_nls; USE_NLS
=$enableval
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5949 $as_echo "$USE_NLS" >&6; }
5954 BUILD_INCLUDED_LIBINTL
=no
5955 USE_INCLUDED_LIBINTL
=no
5961 if test "$USE_NLS" = "yes"; then
5962 gt_use_preinstalled_gnugettext
=no
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
5965 $as_echo_n "checking whether included gettext is requested... " >&6; }
5967 # Check whether --with-included-gettext was given.
5968 if test "${with_included_gettext+set}" = set; then :
5969 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
5971 nls_cv_force_use_gnu_gettext
=no
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
5975 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
5977 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
5978 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5986 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5987 if ${gt_cv_func_gnugettext2_libc+:} false
; then :
5988 $as_echo_n "(cached) " >&6
5990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5992 #include <libintl.h>
5993 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5994 extern int _nl_msg_cat_cntr;
5995 extern int *_nl_domain_bindings;
5996 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
5998 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6004 bindtextdomain ("", "");
6005 return (int) gettext ("") + (int) ngettext ("", "", 0) + __GNU_GETTEXT_SYMBOL_EXPRESSION
6010 if ac_fn_c_try_link
"$LINENO"; then :
6011 gt_cv_func_gnugettext2_libc
=yes
6013 gt_cv_func_gnugettext2_libc
=no
6015 rm -f core conftest.err conftest.
$ac_objext \
6016 conftest
$ac_exeext conftest.
$ac_ext
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
6019 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
6021 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
6027 acl_save_prefix
="$prefix"
6028 prefix
="$acl_final_prefix"
6029 acl_save_exec_prefix
="$exec_prefix"
6030 exec_prefix
="$acl_final_exec_prefix"
6032 eval additional_includedir
=\"$includedir\"
6033 eval additional_libdir
=\"$libdir\"
6035 exec_prefix
="$acl_save_exec_prefix"
6036 prefix
="$acl_save_prefix"
6039 # Check whether --with-libintl-prefix was given.
6040 if test "${with_libintl_prefix+set}" = set; then :
6041 withval
=$with_libintl_prefix;
6042 if test "X$withval" = "Xno"; then
6045 if test "X$withval" = "X"; then
6047 acl_save_prefix
="$prefix"
6048 prefix
="$acl_final_prefix"
6049 acl_save_exec_prefix
="$exec_prefix"
6050 exec_prefix
="$acl_final_exec_prefix"
6052 eval additional_includedir
=\"$includedir\"
6053 eval additional_libdir
=\"$libdir\"
6055 exec_prefix
="$acl_save_exec_prefix"
6056 prefix
="$acl_save_prefix"
6059 additional_includedir
="$withval/include"
6060 additional_libdir
="$withval/lib"
6067 # Check whether --with-libintl-type was given.
6068 if test "${with_libintl_type+set}" = set; then :
6069 withval
=$with_libintl_type; with_libintl_type
=$withval
6071 with_libintl_type
=auto
6074 lib_type
=`eval echo \$with_libintl_type`
6081 names_already_handled
=
6082 names_next_round
='intl '
6083 while test -n "$names_next_round"; do
6084 names_this_round
="$names_next_round"
6086 for name
in $names_this_round; do
6088 for n
in $names_already_handled; do
6089 if test "$n" = "$name"; then
6094 if test -z "$already_handled"; then
6095 names_already_handled
="$names_already_handled $name"
6096 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6097 eval value
=\"\
$HAVE_LIB$uppername\"
6098 if test -n "$value"; then
6099 if test "$value" = yes; then
6100 eval value
=\"\
$LIB$uppername\"
6101 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6102 eval value
=\"\
$LTLIB$uppername\"
6103 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6112 if test $use_additional = yes; then
6113 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6114 found_dir
="$additional_libdir"
6115 found_so
="$additional_libdir/lib$name.$shlibext"
6116 if test -f "$additional_libdir/lib$name.la"; then
6117 found_la
="$additional_libdir/lib$name.la"
6119 elif test x
$lib_type != xshared
; then
6120 if test -f "$additional_libdir/lib$name.$libext"; then
6121 found_dir
="$additional_libdir"
6122 found_a
="$additional_libdir/lib$name.$libext"
6123 if test -f "$additional_libdir/lib$name.la"; then
6124 found_la
="$additional_libdir/lib$name.la"
6129 if test "X$found_dir" = "X"; then
6130 for x
in $LDFLAGS $LTLIBINTL; do
6132 acl_save_prefix
="$prefix"
6133 prefix
="$acl_final_prefix"
6134 acl_save_exec_prefix
="$exec_prefix"
6135 exec_prefix
="$acl_final_exec_prefix"
6137 exec_prefix
="$acl_save_exec_prefix"
6138 prefix
="$acl_save_prefix"
6142 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6143 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6145 found_so
="$dir/lib$name.$shlibext"
6146 if test -f "$dir/lib$name.la"; then
6147 found_la
="$dir/lib$name.la"
6149 elif test x
$lib_type != xshared
; then
6150 if test -f "$dir/lib$name.$libext"; then
6152 found_a
="$dir/lib$name.$libext"
6153 if test -f "$dir/lib$name.la"; then
6154 found_la
="$dir/lib$name.la"
6160 if test "X$found_dir" != "X"; then
6165 if test "X$found_dir" != "X"; then
6166 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6167 if test "X$found_so" != "X"; then
6168 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6169 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6172 for x
in $ltrpathdirs; do
6173 if test "X$x" = "X$found_dir"; then
6178 if test -z "$haveit"; then
6179 ltrpathdirs
="$ltrpathdirs $found_dir"
6181 if test "$hardcode_direct" = yes; then
6182 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6184 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6185 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6187 for x
in $rpathdirs; do
6188 if test "X$x" = "X$found_dir"; then
6193 if test -z "$haveit"; then
6194 rpathdirs
="$rpathdirs $found_dir"
6198 for x
in $LDFLAGS $LIBINTL; do
6200 acl_save_prefix
="$prefix"
6201 prefix
="$acl_final_prefix"
6202 acl_save_exec_prefix
="$exec_prefix"
6203 exec_prefix
="$acl_final_exec_prefix"
6205 exec_prefix
="$acl_save_exec_prefix"
6206 prefix
="$acl_save_prefix"
6208 if test "X$x" = "X-L$found_dir"; then
6213 if test -z "$haveit"; then
6214 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6216 if test "$hardcode_minus_L" != no
; then
6217 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6219 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6225 if test "X$found_a" != "X"; then
6226 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6228 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6231 additional_includedir
=
6232 case "$found_dir" in
6234 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6235 additional_includedir
="$basedir/include"
6238 if test "X$additional_includedir" != "X"; then
6239 if test "X$additional_includedir" != "X/usr/include"; then
6241 if test "X$additional_includedir" = "X/usr/local/include"; then
6242 if test -n "$GCC"; then
6244 linux
*) haveit
=yes;;
6248 if test -z "$haveit"; then
6249 for x
in $CPPFLAGS $INCINTL; do
6251 acl_save_prefix
="$prefix"
6252 prefix
="$acl_final_prefix"
6253 acl_save_exec_prefix
="$exec_prefix"
6254 exec_prefix
="$acl_final_exec_prefix"
6256 exec_prefix
="$acl_save_exec_prefix"
6257 prefix
="$acl_save_prefix"
6259 if test "X$x" = "X-I$additional_includedir"; then
6264 if test -z "$haveit"; then
6265 if test -d "$additional_includedir"; then
6266 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6272 if test -n "$found_la"; then
6273 save_libdir
="$libdir"
6275 */* |
*\\*) .
"$found_la" ;;
6276 *) .
"./$found_la" ;;
6278 libdir
="$save_libdir"
6279 for dep
in $dependency_libs; do
6282 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6283 if test "X$additional_libdir" != "X/usr/lib"; then
6285 if test "X$additional_libdir" = "X/usr/local/lib"; then
6286 if test -n "$GCC"; then
6288 linux
*) haveit
=yes;;
6292 if test -z "$haveit"; then
6294 for x
in $LDFLAGS $LIBINTL; do
6296 acl_save_prefix
="$prefix"
6297 prefix
="$acl_final_prefix"
6298 acl_save_exec_prefix
="$exec_prefix"
6299 exec_prefix
="$acl_final_exec_prefix"
6301 exec_prefix
="$acl_save_exec_prefix"
6302 prefix
="$acl_save_prefix"
6304 if test "X$x" = "X-L$additional_libdir"; then
6309 if test -z "$haveit"; then
6310 if test -d "$additional_libdir"; then
6311 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6315 for x
in $LDFLAGS $LTLIBINTL; do
6317 acl_save_prefix
="$prefix"
6318 prefix
="$acl_final_prefix"
6319 acl_save_exec_prefix
="$exec_prefix"
6320 exec_prefix
="$acl_final_exec_prefix"
6322 exec_prefix
="$acl_save_exec_prefix"
6323 prefix
="$acl_save_prefix"
6325 if test "X$x" = "X-L$additional_libdir"; then
6330 if test -z "$haveit"; then
6331 if test -d "$additional_libdir"; then
6332 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6339 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6340 if test "$enable_rpath" != no
; then
6342 for x
in $rpathdirs; do
6343 if test "X$x" = "X$dir"; then
6348 if test -z "$haveit"; then
6349 rpathdirs
="$rpathdirs $dir"
6352 for x
in $ltrpathdirs; do
6353 if test "X$x" = "X$dir"; then
6358 if test -z "$haveit"; then
6359 ltrpathdirs
="$ltrpathdirs $dir"
6364 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6367 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6370 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6371 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6377 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
6378 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6379 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6381 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
6382 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
6389 if test "X$rpathdirs" != "X"; then
6390 if test -n "$hardcode_libdir_separator"; then
6392 for found_dir
in $rpathdirs; do
6393 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6395 acl_save_libdir
="$libdir"
6397 eval flag
=\"$hardcode_libdir_flag_spec\"
6398 libdir
="$acl_save_libdir"
6399 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6401 for found_dir
in $rpathdirs; do
6402 acl_save_libdir
="$libdir"
6404 eval flag
=\"$hardcode_libdir_flag_spec\"
6405 libdir
="$acl_save_libdir"
6406 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6410 if test "X$ltrpathdirs" != "X"; then
6411 for found_dir
in $ltrpathdirs; do
6412 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6417 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6418 if ${gt_cv_func_gnugettext2_libintl+:} false
; then :
6419 $as_echo_n "(cached) " >&6
6421 gt_save_CPPFLAGS
="$CPPFLAGS"
6422 CPPFLAGS
="$CPPFLAGS $INCINTL"
6423 gt_save_LIBS
="$LIBS"
6424 LIBS
="$LIBS $LIBINTL"
6425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <libintl.h>
6428 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6429 extern int _nl_msg_cat_cntr;
6434 const char *_nl_expand_alias ();
6435 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (0))
6437 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6443 bindtextdomain ("", "");
6444 return (int) gettext ("") + (int) ngettext ("", "", 0) + __GNU_GETTEXT_SYMBOL_EXPRESSION
6449 if ac_fn_c_try_link
"$LINENO"; then :
6450 gt_cv_func_gnugettext2_libintl
=yes
6452 gt_cv_func_gnugettext2_libintl
=no
6454 rm -f core conftest.err conftest.
$ac_objext \
6455 conftest
$ac_exeext conftest.
$ac_ext
6456 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
6457 LIBS
="$LIBS $LIBICONV"
6458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6460 #include <libintl.h>
6461 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6462 extern int _nl_msg_cat_cntr;
6467 const char *_nl_expand_alias ();
6468 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (0))
6470 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6476 bindtextdomain ("", "");
6477 return (int) gettext ("") + (int) ngettext ("", "", 0) + __GNU_GETTEXT_SYMBOL_EXPRESSION
6482 if ac_fn_c_try_link
"$LINENO"; then :
6483 LIBINTL
="$LIBINTL $LIBICONV"
6484 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6485 gt_cv_func_gnugettext2_libintl
=yes
6488 rm -f core conftest.err conftest.
$ac_objext \
6489 conftest
$ac_exeext conftest.
$ac_ext
6491 CPPFLAGS
="$gt_save_CPPFLAGS"
6492 LIBS
="$gt_save_LIBS"
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
6495 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
6498 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
6499 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
6500 && test "$PACKAGE" != gettext-runtime \
6501 && test "$PACKAGE" != gettext-tools
; }; then
6502 gt_use_preinstalled_gnugettext
=yes
6510 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
6511 nls_cv_use_gnu_gettext
=yes
6515 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6516 BUILD_INCLUDED_LIBINTL
=yes
6517 USE_INCLUDED_LIBINTL
=yes
6518 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
6519 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
6520 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6523 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6524 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6529 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6530 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6532 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6540 $as_echo_n "checking whether to use NLS... " >&6; }
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6542 $as_echo "$USE_NLS" >&6; }
6543 if test "$USE_NLS" = "yes"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6545 $as_echo_n "checking where the gettext function comes from... " >&6; }
6546 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6547 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6548 gt_source
="external libintl"
6553 gt_source
="included intl directory"
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6556 $as_echo "$gt_source" >&6; }
6559 if test "$USE_NLS" = "yes"; then
6561 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6562 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6564 $as_echo_n "checking how to link with libintl... " >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6566 $as_echo "$LIBINTL" >&6; }
6568 for element
in $INCINTL; do
6570 for x
in $CPPFLAGS; do
6572 acl_save_prefix
="$prefix"
6573 prefix
="$acl_final_prefix"
6574 acl_save_exec_prefix
="$exec_prefix"
6575 exec_prefix
="$acl_final_exec_prefix"
6577 exec_prefix
="$acl_save_exec_prefix"
6578 prefix
="$acl_save_prefix"
6580 if test "X$x" = "X$element"; then
6585 if test -z "$haveit"; then
6586 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6593 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6596 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6604 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
6605 BUILD_INCLUDED_LIBINTL
=yes
6613 nls_cv_header_libgt
=
6624 if test "$USE_INCLUDED_LIBINTL" = yes; then
6625 INTLOBJS
="\$(GETTOBJS)"
6629 INTL_LIBTOOL_SUFFIX_PREFIX
=
6641 # This replaces the extensive use of DEFS in the original Makefile.in.
6643 $as_echo "#define IN_LIBINTL 1" >>confdefs.h
6646 $as_echo "#define IN_LIBRARY 1" >>confdefs.h
6649 $as_echo "#define DEPENDS_ON_LIBICONV 1" >>confdefs.h
6652 $as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h
6655 $as_echo "#define NO_XMALLOC 1" >>confdefs.h
6658 $as_echo "#define set_relocation_prefix libintl_set_relocation_prefix" >>confdefs.h
6661 $as_echo "#define relocate libintl_relocate" >>confdefs.h
6664 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6665 for ac_prog
in aclocal
6667 # Extract the first word of "$ac_prog", so it can be a program name with args.
6668 set dummy
$ac_prog; ac_word
=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_ACLOCAL+:} false
; then :
6672 $as_echo_n "(cached) " >&6
6674 if test -n "$ACLOCAL"; then
6675 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
6677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir
=.
6682 for ac_exec_ext
in '' $ac_executable_extensions; do
6683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ACLOCAL
="$ac_prog"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 ACLOCAL
=$ac_cv_prog_ACLOCAL
6695 if test -n "$ACLOCAL"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
6697 $as_echo "$ACLOCAL" >&6; }
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6704 test -n "$ACLOCAL" && break
6706 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
6708 for ac_prog
in autoconf
6710 # Extract the first word of "$ac_prog", so it can be a program name with args.
6711 set dummy
$ac_prog; ac_word
=$2
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 $as_echo_n "checking for $ac_word... " >&6; }
6714 if ${ac_cv_prog_AUTOCONF+:} false
; then :
6715 $as_echo_n "(cached) " >&6
6717 if test -n "$AUTOCONF"; then
6718 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
6720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6724 test -z "$as_dir" && as_dir
=.
6725 for ac_exec_ext
in '' $ac_executable_extensions; do
6726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6727 ac_cv_prog_AUTOCONF
="$ac_prog"
6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 AUTOCONF
=$ac_cv_prog_AUTOCONF
6738 if test -n "$AUTOCONF"; then
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
6740 $as_echo "$AUTOCONF" >&6; }
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; }
6747 test -n "$AUTOCONF" && break
6749 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
6751 for ac_prog
in autoheader
6753 # Extract the first word of "$ac_prog", so it can be a program name with args.
6754 set dummy
$ac_prog; ac_word
=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
6758 $as_echo_n "(cached) " >&6
6760 if test -n "$AUTOHEADER"; then
6761 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
6763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6767 test -z "$as_dir" && as_dir
=.
6768 for ac_exec_ext
in '' $ac_executable_extensions; do
6769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_AUTOHEADER
="$ac_prog"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
6781 if test -n "$AUTOHEADER"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
6783 $as_echo "$AUTOHEADER" >&6; }
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6790 test -n "$AUTOHEADER" && break
6792 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
6795 # Check whether --enable-maintainer-mode was given.
6796 if test "${enable_maintainer_mode+set}" = set; then :
6797 enableval
=$enable_maintainer_mode;
6799 enable_maintainer_mode
=no
6802 if test "x$enable_maintainer_mode" = xno
; then
6809 if test -z "$CTAGS"; then
6813 if test -z "$ETAGS"; then
6817 if test -z "$MKID"; then
6822 # Additional info for config.intl.
6828 case $USE_INCLUDED_LIBINTL in
6830 LIBINTL
=`echo $LIBINTL | sed 's,${top_builddir},&/..,' `
6831 LTLIBINTL
=`echo $LTLIBINTL | sed 's,${top_builddir},&/..,' `
6832 LIBINTL_DEP
='${top_builddir}/../intl/libintl.a'
6833 INCINTL
='-I${top_builddir}/../intl'
6839 if test "$INTLBISON" != :; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison 3 or later" >&5
6842 $as_echo_n "checking bison 3 or later... " >&6; }
6843 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6844 case $ac_prog_version in
6846 ac_prog_version
="$ac_prog_version, bison3"; ac_bison3
=yes;;
6847 *) ac_prog_version
="$ac_prog_version, old";;
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
6850 $as_echo "$ac_prog_version" >&6; }
6851 if test $ac_bison3 = yes; then
6859 # Enable --enable-host-shared.
6860 # Check whether --enable-host-shared was given.
6861 if test "${enable_host_shared+set}" = set; then :
6862 enableval
=$enable_host_shared;
6867 # Enable --enable-host-pie.
6868 # Check whether --enable-host-pie was given.
6869 if test "${enable_host_pie+set}" = set; then :
6870 enableval
=$enable_host_pie;
6875 if test x
$enable_host_shared = xyes
; then
6877 elif test x
$enable_host_pie = xyes
; then
6884 ac_config_files
="$ac_config_files Makefile config.intl"
6886 cat >confcache
<<\_ACEOF
6887 # This file is a shell script that caches the results of configure
6888 # tests run on this system so they can be shared between configure
6889 # scripts and configure runs, see configure's option --config-cache.
6890 # It is not useful on other systems. If it contains results you don't
6891 # want to keep, you may remove or edit it.
6893 # config.status only pays attention to the cache file if you give it
6894 # the --recheck option to rerun configure.
6896 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6897 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6902 # The following way of writing the cache mishandles newlines in values,
6903 # but we know of no workaround that is simple, portable, and efficient.
6904 # So, we kill variables containing newlines.
6905 # Ultrix sh set writes to stderr and can't be redirected directly,
6906 # and sets the high bit in the cache file unless we assign to the vars.
6908 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6909 eval ac_val
=\$
$ac_var
6913 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6914 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6917 _ | IFS | as_nl
) ;; #(
6918 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6919 *) { eval $ac_var=; unset $ac_var;} ;;
6925 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6926 *${as_nl}ac_space
=\
*)
6927 # `set' does not quote correctly, so add quotes: double-quote
6928 # substitution turns \\\\ into \\, and sed turns \\ into \.
6931 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6934 # `set' quotes correctly as required by POSIX, so do not add quotes.
6935 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6944 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6946 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6948 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6949 if test -w "$cache_file"; then
6950 if test "x$cache_file" != "x/dev/null"; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6952 $as_echo "$as_me: updating cache $cache_file" >&6;}
6953 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6954 cat confcache
>"$cache_file"
6956 case $cache_file in #(
6958 mv -f confcache
"$cache_file"$$
&&
6959 mv -f "$cache_file"$$
"$cache_file" ;; #(
6961 mv -f confcache
"$cache_file" ;;
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6967 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6972 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6973 # Let make expand exec_prefix.
6974 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6976 DEFS
=-DHAVE_CONFIG_H
6981 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6982 # 1. Remove the extension, and $U if already installed.
6983 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6984 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6985 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6986 # will be set to the directory where LIBOBJS objects are built.
6987 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6988 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6992 LTLIBOBJS
=$ac_ltlibobjs
6996 : "${CONFIG_STATUS=./config.status}"
6998 ac_clean_files_save
=$ac_clean_files
6999 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7001 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7003 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7005 # Generated by $as_me.
7006 # Run this file to recreate the current configuration.
7007 # Compiler output produced by configure, useful for debugging
7008 # configure, is in config.log if it exists.
7014 SHELL=\${CONFIG_SHELL-$SHELL}
7017 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7018 ## -------------------- ##
7019 ## M4sh Initialization. ##
7020 ## -------------------- ##
7022 # Be more Bourne compatible
7023 DUALCASE
=1; export DUALCASE
# for MKS sh
7024 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7027 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7028 # is contrary to our usage. Disable this feature.
7029 alias -g '${1+"$@"}'='"$@"'
7030 setopt NO_GLOB_SUBST
7032 case `(set -o) 2>/dev/null` in #(
7044 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7045 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7046 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7047 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7048 # Prefer a ksh shell builtin over an external printf program on Solaris,
7049 # but without wasting forks for bash or zsh.
7050 if test -z "$BASH_VERSION$ZSH_VERSION" \
7051 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7052 as_echo='print
-r --'
7053 as_echo_n='print
-rn --'
7054 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7055 as_echo='printf %s
\n'
7056 as_echo_n='printf %s
'
7058 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7059 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7060 as_echo_n='/usr
/ucb
/echo -n'
7062 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7063 as_echo_n_body='eval
7067 expr "X$arg" : "X\\(.*\\)$as_nl";
7068 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7070 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7072 export as_echo_n_body
7073 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7076 as_echo='sh
-c $as_echo_body as_echo
'
7079 # The user is always right.
7080 if test "${PATH_SEPARATOR+set}" != set; then
7082 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7083 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7090 # We need space, tab and new line, in precisely that order. Quoting is
7091 # there to prevent editors from complaining about space-tab.
7092 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7093 # splitting by setting IFS to empty value.)
7096 # Find who we are. Look in the path if we contain no directory separator.
7099 *[\\/]* ) as_myself=$0 ;;
7100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 test -z "$as_dir" && as_dir=.
7105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7111 # We did not find ourselves, most probably we were run as `sh COMMAND'
7112 # in which case we are not to be found in the path.
7113 if test "x$as_myself" = x
; then
7116 if test ! -f "$as_myself"; then
7117 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7121 # Unset variables that we do not need and which cause bugs (e.g. in
7122 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7123 # suppresses any "Segmentation fault" message there. '((' could
7124 # trigger a bug in pdksh 5.2.14.
7125 for as_var
in BASH_ENV ENV MAIL MAILPATH
7126 do eval test x\
${$as_var+set} = xset \
7127 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7140 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7143 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7144 # ----------------------------------------
7145 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7146 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7147 # script with STATUS, using 1 if that was 0.
7150 as_status
=$1; test $as_status -eq 0 && as_status
=1
7152 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7153 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7155 $as_echo "$as_me: error: $2" >&2
7156 as_fn_exit
$as_status
7160 # as_fn_set_status STATUS
7161 # -----------------------
7162 # Set $? to STATUS, without forking.
7166 } # as_fn_set_status
7170 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7180 # Portably unset VAR.
7183 { eval $1=; unset $1;}
7185 as_unset
=as_fn_unset
7186 # as_fn_append VAR VALUE
7187 # ----------------------
7188 # Append the text in VALUE to the end of the definition contained in VAR. Take
7189 # advantage of any shell optimizations that allow amortized linear growth over
7190 # repeated appends, instead of the typical quadratic growth present in naive
7192 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7193 eval 'as_fn_append ()
7204 # as_fn_arith ARG...
7205 # ------------------
7206 # Perform arithmetic evaluation on the ARGs, and store the result in the
7207 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7208 # must be portable across $(()) and expr.
7209 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7210 eval 'as_fn_arith ()
7217 as_val
=`expr "$@" || test $? -eq 1`
7222 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7223 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7229 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7230 as_basename
=basename
7235 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7241 as_me
=`$as_basename -- "$0" ||
7242 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7243 X"$0" : 'X\(//\)$' \| \
7244 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7246 sed '/^.*\/\([^/][^/]*\)\/*$/{
7260 # Avoid depending upon Character Ranges.
7261 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7262 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7263 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7264 as_cr_digits
='0123456789'
7265 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7267 ECHO_C
= ECHO_N
= ECHO_T
=
7268 case `echo -n x` in #(((((
7270 case `echo 'xy\c'` in
7271 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7273 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7280 rm -f conf$$ conf$$.exe conf$$.
file
7281 if test -d conf$$.dir
; then
7282 rm -f conf$$.dir
/conf$$.
file
7285 mkdir conf$$.dir
2>/dev
/null
7287 if (echo >conf$$.
file) 2>/dev
/null
; then
7288 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7290 # ... but there are two gotchas:
7291 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7292 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7293 # In both cases, we have to default to `cp -pR'.
7294 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7296 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7304 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7305 rmdir conf$$.dir
2>/dev
/null
7310 # Create "$as_dir" as a directory, including parents if necessary.
7315 -*) as_dir
=.
/$as_dir;;
7317 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7321 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7322 *) as_qdir
=$as_dir;;
7324 as_dirs
="'$as_qdir' $as_dirs"
7325 as_dir
=`$as_dirname -- "$as_dir" ||
7326 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7327 X"$as_dir" : 'X\(//\)[^/]' \| \
7328 X"$as_dir" : 'X\(//\)$' \| \
7329 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7330 $as_echo X"$as_dir" |
7331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7348 test -d "$as_dir" && break
7350 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7351 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7355 if mkdir
-p .
2>/dev
/null
; then
7356 as_mkdir_p
='mkdir -p "$as_dir"'
7358 test -d .
/-p && rmdir .
/-p
7363 # as_fn_executable_p FILE
7364 # -----------------------
7365 # Test if FILE is an executable regular file.
7366 as_fn_executable_p
()
7368 test -f "$1" && test -x "$1"
7369 } # as_fn_executable_p
7371 as_executable_p
=as_fn_executable_p
7373 # Sed expression to map a string onto a valid CPP name.
7374 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7376 # Sed expression to map a string onto a valid variable name.
7377 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7381 ## ----------------------------------- ##
7382 ## Main body of $CONFIG_STATUS script. ##
7383 ## ----------------------------------- ##
7385 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7388 # Save the log message, to keep $0 and so on meaningful, and to
7389 # report actual input values of CONFIG_FILES etc. instead of their
7390 # values after options handling.
7392 This file was extended by $as_me, which was
7393 generated by GNU Autoconf 2.69. Invocation command line was
7395 CONFIG_FILES = $CONFIG_FILES
7396 CONFIG_HEADERS = $CONFIG_HEADERS
7397 CONFIG_LINKS = $CONFIG_LINKS
7398 CONFIG_COMMANDS = $CONFIG_COMMANDS
7401 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7406 case $ac_config_files in *"
7407 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7410 case $ac_config_headers in *"
7411 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7416 # Files that config.status was made for.
7417 config_files="$ac_config_files"
7418 config_headers="$ac_config_headers"
7419 config_commands="$ac_config_commands"
7423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7425 \`$as_me' instantiates files and other configuration actions
7426 from templates according to the current configuration. Unless the files
7427 and actions are specified as TAGs, all are instantiated by default.
7429 Usage: $0 [OPTION]... [TAG]...
7431 -h, --help print this help, then exit
7432 -V, --version print version number and configuration settings, then exit
7433 --config print configuration, then exit
7434 -q, --quiet, --silent
7435 do not print progress messages
7436 -d, --debug don't remove temporary files
7437 --recheck update $as_me by reconfiguring in the same conditions
7438 --file=FILE[:TEMPLATE]
7439 instantiate the configuration file FILE
7440 --header=FILE[:TEMPLATE]
7441 instantiate the configuration header FILE
7443 Configuration files:
7446 Configuration headers:
7449 Configuration commands:
7452 Report bugs to the package provider."
7455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7456 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7459 configured by $0, generated by GNU Autoconf 2.69,
7460 with options \\"\$ac_cs_config\\"
7462 Copyright (C) 2012 Free Software Foundation, Inc.
7463 This config.status script is free software; the Free Software Foundation
7464 gives unlimited permission to copy, distribute and modify it."
7469 test -n "\$AWK" || AWK=awk
7472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7473 # The default lists apply if the user does not specify any file.
7479 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7480 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7484 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7496 # Handling of the options.
7497 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7499 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7500 $as_echo "$ac_cs_version"; exit ;;
7501 --config |
--confi |
--conf |
--con |
--co |
--c )
7502 $as_echo "$ac_cs_config"; exit ;;
7503 --debug |
--debu |
--deb |
--de |
--d |
-d )
7505 --file |
--fil |
--fi |
--f )
7508 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7509 '') as_fn_error $?
"missing file argument" ;;
7511 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7512 ac_need_defaults
=false
;;
7513 --header |
--heade |
--head |
--hea )
7516 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7518 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7519 ac_need_defaults
=false
;;
7521 # Conflict between --help and --header
7522 as_fn_error $?
"ambiguous option: \`$1'
7523 Try \`$0 --help' for more information.";;
7524 --help |
--hel |
-h )
7525 $as_echo "$ac_cs_usage"; exit ;;
7526 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7527 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7531 -*) as_fn_error $?
"unrecognized option: \`$1'
7532 Try \`$0 --help' for more information." ;;
7534 *) as_fn_append ac_config_targets
" $1"
7535 ac_need_defaults
=false
;;
7541 ac_configure_extra_args
=
7543 if $ac_cs_silent; then
7545 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7550 if \$ac_cs_recheck; then
7551 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7553 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7554 CONFIG_SHELL='$SHELL'
7560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7564 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7565 ## Running $as_me. ##
7571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7575 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7576 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7578 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7579 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7580 LINGUAS="${LINGUAS-%UNSET%}"
7585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7587 # Handling of arguments.
7588 for ac_config_target
in $ac_config_targets
7590 case $ac_config_target in
7591 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7592 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7593 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7594 "config.intl") CONFIG_FILES
="$CONFIG_FILES config.intl" ;;
7596 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7601 # If the user did not use the arguments to specify the items to instantiate,
7602 # then the envvar interface is used. Set only those that are not.
7603 # We use the long form for the default assignment because of an extremely
7604 # bizarre bug on SunOS 4.1.3.
7605 if $ac_need_defaults; then
7606 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7607 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7608 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7611 # Have a temporary directory for convenience. Make it in the build tree
7612 # simply because there is no reason against having it here, and in addition,
7613 # creating and moving files from /tmp can sometimes cause problems.
7614 # Hook for its removal unless debugging.
7615 # Note that there is a small window in which the directory will not be cleaned:
7616 # after its creation but before its name has been assigned to `$tmp'.
7620 trap 'exit_status=$?
7622 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7624 trap 'as_fn_exit 1' 1 2 13 15
7626 # Create a (secure) tmp directory for tmp files.
7629 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7633 tmp
=.
/conf$$
-$RANDOM
7634 (umask 077 && mkdir
"$tmp")
7635 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7638 # Set up the scripts for CONFIG_FILES section.
7639 # No need to generate them if there are no CONFIG_FILES.
7640 # This happens for instance with `./config.status config.h'.
7641 if test -n "$CONFIG_FILES"; then
7644 ac_cr
=`echo X | tr X '\015'`
7645 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7646 # But we know of no other shell where ac_cr would be empty at this
7647 # point, so we can use a bashism as a fallback.
7648 if test "x$ac_cr" = x
; then
7649 eval ac_cr
=\$
\'\\r
\'
7651 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7652 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7658 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7663 echo "cat >conf$$subs.awk <<_ACEOF" &&
7664 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7667 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7668 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7670 for ac_last_try in false false false false false :; do
7671 . ./conf$$subs.sh ||
7672 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7674 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7675 if test $ac_delim_n = $ac_delim_num; then
7677 elif $ac_last_try; then
7678 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7680 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7686 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7690 s/^/S["/; s
/!.
*/"]=/
7700 s/\(.\{148\}\)..*/\1/
7702 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7707 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7714 s/\(.\{148\}\)..*/\1/
7716 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7720 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7725 ' <conf$$subs.awk | sed '
7730 ' >>$CONFIG_STATUS || ac_write_fail=1
7731 rm -f conf$$subs.awk
7732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7734 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7735 for (key in S) S_is_set[key] = 1
7741 nfields = split(line, field, "@
")
7743 len = length(field[1])
7744 for (i = 2; i < nfields; i++) {
7746 keylen = length(key)
7747 if (S_is_set[key]) {
7749 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7750 len += length(value) + length(field[++i])
7761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7762 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7763 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7766 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7767 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7770 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7771 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7772 # trailing colons and then remove the whole line if VPATH becomes empty
7773 # (actually we leave an empty line to preserve line numbers).
7774 if test "x
$srcdir" = x.; then
7775 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7794 fi # test -n "$CONFIG_FILES"
7796 # Set up the scripts for CONFIG_HEADERS section.
7797 # No need to generate them if there are no CONFIG_HEADERS.
7798 # This happens for instance with `./config.status Makefile'.
7799 if test -n "$CONFIG_HEADERS"; then
7800 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7804 # Transform confdefs.h into an awk script `defines.awk', embedded as
7805 # here-document in config.status, that substitutes the proper values into
7806 # config.h.in to produce config.h.
7808 # Create a delimiter string that does not exist in confdefs.h, to ease
7809 # handling of long lines.
7811 for ac_last_try in false false :; do
7812 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7813 if test -z "$ac_tt"; then
7815 elif $ac_last_try; then
7816 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7818 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7822 # For the awk script, D is an array of macro values keyed by name,
7823 # likewise P contains macro parameters if any. Preserve backslash
7824 # newline sequences.
7826 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7828 s/.\{148\}/&'"$ac_delim"'/g
7831 s/^[ ]*#[ ]*define[ ][ ]*/ /
7838 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7840 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7844 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7845 D["\
1"]=" \
3\\\\\\n
"\\/p
7847 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7852 s/.\{148\}/&'"$ac_delim"'/g
7857 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7860 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7862 ' <confdefs.h | sed '
7863 s/'"$ac_delim"'/"\\\
7864 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7867 for (key in D) D_is_set[key] = 1
7870 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7872 split(line, arg, " ")
7873 if (arg[1] == "#") {
7877 defundef
= substr
(arg
[1], 2)
7880 split(mac1
, mac2
, "(") #)
7882 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7883 if (D_is_set
[macro
]) {
7884 # Preserve the white space surrounding the "#".
7885 print prefix
"define", macro P
[macro
] D
[macro
]
7888 # Replace #undef with comments. This is necessary, for example,
7889 # in the case of _POSIX_SOURCE, which is predefined and required
7890 # on some systems where configure will not decide to define it.
7891 if (defundef
== "undef") {
7892 print
"/*", prefix defundef
, macro
, "*/"
7900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7901 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7902 fi # test -n "$CONFIG_HEADERS"
7905 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7910 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7912 case $ac_mode$ac_tag in
7914 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7915 :[FH
]-) ac_tag
=-:-;;
7916 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7933 -) ac_f
="$ac_tmp/stdin";;
7934 *) # Look for the file first in the build tree, then in the source tree
7935 # (if the path is not absolute). The absolute path cannot be DOS-style,
7936 # because $ac_f cannot contain `:'.
7940 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7942 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7944 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7945 as_fn_append ac_file_inputs
" '$ac_f'"
7948 # Let's still pretend it is `configure' which instantiates (i.e., don't
7949 # use $as_me), people would be surprised to read:
7950 # /* config.h. Generated by config.status. */
7951 configure_input
='Generated from '`
7952 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7954 if test x
"$ac_file" != x-
; then
7955 configure_input
="$ac_file. $configure_input"
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7957 $as_echo "$as_me: creating $ac_file" >&6;}
7959 # Neutralize special characters interpreted by sed in replacement strings.
7960 case $configure_input in #(
7961 *\
&* |
*\|
* |
*\\* )
7962 ac_sed_conf_input
=`$as_echo "$configure_input" |
7963 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7964 *) ac_sed_conf_input
=$configure_input;;
7968 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7969 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7974 ac_dir
=`$as_dirname -- "$ac_file" ||
7975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7976 X"$ac_file" : 'X\(//\)[^/]' \| \
7977 X"$ac_file" : 'X\(//\)$' \| \
7978 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7979 $as_echo X"$ac_file" |
7980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7997 as_dir
="$ac_dir"; as_fn_mkdir_p
8001 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8003 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8004 # A ".." for each directory in $ac_dir_suffix.
8005 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8006 case $ac_top_builddir_sub in
8007 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8008 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8011 ac_abs_top_builddir
=$ac_pwd
8012 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8013 # for backward compatibility:
8014 ac_top_builddir
=$ac_top_build_prefix
8017 .
) # We are building in place.
8019 ac_top_srcdir
=$ac_top_builddir_sub
8020 ac_abs_top_srcdir
=$ac_pwd ;;
8021 [\\/]* | ?
:[\\/]* ) # Absolute name.
8022 ac_srcdir
=$srcdir$ac_dir_suffix;
8023 ac_top_srcdir
=$srcdir
8024 ac_abs_top_srcdir
=$srcdir ;;
8026 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8027 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8028 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8030 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8040 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8041 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8046 # If the template does not know about datarootdir, expand it.
8047 # FIXME: This hack should be removed a few years after 2.60.
8048 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8059 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8060 *datarootdir
*) ac_datarootdir_seen
=yes;;
8061 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8063 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8066 ac_datarootdir_hack='
8067 s&@datadir@&$datadir&g
8068 s&@docdir@&$docdir&g
8069 s&@infodir@&$infodir&g
8070 s&@localedir@&$localedir&g
8071 s&@mandir@&$mandir&g
8072 s&\\\${datarootdir}&$datarootdir&g' ;;
8076 # Neutralize VPATH when `$srcdir' = `.'.
8077 # Shell code in configure.ac might set extrasub.
8078 # FIXME: do we really want to maintain this feature?
8079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8080 ac_sed_extra="$ac_vpsub
8083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8085 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8086 s|@configure_input@|
$ac_sed_conf_input|
;t t
8087 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8088 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8089 s
&@srcdir@
&$ac_srcdir&;t t
8090 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8091 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8092 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8093 s
&@builddir@
&$ac_builddir&;t t
8094 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8095 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8096 s
&@INSTALL@
&$ac_INSTALL&;t t
8097 $ac_datarootdir_hack
8099 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8100 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8102 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8103 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8104 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8105 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8107 which seems to be undefined. Please make sure it is defined" >&5
8108 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8109 which seems to be undefined. Please make sure it is defined" >&2;}
8111 rm -f "$ac_tmp/stdin"
8113 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8114 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8122 if test x"$ac_file" != x-; then
8124 $as_echo "/* $configure_input */" \
8125 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8126 } >"$ac_tmp/config.h" \
8127 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8128 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8130 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8133 mv "$ac_tmp/config.h" "$ac_file" \
8134 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8137 $as_echo "/* $configure_input */" \
8138 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8139 || as_fn_error $? "could not create -" "$LINENO" 5
8143 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8144 $as_echo "$as_me: executing $ac_file commands" >&6;}
8149 case $ac_file$ac_mode in
8151 for ac_file in $CONFIG_FILES; do
8152 # Support "outfile[:infile[:infile...]]"
8154 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
8156 # PO directories have a Makefile.in generated from Makefile.in.in.
8157 case "$ac_file" in */Makefile.in)
8158 # Adjust a relative srcdir.
8159 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
8160 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
8161 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
8162 # In autoconf-2.13 it is called $ac_given_srcdir.
8163 # In autoconf-2.50 it is called $srcdir.
8164 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8165 case "$ac_given_srcdir" in
8166 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
8167 /*) top_srcdir="$ac_given_srcdir" ;;
8168 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8170 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8171 rm -f "$ac_dir/POTFILES"
8172 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8173 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8174 POMAKEFILEDEPS="POTFILES.in"
8175 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8176 # on $ac_dir but don't depend on user-specified configuration
8178 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8179 # The LINGUAS file contains the set of available languages.
8180 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8181 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
8183 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8184 # Hide the ALL_LINGUAS assigment from automake.
8185 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8186 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8188 # The set of available languages was given in configure.ac.
8189 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8191 case "$ac_given_srcdir" in
8193 *) srcdirpre
='$(srcdir)/' ;;
8199 for lang
in $ALL_LINGUAS; do
8200 POFILES
="$POFILES $srcdirpre$lang.po"
8201 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8202 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8203 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8205 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8206 # environment variable.
8208 if test -n "$ALL_LINGUAS"; then
8209 for presentlang
in $ALL_LINGUAS; do
8211 if test "%UNSET%" != "$LINGUAS"; then
8212 desiredlanguages
="$LINGUAS"
8214 desiredlanguages
="$ALL_LINGUAS"
8216 for desiredlang
in $desiredlanguages; do
8217 # Use the presentlang catalog if desiredlang is
8218 # a. equal to presentlang, or
8219 # b. a variant of presentlang (because in this case,
8220 # presentlang can be used as a fallback for messages
8221 # which are not translated in the desiredlang catalog).
8222 case "$desiredlang" in
8223 "$presentlang"*) useit
=yes;;
8226 if test $useit = yes; then
8227 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8232 if test -n "$INST_LINGUAS"; then
8233 for lang
in $INST_LINGUAS; do
8234 CATALOGS
="$CATALOGS $lang.gmo"
8237 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8238 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"
8239 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8240 if test -f "$f"; then
8242 *.orig |
*.bak |
*~
) ;;
8243 *) cat "$f" >> "$ac_dir/Makefile" ;;
8258 ac_clean_files
=$ac_clean_files_save
8260 test $ac_write_fail = 0 ||
8261 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8264 # configure is writing to config.log, and then calls config.status.
8265 # config.status does its own redirection, appending to config.log.
8266 # Unfortunately, on DOS this fails, as config.log is still kept open
8267 # by configure, so config.status won't be able to write to it; its
8268 # output is simply discarded. So we exec the FD to /dev/null,
8269 # effectively closing config.log, so it can be properly (re)opened and
8270 # appended to by config.status. When coming back to configure, we
8271 # need to make the FD available again.
8272 if test "$no_create" != yes; then
8274 ac_config_status_args
=
8275 test "$silent" = yes &&
8276 ac_config_status_args
="$ac_config_status_args --quiet"
8278 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8280 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8281 # would make configure fail if this is the last instruction.
8282 $ac_cs_success || as_fn_exit
1
8284 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8286 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}