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
635 INTL_LIBTOOL_SUFFIX_PREFIX
642 BUILD_INCLUDED_LIBINTL
704 program_transform_name
717 enable_option_checking
723 with_included_gettext
726 enable_maintainer_mode
728 ac_precious_vars
='build_alias
739 # Initialize some variables set by options.
741 ac_init_version
=false
742 ac_unrecognized_opts
=
744 # The variables have the same names as the options, with
745 # dashes changed to underlines.
753 program_transform_name
=s
,x
,x
,
761 # Installation directory options.
762 # These are left unexpanded so users can "make install exec_prefix=/foo"
763 # and all the variables that are supposed to be based on exec_prefix
764 # by default will actually change.
765 # Use braces instead of parens because sh, perl, etc. also accept them.
766 # (The list follows the same order as the GNU Coding Standards.)
767 bindir
='${exec_prefix}/bin'
768 sbindir
='${exec_prefix}/sbin'
769 libexecdir
='${exec_prefix}/libexec'
770 datarootdir
='${prefix}/share'
771 datadir
='${datarootdir}'
772 sysconfdir
='${prefix}/etc'
773 sharedstatedir
='${prefix}/com'
774 localstatedir
='${prefix}/var'
775 includedir
='${prefix}/include'
776 oldincludedir
='/usr/include'
777 docdir
='${datarootdir}/doc/${PACKAGE}'
778 infodir
='${datarootdir}/info'
783 libdir
='${exec_prefix}/lib'
784 localedir
='${datarootdir}/locale'
785 mandir
='${datarootdir}/man'
791 # If the previous option needs an argument, assign it.
792 if test -n "$ac_prev"; then
793 eval $ac_prev=\
$ac_option
799 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
804 # Accept the important Cygnus configure options, so we can diagnose typos.
806 case $ac_dashdash$ac_option in
810 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
812 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
815 -build |
--build |
--buil |
--bui |
--bu)
816 ac_prev
=build_alias
;;
817 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
818 build_alias
=$ac_optarg ;;
820 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
821 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
822 ac_prev
=cache_file
;;
823 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
824 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
825 cache_file
=$ac_optarg ;;
828 cache_file
=config.cache
;;
830 -datadir |
--datadir |
--datadi |
--datad)
832 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
833 datadir
=$ac_optarg ;;
835 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
836 |
--dataroo |
--dataro |
--datar)
837 ac_prev
=datarootdir
;;
838 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
839 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
840 datarootdir
=$ac_optarg ;;
842 -disable-* |
--disable-*)
843 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
844 # Reject names that are not valid shell variable names.
845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
846 as_fn_error $?
"invalid feature name: $ac_useropt"
847 ac_useropt_orig
=$ac_useropt
848 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
849 case $ac_user_opts in
853 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
854 ac_unrecognized_sep
=', ';;
856 eval enable_
$ac_useropt=no
;;
858 -docdir |
--docdir |
--docdi |
--doc |
--do)
860 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
863 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
865 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
868 -enable-* |
--enable-*)
869 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
872 as_fn_error $?
"invalid feature name: $ac_useropt"
873 ac_useropt_orig
=$ac_useropt
874 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
880 ac_unrecognized_sep
=', ';;
882 eval enable_
$ac_useropt=\
$ac_optarg ;;
884 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
885 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
886 |
--exec |
--exe |
--ex)
887 ac_prev
=exec_prefix
;;
888 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
889 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
890 |
--exec=* |
--exe=* |
--ex=*)
891 exec_prefix
=$ac_optarg ;;
893 -gas |
--gas |
--ga |
--g)
894 # Obsolete; use --with-gas.
897 -help |
--help |
--hel |
--he |
-h)
899 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
900 ac_init_help
=recursive
;;
901 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
902 ac_init_help
=short
;;
904 -host |
--host |
--hos |
--ho)
905 ac_prev
=host_alias
;;
906 -host=* |
--host=* |
--hos=* |
--ho=*)
907 host_alias
=$ac_optarg ;;
909 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
911 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
913 htmldir
=$ac_optarg ;;
915 -includedir |
--includedir |
--includedi |
--included |
--include \
916 |
--includ |
--inclu |
--incl |
--inc)
917 ac_prev
=includedir
;;
918 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
919 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
920 includedir
=$ac_optarg ;;
922 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
924 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
925 infodir
=$ac_optarg ;;
927 -libdir |
--libdir |
--libdi |
--libd)
929 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
932 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
933 |
--libexe |
--libex |
--libe)
934 ac_prev
=libexecdir
;;
935 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
936 |
--libexe=* |
--libex=* |
--libe=*)
937 libexecdir
=$ac_optarg ;;
939 -localedir |
--localedir |
--localedi |
--localed |
--locale)
941 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
942 localedir
=$ac_optarg ;;
944 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
945 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
946 ac_prev
=localstatedir
;;
947 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
948 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
949 localstatedir
=$ac_optarg ;;
951 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
953 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
957 # Obsolete; use --without-fp.
960 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
961 |
--no-cr |
--no-c |
-n)
964 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
965 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
968 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
969 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
970 |
--oldin |
--oldi |
--old |
--ol |
--o)
971 ac_prev
=oldincludedir
;;
972 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
973 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
974 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
975 oldincludedir
=$ac_optarg ;;
977 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
979 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
982 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
983 |
--program-pre |
--program-pr |
--program-p)
984 ac_prev
=program_prefix
;;
985 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
986 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
987 program_prefix
=$ac_optarg ;;
989 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
990 |
--program-suf |
--program-su |
--program-s)
991 ac_prev
=program_suffix
;;
992 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
993 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
994 program_suffix
=$ac_optarg ;;
996 -program-transform-name |
--program-transform-name \
997 |
--program-transform-nam |
--program-transform-na \
998 |
--program-transform-n |
--program-transform- \
999 |
--program-transform |
--program-transfor \
1000 |
--program-transfo |
--program-transf \
1001 |
--program-trans |
--program-tran \
1002 |
--progr-tra |
--program-tr |
--program-t)
1003 ac_prev
=program_transform_name
;;
1004 -program-transform-name=* |
--program-transform-name=* \
1005 |
--program-transform-nam=* |
--program-transform-na=* \
1006 |
--program-transform-n=* |
--program-transform-=* \
1007 |
--program-transform=* |
--program-transfor=* \
1008 |
--program-transfo=* |
--program-transf=* \
1009 |
--program-trans=* |
--program-tran=* \
1010 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1011 program_transform_name
=$ac_optarg ;;
1013 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1015 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1016 pdfdir
=$ac_optarg ;;
1018 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1020 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1024 |
-silent |
--silent |
--silen |
--sile |
--sil)
1027 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1029 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1031 sbindir
=$ac_optarg ;;
1033 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1034 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1035 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1037 ac_prev
=sharedstatedir
;;
1038 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1039 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1040 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1042 sharedstatedir
=$ac_optarg ;;
1044 -site |
--site |
--sit)
1046 -site=* |
--site=* |
--sit=*)
1049 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1051 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1052 srcdir
=$ac_optarg ;;
1054 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1055 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1056 ac_prev
=sysconfdir
;;
1057 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1058 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1059 sysconfdir
=$ac_optarg ;;
1061 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1062 ac_prev
=target_alias
;;
1063 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1064 target_alias
=$ac_optarg ;;
1066 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1069 -version |
--version |
--versio |
--versi |
--vers |
-V)
1070 ac_init_version
=: ;;
1073 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1076 as_fn_error $?
"invalid package name: $ac_useropt"
1077 ac_useropt_orig
=$ac_useropt
1078 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1083 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1084 ac_unrecognized_sep
=', ';;
1086 eval with_
$ac_useropt=\
$ac_optarg ;;
1088 -without-* |
--without-*)
1089 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1092 as_fn_error $?
"invalid package name: $ac_useropt"
1093 ac_useropt_orig
=$ac_useropt
1094 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1099 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1100 ac_unrecognized_sep
=', ';;
1102 eval with_
$ac_useropt=no
;;
1105 # Obsolete; use --with-x.
1108 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1109 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1110 ac_prev
=x_includes
;;
1111 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1112 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1113 x_includes
=$ac_optarg ;;
1115 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1116 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1117 ac_prev
=x_libraries
;;
1118 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1119 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1120 x_libraries
=$ac_optarg ;;
1122 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1123 Try \`$0 --help' for more information"
1127 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1128 # Reject names that are not valid shell variable names.
1129 case $ac_envvar in #(
1130 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1131 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1133 eval $ac_envvar=\
$ac_optarg
1134 export $ac_envvar ;;
1137 # FIXME: should be removed in autoconf 3.0.
1138 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1139 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1140 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1141 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1147 if test -n "$ac_prev"; then
1148 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1149 as_fn_error $?
"missing argument to $ac_option"
1152 if test -n "$ac_unrecognized_opts"; then
1153 case $enable_option_checking in
1155 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1156 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1160 # Check all directory arguments for consistency.
1161 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1162 datadir sysconfdir sharedstatedir localstatedir includedir \
1163 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1164 libdir localedir mandir
1166 eval ac_val
=\$
$ac_var
1167 # Remove trailing slashes.
1170 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1171 eval $ac_var=\
$ac_val;;
1173 # Be sure to have absolute directory names.
1175 [\\/$
]* | ?
:[\\/]* ) continue;;
1176 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1178 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1181 # There might be people who depend on the old broken behavior: `$host'
1182 # used to hold the argument of --host etc.
1183 # FIXME: To remove some day.
1186 target
=$target_alias
1188 # FIXME: To remove some day.
1189 if test "x$host_alias" != x
; then
1190 if test "x$build_alias" = x
; then
1191 cross_compiling
=maybe
1192 elif test "x$build_alias" != "x$host_alias"; then
1198 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1200 test "$silent" = yes && exec 6>/dev
/null
1203 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1204 ac_ls_di
=`ls -di .` &&
1205 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1206 as_fn_error $?
"working directory cannot be determined"
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 as_fn_error $?
"pwd does not report name of working directory"
1211 # Find the source files, if location was not specified.
1212 if test -z "$srcdir"; then
1213 ac_srcdir_defaulted
=yes
1214 # Try the directory containing this script, then the parent directory.
1215 ac_confdir
=`$as_dirname -- "$as_myself" ||
1216 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1217 X"$as_myself" : 'X\(//\)[^/]' \| \
1218 X"$as_myself" : 'X\(//\)$' \| \
1219 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1220 $as_echo X"$as_myself" |
1221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 if test ! -r "$srcdir/$ac_unique_file"; then
1243 ac_srcdir_defaulted
=no
1245 if test ! -r "$srcdir/$ac_unique_file"; then
1246 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1247 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1249 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1251 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1253 # When building in place, set srcdir=.
1254 if test "$ac_abs_confdir" = "$ac_pwd"; then
1257 # Remove unnecessary trailing slashes from srcdir.
1258 # Double slashes in file names in object file debugging info
1259 # mess up M-x gdb in Emacs.
1261 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1263 for ac_var
in $ac_precious_vars; do
1264 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1265 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1266 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1267 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1271 # Report the --help message.
1273 if test "$ac_init_help" = "long"; then
1274 # Omit some internal or obsolete options to make the list less imposing.
1275 # This message is too long to be a string in the A/UX 3.1 sh.
1277 \`configure' configures this package to adapt to many kinds of systems.
1279 Usage: $0 [OPTION]... [VAR=VALUE]...
1281 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1282 VAR=VALUE. See below for descriptions of some of the useful variables.
1284 Defaults for the options are specified in brackets.
1287 -h, --help display this help and exit
1288 --help=short display options specific to this package
1289 --help=recursive display the short help of all the included packages
1290 -V, --version display version information and exit
1291 -q, --quiet, --silent do not print \`checking ...' messages
1292 --cache-file=FILE cache test results in FILE [disabled]
1293 -C, --config-cache alias for \`--cache-file=config.cache'
1294 -n, --no-create do not create output files
1295 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1297 Installation directories:
1298 --prefix=PREFIX install architecture-independent files in PREFIX
1299 [$ac_default_prefix]
1300 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1303 By default, \`make install' will install all the files in
1304 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1305 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1306 for instance \`--prefix=\$HOME'.
1308 For better control, use the options below.
1310 Fine tuning of the installation directories:
1311 --bindir=DIR user executables [EPREFIX/bin]
1312 --sbindir=DIR system admin executables [EPREFIX/sbin]
1313 --libexecdir=DIR program executables [EPREFIX/libexec]
1314 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1315 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1316 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1317 --libdir=DIR object code libraries [EPREFIX/lib]
1318 --includedir=DIR C header files [PREFIX/include]
1319 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1320 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1321 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1322 --infodir=DIR info documentation [DATAROOTDIR/info]
1323 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1324 --mandir=DIR man documentation [DATAROOTDIR/man]
1325 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1326 --htmldir=DIR html documentation [DOCDIR]
1327 --dvidir=DIR dvi documentation [DOCDIR]
1328 --pdfdir=DIR pdf documentation [DOCDIR]
1329 --psdir=DIR ps documentation [DOCDIR]
1335 --build=BUILD configure
for building on BUILD
[guessed
]
1336 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1340 if test -n "$ac_init_help"; then
1345 --disable-option-checking ignore unrecognized
--enable/--with options
1346 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1347 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1348 --disable-nls do not use Native Language Support
1349 --disable-rpath do not hardcode runtime library paths
1350 --enable-maintainer-mode enable rules only needed by maintainers
1353 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1354 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1355 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1356 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1357 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1358 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1359 --with-included-gettext use the GNU gettext library included here
1360 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1361 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1362 --with-libintl-type=TYPE
type of library to search
for (auto
/static
/shared
)
1364 Some influential environment variables
:
1365 CC C compiler
command
1366 CFLAGS C compiler flags
1367 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1368 nonstandard directory
<lib dir
>
1369 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1370 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1371 you have headers
in a nonstandard directory
<include dir
>
1374 Use these variables to override the choices made by
`configure' or to help
1375 it to find libraries and programs with nonstandard names/locations.
1377 Report bugs to the package provider.
1382 if test "$ac_init_help" = "recursive"; then
1383 # If there are subdirs, report their specific --help.
1384 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1385 test -d "$ac_dir" ||
1386 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1391 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1393 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1394 # A ".." for each directory in $ac_dir_suffix.
1395 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1396 case $ac_top_builddir_sub in
1397 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1401 ac_abs_top_builddir=$ac_pwd
1402 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1403 # for backward compatibility:
1404 ac_top_builddir=$ac_top_build_prefix
1407 .) # We are building in place.
1409 ac_top_srcdir=$ac_top_builddir_sub
1410 ac_abs_top_srcdir=$ac_pwd ;;
1411 [\\/]* | ?:[\\/]* ) # Absolute name.
1412 ac_srcdir=$srcdir$ac_dir_suffix;
1413 ac_top_srcdir=$srcdir
1414 ac_abs_top_srcdir=$srcdir ;;
1416 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1417 ac_top_srcdir=$ac_top_build_prefix$srcdir
1418 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1420 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1422 cd "$ac_dir" || { ac_status=$?; continue; }
1423 # Check for guested configure.
1424 if test -f "$ac_srcdir/configure.gnu"; then
1426 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1427 elif test -f "$ac_srcdir/configure"; then
1429 $SHELL "$ac_srcdir/configure" --help=recursive
1431 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1433 cd "$ac_pwd" || { ac_status=$?; break; }
1437 test -n "$ac_init_help" && exit $ac_status
1438 if $ac_init_version; then
1441 generated by GNU Autoconf 2.69
1443 Copyright (C) 2012 Free Software Foundation, Inc.
1444 This configure script is free software; the Free Software Foundation
1445 gives unlimited permission to copy, distribute and modify it.
1450 ## ------------------------ ##
1451 ## Autoconf initialization. ##
1452 ## ------------------------ ##
1454 # ac_fn_c_try_compile LINENO
1455 # --------------------------
1456 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1457 ac_fn_c_try_compile ()
1459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1460 rm -f conftest.$ac_objext
1461 if { { ac_try="$ac_compile"
1463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1464 *) ac_try_echo
=$ac_try;;
1466 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1467 $as_echo "$ac_try_echo"; } >&5
1468 (eval "$ac_compile") 2>conftest.err
1470 if test -s conftest.err
; then
1471 grep -v '^ *+' conftest.err
>conftest.er1
1472 cat conftest.er1
>&5
1473 mv -f conftest.er1 conftest.err
1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1476 test $ac_status = 0; } && {
1477 test -z "$ac_c_werror_flag" ||
1478 test ! -s conftest.err
1479 } && test -s conftest.
$ac_objext; then :
1482 $as_echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.
$ac_ext >&5
1487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1488 as_fn_set_status
$ac_retval
1490 } # ac_fn_c_try_compile
1492 # ac_fn_c_try_cpp LINENO
1493 # ----------------------
1494 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1497 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1498 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1501 *) ac_try_echo=$ac_try;;
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1507 if test -s conftest.err; then
1508 grep -v '^ *+' conftest.err >conftest.er1
1509 cat conftest.er1 >&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } > conftest.i && {
1514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.$ac_ext >&5
1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525 as_fn_set_status $ac_retval
1529 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1530 # -------------------------------------------------------
1531 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1532 # the include files in INCLUDES and setting the cache variable VAR
1534 ac_fn_c_check_header_mongrel ()
1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537 if eval \${$3+:} false; then :
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1539 $as_echo_n "checking for $2... " >&6; }
1540 if eval \${$3+:} false; then :
1541 $as_echo_n "(cached) " >&6
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1545 $as_echo "$ac_res" >&6; }
1547 # Is the header compilable?
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1549 $as_echo_n "checking $2 usability... " >&6; }
1550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1551 /* end confdefs.h. */
1555 if ac_fn_c_try_compile "$LINENO"; then :
1556 ac_header_compiler=yes
1558 ac_header_compiler=no
1560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1562 $as_echo "$ac_header_compiler" >&6; }
1564 # Is the header present?
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1566 $as_echo_n "checking $2 presence... " >&6; }
1567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1568 /* end confdefs.h. */
1571 if ac_fn_c_try_cpp "$LINENO"; then :
1572 ac_header_preproc=yes
1574 ac_header_preproc=no
1576 rm -f conftest.err conftest.i conftest.$ac_ext
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1578 $as_echo "$ac_header_preproc" >&6; }
1580 # So? What about this header?
1581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1584 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1586 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1590 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1592 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1594 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1596 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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}: checking for $2" >&5
1602 $as_echo_n "checking for $2... " >&6; }
1603 if eval \${$3+:} false; then :
1604 $as_echo_n "(cached) " >&6
1606 eval "$3=\$ac_header_compiler"
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610 $as_echo "$ac_res" >&6; }
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 } # ac_fn_c_check_header_mongrel
1616 # ac_fn_c_try_run LINENO
1617 # ----------------------
1618 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1619 # that executables *can* be run.
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 if { { ac_try="$ac_link"
1625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1626 *) ac_try_echo
=$ac_try;;
1628 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_link") 2>&5
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1634 { { case "(($ac_try" in
1635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_try") 2>&5
1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643 test $ac_status = 0; }; }; then :
1646 $as_echo "$as_me: program exited with status $ac_status" >&5
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1650 ac_retval=$ac_status
1652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1659 # -------------------------------------------------------
1660 # Tests whether HEADER exists and can be compiled using the include files in
1661 # INCLUDES, setting the cache variable VAR accordingly.
1662 ac_fn_c_check_header_compile ()
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if eval \${$3+:} false; then :
1668 $as_echo_n "(cached) " >&6
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1675 if ac_fn_c_try_compile "$LINENO"; then :
1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 } # ac_fn_c_check_header_compile
1689 # ac_fn_c_try_link LINENO
1690 # -----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 rm -f conftest.$ac_objext conftest$ac_exeext
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1699 *) ac_try_echo
=$ac_try;;
1701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>conftest.err
1705 if test -s conftest.err
; then
1706 grep -v '^ *+' conftest.err
>conftest.er1
1707 cat conftest.er1
>&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && {
1712 test -z "$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest
$ac_exeext && {
1715 test "$cross_compiling" = yes ||
1716 test -x conftest
$ac_exeext
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.
$ac_ext >&5
1725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1727 # interfere with the next link command; also delete a directory that is
1728 # left behind by Apple's compiler. We do this before executing the actions.
1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 as_fn_set_status
$ac_retval
1733 } # ac_fn_c_try_link
1735 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1736 # -------------------------------------------
1737 # Tests whether TYPE exists after having included INCLUDES, setting cache
1738 # variable VAR accordingly.
1739 ac_fn_c_check_type
()
1741 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \
${$3+:} false
; then :
1745 $as_echo_n "(cached) " >&6
1748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1760 if ac_fn_c_try_compile
"$LINENO"; then :
1761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1762 /* end confdefs.h. */
1773 if ac_fn_c_try_compile
"$LINENO"; then :
1778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 } # ac_fn_c_check_type
1789 # ac_fn_c_check_func LINENO FUNC VAR
1790 # ----------------------------------
1791 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1792 ac_fn_c_check_func
()
1794 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \
${$3+:} false
; then :
1798 $as_echo_n "(cached) " >&6
1800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1802 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1804 #define $2 innocuous_$2
1806 /* System header to define __stub macros and hopefully few prototypes,
1807 which can conflict with char $2 (); below.
1808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1809 <limits.h> exists even on freestanding compilers. */
1812 # include <limits.h>
1814 # include <assert.h>
1819 /* Override any GCC internal prototype to avoid an error.
1820 Use char because int might match the return type of a GCC
1821 builtin and then its argument prototype would still apply. */
1826 /* The GNU C library defines this for functions which it implements
1827 to always fail with ENOSYS. Some functions are actually named
1828 something starting with __ and the normal name is an alias. */
1829 #if defined __stub_$2 || defined __stub___$2
1841 if ac_fn_c_try_link
"$LINENO"; then :
1846 rm -f core conftest.err conftest.
$ac_objext \
1847 conftest
$ac_exeext conftest.
$ac_ext
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 } # ac_fn_c_check_func
1855 cat >config.log
<<_ACEOF
1856 This file contains any messages produced by compilers while
1857 running configure, to aid debugging if configure makes a mistake.
1859 It was created by $as_me, which was
1860 generated by GNU Autoconf 2.69. Invocation command line was
1872 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1873 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1874 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1875 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1876 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1878 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1879 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1881 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1882 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1883 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1884 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1885 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1886 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1887 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir
=.
1896 $as_echo "PATH: $as_dir"
1912 # Keep a trace of the command line.
1913 # Strip out --no-create and --no-recursion so they do not pile up.
1914 # Strip out --silent because we don't want to record it for future runs.
1915 # Also quote any args containing shell meta-characters.
1916 # Make two passes to allow for proper duplicate-argument suppression.
1920 ac_must_keep_next
=false
1926 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1927 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1928 |
-silent |
--silent |
--silen |
--sile |
--sil)
1931 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1934 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1936 as_fn_append ac_configure_args1
" '$ac_arg'"
1937 if test $ac_must_keep_next = true
; then
1938 ac_must_keep_next
=false
# Got value, back to normal.
1941 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1942 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1943 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1944 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1945 case "$ac_configure_args0 " in
1946 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1949 -* ) ac_must_keep_next
=true
;;
1952 as_fn_append ac_configure_args
" '$ac_arg'"
1957 { ac_configure_args0
=; unset ac_configure_args0
;}
1958 { ac_configure_args1
=; unset ac_configure_args1
;}
1960 # When interrupted or exit'd, cleanup temporary files, and complete
1961 # config.log. We remove comments because anyway the quotes in there
1962 # would cause problems or look ugly.
1963 # WARNING: Use '\'' to represent an apostrophe within the trap.
1964 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1965 trap 'exit_status=$?
1966 # Save into config.log some information that might help in debugging.
1970 $as_echo "## ---------------- ##
1971 ## Cache variables. ##
1972 ## ---------------- ##"
1974 # The following way of writing the cache mishandles newlines in values,
1976 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1977 eval ac_val=\$$ac_var
1981 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1985 _ | IFS | as_nl) ;; #(
1986 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1987 *) { eval $ac_var=; unset $ac_var;} ;;
1992 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1993 *${as_nl}ac_space=\ *)
1995 "s/'\''/'\''\\\\'\'''\''/g;
1996 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2006 $as_echo "## ----------------- ##
2007 ## Output variables. ##
2008 ## ----------------- ##"
2010 for ac_var in $ac_subst_vars
2012 eval ac_val=\$$ac_var
2014 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2016 $as_echo "$ac_var='\''$ac_val'\''"
2020 if test -n "$ac_subst_files"; then
2021 $as_echo "## ------------------- ##
2022 ## File substitutions. ##
2023 ## ------------------- ##"
2025 for ac_var
in $ac_subst_files
2027 eval ac_val
=\$
$ac_var
2029 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031 $as_echo "$ac_var='\''$ac_val'\''"
2036 if test -s confdefs.h; then
2037 $as_echo "## ----------- ##
2044 test "$ac_signal" != 0 &&
2045 $as_echo "$as_me: caught signal $ac_signal"
2046 $as_echo "$as_me: exit $exit_status"
2048 rm -f core *.core core.conftest.* &&
2049 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2052 for ac_signal
in 1 2 13 15; do
2053 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2058 rm -f -r conftest
* confdefs.h
2060 $as_echo "/* confdefs.h */" > confdefs.h
2062 # Predefined preprocessor variables.
2064 cat >>confdefs.h
<<_ACEOF
2065 #define PACKAGE_NAME "$PACKAGE_NAME"
2068 cat >>confdefs.h
<<_ACEOF
2069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2072 cat >>confdefs.h
<<_ACEOF
2073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2076 cat >>confdefs.h
<<_ACEOF
2077 #define PACKAGE_STRING "$PACKAGE_STRING"
2080 cat >>confdefs.h
<<_ACEOF
2081 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2084 cat >>confdefs.h
<<_ACEOF
2085 #define PACKAGE_URL "$PACKAGE_URL"
2089 # Let the site file select an alternate cache file if it wants to.
2090 # Prefer an explicitly selected file to automatically selected ones.
2093 if test -n "$CONFIG_SITE"; then
2094 # We do not want a PATH search for config.site.
2095 case $CONFIG_SITE in #((
2096 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2097 */*) ac_site_file1
=$CONFIG_SITE;;
2098 *) ac_site_file1
=.
/$CONFIG_SITE;;
2100 elif test "x$prefix" != xNONE
; then
2101 ac_site_file1
=$prefix/share
/config.site
2102 ac_site_file2
=$prefix/etc
/config.site
2104 ac_site_file1
=$ac_default_prefix/share
/config.site
2105 ac_site_file2
=$ac_default_prefix/etc
/config.site
2107 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2109 test "x$ac_site_file" = xNONE
&& continue
2110 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2112 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2113 sed 's/^/| /' "$ac_site_file" >&5
2115 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2117 as_fn_error $?
"failed to load site script $ac_site_file
2118 See \`config.log' for more details" "$LINENO" 5; }
2122 if test -r "$cache_file"; then
2123 # Some versions of bash will fail to source /dev/null (special files
2124 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2125 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2127 $as_echo "$as_me: loading cache $cache_file" >&6;}
2129 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2130 *) .
"./$cache_file";;
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2135 $as_echo "$as_me: creating cache $cache_file" >&6;}
2139 as_fn_append ac_header_list
" stdlib.h"
2140 as_fn_append ac_header_list
" unistd.h"
2141 as_fn_append ac_header_list
" sys/param.h"
2142 # Check that the precious variables saved in the cache have kept the same
2144 ac_cache_corrupted
=false
2145 for ac_var
in $ac_precious_vars; do
2146 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2147 eval ac_new_set
=\
$ac_env_${ac_var}_set
2148 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2149 eval ac_new_val
=\
$ac_env_${ac_var}_value
2150 case $ac_old_set,$ac_new_set in
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2153 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2154 ac_cache_corrupted
=: ;;
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2157 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2158 ac_cache_corrupted
=: ;;
2161 if test "x$ac_old_val" != "x$ac_new_val"; then
2162 # differences in whitespace do not lead to failure.
2163 ac_old_val_w
=`echo x $ac_old_val`
2164 ac_new_val_w
=`echo x $ac_new_val`
2165 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2167 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2168 ac_cache_corrupted
=:
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2171 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2172 eval $ac_var=\
$ac_old_val
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2175 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2177 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2180 # Pass precious variables to config.status.
2181 if test "$ac_new_set" = set; then
2183 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2184 *) ac_arg
=$ac_var=$ac_new_val ;;
2186 case " $ac_configure_args " in
2187 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2188 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2192 if $ac_cache_corrupted; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2196 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2197 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2199 ## -------------------- ##
2200 ## Main body of script. ##
2201 ## -------------------- ##
2204 ac_cpp
='$CPP $CPPFLAGS'
2205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2214 ac_cpp
='$CPP $CPPFLAGS'
2215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2218 if test -n "$ac_tool_prefix"; then
2219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2220 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2222 $as_echo_n "checking for $ac_word... " >&6; }
2223 if ${ac_cv_prog_CC+:} false
; then :
2224 $as_echo_n "(cached) " >&6
2226 if test -n "$CC"; then
2227 ac_cv_prog_CC
="$CC" # Let the user override the test.
2229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir
=.
2234 for ac_exec_ext
in '' $ac_executable_extensions; do
2235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2236 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2247 if test -n "$CC"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2249 $as_echo "$CC" >&6; }
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2252 $as_echo "no" >&6; }
2257 if test -z "$ac_cv_prog_CC"; then
2259 # Extract the first word of "gcc", so it can be a program name with args.
2260 set dummy gcc
; ac_word
=$2
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2262 $as_echo_n "checking for $ac_word... " >&6; }
2263 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2264 $as_echo_n "(cached) " >&6
2266 if test -n "$ac_ct_CC"; then
2267 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir
=.
2274 for ac_exec_ext
in '' $ac_executable_extensions; do
2275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2276 ac_cv_prog_ac_ct_CC
="gcc"
2277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2287 if test -n "$ac_ct_CC"; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2289 $as_echo "$ac_ct_CC" >&6; }
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2292 $as_echo "no" >&6; }
2295 if test "x$ac_ct_CC" = x
; then
2298 case $cross_compiling:$ac_tool_warned in
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2302 ac_tool_warned
=yes ;;
2310 if test -z "$CC"; then
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2313 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2315 $as_echo_n "checking for $ac_word... " >&6; }
2316 if ${ac_cv_prog_CC+:} false
; then :
2317 $as_echo_n "(cached) " >&6
2319 if test -n "$CC"; then
2320 ac_cv_prog_CC
="$CC" # Let the user override the test.
2322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2326 test -z "$as_dir" && as_dir
=.
2327 for ac_exec_ext
in '' $ac_executable_extensions; do
2328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2329 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 if test -n "$CC"; then
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2342 $as_echo "$CC" >&6; }
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2345 $as_echo "no" >&6; }
2351 if test -z "$CC"; then
2352 # Extract the first word of "cc", so it can be a program name with args.
2353 set dummy cc
; ac_word
=$2
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2355 $as_echo_n "checking for $ac_word... " >&6; }
2356 if ${ac_cv_prog_CC+:} false
; then :
2357 $as_echo_n "(cached) " >&6
2359 if test -n "$CC"; then
2360 ac_cv_prog_CC
="$CC" # Let the user override the test.
2363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir
=.
2368 for ac_exec_ext
in '' $ac_executable_extensions; do
2369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2370 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2371 ac_prog_rejected
=yes
2375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 if test $ac_prog_rejected = yes; then
2383 # We found a bogon in the path, so make sure we never use it.
2384 set dummy
$ac_cv_prog_CC
2386 if test $# != 0; then
2387 # We chose a different compiler from the bogus one.
2388 # However, it has the same basename, so the bogon will be chosen
2389 # first if we set CC to just the basename; use the full file name.
2391 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2397 if test -n "$CC"; then
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2399 $as_echo "$CC" >&6; }
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2402 $as_echo "no" >&6; }
2407 if test -z "$CC"; then
2408 if test -n "$ac_tool_prefix"; then
2409 for ac_prog
in cl.exe
2411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2412 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if ${ac_cv_prog_CC+:} false
; then :
2416 $as_echo_n "(cached) " >&6
2418 if test -n "$CC"; then
2419 ac_cv_prog_CC
="$CC" # Let the user override the test.
2421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir
=.
2426 for ac_exec_ext
in '' $ac_executable_extensions; do
2427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2428 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2439 if test -n "$CC"; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2441 $as_echo "$CC" >&6; }
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2444 $as_echo "no" >&6; }
2448 test -n "$CC" && break
2451 if test -z "$CC"; then
2453 for ac_prog
in cl.exe
2455 # Extract the first word of "$ac_prog", so it can be a program name with args.
2456 set dummy
$ac_prog; ac_word
=$2
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2458 $as_echo_n "checking for $ac_word... " >&6; }
2459 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2460 $as_echo_n "(cached) " >&6
2462 if test -n "$ac_ct_CC"; then
2463 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir
=.
2470 for ac_exec_ext
in '' $ac_executable_extensions; do
2471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_cv_prog_ac_ct_CC
="$ac_prog"
2473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2483 if test -n "$ac_ct_CC"; then
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2485 $as_echo "$ac_ct_CC" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2488 $as_echo "no" >&6; }
2492 test -n "$ac_ct_CC" && break
2495 if test "x$ac_ct_CC" = x
; then
2498 case $cross_compiling:$ac_tool_warned in
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2502 ac_tool_warned
=yes ;;
2511 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2513 as_fn_error $?
"no acceptable C compiler found in \$PATH
2514 See \`config.log' for more details" "$LINENO" 5; }
2516 # Provide some information about the compiler.
2517 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2520 for ac_option
in --version -v -V -qversion; do
2521 { { ac_try
="$ac_compiler $ac_option >&5"
2523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2530 if test -s conftest.err; then
2532 ... rest of stderr output deleted ...
2533 10q' conftest.err >conftest.er1
2534 cat conftest.er1 >&5
2536 rm -f conftest.er1 conftest.err
2537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2538 test $ac_status = 0; }
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2552 ac_clean_files_save=$ac_clean_files
2553 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2554 # Try to create an executable without -o first, disregard a.out.
2555 # It will help us diagnose broken compilers, and finding out an intuition
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2558 $as_echo_n "checking whether the C compiler works... " >&6; }
2559 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2561 # The possible output files:
2562 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2565 for ac_file in $ac_files
2568 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2569 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2574 if { { ac_try="$ac_link_default"
2576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2577 *) ac_try_echo
=$ac_try;;
2579 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2580 $as_echo "$ac_try_echo"; } >&5
2581 (eval "$ac_link_default") 2>&5
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; }; then :
2585 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2586 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2587 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2588 # so that the user can short-circuit this test for compilers unknown to
2590 for ac_file
in $ac_files ''
2592 test -f "$ac_file" ||
continue
2594 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2597 # We found the default executable, but exeext='' is most
2601 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2603 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2605 # We set ac_cv_exeext here because the later test for it is not
2606 # safe: cross compilers may not add the suffix if given an `-o'
2607 # argument, so we may need to know it at that point already.
2608 # Even if this section looks crufty: it has the advantage of
2615 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2620 if test -z "$ac_file"; then :
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2623 $as_echo "$as_me: failed program was:" >&5
2624 sed 's/^/| /' conftest.
$ac_ext >&5
2626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2628 as_fn_error
77 "C compiler cannot create executables
2629 See \`config.log' for more details" "$LINENO" 5; }
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632 $as_echo "yes" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2635 $as_echo_n "checking for C compiler default output file name... " >&6; }
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2637 $as_echo "$ac_file" >&6; }
2638 ac_exeext
=$ac_cv_exeext
2640 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2641 ac_clean_files
=$ac_clean_files_save
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2643 $as_echo_n "checking for suffix of executables... " >&6; }
2644 if { { ac_try
="$ac_link"
2646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 $as_echo "$ac_try_echo"; } >&5
2651 (eval "$ac_link") 2>&5
2653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2654 test $ac_status = 0; }; then :
2655 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2656 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2657 # work properly (i.e., refer to `conftest.exe'), while it won't with
2659 for ac_file
in conftest.exe conftest conftest.
*; do
2660 test -f "$ac_file" ||
continue
2662 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2663 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2671 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2672 See \`config.log' for more details" "$LINENO" 5; }
2674 rm -f conftest conftest
$ac_cv_exeext
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2676 $as_echo "$ac_cv_exeext" >&6; }
2678 rm -f conftest.
$ac_ext
2679 EXEEXT
=$ac_cv_exeext
2681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2687 FILE *f = fopen ("conftest.out", "w");
2688 return ferror (f) || fclose (f) != 0;
2694 ac_clean_files
="$ac_clean_files conftest.out"
2695 # Check that the compiler produces executables we can run. If not, either
2696 # the compiler is broken, or we cross compile.
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2698 $as_echo_n "checking whether we are cross compiling... " >&6; }
2699 if test "$cross_compiling" != yes; then
2700 { { ac_try
="$ac_link"
2702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 $as_echo "$ac_try_echo"; } >&5
2707 (eval "$ac_link") 2>&5
2709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2710 test $ac_status = 0; }
2711 if { ac_try='./conftest$ac_cv_exeext'
2712 { { case "(($ac_try" in
2713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2714 *) ac_try_echo
=$ac_try;;
2716 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2717 $as_echo "$ac_try_echo"; } >&5
2718 (eval "$ac_try") 2>&5
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2721 test $ac_status = 0; }; }; then
2724 if test "$cross_compiling" = maybe
; then
2727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2729 as_fn_error $?
"cannot run C compiled programs.
2730 If you meant to cross compile, use \`--host'.
2731 See \`config.log' for more details" "$LINENO" 5; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2736 $as_echo "$cross_compiling" >&6; }
2738 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2739 ac_clean_files
=$ac_clean_files_save
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2741 $as_echo_n "checking for suffix of object files... " >&6; }
2742 if ${ac_cv_objext+:} false
; then :
2743 $as_echo_n "(cached) " >&6
2745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2746 /* end confdefs.h. */
2756 rm -f conftest.o conftest.obj
2757 if { { ac_try
="$ac_compile"
2759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_compile") 2>&5
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; }; then :
2768 for ac_file in conftest.o conftest.obj conftest.*; do
2769 test -f "$ac_file" || continue;
2771 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2772 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2777 $as_echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2782 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2783 See \
`config.log' for more details" "$LINENO" 5; }
2785 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2788 $as_echo "$ac_cv_objext" >&6; }
2789 OBJEXT=$ac_cv_objext
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2792 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2793 if ${ac_cv_c_compiler_gnu+:} false; then :
2794 $as_echo_n "(cached) " >&6
2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2797 /* end confdefs.h. */
2810 if ac_fn_c_try_compile "$LINENO"; then :
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2820 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2821 if test $ac_compiler_gnu = yes; then
2826 ac_test_CFLAGS=${CFLAGS+set}
2827 ac_save_CFLAGS=$CFLAGS
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2829 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2830 if ${ac_cv_prog_cc_g+:} false; then :
2831 $as_echo_n "(cached) " >&6
2833 ac_save_c_werror_flag=$ac_c_werror_flag
2834 ac_c_werror_flag=yes
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2848 if ac_fn_c_try_compile "$LINENO"; then :
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2863 if ac_fn_c_try_compile "$LINENO"; then :
2866 ac_c_werror_flag=$ac_save_c_werror_flag
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2879 if ac_fn_c_try_compile "$LINENO"; then :
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887 ac_c_werror_flag=$ac_save_c_werror_flag
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2890 $as_echo "$ac_cv_prog_cc_g" >&6; }
2891 if test "$ac_test_CFLAGS" = set; then
2892 CFLAGS=$ac_save_CFLAGS
2893 elif test $ac_cv_prog_cc_g = yes; then
2894 if test "$GCC" = yes; then
2900 if test "$GCC" = yes; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2907 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2908 if ${ac_cv_prog_cc_c89+:} false; then :
2909 $as_echo_n "(cached) " >&6
2911 ac_cv_prog_cc_c89=no
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2918 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2919 struct buf { int x; };
2920 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2921 static char *e (p, i)
2927 static char *f (char * (*g) (char **, int), char **p, ...)
2932 s = g (p, va_arg (v,int));
2937 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2938 function prototypes and stuff, but not '\xHH' hex character constants.
2939 These don't provoke an error unfortunately, instead are silently treated
2940 as 'x'. The following induces an error, until -std is added to get
2941 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2942 array size at least. It's necessary to write '\x00'==0 to get something
2943 that's true only with -std. */
2944 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2946 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2947 inside strings and character constants. */
2949 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2951 int test (int i, double x);
2952 struct s1 {int (*f) (int a);};
2953 struct s2 {int (*f) (double a);};
2954 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2960 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2965 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2966 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2968 CC="$ac_save_CC $ac_arg"
2969 if ac_fn_c_try_compile "$LINENO"; then :
2970 ac_cv_prog_cc_c89=$ac_arg
2972 rm -f core conftest.err conftest.$ac_objext
2973 test "x$ac_cv_prog_cc_c89" != "xno" && break
2975 rm -f conftest.$ac_ext
2980 case "x$ac_cv_prog_cc_c89" in
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2983 $as_echo "none needed" >&6; } ;;
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2986 $as_echo "unsupported" >&6; } ;;
2988 CC="$CC $ac_cv_prog_cc_c89"
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2990 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2992 if test "x$ac_cv_prog_cc_c89" != xno; then :
2997 ac_cpp='$CPP $CPPFLAGS'
2998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3004 ac_cpp='$CPP $CPPFLAGS'
3005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3009 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3010 # On Suns, sometimes $CPP names a directory.
3011 if test -n "$CPP" && test -d "$CPP"; then
3014 if test -z "$CPP"; then
3015 if ${ac_cv_prog_CPP+:} false; then :
3016 $as_echo_n "(cached) " >&6
3018 # Double quotes because CPP needs to be expanded
3019 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3022 for ac_c_preproc_warn_flag in '' yes
3024 # Use a header file that comes with gcc, so configuring glibc
3025 # with a fresh cross-compiler works.
3026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3027 # <limits.h> exists even on freestanding compilers.
3028 # On the NeXT, cc -E runs the code through the compiler's parser,
3029 # not just through cpp. "Syntax error" is here to catch this case.
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3033 # include <limits.h>
3035 # include <assert.h>
3039 if ac_fn_c_try_cpp "$LINENO"; then :
3042 # Broken: fails on valid input.
3045 rm -f conftest.err conftest.i conftest.$ac_ext
3047 # OK, works on sane cases. Now check whether nonexistent headers
3048 # can be detected and how.
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3051 #include <ac_nonexistent.h>
3053 if ac_fn_c_try_cpp "$LINENO"; then :
3054 # Broken: success on invalid input.
3057 # Passes both tests.
3061 rm -f conftest.err conftest.i conftest.$ac_ext
3064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3065 rm -f conftest.i conftest.err conftest.
$ac_ext
3066 if $ac_preproc_ok; then :
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3079 $as_echo "$CPP" >&6; }
3081 for ac_c_preproc_warn_flag
in '' yes
3083 # Use a header file that comes with gcc, so configuring glibc
3084 # with a fresh cross-compiler works.
3085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3086 # <limits.h> exists even on freestanding compilers.
3087 # On the NeXT, cc -E runs the code through the compiler's parser,
3088 # not just through cpp. "Syntax error" is here to catch this case.
3089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3092 # include <limits.h>
3094 # include <assert.h>
3098 if ac_fn_c_try_cpp
"$LINENO"; then :
3101 # Broken: fails on valid input.
3104 rm -f conftest.err conftest.i conftest.
$ac_ext
3106 # OK, works on sane cases. Now check whether nonexistent headers
3107 # can be detected and how.
3108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3110 #include <ac_nonexistent.h>
3112 if ac_fn_c_try_cpp
"$LINENO"; then :
3113 # Broken: success on invalid input.
3116 # Passes both tests.
3120 rm -f conftest.err conftest.i conftest.
$ac_ext
3123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3124 rm -f conftest.i conftest.err conftest.
$ac_ext
3125 if $ac_preproc_ok; then :
3128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3130 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3131 See \`config.log' for more details" "$LINENO" 5; }
3135 ac_cpp
='$CPP $CPPFLAGS'
3136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3142 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3143 if ${ac_cv_path_GREP+:} false
; then :
3144 $as_echo_n "(cached) " >&6
3146 if test -z "$GREP"; then
3147 ac_path_GREP_found
=false
3148 # Loop through the user's path and test for each of PROGNAME-LIST
3149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3150 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3153 test -z "$as_dir" && as_dir
=.
3154 for ac_prog
in grep ggrep
; do
3155 for ac_exec_ext
in '' $ac_executable_extensions; do
3156 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3157 as_fn_executable_p
"$ac_path_GREP" ||
continue
3158 # Check for GNU ac_path_GREP and select it if it is found.
3159 # Check for GNU $ac_path_GREP
3160 case `"$ac_path_GREP" --version 2>&1` in
3162 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3165 $as_echo_n 0123456789 >"conftest.in"
3168 cat "conftest.in" "conftest.in" >"conftest.tmp"
3169 mv "conftest.tmp" "conftest.in"
3170 cp "conftest.in" "conftest.nl"
3171 $as_echo 'GREP' >> "conftest.nl"
3172 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3173 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3174 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3175 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3176 # Best one so far, save it but keep looking for a better one
3177 ac_cv_path_GREP
="$ac_path_GREP"
3178 ac_path_GREP_max
=$ac_count
3180 # 10*(2^10) chars as input seems more than enough
3181 test $ac_count -gt 10 && break
3183 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3186 $ac_path_GREP_found && break 3
3191 if test -z "$ac_cv_path_GREP"; then
3192 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3195 ac_cv_path_GREP
=$GREP
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3200 $as_echo "$ac_cv_path_GREP" >&6; }
3201 GREP
="$ac_cv_path_GREP"
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3205 $as_echo_n "checking for egrep... " >&6; }
3206 if ${ac_cv_path_EGREP+:} false
; then :
3207 $as_echo_n "(cached) " >&6
3209 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3210 then ac_cv_path_EGREP
="$GREP -E"
3212 if test -z "$EGREP"; then
3213 ac_path_EGREP_found
=false
3214 # Loop through the user's path and test for each of PROGNAME-LIST
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3216 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3219 test -z "$as_dir" && as_dir
=.
3220 for ac_prog
in egrep; do
3221 for ac_exec_ext
in '' $ac_executable_extensions; do
3222 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3223 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3224 # Check for GNU ac_path_EGREP and select it if it is found.
3225 # Check for GNU $ac_path_EGREP
3226 case `"$ac_path_EGREP" --version 2>&1` in
3228 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3231 $as_echo_n 0123456789 >"conftest.in"
3234 cat "conftest.in" "conftest.in" >"conftest.tmp"
3235 mv "conftest.tmp" "conftest.in"
3236 cp "conftest.in" "conftest.nl"
3237 $as_echo 'EGREP' >> "conftest.nl"
3238 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3239 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3240 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3241 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3242 # Best one so far, save it but keep looking for a better one
3243 ac_cv_path_EGREP
="$ac_path_EGREP"
3244 ac_path_EGREP_max
=$ac_count
3246 # 10*(2^10) chars as input seems more than enough
3247 test $ac_count -gt 10 && break
3249 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3252 $ac_path_EGREP_found && break 3
3257 if test -z "$ac_cv_path_EGREP"; then
3258 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3261 ac_cv_path_EGREP
=$EGREP
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3267 $as_echo "$ac_cv_path_EGREP" >&6; }
3268 EGREP
="$ac_cv_path_EGREP"
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3272 $as_echo_n "checking for ANSI C header files... " >&6; }
3273 if ${ac_cv_header_stdc+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3291 if ac_fn_c_try_compile
"$LINENO"; then :
3292 ac_cv_header_stdc
=yes
3294 ac_cv_header_stdc
=no
3296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3298 if test $ac_cv_header_stdc = yes; then
3299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3306 $EGREP "memchr" >/dev
/null
2>&1; then :
3309 ac_cv_header_stdc
=no
3315 if test $ac_cv_header_stdc = yes; then
3316 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3323 $EGREP "free" >/dev
/null
2>&1; then :
3326 ac_cv_header_stdc
=no
3332 if test $ac_cv_header_stdc = yes; then
3333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3334 if test "$cross_compiling" = yes; then :
3337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3341 #if ((' ' & 0x0FF) == 0x020)
3342 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3343 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3345 # define ISLOWER(c) \
3346 (('a' <= (c) && (c) <= 'i') \
3347 || ('j' <= (c) && (c) <= 'r') \
3348 || ('s' <= (c) && (c) <= 'z'))
3349 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3352 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3357 for (i = 0; i < 256; i++)
3358 if (XOR (islower (i), ISLOWER (i))
3359 || toupper (i) != TOUPPER (i))
3364 if ac_fn_c_try_run
"$LINENO"; then :
3367 ac_cv_header_stdc
=no
3369 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3370 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3376 $as_echo "$ac_cv_header_stdc" >&6; }
3377 if test $ac_cv_header_stdc = yes; then
3379 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3383 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3384 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3385 inttypes.h stdint.h unistd.h
3387 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3388 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3390 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3391 cat >>confdefs.h
<<_ACEOF
3392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3401 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3402 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3409 if test "$MINIX" = yes; then
3411 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3414 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3417 $as_echo "#define _MINIX 1" >>confdefs.h
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3423 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3424 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3425 $as_echo_n "(cached) " >&6
3427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3430 # define __EXTENSIONS__ 1
3431 $ac_includes_default
3440 if ac_fn_c_try_compile
"$LINENO"; then :
3441 ac_cv_safe_to_define___extensions__
=yes
3443 ac_cv_safe_to_define___extensions__
=no
3445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3448 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3449 test $ac_cv_safe_to_define___extensions__ = yes &&
3450 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3452 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3454 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3456 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3458 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3462 ac_config_headers
="$ac_config_headers config.h"
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3467 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3469 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3470 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3471 $as_echo_n "(cached) " >&6
3473 cat >conftest.
make <<\_ACEOF
3476 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3478 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3479 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3481 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3483 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3487 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3489 $as_echo "yes" >&6; }
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3494 SET_MAKE
="MAKE=${MAKE-make}"
3498 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3499 if test -f "$ac_dir/install-sh"; then
3501 ac_install_sh
="$ac_aux_dir/install-sh -c"
3503 elif test -f "$ac_dir/install.sh"; then
3505 ac_install_sh
="$ac_aux_dir/install.sh -c"
3507 elif test -f "$ac_dir/shtool"; then
3509 ac_install_sh
="$ac_aux_dir/shtool install -c"
3513 if test -z "$ac_aux_dir"; then
3514 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3517 # These three variables are undocumented and unsupported,
3518 # and are intended to be withdrawn in a future Autoconf release.
3519 # They can cause serious problems if a builder's source tree is in a directory
3520 # whose full name contains unusual characters.
3521 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3522 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3523 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3526 # Find a good install program. We prefer a C program (faster),
3527 # so one script is as good as another. But avoid the broken or
3528 # incompatible versions:
3529 # SysV /etc/install, /usr/sbin/install
3530 # SunOS /usr/etc/install
3531 # IRIX /sbin/install
3533 # AmigaOS /C/install, which installs bootblocks on floppy discs
3534 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3535 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3536 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3537 # OS/2's system install, which has a completely different semantic
3538 # ./install, which can be erroneously created by make from ./install.sh.
3539 # Reject install programs that cannot install multiple files.
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3541 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3542 if test -z "$INSTALL"; then
3543 if ${ac_cv_path_install+:} false
; then :
3544 $as_echo_n "(cached) " >&6
3546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir
=.
3551 # Account for people who put trailing slashes in PATH elements.
3552 case $as_dir/ in #((
3553 .
/ | .
// |
/[cC
]/* | \
3554 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3555 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3558 # OSF1 and SCO ODT 3.0 have their own names for install.
3559 # Don't use installbsd from OSF since it installs stuff as root
3561 for ac_prog
in ginstall scoinst
install; do
3562 for ac_exec_ext
in '' $ac_executable_extensions; do
3563 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3564 if test $ac_prog = install &&
3565 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3566 # AIX install. It has an incompatible calling convention.
3568 elif test $ac_prog = install &&
3569 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3570 # program-specific install script used by HP pwplus--don't use.
3573 rm -rf conftest.one conftest.two conftest.dir
3574 echo one
> conftest.one
3575 echo two
> conftest.two
3577 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3578 test -s conftest.one
&& test -s conftest.two
&&
3579 test -s conftest.dir
/conftest.one
&&
3580 test -s conftest.dir
/conftest.two
3582 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3595 rm -rf conftest.one conftest.two conftest.dir
3598 if test "${ac_cv_path_install+set}" = set; then
3599 INSTALL
=$ac_cv_path_install
3601 # As a last resort, use the slow shell script. Don't cache a
3602 # value for INSTALL within a source directory, because that will
3603 # break other packages using the cache if that directory is
3604 # removed, or if the value is a relative name.
3605 INSTALL
=$ac_install_sh
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3609 $as_echo "$INSTALL" >&6; }
3611 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3612 # It thinks the first close brace ends the variable substitution.
3613 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3615 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3617 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3621 if test -n "$ac_aux_dir"; then
3622 case "$ac_aux_dir" in
3623 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3624 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3627 if test -z "$MKINSTALLDIRS"; then
3628 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3634 $as_echo_n "checking whether NLS is requested... " >&6; }
3635 # Check whether --enable-nls was given.
3636 if test "${enable_nls+set}" = set; then :
3637 enableval
=$enable_nls; USE_NLS
=$enableval
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3643 $as_echo "$USE_NLS" >&6; }
3650 # Prepare PATH_SEPARATOR.
3651 # The user is always right.
3652 if test "${PATH_SEPARATOR+set}" != set; then
3653 echo "#! /bin/sh" >conf$$.sh
3654 echo "exit 0" >>conf$$.sh
3656 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3664 # Find out how to test for executable files. Don't use a zero-byte file,
3665 # as systems may use methods other than mode bits to determine executability.
3666 cat >conf$$.
file <<_ASEOF
3670 chmod +x conf$$.
file
3671 if test -x conf$$.
file >/dev
/null
2>&1; then
3672 ac_executable_p
="test -x"
3674 ac_executable_p
="test -f"
3678 # Extract the first word of "msgfmt", so it can be a program name with args.
3679 set dummy msgfmt
; ac_word
=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if ${ac_cv_path_MSGFMT+:} false
; then :
3683 $as_echo_n "(cached) " >&6
3687 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3690 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3691 for ac_dir
in $PATH; do
3693 test -z "$ac_dir" && ac_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3696 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3697 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3698 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3705 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3709 MSGFMT
="$ac_cv_path_MSGFMT"
3710 if test "$MSGFMT" != ":"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3712 $as_echo "$MSGFMT" >&6; }
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3715 $as_echo "no" >&6; }
3718 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3719 set dummy gmsgfmt
; ac_word
=$2
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3721 $as_echo_n "checking for $ac_word... " >&6; }
3722 if ${ac_cv_path_GMSGFMT+:} false
; then :
3723 $as_echo_n "(cached) " >&6
3727 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3734 test -z "$as_dir" && as_dir
=.
3735 for ac_exec_ext
in '' $ac_executable_extensions; do
3736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3737 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3749 GMSGFMT
=$ac_cv_path_GMSGFMT
3750 if test -n "$GMSGFMT"; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3752 $as_echo "$GMSGFMT" >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 $as_echo "no" >&6; }
3761 # Prepare PATH_SEPARATOR.
3762 # The user is always right.
3763 if test "${PATH_SEPARATOR+set}" != set; then
3764 echo "#! /bin/sh" >conf$$.sh
3765 echo "exit 0" >>conf$$.sh
3767 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3775 # Find out how to test for executable files. Don't use a zero-byte file,
3776 # as systems may use methods other than mode bits to determine executability.
3777 cat >conf$$.
file <<_ASEOF
3781 chmod +x conf$$.
file
3782 if test -x conf$$.
file >/dev
/null
2>&1; then
3783 ac_executable_p
="test -x"
3785 ac_executable_p
="test -f"
3789 # Extract the first word of "xgettext", so it can be a program name with args.
3790 set dummy xgettext
; ac_word
=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if ${ac_cv_path_XGETTEXT+:} false
; then :
3794 $as_echo_n "(cached) " >&6
3798 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3801 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3802 for ac_dir
in $PATH; do
3804 test -z "$ac_dir" && ac_dir
=.
3805 for ac_exec_ext
in '' $ac_executable_extensions; do
3806 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3807 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3808 (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
3809 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
3816 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3820 XGETTEXT
="$ac_cv_path_XGETTEXT"
3821 if test "$XGETTEXT" != ":"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3823 $as_echo "$XGETTEXT" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3832 # Prepare PATH_SEPARATOR.
3833 # The user is always right.
3834 if test "${PATH_SEPARATOR+set}" != set; then
3835 echo "#! /bin/sh" >conf$$.sh
3836 echo "exit 0" >>conf$$.sh
3838 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3846 # Find out how to test for executable files. Don't use a zero-byte file,
3847 # as systems may use methods other than mode bits to determine executability.
3848 cat >conf$$.
file <<_ASEOF
3852 chmod +x conf$$.
file
3853 if test -x conf$$.
file >/dev
/null
2>&1; then
3854 ac_executable_p
="test -x"
3856 ac_executable_p
="test -f"
3860 # Extract the first word of "msgmerge", so it can be a program name with args.
3861 set dummy msgmerge
; ac_word
=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if ${ac_cv_path_MSGMERGE+:} false
; then :
3865 $as_echo_n "(cached) " >&6
3869 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
3872 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3873 for ac_dir
in $PATH; do
3875 test -z "$ac_dir" && ac_dir
=.
3876 for ac_exec_ext
in '' $ac_executable_extensions; do
3877 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3878 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
3879 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
3886 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
3890 MSGMERGE
="$ac_cv_path_MSGMERGE"
3891 if test "$MSGMERGE" != ":"; then
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3893 $as_echo "$MSGMERGE" >&6; }
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3900 if test "$GMSGFMT" != ":"; then
3901 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
3902 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3905 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3907 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
3912 if test "$XGETTEXT" != ":"; then
3913 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3914 (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
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
3918 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
3924 ac_config_commands
="$ac_config_commands default-1"
3927 # Make sure we can run config.sub.
3928 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3929 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3932 $as_echo_n "checking build system type... " >&6; }
3933 if ${ac_cv_build+:} false
; then :
3934 $as_echo_n "(cached) " >&6
3936 ac_build_alias
=$build_alias
3937 test "x$ac_build_alias" = x
&&
3938 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3939 test "x$ac_build_alias" = x
&&
3940 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3941 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3942 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3946 $as_echo "$ac_cv_build" >&6; }
3947 case $ac_cv_build in
3949 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3952 ac_save_IFS
=$IFS; IFS
='-'
3958 # Remember, the first character of IFS is used to create $*,
3959 # except with old shells:
3962 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3966 $as_echo_n "checking host system type... " >&6; }
3967 if ${ac_cv_host+:} false
; then :
3968 $as_echo_n "(cached) " >&6
3970 if test "x$host_alias" = x
; then
3971 ac_cv_host
=$ac_cv_build
3973 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3974 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3979 $as_echo "$ac_cv_host" >&6; }
3982 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3985 ac_save_IFS
=$IFS; IFS
='-'
3991 # Remember, the first character of IFS is used to create $*,
3992 # except with old shells:
3995 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3998 if test -n "$ac_tool_prefix"; then
3999 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4000 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if ${ac_cv_prog_RANLIB+:} false
; then :
4004 $as_echo_n "(cached) " >&6
4006 if test -n "$RANLIB"; then
4007 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 RANLIB
=$ac_cv_prog_RANLIB
4027 if test -n "$RANLIB"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4029 $as_echo "$RANLIB" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4037 if test -z "$ac_cv_prog_RANLIB"; then
4038 ac_ct_RANLIB
=$RANLIB
4039 # Extract the first word of "ranlib", so it can be a program name with args.
4040 set dummy ranlib
; ac_word
=$2
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4042 $as_echo_n "checking for $ac_word... " >&6; }
4043 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4044 $as_echo_n "(cached) " >&6
4046 if test -n "$ac_ct_RANLIB"; then
4047 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir
=.
4054 for ac_exec_ext
in '' $ac_executable_extensions; do
4055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4056 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4067 if test -n "$ac_ct_RANLIB"; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4069 $as_echo "$ac_ct_RANLIB" >&6; }
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4072 $as_echo "no" >&6; }
4075 if test "x$ac_ct_RANLIB" = x
; then
4078 case $cross_compiling:$ac_tool_warned in
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4082 ac_tool_warned
=yes ;;
4084 RANLIB
=$ac_ct_RANLIB
4087 RANLIB
="$ac_cv_prog_RANLIB"
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4091 $as_echo_n "checking for library containing strerror... " >&6; }
4092 if ${ac_cv_search_strerror+:} false
; then :
4093 $as_echo_n "(cached) " >&6
4095 ac_func_search_save_LIBS
=$LIBS
4096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4099 /* Override any GCC internal prototype to avoid an error.
4100 Use char because int might match the return type of a GCC
4101 builtin and then its argument prototype would still apply. */
4114 for ac_lib
in '' cposix
; do
4115 if test -z "$ac_lib"; then
4116 ac_res
="none required"
4119 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4121 if ac_fn_c_try_link
"$LINENO"; then :
4122 ac_cv_search_strerror
=$ac_res
4124 rm -f core conftest.err conftest.
$ac_objext \
4126 if ${ac_cv_search_strerror+:} false
; then :
4130 if ${ac_cv_search_strerror+:} false
; then :
4133 ac_cv_search_strerror
=no
4136 LIBS
=$ac_func_search_save_LIBS
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4139 $as_echo "$ac_cv_search_strerror" >&6; }
4140 ac_res
=$ac_cv_search_strerror
4141 if test "$ac_res" != no
; then :
4142 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4147 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4148 if ${ac_cv_c_const+:} false
; then :
4149 $as_echo_n "(cached) " >&6
4151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4159 /* Ultrix mips cc rejects this sort of thing. */
4160 typedef int charset[2];
4161 const charset cs = { 0, 0 };
4162 /* SunOS 4.1.1 cc rejects this. */
4163 char const *const *pcpcc;
4165 /* NEC SVR4.0.2 mips cc rejects this. */
4166 struct point {int x, y;};
4167 static struct point const zero = {0,0};
4168 /* AIX XL C 1.02.0.0 rejects this.
4169 It does not let you subtract one const X* pointer from another in
4170 an arm of an if-expression whose if-part is not a constant
4172 const char *g = "string";
4173 pcpcc = &g + (g ? g-g : 0);
4174 /* HPUX 7.0 cc rejects these. */
4176 ppc = (char**) pcpcc;
4177 pcpcc = (char const *const *) ppc;
4178 { /* SCO 3.2v4 cc rejects this sort of thing. */
4181 char const *s = 0 ? (char *) 0 : (char const *) 0;
4186 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4188 const int *foo = &x[0];
4191 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4192 typedef const int *iptr;
4196 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4197 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4198 struct s { int j; const int *ap[3]; } bx;
4199 struct s *b = &bx; b->j = 5;
4201 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4205 return !cs[0] && !zero.x;
4212 if ac_fn_c_try_compile
"$LINENO"; then :
4217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4220 $as_echo "$ac_cv_c_const" >&6; }
4221 if test $ac_cv_c_const = no
; then
4223 $as_echo "#define const /**/" >>confdefs.h
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4228 $as_echo_n "checking for inline... " >&6; }
4229 if ${ac_cv_c_inline+:} false
; then :
4230 $as_echo_n "(cached) " >&6
4233 for ac_kw
in inline __inline__ __inline
; do
4234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4238 static $ac_kw foo_t static_foo () {return 0; }
4239 $ac_kw foo_t foo () {return 0; }
4243 if ac_fn_c_try_compile
"$LINENO"; then :
4244 ac_cv_c_inline
=$ac_kw
4246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4247 test "$ac_cv_c_inline" != no
&& break
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4252 $as_echo "$ac_cv_c_inline" >&6; }
4254 case $ac_cv_c_inline in
4257 case $ac_cv_c_inline in
4259 *) ac_val
=$ac_cv_c_inline;;
4261 cat >>confdefs.h
<<_ACEOF
4263 #define inline $ac_val
4269 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4270 if test "x$ac_cv_type_off_t" = xyes
; then :
4274 cat >>confdefs.h
<<_ACEOF
4275 #define off_t long int
4280 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4281 if test "x$ac_cv_type_size_t" = xyes
; then :
4285 cat >>confdefs.h
<<_ACEOF
4286 #define size_t unsigned int
4291 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4292 # for constant arguments. Useless!
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4294 $as_echo_n "checking for working alloca.h... " >&6; }
4295 if ${ac_cv_working_alloca_h+:} false
; then :
4296 $as_echo_n "(cached) " >&6
4298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4304 char *p = (char *) alloca (2 * sizeof (int));
4310 if ac_fn_c_try_link
"$LINENO"; then :
4311 ac_cv_working_alloca_h
=yes
4313 ac_cv_working_alloca_h
=no
4315 rm -f core conftest.err conftest.
$ac_objext \
4316 conftest
$ac_exeext conftest.
$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4319 $as_echo "$ac_cv_working_alloca_h" >&6; }
4320 if test $ac_cv_working_alloca_h = yes; then
4322 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4327 $as_echo_n "checking for alloca... " >&6; }
4328 if ${ac_cv_func_alloca_works+:} false
; then :
4329 $as_echo_n "(cached) " >&6
4331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4334 # define alloca __builtin_alloca
4337 # include <malloc.h>
4338 # define alloca _alloca
4340 # ifdef HAVE_ALLOCA_H
4341 # include <alloca.h>
4346 # ifndef alloca /* predefined by HP cc +Olibcalls */
4347 void *alloca (size_t);
4357 char *p = (char *) alloca (1);
4363 if ac_fn_c_try_link
"$LINENO"; then :
4364 ac_cv_func_alloca_works
=yes
4366 ac_cv_func_alloca_works
=no
4368 rm -f core conftest.err conftest.
$ac_objext \
4369 conftest
$ac_exeext conftest.
$ac_ext
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4372 $as_echo "$ac_cv_func_alloca_works" >&6; }
4374 if test $ac_cv_func_alloca_works = yes; then
4376 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4379 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4380 # that cause trouble. Some versions do not even contain alloca or
4381 # contain a buggy version. If you still want to use their alloca,
4382 # use ar to extract alloca.o from them instead of compiling alloca.c.
4384 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
4386 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4390 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4391 if ${ac_cv_os_cray+:} false
; then :
4392 $as_echo_n "(cached) " >&6
4394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4396 #if defined CRAY && ! defined CRAY2
4403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4404 $EGREP "webecray" >/dev
/null
2>&1; then :
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4413 $as_echo "$ac_cv_os_cray" >&6; }
4414 if test $ac_cv_os_cray = yes; then
4415 for ac_func
in _getb67 GETB67 getb67
; do
4416 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4417 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4418 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4420 cat >>confdefs.h
<<_ACEOF
4421 #define CRAY_STACKSEG_END $ac_func
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4431 $as_echo_n "checking stack direction for C alloca... " >&6; }
4432 if ${ac_cv_c_stack_direction+:} false
; then :
4433 $as_echo_n "(cached) " >&6
4435 if test "$cross_compiling" = yes; then :
4436 ac_cv_c_stack_direction
=0
4438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4440 $ac_includes_default
4442 find_stack_direction (int *addr, int depth)
4447 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
4448 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
4453 main (int argc, char **argv)
4455 return find_stack_direction (0, argc + !argv + 20) < 0;
4458 if ac_fn_c_try_run
"$LINENO"; then :
4459 ac_cv_c_stack_direction
=1
4461 ac_cv_c_stack_direction
=-1
4463 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4464 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4469 $as_echo "$ac_cv_c_stack_direction" >&6; }
4470 cat >>confdefs.h
<<_ACEOF
4471 #define STACK_DIRECTION $ac_cv_c_stack_direction
4480 for ac_header
in $ac_header_list
4482 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4483 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4485 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4486 cat >>confdefs.h
<<_ACEOF
4487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4501 for ac_func
in getpagesize
4503 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4504 if test "x$ac_cv_func_getpagesize" = xyes
; then :
4505 cat >>confdefs.h
<<_ACEOF
4506 #define HAVE_GETPAGESIZE 1
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4513 $as_echo_n "checking for working mmap... " >&6; }
4514 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
4515 $as_echo_n "(cached) " >&6
4517 if test "$cross_compiling" = yes; then :
4518 ac_cv_func_mmap_fixed_mapped
=no
4520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4522 $ac_includes_default
4523 /* malloc might have been renamed as rpl_malloc. */
4526 /* Thanks to Mike Haertel and Jim Avera for this test.
4527 Here is a matrix of mmap possibilities:
4528 mmap private not fixed
4529 mmap private fixed at somewhere currently unmapped
4530 mmap private fixed at somewhere already mapped
4531 mmap shared not fixed
4532 mmap shared fixed at somewhere currently unmapped
4533 mmap shared fixed at somewhere already mapped
4534 For private mappings, we should verify that changes cannot be read()
4535 back from the file, nor mmap's back from the file at a different
4536 address. (There have been systems where private was not correctly
4537 implemented like the infamous i386 svr4.0, and systems where the
4538 VM page cache was not coherent with the file system buffer cache
4539 like early versions of FreeBSD and possibly contemporary NetBSD.)
4540 For shared mappings, we should conversely verify that changes get
4541 propagated back to all the places they're supposed to be.
4543 Grep wants private fixed already mapped.
4544 The main things grep needs to know about mmap are:
4545 * does it exist and is it safe to write into the mmap'd area
4546 * how to use it (BSD variants) */
4549 #include <sys/mman.h>
4551 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4555 /* This mess was copied from the GNU getpagesize.h. */
4556 #ifndef HAVE_GETPAGESIZE
4557 # ifdef _SC_PAGESIZE
4558 # define getpagesize() sysconf(_SC_PAGESIZE)
4559 # else /* no _SC_PAGESIZE */
4560 # ifdef HAVE_SYS_PARAM_H
4561 # include <sys/param.h>
4562 # ifdef EXEC_PAGESIZE
4563 # define getpagesize() EXEC_PAGESIZE
4564 # else /* no EXEC_PAGESIZE */
4566 # define getpagesize() NBPG * CLSIZE
4569 # endif /* no CLSIZE */
4570 # else /* no NBPG */
4572 # define getpagesize() NBPC
4573 # else /* no NBPC */
4575 # define getpagesize() PAGESIZE
4576 # endif /* PAGESIZE */
4577 # endif /* no NBPC */
4578 # endif /* no NBPG */
4579 # endif /* no EXEC_PAGESIZE */
4580 # else /* no HAVE_SYS_PARAM_H */
4581 # define getpagesize() 8192 /* punt totally */
4582 # endif /* no HAVE_SYS_PARAM_H */
4583 # endif /* no _SC_PAGESIZE */
4585 #endif /* no HAVE_GETPAGESIZE */
4590 char *data, *data2, *data3;
4595 pagesize = getpagesize ();
4597 /* First, make a file with some known garbage in it. */
4598 data = (char *) malloc (pagesize);
4601 for (i = 0; i < pagesize; ++i)
4602 *(data + i) = rand ();
4604 fd = creat ("conftest.mmap", 0600);
4607 if (write (fd, data, pagesize) != pagesize)
4611 /* Next, check that the tail of a page is zero-filled. File must have
4612 non-zero length, otherwise we risk SIGBUS for entire page. */
4613 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4617 if (write (fd2, cdata2, 1) != 1)
4619 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4620 if (data2 == MAP_FAILED)
4622 for (i = 0; i < pagesize; ++i)
4626 if (munmap (data2, pagesize))
4629 /* Next, try to mmap the file at a fixed address which already has
4630 something else allocated at it. If we can, also make sure that
4631 we see the same garbage. */
4632 fd = open ("conftest.mmap", O_RDWR);
4635 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4636 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4638 for (i = 0; i < pagesize; ++i)
4639 if (*(data + i) != *(data2 + i))
4642 /* Finally, make sure that changes to the mapped area do not
4643 percolate back to the file as seen by read(). (This is a bug on
4644 some variants of i386 svr4.0.) */
4645 for (i = 0; i < pagesize; ++i)
4646 *(data2 + i) = *(data2 + i) + 1;
4647 data3 = (char *) malloc (pagesize);
4650 if (read (fd, data3, pagesize) != pagesize)
4652 for (i = 0; i < pagesize; ++i)
4653 if (*(data + i) != *(data3 + i))
4659 if ac_fn_c_try_run
"$LINENO"; then :
4660 ac_cv_func_mmap_fixed_mapped
=yes
4662 ac_cv_func_mmap_fixed_mapped
=no
4664 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4665 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4670 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4671 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4673 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4676 rm -f conftest.mmap conftest.txt
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
4680 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
4681 if ${ac_cv_gnu_library_2_1+:} false
; then :
4682 $as_echo_n "(cached) " >&6
4684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4687 #include <features.h>
4688 #ifdef __GNU_LIBRARY__
4689 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4696 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
4697 ac_cv_gnu_library_2_1
=yes
4699 ac_cv_gnu_library_2_1
=no
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
4707 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
4709 GLIBC21
="$ac_cv_gnu_library_2_1"
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
4715 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
4716 if ${gt_cv_int_divbyzero_sigfpe+:} false
; then :
4717 $as_echo_n "(cached) " >&6
4720 if test "$cross_compiling" = yes; then :
4722 # Guess based on the CPU.
4724 alpha
* | i3456786 | m68k | s390
*)
4725 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
4727 gt_cv_int_divbyzero_sigfpe
="guessing no";;
4731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4739 sigfpe_handler (int sig)
4741 sigfpe_handler (sig) int sig;
4744 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
4745 exit (sig != SIGFPE);
4755 signal (SIGFPE, sigfpe_handler);
4756 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
4757 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
4758 signal (SIGTRAP, sigfpe_handler);
4760 /* Linux/SPARC yields signal SIGILL. */
4761 #if defined (__sparc__) && defined (__linux__)
4762 signal (SIGILL, sigfpe_handler);
4771 if ac_fn_c_try_run
"$LINENO"; then :
4772 gt_cv_int_divbyzero_sigfpe
=yes
4774 gt_cv_int_divbyzero_sigfpe
=no
4776 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4777 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
4783 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
4784 case "$gt_cv_int_divbyzero_sigfpe" in
4789 cat >>confdefs.h
<<_ACEOF
4790 #define INTDIV0_RAISES_SIGFPE $value
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4796 $as_echo_n "checking for inttypes.h... " >&6; }
4797 if ${jm_ac_cv_header_inttypes_h+:} false
; then :
4798 $as_echo_n "(cached) " >&6
4800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #include <sys/types.h>
4803 #include <inttypes.h>
4807 uintmax_t i = (uintmax_t) -1;
4812 if ac_fn_c_try_compile
"$LINENO"; then :
4813 jm_ac_cv_header_inttypes_h
=yes
4815 jm_ac_cv_header_inttypes_h
=no
4817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
4820 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
4821 if test $jm_ac_cv_header_inttypes_h = yes; then
4823 cat >>confdefs.h
<<_ACEOF
4824 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
4831 $as_echo_n "checking for stdint.h... " >&6; }
4832 if ${jm_ac_cv_header_stdint_h+:} false
; then :
4833 $as_echo_n "(cached) " >&6
4835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4837 #include <sys/types.h>
4842 uintmax_t i = (uintmax_t) -1;
4847 if ac_fn_c_try_compile
"$LINENO"; then :
4848 jm_ac_cv_header_stdint_h
=yes
4850 jm_ac_cv_header_stdint_h
=no
4852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
4855 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
4856 if test $jm_ac_cv_header_stdint_h = yes; then
4858 cat >>confdefs.h
<<_ACEOF
4859 #define HAVE_STDINT_H_WITH_UINTMAX 1
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
4866 $as_echo_n "checking for unsigned long long... " >&6; }
4867 if ${ac_cv_type_unsigned_long_long+:} false
; then :
4868 $as_echo_n "(cached) " >&6
4870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4872 unsigned long long ull = 1; int i = 63;
4876 unsigned long long ullmax = (unsigned long long) -1;
4877 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4882 if ac_fn_c_try_link
"$LINENO"; then :
4883 ac_cv_type_unsigned_long_long
=yes
4885 ac_cv_type_unsigned_long_long
=no
4887 rm -f core conftest.err conftest.
$ac_objext \
4888 conftest
$ac_exeext conftest.
$ac_ext
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
4891 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
4892 if test $ac_cv_type_unsigned_long_long = yes; then
4894 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
4901 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
4903 test $ac_cv_type_unsigned_long_long = yes \
4904 && ac_type
='unsigned long long' \
4905 || ac_type
='unsigned long'
4907 cat >>confdefs.h
<<_ACEOF
4908 #define uintmax_t $ac_type
4913 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4919 $as_echo_n "checking for inttypes.h... " >&6; }
4920 if ${gt_cv_header_inttypes_h+:} false
; then :
4921 $as_echo_n "(cached) " >&6
4924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4926 #include <sys/types.h>
4927 #include <inttypes.h>
4936 if ac_fn_c_try_compile
"$LINENO"; then :
4937 gt_cv_header_inttypes_h
=yes
4939 gt_cv_header_inttypes_h
=no
4941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
4945 $as_echo "$gt_cv_header_inttypes_h" >&6; }
4946 if test $gt_cv_header_inttypes_h = yes; then
4948 cat >>confdefs.h
<<_ACEOF
4949 #define HAVE_INTTYPES_H 1
4956 if test $gt_cv_header_inttypes_h = yes; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
4958 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
4959 if ${gt_cv_inttypes_pri_broken+:} false
; then :
4960 $as_echo_n "(cached) " >&6
4963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4965 #include <inttypes.h>
4978 if ac_fn_c_try_compile
"$LINENO"; then :
4979 gt_cv_inttypes_pri_broken
=no
4981 gt_cv_inttypes_pri_broken
=yes
4983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
4987 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
4989 if test "$gt_cv_inttypes_pri_broken" = yes; then
4991 cat >>confdefs.h
<<_ACEOF
4992 #define PRI_MACROS_BROKEN 1
4998 if test "X$prefix" = "XNONE"; then
4999 acl_final_prefix
="$ac_default_prefix"
5001 acl_final_prefix
="$prefix"
5003 if test "X$exec_prefix" = "XNONE"; then
5004 acl_final_exec_prefix
='${prefix}'
5006 acl_final_exec_prefix
="$exec_prefix"
5008 acl_save_prefix
="$prefix"
5009 prefix
="$acl_final_prefix"
5010 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5011 prefix
="$acl_save_prefix"
5014 # Check whether --with-gnu-ld was given.
5015 if test "${with_gnu_ld+set}" = set; then :
5016 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5021 # Prepare PATH_SEPARATOR.
5022 # The user is always right.
5023 if test "${PATH_SEPARATOR+set}" != set; then
5024 echo "#! /bin/sh" >conf$$.sh
5025 echo "exit 0" >>conf$$.sh
5027 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5035 if test "$GCC" = yes; then
5036 # Check if gcc -print-prog-name=ld gives a path.
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5038 $as_echo_n "checking for ld used by GCC... " >&6; }
5041 # gcc leaves a trailing carriage return which upsets mingw
5042 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5044 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5047 # Accept absolute paths.
5048 [\\/]* |
[A-Za-z
]:[\\/]*)
5049 re_direlt
='/[^/][^/]*/\.\./'
5050 # Canonicalize the path of ld
5051 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5052 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5053 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5055 test -z "$LD" && LD
="$ac_prog"
5058 # If it fails, then pretend we aren't using GCC.
5062 # If it is relative, then search for the first ld in PATH.
5066 elif test "$with_gnu_ld" = yes; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5068 $as_echo_n "checking for GNU ld... " >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5071 $as_echo_n "checking for non-GNU ld... " >&6; }
5073 if ${acl_cv_path_LD+:} false
; then :
5074 $as_echo_n "(cached) " >&6
5076 if test -z "$LD"; then
5077 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5078 for ac_dir
in $PATH; do
5079 test -z "$ac_dir" && ac_dir
=.
5080 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5081 acl_cv_path_LD
="$ac_dir/$ac_prog"
5082 # Check to see if the program is GNU ld. I'd rather use --version,
5083 # but apparently some GNU ld's only accept -v.
5084 # Break only if it was the GNU/non-GNU ld that we prefer.
5085 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5086 test "$with_gnu_ld" != no
&& break
5088 test "$with_gnu_ld" != yes && break
5094 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5098 LD
="$acl_cv_path_LD"
5099 if test -n "$LD"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5101 $as_echo "$LD" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5106 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5108 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5109 if ${acl_cv_prog_gnu_ld+:} false
; then :
5110 $as_echo_n "(cached) " >&6
5112 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5113 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5114 acl_cv_prog_gnu_ld
=yes
5116 acl_cv_prog_gnu_ld
=no
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5120 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5121 with_gnu_ld
=$acl_cv_prog_gnu_ld
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5126 $as_echo_n "checking for shared library run path origin... " >&6; }
5127 if ${acl_cv_rpath+:} false
; then :
5128 $as_echo_n "(cached) " >&6
5131 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5132 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5139 $as_echo "$acl_cv_rpath" >&6; }
5141 libext
="$acl_cv_libext"
5142 shlibext
="$acl_cv_shlibext"
5143 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5144 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5145 hardcode_direct
="$acl_cv_hardcode_direct"
5146 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5147 # Check whether --enable-rpath was given.
5148 if test "${enable_rpath+set}" = set; then :
5149 enableval
=$enable_rpath; :
5163 acl_save_prefix
="$prefix"
5164 prefix
="$acl_final_prefix"
5165 acl_save_exec_prefix
="$exec_prefix"
5166 exec_prefix
="$acl_final_exec_prefix"
5168 eval additional_includedir
=\"$includedir\"
5169 eval additional_libdir
=\"$libdir\"
5171 exec_prefix
="$acl_save_exec_prefix"
5172 prefix
="$acl_save_prefix"
5175 # Check whether --with-libiconv-prefix was given.
5176 if test "${with_libiconv_prefix+set}" = set; then :
5177 withval
=$with_libiconv_prefix;
5178 if test "X$withval" = "Xno"; then
5181 if test "X$withval" = "X"; then
5183 acl_save_prefix
="$prefix"
5184 prefix
="$acl_final_prefix"
5185 acl_save_exec_prefix
="$exec_prefix"
5186 exec_prefix
="$acl_final_exec_prefix"
5188 eval additional_includedir
=\"$includedir\"
5189 eval additional_libdir
=\"$libdir\"
5191 exec_prefix
="$acl_save_exec_prefix"
5192 prefix
="$acl_save_prefix"
5195 additional_includedir
="$withval/include"
5196 additional_libdir
="$withval/lib"
5203 # Check whether --with-libiconv-type was given.
5204 if test "${with_libiconv_type+set}" = set; then :
5205 withval
=$with_libiconv_type; with_libiconv_type
=$withval
5207 with_libiconv_type
=auto
5210 lib_type
=`eval echo \$with_libiconv_type`
5217 names_already_handled
=
5218 names_next_round
='iconv '
5219 while test -n "$names_next_round"; do
5220 names_this_round
="$names_next_round"
5222 for name
in $names_this_round; do
5224 for n
in $names_already_handled; do
5225 if test "$n" = "$name"; then
5230 if test -z "$already_handled"; then
5231 names_already_handled
="$names_already_handled $name"
5232 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5233 eval value
=\"\
$HAVE_LIB$uppername\"
5234 if test -n "$value"; then
5235 if test "$value" = yes; then
5236 eval value
=\"\
$LIB$uppername\"
5237 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5238 eval value
=\"\
$LTLIB$uppername\"
5239 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5248 if test $use_additional = yes; then
5249 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
5250 found_dir
="$additional_libdir"
5251 found_so
="$additional_libdir/lib$name.$shlibext"
5252 if test -f "$additional_libdir/lib$name.la"; then
5253 found_la
="$additional_libdir/lib$name.la"
5255 elif test x
$lib_type != xshared
; then
5256 if test -f "$additional_libdir/lib$name.$libext"; then
5257 found_dir
="$additional_libdir"
5258 found_a
="$additional_libdir/lib$name.$libext"
5259 if test -f "$additional_libdir/lib$name.la"; then
5260 found_la
="$additional_libdir/lib$name.la"
5265 if test "X$found_dir" = "X"; then
5266 for x
in $LDFLAGS $LTLIBICONV; do
5268 acl_save_prefix
="$prefix"
5269 prefix
="$acl_final_prefix"
5270 acl_save_exec_prefix
="$exec_prefix"
5271 exec_prefix
="$acl_final_exec_prefix"
5273 exec_prefix
="$acl_save_exec_prefix"
5274 prefix
="$acl_save_prefix"
5278 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5279 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
5281 found_so
="$dir/lib$name.$shlibext"
5282 if test -f "$dir/lib$name.la"; then
5283 found_la
="$dir/lib$name.la"
5285 elif test x
$lib_type != xshared
; then
5286 if test -f "$dir/lib$name.$libext"; then
5288 found_a
="$dir/lib$name.$libext"
5289 if test -f "$dir/lib$name.la"; then
5290 found_la
="$dir/lib$name.la"
5296 if test "X$found_dir" != "X"; then
5301 if test "X$found_dir" != "X"; then
5302 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5303 if test "X$found_so" != "X"; then
5304 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5305 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5308 for x
in $ltrpathdirs; do
5309 if test "X$x" = "X$found_dir"; then
5314 if test -z "$haveit"; then
5315 ltrpathdirs
="$ltrpathdirs $found_dir"
5317 if test "$hardcode_direct" = yes; then
5318 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5320 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5321 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5323 for x
in $rpathdirs; do
5324 if test "X$x" = "X$found_dir"; then
5329 if test -z "$haveit"; then
5330 rpathdirs
="$rpathdirs $found_dir"
5334 for x
in $LDFLAGS $LIBICONV; do
5336 acl_save_prefix
="$prefix"
5337 prefix
="$acl_final_prefix"
5338 acl_save_exec_prefix
="$exec_prefix"
5339 exec_prefix
="$acl_final_exec_prefix"
5341 exec_prefix
="$acl_save_exec_prefix"
5342 prefix
="$acl_save_prefix"
5344 if test "X$x" = "X-L$found_dir"; then
5349 if test -z "$haveit"; then
5350 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5352 if test "$hardcode_minus_L" != no
; then
5353 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5355 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5361 if test "X$found_a" != "X"; then
5362 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5364 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5367 additional_includedir
=
5368 case "$found_dir" in
5370 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5371 additional_includedir
="$basedir/include"
5374 if test "X$additional_includedir" != "X"; then
5375 if test "X$additional_includedir" != "X/usr/include"; then
5377 if test "X$additional_includedir" = "X/usr/local/include"; then
5378 if test -n "$GCC"; then
5380 linux
*) haveit
=yes;;
5384 if test -z "$haveit"; then
5385 for x
in $CPPFLAGS $INCICONV; do
5387 acl_save_prefix
="$prefix"
5388 prefix
="$acl_final_prefix"
5389 acl_save_exec_prefix
="$exec_prefix"
5390 exec_prefix
="$acl_final_exec_prefix"
5392 exec_prefix
="$acl_save_exec_prefix"
5393 prefix
="$acl_save_prefix"
5395 if test "X$x" = "X-I$additional_includedir"; then
5400 if test -z "$haveit"; then
5401 if test -d "$additional_includedir"; then
5402 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5408 if test -n "$found_la"; then
5409 save_libdir
="$libdir"
5411 */* |
*\\*) .
"$found_la" ;;
5412 *) .
"./$found_la" ;;
5414 libdir
="$save_libdir"
5415 for dep
in $dependency_libs; do
5418 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5419 if test "X$additional_libdir" != "X/usr/lib"; then
5421 if test "X$additional_libdir" = "X/usr/local/lib"; then
5422 if test -n "$GCC"; then
5424 linux
*) haveit
=yes;;
5428 if test -z "$haveit"; then
5430 for x
in $LDFLAGS $LIBICONV; do
5432 acl_save_prefix
="$prefix"
5433 prefix
="$acl_final_prefix"
5434 acl_save_exec_prefix
="$exec_prefix"
5435 exec_prefix
="$acl_final_exec_prefix"
5437 exec_prefix
="$acl_save_exec_prefix"
5438 prefix
="$acl_save_prefix"
5440 if test "X$x" = "X-L$additional_libdir"; then
5445 if test -z "$haveit"; then
5446 if test -d "$additional_libdir"; then
5447 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5451 for x
in $LDFLAGS $LTLIBICONV; do
5453 acl_save_prefix
="$prefix"
5454 prefix
="$acl_final_prefix"
5455 acl_save_exec_prefix
="$exec_prefix"
5456 exec_prefix
="$acl_final_exec_prefix"
5458 exec_prefix
="$acl_save_exec_prefix"
5459 prefix
="$acl_save_prefix"
5461 if test "X$x" = "X-L$additional_libdir"; then
5466 if test -z "$haveit"; then
5467 if test -d "$additional_libdir"; then
5468 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5475 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5476 if test "$enable_rpath" != no
; then
5478 for x
in $rpathdirs; do
5479 if test "X$x" = "X$dir"; then
5484 if test -z "$haveit"; then
5485 rpathdirs
="$rpathdirs $dir"
5488 for x
in $ltrpathdirs; do
5489 if test "X$x" = "X$dir"; then
5494 if test -z "$haveit"; then
5495 ltrpathdirs
="$ltrpathdirs $dir"
5500 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5503 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5506 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5507 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5513 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
5514 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5515 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5517 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
5518 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
5525 if test "X$rpathdirs" != "X"; then
5526 if test -n "$hardcode_libdir_separator"; then
5528 for found_dir
in $rpathdirs; do
5529 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5531 acl_save_libdir
="$libdir"
5533 eval flag
=\"$hardcode_libdir_flag_spec\"
5534 libdir
="$acl_save_libdir"
5535 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5537 for found_dir
in $rpathdirs; do
5538 acl_save_libdir
="$libdir"
5540 eval flag
=\"$hardcode_libdir_flag_spec\"
5541 libdir
="$acl_save_libdir"
5542 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5546 if test "X$ltrpathdirs" != "X"; then
5547 for found_dir
in $ltrpathdirs; do
5548 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5555 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5556 stdlib.h string.h unistd.h sys
/param.h
5558 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5559 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5560 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5561 cat >>confdefs.h
<<_ACEOF
5562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5569 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
5570 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
5571 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
5574 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5575 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5576 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5577 cat >>confdefs.h
<<_ACEOF
5578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5591 $as_echo_n "checking for iconv... " >&6; }
5592 if ${am_cv_func_iconv+:} false
; then :
5593 $as_echo_n "(cached) " >&6
5596 am_cv_func_iconv
="no, consider installing GNU libiconv"
5598 am_save_CPPFLAGS
="$CPPFLAGS"
5599 CPPFLAGS
="$CPPFLAGS $INCICONV"
5600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5607 iconv_t cd = iconv_open("","");
5608 iconv(cd,NULL,NULL,NULL,NULL);
5614 if ac_fn_c_try_link
"$LINENO"; then :
5615 am_cv_func_iconv
=yes
5617 rm -f core conftest.err conftest.
$ac_objext \
5618 conftest
$ac_exeext conftest.
$ac_ext
5619 CPPFLAGS
="$am_save_CPPFLAGS"
5621 if test "$am_cv_func_iconv" != yes && test -d ..
/libiconv
; then
5622 for _libs
in .libs _libs
; do
5623 am_save_CPPFLAGS
="$CPPFLAGS"
5624 am_save_LIBS
="$LIBS"
5625 CPPFLAGS
="$CPPFLAGS -I../libiconv/include"
5626 LIBS
="$LIBS ../libiconv/lib/$_libs/libiconv.a"
5627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5634 iconv_t cd = iconv_open("","");
5635 iconv(cd,NULL,NULL,NULL,NULL);
5641 if ac_fn_c_try_link
"$LINENO"; then :
5642 INCICONV
="-I../libiconv/include"
5643 LIBICONV
='${top_builddir}'/..
/libiconv
/lib
/$_libs/libiconv.a
5644 LTLIBICONV
='${top_builddir}'/..
/libiconv
/lib
/libiconv.la
5646 am_cv_func_iconv
=yes
5648 rm -f core conftest.err conftest.
$ac_objext \
5649 conftest
$ac_exeext conftest.
$ac_ext
5650 CPPFLAGS
="$am_save_CPPFLAGS"
5651 LIBS
="$am_save_LIBS"
5652 if test "$am_cv_func_iconv" = "yes"; then
5658 if test "$am_cv_func_iconv" != yes; then
5659 am_save_CPPFLAGS
="$CPPFLAGS"
5660 am_save_LIBS
="$LIBS"
5661 CPPFLAGS
="$CPPFLAGS $INCICONV"
5662 LIBS
="$LIBS $LIBICONV"
5663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5670 iconv_t cd = iconv_open("","");
5671 iconv(cd,NULL,NULL,NULL,NULL);
5677 if ac_fn_c_try_link
"$LINENO"; then :
5679 am_cv_func_iconv
=yes
5681 rm -f core conftest.err conftest.
$ac_objext \
5682 conftest
$ac_exeext conftest.
$ac_ext
5683 CPPFLAGS
="$am_save_CPPFLAGS"
5684 LIBS
="$am_save_LIBS"
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5689 $as_echo "$am_cv_func_iconv" >&6; }
5690 if test "$am_cv_func_iconv" = yes; then
5692 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5695 if test "$am_cv_lib_iconv" = yes; then
5697 for element
in $INCICONV; do
5699 for x
in $CPPFLAGS; do
5701 acl_save_prefix
="$prefix"
5702 prefix
="$acl_final_prefix"
5703 acl_save_exec_prefix
="$exec_prefix"
5704 exec_prefix
="$acl_final_exec_prefix"
5706 exec_prefix
="$acl_save_exec_prefix"
5707 prefix
="$acl_save_prefix"
5709 if test "X$x" = "X$element"; then
5714 if test -z "$haveit"; then
5715 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5720 $as_echo_n "checking how to link with libiconv... " >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5722 $as_echo "$LIBICONV" >&6; }
5730 if test "$am_cv_func_iconv" = yes; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
5732 $as_echo_n "checking for iconv declaration... " >&6; }
5733 if ${am_cv_proto_iconv+:} false
; then :
5734 $as_echo_n "(cached) " >&6
5737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5738 /* end confdefs.h. */
5746 #if defined(__STDC__) || defined(__cplusplus)
5747 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
5760 if ac_fn_c_try_compile
"$LINENO"; then :
5761 am_cv_proto_iconv_arg1
=""
5763 am_cv_proto_iconv_arg1
="const"
5765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5766 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);"
5769 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
5771 }$am_cv_proto_iconv" >&5
5773 }$am_cv_proto_iconv" >&6; }
5775 cat >>confdefs.h
<<_ACEOF
5776 #define ICONV_CONST $am_cv_proto_iconv_arg1
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
5783 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
5784 if ${am_cv_langinfo_codeset+:} false
; then :
5785 $as_echo_n "(cached) " >&6
5787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5789 #include <langinfo.h>
5793 char* cs = nl_langinfo(CODESET);
5798 if ac_fn_c_try_link
"$LINENO"; then :
5799 am_cv_langinfo_codeset
=yes
5801 am_cv_langinfo_codeset
=no
5803 rm -f core conftest.err conftest.
$ac_objext \
5804 conftest
$ac_exeext conftest.
$ac_ext
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
5808 $as_echo "$am_cv_langinfo_codeset" >&6; }
5809 if test $am_cv_langinfo_codeset = yes; then
5811 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
5815 if test $ac_cv_header_locale_h = yes; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5818 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5819 if ${am_cv_val_LC_MESSAGES+:} false
; then :
5820 $as_echo_n "(cached) " >&6
5822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5833 if ac_fn_c_try_link
"$LINENO"; then :
5834 am_cv_val_LC_MESSAGES
=yes
5836 am_cv_val_LC_MESSAGES
=no
5838 rm -f core conftest.err conftest.
$ac_objext \
5839 conftest
$ac_exeext conftest.
$ac_ext
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5842 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5843 if test $am_cv_val_LC_MESSAGES = yes; then
5845 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5851 for ac_prog
in bison
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy
$ac_prog; ac_word
=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_prog_INTLBISON+:} false
; then :
5858 $as_echo_n "(cached) " >&6
5860 if test -n "$INTLBISON"; then
5861 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
5863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir
=.
5868 for ac_exec_ext
in '' $ac_executable_extensions; do
5869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_INTLBISON
="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 INTLBISON
=$ac_cv_prog_INTLBISON
5881 if test -n "$INTLBISON"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
5883 $as_echo "$INTLBISON" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$INTLBISON" && break
5893 if test -z "$INTLBISON"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
5897 $as_echo_n "checking version of bison... " >&6; }
5898 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5899 case $ac_prog_version in
5900 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5901 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
5902 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5903 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5906 $as_echo "$ac_prog_version" >&6; }
5908 if test $ac_verc_fail = yes; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5928 $as_echo_n "checking whether NLS is requested... " >&6; }
5929 # Check whether --enable-nls was given.
5930 if test "${enable_nls+set}" = set; then :
5931 enableval
=$enable_nls; USE_NLS
=$enableval
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5937 $as_echo "$USE_NLS" >&6; }
5942 BUILD_INCLUDED_LIBINTL
=no
5943 USE_INCLUDED_LIBINTL
=no
5949 if test "$USE_NLS" = "yes"; then
5950 gt_use_preinstalled_gnugettext
=no
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
5953 $as_echo_n "checking whether included gettext is requested... " >&6; }
5955 # Check whether --with-included-gettext was given.
5956 if test "${with_included_gettext+set}" = set; then :
5957 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
5959 nls_cv_force_use_gnu_gettext
=no
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
5963 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
5965 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
5966 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5974 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5975 if ${gt_cv_func_gnugettext2_libc+:} false
; then :
5976 $as_echo_n "(cached) " >&6
5978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5979 /* end confdefs.h. */
5980 #include <libintl.h>
5981 extern int _nl_msg_cat_cntr;
5982 extern int *_nl_domain_bindings;
5986 bindtextdomain ("", "");
5987 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
5992 if ac_fn_c_try_link
"$LINENO"; then :
5993 gt_cv_func_gnugettext2_libc
=yes
5995 gt_cv_func_gnugettext2_libc
=no
5997 rm -f core conftest.err conftest.
$ac_objext \
5998 conftest
$ac_exeext conftest.
$ac_ext
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
6001 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
6003 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
6009 acl_save_prefix
="$prefix"
6010 prefix
="$acl_final_prefix"
6011 acl_save_exec_prefix
="$exec_prefix"
6012 exec_prefix
="$acl_final_exec_prefix"
6014 eval additional_includedir
=\"$includedir\"
6015 eval additional_libdir
=\"$libdir\"
6017 exec_prefix
="$acl_save_exec_prefix"
6018 prefix
="$acl_save_prefix"
6021 # Check whether --with-libintl-prefix was given.
6022 if test "${with_libintl_prefix+set}" = set; then :
6023 withval
=$with_libintl_prefix;
6024 if test "X$withval" = "Xno"; then
6027 if test "X$withval" = "X"; then
6029 acl_save_prefix
="$prefix"
6030 prefix
="$acl_final_prefix"
6031 acl_save_exec_prefix
="$exec_prefix"
6032 exec_prefix
="$acl_final_exec_prefix"
6034 eval additional_includedir
=\"$includedir\"
6035 eval additional_libdir
=\"$libdir\"
6037 exec_prefix
="$acl_save_exec_prefix"
6038 prefix
="$acl_save_prefix"
6041 additional_includedir
="$withval/include"
6042 additional_libdir
="$withval/lib"
6049 # Check whether --with-libintl-type was given.
6050 if test "${with_libintl_type+set}" = set; then :
6051 withval
=$with_libintl_type; with_libintl_type
=$withval
6053 with_libintl_type
=auto
6056 lib_type
=`eval echo \$with_libintl_type`
6063 names_already_handled
=
6064 names_next_round
='intl '
6065 while test -n "$names_next_round"; do
6066 names_this_round
="$names_next_round"
6068 for name
in $names_this_round; do
6070 for n
in $names_already_handled; do
6071 if test "$n" = "$name"; then
6076 if test -z "$already_handled"; then
6077 names_already_handled
="$names_already_handled $name"
6078 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6079 eval value
=\"\
$HAVE_LIB$uppername\"
6080 if test -n "$value"; then
6081 if test "$value" = yes; then
6082 eval value
=\"\
$LIB$uppername\"
6083 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6084 eval value
=\"\
$LTLIB$uppername\"
6085 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6094 if test $use_additional = yes; then
6095 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6096 found_dir
="$additional_libdir"
6097 found_so
="$additional_libdir/lib$name.$shlibext"
6098 if test -f "$additional_libdir/lib$name.la"; then
6099 found_la
="$additional_libdir/lib$name.la"
6101 elif test x
$lib_type != xshared
; then
6102 if test -f "$additional_libdir/lib$name.$libext"; then
6103 found_dir
="$additional_libdir"
6104 found_a
="$additional_libdir/lib$name.$libext"
6105 if test -f "$additional_libdir/lib$name.la"; then
6106 found_la
="$additional_libdir/lib$name.la"
6111 if test "X$found_dir" = "X"; then
6112 for x
in $LDFLAGS $LTLIBINTL; do
6114 acl_save_prefix
="$prefix"
6115 prefix
="$acl_final_prefix"
6116 acl_save_exec_prefix
="$exec_prefix"
6117 exec_prefix
="$acl_final_exec_prefix"
6119 exec_prefix
="$acl_save_exec_prefix"
6120 prefix
="$acl_save_prefix"
6124 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6125 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
6127 found_so
="$dir/lib$name.$shlibext"
6128 if test -f "$dir/lib$name.la"; then
6129 found_la
="$dir/lib$name.la"
6131 elif test x
$lib_type != xshared
; then
6132 if test -f "$dir/lib$name.$libext"; then
6134 found_a
="$dir/lib$name.$libext"
6135 if test -f "$dir/lib$name.la"; then
6136 found_la
="$dir/lib$name.la"
6142 if test "X$found_dir" != "X"; then
6147 if test "X$found_dir" != "X"; then
6148 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6149 if test "X$found_so" != "X"; then
6150 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6151 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6154 for x
in $ltrpathdirs; do
6155 if test "X$x" = "X$found_dir"; then
6160 if test -z "$haveit"; then
6161 ltrpathdirs
="$ltrpathdirs $found_dir"
6163 if test "$hardcode_direct" = yes; then
6164 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6166 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6167 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6169 for x
in $rpathdirs; do
6170 if test "X$x" = "X$found_dir"; then
6175 if test -z "$haveit"; then
6176 rpathdirs
="$rpathdirs $found_dir"
6180 for x
in $LDFLAGS $LIBINTL; do
6182 acl_save_prefix
="$prefix"
6183 prefix
="$acl_final_prefix"
6184 acl_save_exec_prefix
="$exec_prefix"
6185 exec_prefix
="$acl_final_exec_prefix"
6187 exec_prefix
="$acl_save_exec_prefix"
6188 prefix
="$acl_save_prefix"
6190 if test "X$x" = "X-L$found_dir"; then
6195 if test -z "$haveit"; then
6196 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6198 if test "$hardcode_minus_L" != no
; then
6199 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6201 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6207 if test "X$found_a" != "X"; then
6208 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6210 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6213 additional_includedir
=
6214 case "$found_dir" in
6216 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6217 additional_includedir
="$basedir/include"
6220 if test "X$additional_includedir" != "X"; then
6221 if test "X$additional_includedir" != "X/usr/include"; then
6223 if test "X$additional_includedir" = "X/usr/local/include"; then
6224 if test -n "$GCC"; then
6226 linux
*) haveit
=yes;;
6230 if test -z "$haveit"; then
6231 for x
in $CPPFLAGS $INCINTL; do
6233 acl_save_prefix
="$prefix"
6234 prefix
="$acl_final_prefix"
6235 acl_save_exec_prefix
="$exec_prefix"
6236 exec_prefix
="$acl_final_exec_prefix"
6238 exec_prefix
="$acl_save_exec_prefix"
6239 prefix
="$acl_save_prefix"
6241 if test "X$x" = "X-I$additional_includedir"; then
6246 if test -z "$haveit"; then
6247 if test -d "$additional_includedir"; then
6248 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6254 if test -n "$found_la"; then
6255 save_libdir
="$libdir"
6257 */* |
*\\*) .
"$found_la" ;;
6258 *) .
"./$found_la" ;;
6260 libdir
="$save_libdir"
6261 for dep
in $dependency_libs; do
6264 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6265 if test "X$additional_libdir" != "X/usr/lib"; then
6267 if test "X$additional_libdir" = "X/usr/local/lib"; then
6268 if test -n "$GCC"; then
6270 linux
*) haveit
=yes;;
6274 if test -z "$haveit"; then
6276 for x
in $LDFLAGS $LIBINTL; do
6278 acl_save_prefix
="$prefix"
6279 prefix
="$acl_final_prefix"
6280 acl_save_exec_prefix
="$exec_prefix"
6281 exec_prefix
="$acl_final_exec_prefix"
6283 exec_prefix
="$acl_save_exec_prefix"
6284 prefix
="$acl_save_prefix"
6286 if test "X$x" = "X-L$additional_libdir"; then
6291 if test -z "$haveit"; then
6292 if test -d "$additional_libdir"; then
6293 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6297 for x
in $LDFLAGS $LTLIBINTL; do
6299 acl_save_prefix
="$prefix"
6300 prefix
="$acl_final_prefix"
6301 acl_save_exec_prefix
="$exec_prefix"
6302 exec_prefix
="$acl_final_exec_prefix"
6304 exec_prefix
="$acl_save_exec_prefix"
6305 prefix
="$acl_save_prefix"
6307 if test "X$x" = "X-L$additional_libdir"; then
6312 if test -z "$haveit"; then
6313 if test -d "$additional_libdir"; then
6314 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6321 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6322 if test "$enable_rpath" != no
; then
6324 for x
in $rpathdirs; do
6325 if test "X$x" = "X$dir"; then
6330 if test -z "$haveit"; then
6331 rpathdirs
="$rpathdirs $dir"
6334 for x
in $ltrpathdirs; do
6335 if test "X$x" = "X$dir"; then
6340 if test -z "$haveit"; then
6341 ltrpathdirs
="$ltrpathdirs $dir"
6346 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6349 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6352 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6353 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6359 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
6360 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6361 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6363 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
6364 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
6371 if test "X$rpathdirs" != "X"; then
6372 if test -n "$hardcode_libdir_separator"; then
6374 for found_dir
in $rpathdirs; do
6375 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6377 acl_save_libdir
="$libdir"
6379 eval flag
=\"$hardcode_libdir_flag_spec\"
6380 libdir
="$acl_save_libdir"
6381 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6383 for found_dir
in $rpathdirs; do
6384 acl_save_libdir
="$libdir"
6386 eval flag
=\"$hardcode_libdir_flag_spec\"
6387 libdir
="$acl_save_libdir"
6388 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6392 if test "X$ltrpathdirs" != "X"; then
6393 for found_dir
in $ltrpathdirs; do
6394 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6399 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6400 if ${gt_cv_func_gnugettext2_libintl+:} false
; then :
6401 $as_echo_n "(cached) " >&6
6403 gt_save_CPPFLAGS
="$CPPFLAGS"
6404 CPPFLAGS
="$CPPFLAGS $INCINTL"
6405 gt_save_LIBS
="$LIBS"
6406 LIBS
="$LIBS $LIBINTL"
6407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6409 #include <libintl.h>
6410 extern int _nl_msg_cat_cntr;
6415 const char *_nl_expand_alias ();
6419 bindtextdomain ("", "");
6420 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6425 if ac_fn_c_try_link
"$LINENO"; then :
6426 gt_cv_func_gnugettext2_libintl
=yes
6428 gt_cv_func_gnugettext2_libintl
=no
6430 rm -f core conftest.err conftest.
$ac_objext \
6431 conftest
$ac_exeext conftest.
$ac_ext
6432 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
6433 LIBS
="$LIBS $LIBICONV"
6434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6436 #include <libintl.h>
6437 extern int _nl_msg_cat_cntr;
6442 const char *_nl_expand_alias ();
6446 bindtextdomain ("", "");
6447 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6452 if ac_fn_c_try_link
"$LINENO"; then :
6453 LIBINTL
="$LIBINTL $LIBICONV"
6454 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6455 gt_cv_func_gnugettext2_libintl
=yes
6458 rm -f core conftest.err conftest.
$ac_objext \
6459 conftest
$ac_exeext conftest.
$ac_ext
6461 CPPFLAGS
="$gt_save_CPPFLAGS"
6462 LIBS
="$gt_save_LIBS"
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
6465 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
6468 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
6469 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
6470 && test "$PACKAGE" != gettext-runtime \
6471 && test "$PACKAGE" != gettext-tools
; }; then
6472 gt_use_preinstalled_gnugettext
=yes
6480 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
6481 nls_cv_use_gnu_gettext
=yes
6485 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6486 BUILD_INCLUDED_LIBINTL
=yes
6487 USE_INCLUDED_LIBINTL
=yes
6488 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
6489 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
6490 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6493 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6494 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6499 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6500 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6502 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6510 $as_echo_n "checking whether to use NLS... " >&6; }
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6512 $as_echo "$USE_NLS" >&6; }
6513 if test "$USE_NLS" = "yes"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6515 $as_echo_n "checking where the gettext function comes from... " >&6; }
6516 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6517 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6518 gt_source
="external libintl"
6523 gt_source
="included intl directory"
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6526 $as_echo "$gt_source" >&6; }
6529 if test "$USE_NLS" = "yes"; then
6531 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6532 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6534 $as_echo_n "checking how to link with libintl... " >&6; }
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6536 $as_echo "$LIBINTL" >&6; }
6538 for element
in $INCINTL; do
6540 for x
in $CPPFLAGS; do
6542 acl_save_prefix
="$prefix"
6543 prefix
="$acl_final_prefix"
6544 acl_save_exec_prefix
="$exec_prefix"
6545 exec_prefix
="$acl_final_exec_prefix"
6547 exec_prefix
="$acl_save_exec_prefix"
6548 prefix
="$acl_save_prefix"
6550 if test "X$x" = "X$element"; then
6555 if test -z "$haveit"; then
6556 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6563 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6566 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6574 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
6575 BUILD_INCLUDED_LIBINTL
=yes
6583 nls_cv_header_libgt
=
6594 if test "$USE_INCLUDED_LIBINTL" = yes; then
6595 INTLOBJS
="\$(GETTOBJS)"
6599 INTL_LIBTOOL_SUFFIX_PREFIX
=
6611 # This replaces the extensive use of DEFS in the original Makefile.in.
6613 $as_echo "#define IN_LIBINTL 1" >>confdefs.h
6616 $as_echo "#define IN_LIBRARY 1" >>confdefs.h
6619 $as_echo "#define DEPENDS_ON_LIBICONV 1" >>confdefs.h
6622 $as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h
6625 $as_echo "#define NO_XMALLOC 1" >>confdefs.h
6628 $as_echo "#define set_relocation_prefix libintl_set_relocation_prefix" >>confdefs.h
6631 $as_echo "#define relocate libintl_relocate" >>confdefs.h
6634 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6635 for ac_prog
in aclocal
6637 # Extract the first word of "$ac_prog", so it can be a program name with args.
6638 set dummy
$ac_prog; ac_word
=$2
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 $as_echo_n "checking for $ac_word... " >&6; }
6641 if ${ac_cv_prog_ACLOCAL+:} false
; then :
6642 $as_echo_n "(cached) " >&6
6644 if test -n "$ACLOCAL"; then
6645 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
6647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6651 test -z "$as_dir" && as_dir
=.
6652 for ac_exec_ext
in '' $ac_executable_extensions; do
6653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6654 ac_cv_prog_ACLOCAL
="$ac_prog"
6655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 ACLOCAL
=$ac_cv_prog_ACLOCAL
6665 if test -n "$ACLOCAL"; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
6667 $as_echo "$ACLOCAL" >&6; }
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 $as_echo "no" >&6; }
6674 test -n "$ACLOCAL" && break
6676 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
6678 for ac_prog
in autoconf
6680 # Extract the first word of "$ac_prog", so it can be a program name with args.
6681 set dummy
$ac_prog; ac_word
=$2
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 $as_echo_n "checking for $ac_word... " >&6; }
6684 if ${ac_cv_prog_AUTOCONF+:} false
; then :
6685 $as_echo_n "(cached) " >&6
6687 if test -n "$AUTOCONF"; then
6688 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
6690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6694 test -z "$as_dir" && as_dir
=.
6695 for ac_exec_ext
in '' $ac_executable_extensions; do
6696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6697 ac_cv_prog_AUTOCONF
="$ac_prog"
6698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 AUTOCONF
=$ac_cv_prog_AUTOCONF
6708 if test -n "$AUTOCONF"; then
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
6710 $as_echo "$AUTOCONF" >&6; }
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 $as_echo "no" >&6; }
6717 test -n "$AUTOCONF" && break
6719 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
6721 for ac_prog
in autoheader
6723 # Extract the first word of "$ac_prog", so it can be a program name with args.
6724 set dummy
$ac_prog; ac_word
=$2
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6726 $as_echo_n "checking for $ac_word... " >&6; }
6727 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
6728 $as_echo_n "(cached) " >&6
6730 if test -n "$AUTOHEADER"; then
6731 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
6733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir
=.
6738 for ac_exec_ext
in '' $ac_executable_extensions; do
6739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6740 ac_cv_prog_AUTOHEADER
="$ac_prog"
6741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
6751 if test -n "$AUTOHEADER"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
6753 $as_echo "$AUTOHEADER" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6760 test -n "$AUTOHEADER" && break
6762 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
6765 # Check whether --enable-maintainer-mode was given.
6766 if test "${enable_maintainer_mode+set}" = set; then :
6767 enableval
=$enable_maintainer_mode;
6769 enable_maintainer_mode
=no
6772 if test "x$enable_maintainer_mode" = xno
; then
6779 # Additional info for config.intl.
6785 case $USE_INCLUDED_LIBINTL in
6787 LIBINTL
=`echo $LIBINTL | sed 's,${top_builddir},&/..,' `
6788 LTLIBINTL
=`echo $LTLIBINTL | sed 's,${top_builddir},&/..,' `
6789 LIBINTL_DEP
='${top_builddir}/../intl/libintl.a'
6790 INCINTL
='-I${top_builddir}/../intl'
6794 ac_config_files
="$ac_config_files Makefile config.intl"
6796 cat >confcache
<<\_ACEOF
6797 # This file is a shell script that caches the results of configure
6798 # tests run on this system so they can be shared between configure
6799 # scripts and configure runs, see configure's option --config-cache.
6800 # It is not useful on other systems. If it contains results you don't
6801 # want to keep, you may remove or edit it.
6803 # config.status only pays attention to the cache file if you give it
6804 # the --recheck option to rerun configure.
6806 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6807 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6812 # The following way of writing the cache mishandles newlines in values,
6813 # but we know of no workaround that is simple, portable, and efficient.
6814 # So, we kill variables containing newlines.
6815 # Ultrix sh set writes to stderr and can't be redirected directly,
6816 # and sets the high bit in the cache file unless we assign to the vars.
6818 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6819 eval ac_val
=\$
$ac_var
6823 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6824 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6827 _ | IFS | as_nl
) ;; #(
6828 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6829 *) { eval $ac_var=; unset $ac_var;} ;;
6835 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6836 *${as_nl}ac_space
=\
*)
6837 # `set' does not quote correctly, so add quotes: double-quote
6838 # substitution turns \\\\ into \\, and sed turns \\ into \.
6841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6844 # `set' quotes correctly as required by POSIX, so do not add quotes.
6845 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6854 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6856 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6858 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6859 if test -w "$cache_file"; then
6860 if test "x$cache_file" != "x/dev/null"; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6862 $as_echo "$as_me: updating cache $cache_file" >&6;}
6863 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6864 cat confcache
>"$cache_file"
6866 case $cache_file in #(
6868 mv -f confcache
"$cache_file"$$
&&
6869 mv -f "$cache_file"$$
"$cache_file" ;; #(
6871 mv -f confcache
"$cache_file" ;;
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6877 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6882 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6883 # Let make expand exec_prefix.
6884 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6886 DEFS
=-DHAVE_CONFIG_H
6891 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6892 # 1. Remove the extension, and $U if already installed.
6893 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6894 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6895 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6896 # will be set to the directory where LIBOBJS objects are built.
6897 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6898 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6902 LTLIBOBJS
=$ac_ltlibobjs
6906 : "${CONFIG_STATUS=./config.status}"
6908 ac_clean_files_save
=$ac_clean_files
6909 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6911 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6913 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6915 # Generated by $as_me.
6916 # Run this file to recreate the current configuration.
6917 # Compiler output produced by configure, useful for debugging
6918 # configure, is in config.log if it exists.
6924 SHELL=\${CONFIG_SHELL-$SHELL}
6927 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6928 ## -------------------- ##
6929 ## M4sh Initialization. ##
6930 ## -------------------- ##
6932 # Be more Bourne compatible
6933 DUALCASE
=1; export DUALCASE
# for MKS sh
6934 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6937 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6938 # is contrary to our usage. Disable this feature.
6939 alias -g '${1+"$@"}'='"$@"'
6940 setopt NO_GLOB_SUBST
6942 case `(set -o) 2>/dev/null` in #(
6954 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6955 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6956 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6957 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6958 # Prefer a ksh shell builtin over an external printf program on Solaris,
6959 # but without wasting forks for bash or zsh.
6960 if test -z "$BASH_VERSION$ZSH_VERSION" \
6961 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6962 as_echo='print
-r --'
6963 as_echo_n='print
-rn --'
6964 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6965 as_echo='printf %s
\n'
6966 as_echo_n='printf %s
'
6968 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6969 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6970 as_echo_n='/usr
/ucb
/echo -n'
6972 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6973 as_echo_n_body='eval
6977 expr "X$arg" : "X\\(.*\\)$as_nl";
6978 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6980 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6982 export as_echo_n_body
6983 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6986 as_echo='sh
-c $as_echo_body as_echo
'
6989 # The user is always right.
6990 if test "${PATH_SEPARATOR+set}" != set; then
6992 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6993 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7000 # We need space, tab and new line, in precisely that order. Quoting is
7001 # there to prevent editors from complaining about space-tab.
7002 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7003 # splitting by setting IFS to empty value.)
7006 # Find who we are. Look in the path if we contain no directory separator.
7009 *[\\/]* ) as_myself=$0 ;;
7010 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir=.
7015 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7021 # We did not find ourselves, most probably we were run as `sh COMMAND'
7022 # in which case we are not to be found in the path.
7023 if test "x$as_myself" = x
; then
7026 if test ! -f "$as_myself"; then
7027 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7031 # Unset variables that we do not need and which cause bugs (e.g. in
7032 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7033 # suppresses any "Segmentation fault" message there. '((' could
7034 # trigger a bug in pdksh 5.2.14.
7035 for as_var
in BASH_ENV ENV MAIL MAILPATH
7036 do eval test x\
${$as_var+set} = xset \
7037 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7050 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7053 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7054 # ----------------------------------------
7055 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7056 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7057 # script with STATUS, using 1 if that was 0.
7060 as_status
=$1; test $as_status -eq 0 && as_status
=1
7062 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7063 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7065 $as_echo "$as_me: error: $2" >&2
7066 as_fn_exit
$as_status
7070 # as_fn_set_status STATUS
7071 # -----------------------
7072 # Set $? to STATUS, without forking.
7076 } # as_fn_set_status
7080 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7090 # Portably unset VAR.
7093 { eval $1=; unset $1;}
7095 as_unset
=as_fn_unset
7096 # as_fn_append VAR VALUE
7097 # ----------------------
7098 # Append the text in VALUE to the end of the definition contained in VAR. Take
7099 # advantage of any shell optimizations that allow amortized linear growth over
7100 # repeated appends, instead of the typical quadratic growth present in naive
7102 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7103 eval 'as_fn_append ()
7114 # as_fn_arith ARG...
7115 # ------------------
7116 # Perform arithmetic evaluation on the ARGs, and store the result in the
7117 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7118 # must be portable across $(()) and expr.
7119 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7120 eval 'as_fn_arith ()
7127 as_val
=`expr "$@" || test $? -eq 1`
7132 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7133 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7139 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7140 as_basename
=basename
7145 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7151 as_me
=`$as_basename -- "$0" ||
7152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7153 X"$0" : 'X\(//\)$' \| \
7154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7156 sed '/^.*\/\([^/][^/]*\)\/*$/{
7170 # Avoid depending upon Character Ranges.
7171 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7172 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7173 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7174 as_cr_digits
='0123456789'
7175 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7177 ECHO_C
= ECHO_N
= ECHO_T
=
7178 case `echo -n x` in #(((((
7180 case `echo 'xy\c'` in
7181 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7183 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7190 rm -f conf$$ conf$$.exe conf$$.
file
7191 if test -d conf$$.dir
; then
7192 rm -f conf$$.dir
/conf$$.
file
7195 mkdir conf$$.dir
2>/dev
/null
7197 if (echo >conf$$.
file) 2>/dev
/null
; then
7198 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7200 # ... but there are two gotchas:
7201 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7202 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7203 # In both cases, we have to default to `cp -pR'.
7204 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7214 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7215 rmdir conf$$.dir
2>/dev
/null
7220 # Create "$as_dir" as a directory, including parents if necessary.
7225 -*) as_dir
=.
/$as_dir;;
7227 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7231 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7232 *) as_qdir
=$as_dir;;
7234 as_dirs
="'$as_qdir' $as_dirs"
7235 as_dir
=`$as_dirname -- "$as_dir" ||
7236 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7237 X"$as_dir" : 'X\(//\)[^/]' \| \
7238 X"$as_dir" : 'X\(//\)$' \| \
7239 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7240 $as_echo X"$as_dir" |
7241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7258 test -d "$as_dir" && break
7260 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7261 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7265 if mkdir
-p .
2>/dev
/null
; then
7266 as_mkdir_p
='mkdir -p "$as_dir"'
7268 test -d .
/-p && rmdir .
/-p
7273 # as_fn_executable_p FILE
7274 # -----------------------
7275 # Test if FILE is an executable regular file.
7276 as_fn_executable_p
()
7278 test -f "$1" && test -x "$1"
7279 } # as_fn_executable_p
7281 as_executable_p
=as_fn_executable_p
7283 # Sed expression to map a string onto a valid CPP name.
7284 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7286 # Sed expression to map a string onto a valid variable name.
7287 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7291 ## ----------------------------------- ##
7292 ## Main body of $CONFIG_STATUS script. ##
7293 ## ----------------------------------- ##
7295 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7298 # Save the log message, to keep $0 and so on meaningful, and to
7299 # report actual input values of CONFIG_FILES etc. instead of their
7300 # values after options handling.
7302 This file was extended by $as_me, which was
7303 generated by GNU Autoconf 2.69. Invocation command line was
7305 CONFIG_FILES = $CONFIG_FILES
7306 CONFIG_HEADERS = $CONFIG_HEADERS
7307 CONFIG_LINKS = $CONFIG_LINKS
7308 CONFIG_COMMANDS = $CONFIG_COMMANDS
7311 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7316 case $ac_config_files in *"
7317 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7320 case $ac_config_headers in *"
7321 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7326 # Files that config.status was made for.
7327 config_files="$ac_config_files"
7328 config_headers="$ac_config_headers"
7329 config_commands="$ac_config_commands"
7333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7335 \`$as_me' instantiates files and other configuration actions
7336 from templates according to the current configuration. Unless the files
7337 and actions are specified as TAGs, all are instantiated by default.
7339 Usage: $0 [OPTION]... [TAG]...
7341 -h, --help print this help, then exit
7342 -V, --version print version number and configuration settings, then exit
7343 --config print configuration, then exit
7344 -q, --quiet, --silent
7345 do not print progress messages
7346 -d, --debug don't remove temporary files
7347 --recheck update $as_me by reconfiguring in the same conditions
7348 --file=FILE[:TEMPLATE]
7349 instantiate the configuration file FILE
7350 --header=FILE[:TEMPLATE]
7351 instantiate the configuration header FILE
7353 Configuration files:
7356 Configuration headers:
7359 Configuration commands:
7362 Report bugs to the package provider."
7365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7366 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7369 configured by $0, generated by GNU Autoconf 2.69,
7370 with options \\"\$ac_cs_config\\"
7372 Copyright (C) 2012 Free Software Foundation, Inc.
7373 This config.status script is free software; the Free Software Foundation
7374 gives unlimited permission to copy, distribute and modify it."
7379 test -n "\$AWK" || AWK=awk
7382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7383 # The default lists apply if the user does not specify any file.
7389 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7390 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7394 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7406 # Handling of the options.
7407 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7409 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7410 $as_echo "$ac_cs_version"; exit ;;
7411 --config |
--confi |
--conf |
--con |
--co |
--c )
7412 $as_echo "$ac_cs_config"; exit ;;
7413 --debug |
--debu |
--deb |
--de |
--d |
-d )
7415 --file |
--fil |
--fi |
--f )
7418 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7419 '') as_fn_error $?
"missing file argument" ;;
7421 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7422 ac_need_defaults
=false
;;
7423 --header |
--heade |
--head |
--hea )
7426 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7428 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7429 ac_need_defaults
=false
;;
7431 # Conflict between --help and --header
7432 as_fn_error $?
"ambiguous option: \`$1'
7433 Try \`$0 --help' for more information.";;
7434 --help |
--hel |
-h )
7435 $as_echo "$ac_cs_usage"; exit ;;
7436 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7437 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7441 -*) as_fn_error $?
"unrecognized option: \`$1'
7442 Try \`$0 --help' for more information." ;;
7444 *) as_fn_append ac_config_targets
" $1"
7445 ac_need_defaults
=false
;;
7451 ac_configure_extra_args
=
7453 if $ac_cs_silent; then
7455 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7460 if \$ac_cs_recheck; then
7461 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7463 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7464 CONFIG_SHELL='$SHELL'
7470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7474 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7475 ## Running $as_me. ##
7481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7485 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7486 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7488 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7489 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7490 LINGUAS="${LINGUAS-%UNSET%}"
7495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7497 # Handling of arguments.
7498 for ac_config_target
in $ac_config_targets
7500 case $ac_config_target in
7501 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7502 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7503 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7504 "config.intl") CONFIG_FILES
="$CONFIG_FILES config.intl" ;;
7506 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7511 # If the user did not use the arguments to specify the items to instantiate,
7512 # then the envvar interface is used. Set only those that are not.
7513 # We use the long form for the default assignment because of an extremely
7514 # bizarre bug on SunOS 4.1.3.
7515 if $ac_need_defaults; then
7516 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7517 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7518 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7521 # Have a temporary directory for convenience. Make it in the build tree
7522 # simply because there is no reason against having it here, and in addition,
7523 # creating and moving files from /tmp can sometimes cause problems.
7524 # Hook for its removal unless debugging.
7525 # Note that there is a small window in which the directory will not be cleaned:
7526 # after its creation but before its name has been assigned to `$tmp'.
7530 trap 'exit_status=$?
7532 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7534 trap 'as_fn_exit 1' 1 2 13 15
7536 # Create a (secure) tmp directory for tmp files.
7539 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7543 tmp
=.
/conf$$
-$RANDOM
7544 (umask 077 && mkdir
"$tmp")
7545 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7548 # Set up the scripts for CONFIG_FILES section.
7549 # No need to generate them if there are no CONFIG_FILES.
7550 # This happens for instance with `./config.status config.h'.
7551 if test -n "$CONFIG_FILES"; then
7554 ac_cr
=`echo X | tr X '\015'`
7555 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7556 # But we know of no other shell where ac_cr would be empty at this
7557 # point, so we can use a bashism as a fallback.
7558 if test "x$ac_cr" = x
; then
7559 eval ac_cr
=\$
\'\\r
\'
7561 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7562 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7568 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7573 echo "cat >conf$$subs.awk <<_ACEOF" &&
7574 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7577 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7578 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7580 for ac_last_try in false false false false false :; do
7581 . ./conf$$subs.sh ||
7582 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7584 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7585 if test $ac_delim_n = $ac_delim_num; then
7587 elif $ac_last_try; then
7588 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7590 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7596 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7600 s/^/S["/; s
/!.
*/"]=/
7610 s/\(.\{148\}\)..*/\1/
7612 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7617 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7624 s/\(.\{148\}\)..*/\1/
7626 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7630 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7635 ' <conf$$subs.awk | sed '
7640 ' >>$CONFIG_STATUS || ac_write_fail=1
7641 rm -f conf$$subs.awk
7642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7644 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7645 for (key in S) S_is_set[key] = 1
7651 nfields = split(line, field, "@
")
7653 len = length(field[1])
7654 for (i = 2; i < nfields; i++) {
7656 keylen = length(key)
7657 if (S_is_set[key]) {
7659 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7660 len += length(value) + length(field[++i])
7671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7672 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7673 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7676 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7677 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7680 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7681 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7682 # trailing colons and then remove the whole line if VPATH becomes empty
7683 # (actually we leave an empty line to preserve line numbers).
7684 if test "x
$srcdir" = x.; then
7685 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7704 fi # test -n "$CONFIG_FILES"
7706 # Set up the scripts for CONFIG_HEADERS section.
7707 # No need to generate them if there are no CONFIG_HEADERS.
7708 # This happens for instance with `./config.status Makefile'.
7709 if test -n "$CONFIG_HEADERS"; then
7710 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7714 # Transform confdefs.h into an awk script `defines.awk', embedded as
7715 # here-document in config.status, that substitutes the proper values into
7716 # config.h.in to produce config.h.
7718 # Create a delimiter string that does not exist in confdefs.h, to ease
7719 # handling of long lines.
7721 for ac_last_try in false false :; do
7722 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7723 if test -z "$ac_tt"; then
7725 elif $ac_last_try; then
7726 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7728 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7732 # For the awk script, D is an array of macro values keyed by name,
7733 # likewise P contains macro parameters if any. Preserve backslash
7734 # newline sequences.
7736 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7738 s/.\{148\}/&'"$ac_delim"'/g
7741 s/^[ ]*#[ ]*define[ ][ ]*/ /
7748 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7750 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7754 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7755 D["\
1"]=" \
3\\\\\\n
"\\/p
7757 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7762 s/.\{148\}/&'"$ac_delim"'/g
7767 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7770 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7772 ' <confdefs.h | sed '
7773 s/'"$ac_delim"'/"\\\
7774 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7777 for (key in D) D_is_set[key] = 1
7780 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7782 split(line, arg, " ")
7783 if (arg[1] == "#") {
7787 defundef
= substr
(arg
[1], 2)
7790 split(mac1
, mac2
, "(") #)
7792 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7793 if (D_is_set
[macro
]) {
7794 # Preserve the white space surrounding the "#".
7795 print prefix
"define", macro P
[macro
] D
[macro
]
7798 # Replace #undef with comments. This is necessary, for example,
7799 # in the case of _POSIX_SOURCE, which is predefined and required
7800 # on some systems where configure will not decide to define it.
7801 if (defundef
== "undef") {
7802 print
"/*", prefix defundef
, macro
, "*/"
7810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7811 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7812 fi # test -n "$CONFIG_HEADERS"
7815 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7820 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7822 case $ac_mode$ac_tag in
7824 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7825 :[FH
]-) ac_tag
=-:-;;
7826 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7843 -) ac_f
="$ac_tmp/stdin";;
7844 *) # Look for the file first in the build tree, then in the source tree
7845 # (if the path is not absolute). The absolute path cannot be DOS-style,
7846 # because $ac_f cannot contain `:'.
7850 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7852 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7854 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7855 as_fn_append ac_file_inputs
" '$ac_f'"
7858 # Let's still pretend it is `configure' which instantiates (i.e., don't
7859 # use $as_me), people would be surprised to read:
7860 # /* config.h. Generated by config.status. */
7861 configure_input
='Generated from '`
7862 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7864 if test x
"$ac_file" != x-
; then
7865 configure_input
="$ac_file. $configure_input"
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7867 $as_echo "$as_me: creating $ac_file" >&6;}
7869 # Neutralize special characters interpreted by sed in replacement strings.
7870 case $configure_input in #(
7871 *\
&* |
*\|
* |
*\\* )
7872 ac_sed_conf_input
=`$as_echo "$configure_input" |
7873 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7874 *) ac_sed_conf_input
=$configure_input;;
7878 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7879 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7884 ac_dir
=`$as_dirname -- "$ac_file" ||
7885 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7886 X"$ac_file" : 'X\(//\)[^/]' \| \
7887 X"$ac_file" : 'X\(//\)$' \| \
7888 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7889 $as_echo X"$ac_file" |
7890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7907 as_dir
="$ac_dir"; as_fn_mkdir_p
7911 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7913 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7914 # A ".." for each directory in $ac_dir_suffix.
7915 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7916 case $ac_top_builddir_sub in
7917 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7918 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7921 ac_abs_top_builddir
=$ac_pwd
7922 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7923 # for backward compatibility:
7924 ac_top_builddir
=$ac_top_build_prefix
7927 .
) # We are building in place.
7929 ac_top_srcdir
=$ac_top_builddir_sub
7930 ac_abs_top_srcdir
=$ac_pwd ;;
7931 [\\/]* | ?
:[\\/]* ) # Absolute name.
7932 ac_srcdir
=$srcdir$ac_dir_suffix;
7933 ac_top_srcdir
=$srcdir
7934 ac_abs_top_srcdir
=$srcdir ;;
7936 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7937 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7938 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7940 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7950 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7951 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7956 # If the template does not know about datarootdir, expand it.
7957 # FIXME: This hack should be removed a few years after 2.60.
7958 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7969 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7970 *datarootdir
*) ac_datarootdir_seen
=yes;;
7971 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7973 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7976 ac_datarootdir_hack='
7977 s&@datadir@&$datadir&g
7978 s&@docdir@&$docdir&g
7979 s&@infodir@&$infodir&g
7980 s&@localedir@&$localedir&g
7981 s&@mandir@&$mandir&g
7982 s&\\\${datarootdir}&$datarootdir&g' ;;
7986 # Neutralize VPATH when `$srcdir' = `.'.
7987 # Shell code in configure.ac might set extrasub.
7988 # FIXME: do we really want to maintain this feature?
7989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7990 ac_sed_extra="$ac_vpsub
7993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7995 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7996 s|@configure_input@|
$ac_sed_conf_input|
;t t
7997 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7998 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7999 s
&@srcdir@
&$ac_srcdir&;t t
8000 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8001 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8002 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8003 s
&@builddir@
&$ac_builddir&;t t
8004 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8005 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8006 s
&@INSTALL@
&$ac_INSTALL&;t t
8007 $ac_datarootdir_hack
8009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8010 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8013 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8015 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8017 which seems to be undefined. Please make sure it is defined" >&5
8018 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8019 which seems to be undefined. Please make sure it is defined" >&2;}
8021 rm -f "$ac_tmp/stdin"
8023 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8024 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8026 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8032 if test x"$ac_file" != x-; then
8034 $as_echo "/* $configure_input */" \
8035 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8036 } >"$ac_tmp/config.h" \
8037 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8038 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8040 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8043 mv "$ac_tmp/config.h" "$ac_file" \
8044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8047 $as_echo "/* $configure_input */" \
8048 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8049 || as_fn_error $? "could not create -" "$LINENO" 5
8053 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8054 $as_echo "$as_me: executing $ac_file commands" >&6;}
8059 case $ac_file$ac_mode in
8061 for ac_file in $CONFIG_FILES; do
8062 # Support "outfile[:infile[:infile...]]"
8064 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
8066 # PO directories have a Makefile.in generated from Makefile.in.in.
8067 case "$ac_file" in */Makefile.in)
8068 # Adjust a relative srcdir.
8069 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
8070 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
8071 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
8072 # In autoconf-2.13 it is called $ac_given_srcdir.
8073 # In autoconf-2.50 it is called $srcdir.
8074 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8075 case "$ac_given_srcdir" in
8076 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
8077 /*) top_srcdir="$ac_given_srcdir" ;;
8078 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8080 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8081 rm -f "$ac_dir/POTFILES"
8082 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8083 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8084 POMAKEFILEDEPS="POTFILES.in"
8085 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8086 # on $ac_dir but don't depend on user-specified configuration
8088 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8089 # The LINGUAS file contains the set of available languages.
8090 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8091 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
8093 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8094 # Hide the ALL_LINGUAS assigment from automake.
8095 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8096 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8098 # The set of available languages was given in configure.ac.
8099 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8101 case "$ac_given_srcdir" in
8103 *) srcdirpre
='$(srcdir)/' ;;
8109 for lang
in $ALL_LINGUAS; do
8110 POFILES
="$POFILES $srcdirpre$lang.po"
8111 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8112 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8113 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8115 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8116 # environment variable.
8118 if test -n "$ALL_LINGUAS"; then
8119 for presentlang
in $ALL_LINGUAS; do
8121 if test "%UNSET%" != "$LINGUAS"; then
8122 desiredlanguages
="$LINGUAS"
8124 desiredlanguages
="$ALL_LINGUAS"
8126 for desiredlang
in $desiredlanguages; do
8127 # Use the presentlang catalog if desiredlang is
8128 # a. equal to presentlang, or
8129 # b. a variant of presentlang (because in this case,
8130 # presentlang can be used as a fallback for messages
8131 # which are not translated in the desiredlang catalog).
8132 case "$desiredlang" in
8133 "$presentlang"*) useit
=yes;;
8136 if test $useit = yes; then
8137 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8142 if test -n "$INST_LINGUAS"; then
8143 for lang
in $INST_LINGUAS; do
8144 CATALOGS
="$CATALOGS $lang.gmo"
8147 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8148 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"
8149 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8150 if test -f "$f"; then
8152 *.orig |
*.bak |
*~
) ;;
8153 *) cat "$f" >> "$ac_dir/Makefile" ;;
8168 ac_clean_files
=$ac_clean_files_save
8170 test $ac_write_fail = 0 ||
8171 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8174 # configure is writing to config.log, and then calls config.status.
8175 # config.status does its own redirection, appending to config.log.
8176 # Unfortunately, on DOS this fails, as config.log is still kept open
8177 # by configure, so config.status won't be able to write to it; its
8178 # output is simply discarded. So we exec the FD to /dev/null,
8179 # effectively closing config.log, so it can be properly (re)opened and
8180 # appended to by config.status. When coming back to configure, we
8181 # need to make the FD available again.
8182 if test "$no_create" != yes; then
8184 ac_config_status_args
=
8185 test "$silent" = yes &&
8186 ac_config_status_args
="$ac_config_status_args --quiet"
8188 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8190 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8191 # would make configure fail if this is the last instruction.
8192 $ac_cs_success || as_fn_exit
1
8194 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8196 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}