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
722 with_included_gettext
724 enable_maintainer_mode
726 ac_precious_vars
='build_alias
737 # Initialize some variables set by options.
739 ac_init_version
=false
740 ac_unrecognized_opts
=
742 # The variables have the same names as the options, with
743 # dashes changed to underlines.
751 program_transform_name
=s
,x
,x
,
759 # Installation directory options.
760 # These are left unexpanded so users can "make install exec_prefix=/foo"
761 # and all the variables that are supposed to be based on exec_prefix
762 # by default will actually change.
763 # Use braces instead of parens because sh, perl, etc. also accept them.
764 # (The list follows the same order as the GNU Coding Standards.)
765 bindir
='${exec_prefix}/bin'
766 sbindir
='${exec_prefix}/sbin'
767 libexecdir
='${exec_prefix}/libexec'
768 datarootdir
='${prefix}/share'
769 datadir
='${datarootdir}'
770 sysconfdir
='${prefix}/etc'
771 sharedstatedir
='${prefix}/com'
772 localstatedir
='${prefix}/var'
773 includedir
='${prefix}/include'
774 oldincludedir
='/usr/include'
775 docdir
='${datarootdir}/doc/${PACKAGE}'
776 infodir
='${datarootdir}/info'
781 libdir
='${exec_prefix}/lib'
782 localedir
='${datarootdir}/locale'
783 mandir
='${datarootdir}/man'
789 # If the previous option needs an argument, assign it.
790 if test -n "$ac_prev"; then
791 eval $ac_prev=\
$ac_option
797 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
802 # Accept the important Cygnus configure options, so we can diagnose typos.
804 case $ac_dashdash$ac_option in
808 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
810 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
813 -build |
--build |
--buil |
--bui |
--bu)
814 ac_prev
=build_alias
;;
815 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
816 build_alias
=$ac_optarg ;;
818 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
819 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
820 ac_prev
=cache_file
;;
821 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
822 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
823 cache_file
=$ac_optarg ;;
826 cache_file
=config.cache
;;
828 -datadir |
--datadir |
--datadi |
--datad)
830 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
831 datadir
=$ac_optarg ;;
833 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
834 |
--dataroo |
--dataro |
--datar)
835 ac_prev
=datarootdir
;;
836 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
837 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
838 datarootdir
=$ac_optarg ;;
840 -disable-* |
--disable-*)
841 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842 # Reject names that are not valid shell variable names.
843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
844 as_fn_error $?
"invalid feature name: $ac_useropt"
845 ac_useropt_orig
=$ac_useropt
846 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847 case $ac_user_opts in
851 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
852 ac_unrecognized_sep
=', ';;
854 eval enable_
$ac_useropt=no
;;
856 -docdir |
--docdir |
--docdi |
--doc |
--do)
858 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
861 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
863 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
866 -enable-* |
--enable-*)
867 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
870 as_fn_error $?
"invalid feature name: $ac_useropt"
871 ac_useropt_orig
=$ac_useropt
872 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
878 ac_unrecognized_sep
=', ';;
880 eval enable_
$ac_useropt=\
$ac_optarg ;;
882 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
883 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
884 |
--exec |
--exe |
--ex)
885 ac_prev
=exec_prefix
;;
886 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
887 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
888 |
--exec=* |
--exe=* |
--ex=*)
889 exec_prefix
=$ac_optarg ;;
891 -gas |
--gas |
--ga |
--g)
892 # Obsolete; use --with-gas.
895 -help |
--help |
--hel |
--he |
-h)
897 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
898 ac_init_help
=recursive
;;
899 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
900 ac_init_help
=short
;;
902 -host |
--host |
--hos |
--ho)
903 ac_prev
=host_alias
;;
904 -host=* |
--host=* |
--hos=* |
--ho=*)
905 host_alias
=$ac_optarg ;;
907 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
909 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
911 htmldir
=$ac_optarg ;;
913 -includedir |
--includedir |
--includedi |
--included |
--include \
914 |
--includ |
--inclu |
--incl |
--inc)
915 ac_prev
=includedir
;;
916 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
917 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
918 includedir
=$ac_optarg ;;
920 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
922 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
923 infodir
=$ac_optarg ;;
925 -libdir |
--libdir |
--libdi |
--libd)
927 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
930 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
931 |
--libexe |
--libex |
--libe)
932 ac_prev
=libexecdir
;;
933 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
934 |
--libexe=* |
--libex=* |
--libe=*)
935 libexecdir
=$ac_optarg ;;
937 -localedir |
--localedir |
--localedi |
--localed |
--locale)
939 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
940 localedir
=$ac_optarg ;;
942 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
943 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
944 ac_prev
=localstatedir
;;
945 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
946 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
947 localstatedir
=$ac_optarg ;;
949 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
951 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
955 # Obsolete; use --without-fp.
958 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
959 |
--no-cr |
--no-c |
-n)
962 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
963 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
966 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
967 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
968 |
--oldin |
--oldi |
--old |
--ol |
--o)
969 ac_prev
=oldincludedir
;;
970 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
971 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
972 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
973 oldincludedir
=$ac_optarg ;;
975 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
977 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
980 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
981 |
--program-pre |
--program-pr |
--program-p)
982 ac_prev
=program_prefix
;;
983 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
984 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
985 program_prefix
=$ac_optarg ;;
987 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
988 |
--program-suf |
--program-su |
--program-s)
989 ac_prev
=program_suffix
;;
990 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
991 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
992 program_suffix
=$ac_optarg ;;
994 -program-transform-name |
--program-transform-name \
995 |
--program-transform-nam |
--program-transform-na \
996 |
--program-transform-n |
--program-transform- \
997 |
--program-transform |
--program-transfor \
998 |
--program-transfo |
--program-transf \
999 |
--program-trans |
--program-tran \
1000 |
--progr-tra |
--program-tr |
--program-t)
1001 ac_prev
=program_transform_name
;;
1002 -program-transform-name=* |
--program-transform-name=* \
1003 |
--program-transform-nam=* |
--program-transform-na=* \
1004 |
--program-transform-n=* |
--program-transform-=* \
1005 |
--program-transform=* |
--program-transfor=* \
1006 |
--program-transfo=* |
--program-transf=* \
1007 |
--program-trans=* |
--program-tran=* \
1008 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1009 program_transform_name
=$ac_optarg ;;
1011 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1013 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1014 pdfdir
=$ac_optarg ;;
1016 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1018 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1021 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1022 |
-silent |
--silent |
--silen |
--sile |
--sil)
1025 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1027 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1029 sbindir
=$ac_optarg ;;
1031 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1032 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1033 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1035 ac_prev
=sharedstatedir
;;
1036 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1037 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1038 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1040 sharedstatedir
=$ac_optarg ;;
1042 -site |
--site |
--sit)
1044 -site=* |
--site=* |
--sit=*)
1047 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1049 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1050 srcdir
=$ac_optarg ;;
1052 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1053 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1054 ac_prev
=sysconfdir
;;
1055 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1056 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1057 sysconfdir
=$ac_optarg ;;
1059 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1060 ac_prev
=target_alias
;;
1061 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1062 target_alias
=$ac_optarg ;;
1064 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1067 -version |
--version |
--versio |
--versi |
--vers |
-V)
1068 ac_init_version
=: ;;
1071 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1074 as_fn_error $?
"invalid package name: $ac_useropt"
1075 ac_useropt_orig
=$ac_useropt
1076 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1081 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1082 ac_unrecognized_sep
=', ';;
1084 eval with_
$ac_useropt=\
$ac_optarg ;;
1086 -without-* |
--without-*)
1087 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1090 as_fn_error $?
"invalid package name: $ac_useropt"
1091 ac_useropt_orig
=$ac_useropt
1092 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1097 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1098 ac_unrecognized_sep
=', ';;
1100 eval with_
$ac_useropt=no
;;
1103 # Obsolete; use --with-x.
1106 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1107 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1108 ac_prev
=x_includes
;;
1109 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1110 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1111 x_includes
=$ac_optarg ;;
1113 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1114 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1115 ac_prev
=x_libraries
;;
1116 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1117 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1118 x_libraries
=$ac_optarg ;;
1120 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1121 Try \`$0 --help' for more information"
1125 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1126 # Reject names that are not valid shell variable names.
1127 case $ac_envvar in #(
1128 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1129 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1131 eval $ac_envvar=\
$ac_optarg
1132 export $ac_envvar ;;
1135 # FIXME: should be removed in autoconf 3.0.
1136 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1137 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1138 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1139 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1145 if test -n "$ac_prev"; then
1146 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1147 as_fn_error $?
"missing argument to $ac_option"
1150 if test -n "$ac_unrecognized_opts"; then
1151 case $enable_option_checking in
1153 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1154 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1158 # Check all directory arguments for consistency.
1159 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1160 datadir sysconfdir sharedstatedir localstatedir includedir \
1161 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1162 libdir localedir mandir
1164 eval ac_val
=\$
$ac_var
1165 # Remove trailing slashes.
1168 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1169 eval $ac_var=\
$ac_val;;
1171 # Be sure to have absolute directory names.
1173 [\\/$
]* | ?
:[\\/]* ) continue;;
1174 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1176 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1184 target
=$target_alias
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x
; then
1188 if test "x$build_alias" = x
; then
1189 cross_compiling
=maybe
1190 elif test "x$build_alias" != "x$host_alias"; then
1196 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1198 test "$silent" = yes && exec 6>/dev
/null
1201 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1202 ac_ls_di
=`ls -di .` &&
1203 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1204 as_fn_error $?
"working directory cannot be determined"
1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1206 as_fn_error $?
"pwd does not report name of working directory"
1209 # Find the source files, if location was not specified.
1210 if test -z "$srcdir"; then
1211 ac_srcdir_defaulted
=yes
1212 # Try the directory containing this script, then the parent directory.
1213 ac_confdir
=`$as_dirname -- "$as_myself" ||
1214 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1215 X"$as_myself" : 'X\(//\)[^/]' \| \
1216 X"$as_myself" : 'X\(//\)$' \| \
1217 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1218 $as_echo X"$as_myself" |
1219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1241 ac_srcdir_defaulted
=no
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1245 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1247 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1249 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1251 # When building in place, set srcdir=.
1252 if test "$ac_abs_confdir" = "$ac_pwd"; then
1255 # Remove unnecessary trailing slashes from srcdir.
1256 # Double slashes in file names in object file debugging info
1257 # mess up M-x gdb in Emacs.
1259 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1261 for ac_var
in $ac_precious_vars; do
1262 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1263 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1264 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1265 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1269 # Report the --help message.
1271 if test "$ac_init_help" = "long"; then
1272 # Omit some internal or obsolete options to make the list less imposing.
1273 # This message is too long to be a string in the A/UX 3.1 sh.
1275 \`configure' configures this package to adapt to many kinds of systems.
1277 Usage: $0 [OPTION]... [VAR=VALUE]...
1279 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1280 VAR=VALUE. See below for descriptions of some of the useful variables.
1282 Defaults for the options are specified in brackets.
1285 -h, --help display this help and exit
1286 --help=short display options specific to this package
1287 --help=recursive display the short help of all the included packages
1288 -V, --version display version information and exit
1289 -q, --quiet, --silent do not print \`checking ...' messages
1290 --cache-file=FILE cache test results in FILE [disabled]
1291 -C, --config-cache alias for \`--cache-file=config.cache'
1292 -n, --no-create do not create output files
1293 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1295 Installation directories:
1296 --prefix=PREFIX install architecture-independent files in PREFIX
1297 [$ac_default_prefix]
1298 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1301 By default, \`make install' will install all the files in
1302 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1303 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1304 for instance \`--prefix=\$HOME'.
1306 For better control, use the options below.
1308 Fine tuning of the installation directories:
1309 --bindir=DIR user executables [EPREFIX/bin]
1310 --sbindir=DIR system admin executables [EPREFIX/sbin]
1311 --libexecdir=DIR program executables [EPREFIX/libexec]
1312 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1313 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1314 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1315 --libdir=DIR object code libraries [EPREFIX/lib]
1316 --includedir=DIR C header files [PREFIX/include]
1317 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1318 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1319 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1320 --infodir=DIR info documentation [DATAROOTDIR/info]
1321 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1322 --mandir=DIR man documentation [DATAROOTDIR/man]
1323 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1324 --htmldir=DIR html documentation [DOCDIR]
1325 --dvidir=DIR dvi documentation [DOCDIR]
1326 --pdfdir=DIR pdf documentation [DOCDIR]
1327 --psdir=DIR ps documentation [DOCDIR]
1333 --build=BUILD configure
for building on BUILD
[guessed
]
1334 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1338 if test -n "$ac_init_help"; then
1343 --disable-option-checking ignore unrecognized
--enable/--with options
1344 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1345 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1346 --disable-nls do not use Native Language Support
1347 --disable-rpath do not hardcode runtime library paths
1348 --enable-maintainer-mode enable rules only needed by maintainers
1351 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1352 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1353 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1354 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1355 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1356 --with-included-gettext use the GNU gettext library included here
1357 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1358 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1360 Some influential environment variables
:
1361 CC C compiler
command
1362 CFLAGS C compiler flags
1363 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1364 nonstandard directory
<lib dir
>
1365 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1366 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1367 you have headers
in a nonstandard directory
<include dir
>
1370 Use these variables to override the choices made by
`configure' or to help
1371 it to find libraries and programs with nonstandard names/locations.
1373 Report bugs to the package provider.
1378 if test "$ac_init_help" = "recursive"; then
1379 # If there are subdirs, report their specific --help.
1380 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1381 test -d "$ac_dir" ||
1382 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1387 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1390 # A ".." for each directory in $ac_dir_suffix.
1391 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1392 case $ac_top_builddir_sub in
1393 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1394 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1397 ac_abs_top_builddir=$ac_pwd
1398 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1399 # for backward compatibility:
1400 ac_top_builddir=$ac_top_build_prefix
1403 .) # We are building in place.
1405 ac_top_srcdir=$ac_top_builddir_sub
1406 ac_abs_top_srcdir=$ac_pwd ;;
1407 [\\/]* | ?:[\\/]* ) # Absolute name.
1408 ac_srcdir=$srcdir$ac_dir_suffix;
1409 ac_top_srcdir=$srcdir
1410 ac_abs_top_srcdir=$srcdir ;;
1412 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1413 ac_top_srcdir=$ac_top_build_prefix$srcdir
1414 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1416 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1418 cd "$ac_dir" || { ac_status=$?; continue; }
1419 # Check for guested configure.
1420 if test -f "$ac_srcdir/configure.gnu"; then
1422 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1423 elif test -f "$ac_srcdir/configure"; then
1425 $SHELL "$ac_srcdir/configure" --help=recursive
1427 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1429 cd "$ac_pwd" || { ac_status=$?; break; }
1433 test -n "$ac_init_help" && exit $ac_status
1434 if $ac_init_version; then
1437 generated by GNU Autoconf 2.69
1439 Copyright (C) 2012 Free Software Foundation, Inc.
1440 This configure script is free software; the Free Software Foundation
1441 gives unlimited permission to copy, distribute and modify it.
1446 ## ------------------------ ##
1447 ## Autoconf initialization. ##
1448 ## ------------------------ ##
1450 # ac_fn_c_try_compile LINENO
1451 # --------------------------
1452 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1453 ac_fn_c_try_compile ()
1455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1456 rm -f conftest.$ac_objext
1457 if { { ac_try="$ac_compile"
1459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1460 *) ac_try_echo
=$ac_try;;
1462 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1463 $as_echo "$ac_try_echo"; } >&5
1464 (eval "$ac_compile") 2>conftest.err
1466 if test -s conftest.err
; then
1467 grep -v '^ *+' conftest.err
>conftest.er1
1468 cat conftest.er1
>&5
1469 mv -f conftest.er1 conftest.err
1471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1472 test $ac_status = 0; } && {
1473 test -z "$ac_c_werror_flag" ||
1474 test ! -s conftest.err
1475 } && test -s conftest.
$ac_objext; then :
1478 $as_echo "$as_me: failed program was:" >&5
1479 sed 's/^/| /' conftest.
$ac_ext >&5
1483 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1484 as_fn_set_status
$ac_retval
1486 } # ac_fn_c_try_compile
1488 # ac_fn_c_try_cpp LINENO
1489 # ----------------------
1490 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1493 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1494 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1497 *) ac_try_echo=$ac_try;;
1499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500 $as_echo "$ac_try_echo"; } >&5
1501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1503 if test -s conftest.err; then
1504 grep -v '^ *+' conftest.err >conftest.er1
1505 cat conftest.er1 >&5
1506 mv -f conftest.er1 conftest.err
1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509 test $ac_status = 0; } > conftest.i && {
1510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1511 test ! -s conftest.err
1515 $as_echo "$as_me: failed program was:" >&5
1516 sed 's/^/| /' conftest.$ac_ext >&5
1520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1521 as_fn_set_status $ac_retval
1525 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1526 # -------------------------------------------------------
1527 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1528 # the include files in INCLUDES and setting the cache variable VAR
1530 ac_fn_c_check_header_mongrel ()
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 if eval \${$3+:} false; then :
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1535 $as_echo_n "checking for $2... " >&6; }
1536 if eval \${$3+:} false; then :
1537 $as_echo_n "(cached) " >&6
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1541 $as_echo "$ac_res" >&6; }
1543 # Is the header compilable?
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1545 $as_echo_n "checking $2 usability... " >&6; }
1546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1547 /* end confdefs.h. */
1551 if ac_fn_c_try_compile "$LINENO"; then :
1552 ac_header_compiler=yes
1554 ac_header_compiler=no
1556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1558 $as_echo "$ac_header_compiler" >&6; }
1560 # Is the header present?
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1562 $as_echo_n "checking $2 presence... " >&6; }
1563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1564 /* end confdefs.h. */
1567 if ac_fn_c_try_cpp "$LINENO"; then :
1568 ac_header_preproc=yes
1570 ac_header_preproc=no
1572 rm -f conftest.err conftest.i conftest.$ac_ext
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1574 $as_echo "$ac_header_preproc" >&6; }
1576 # So? What about this header?
1577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1580 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1582 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1586 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1588 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1590 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1592 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1594 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if eval \${$3+:} false; then :
1600 $as_echo_n "(cached) " >&6
1602 eval "$3=\$ac_header_compiler"
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606 $as_echo "$ac_res" >&6; }
1608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610 } # ac_fn_c_check_header_mongrel
1612 # ac_fn_c_try_run LINENO
1613 # ----------------------
1614 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1615 # that executables *can* be run.
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 if { { ac_try="$ac_link"
1621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1622 *) ac_try_echo
=$ac_try;;
1624 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_link") 2>&5
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1630 { { case "(($ac_try" in
1631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_try") 2>&5
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; }; }; then :
1642 $as_echo "$as_me: program exited with status $ac_status" >&5
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1646 ac_retval=$ac_status
1648 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1654 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655 # -------------------------------------------------------
1656 # Tests whether HEADER exists and can be compiled using the include files in
1657 # INCLUDES, setting the cache variable VAR accordingly.
1658 ac_fn_c_check_header_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if eval \${$3+:} false; then :
1664 $as_echo_n "(cached) " >&6
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1671 if ac_fn_c_try_compile "$LINENO"; then :
1676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 $as_echo "$ac_res" >&6; }
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 } # ac_fn_c_check_header_compile
1685 # ac_fn_c_try_link LINENO
1686 # -----------------------
1687 # Try to link conftest.$ac_ext, and return whether this succeeded.
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 rm -f conftest.$ac_objext conftest$ac_exeext
1692 if { { ac_try="$ac_link"
1694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1695 *) ac_try_echo
=$ac_try;;
1697 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_link") 2>conftest.err
1701 if test -s conftest.err
; then
1702 grep -v '^ *+' conftest.err
>conftest.er1
1703 cat conftest.er1
>&5
1704 mv -f conftest.er1 conftest.err
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest
$ac_exeext && {
1711 test "$cross_compiling" = yes ||
1712 test -x conftest
$ac_exeext
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.
$ac_ext >&5
1721 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1722 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1723 # interfere with the next link command; also delete a directory that is
1724 # left behind by Apple's compiler. We do this before executing the actions.
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status
$ac_retval
1729 } # ac_fn_c_try_link
1731 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1732 # -------------------------------------------
1733 # Tests whether TYPE exists after having included INCLUDES, setting cache
1734 # variable VAR accordingly.
1735 ac_fn_c_check_type
()
1737 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \
${$3+:} false
; then :
1741 $as_echo_n "(cached) " >&6
1744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1756 if ac_fn_c_try_compile
"$LINENO"; then :
1757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1769 if ac_fn_c_try_compile
"$LINENO"; then :
1774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 } # ac_fn_c_check_type
1785 # ac_fn_c_check_func LINENO FUNC VAR
1786 # ----------------------------------
1787 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1788 ac_fn_c_check_func
()
1790 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 $as_echo_n "checking for $2... " >&6; }
1793 if eval \
${$3+:} false
; then :
1794 $as_echo_n "(cached) " >&6
1796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1798 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1800 #define $2 innocuous_$2
1802 /* System header to define __stub macros and hopefully few prototypes,
1803 which can conflict with char $2 (); below.
1804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1805 <limits.h> exists even on freestanding compilers. */
1808 # include <limits.h>
1810 # include <assert.h>
1815 /* Override any GCC internal prototype to avoid an error.
1816 Use char because int might match the return type of a GCC
1817 builtin and then its argument prototype would still apply. */
1822 /* The GNU C library defines this for functions which it implements
1823 to always fail with ENOSYS. Some functions are actually named
1824 something starting with __ and the normal name is an alias. */
1825 #if defined __stub_$2 || defined __stub___$2
1837 if ac_fn_c_try_link
"$LINENO"; then :
1842 rm -f core conftest.err conftest.
$ac_objext \
1843 conftest
$ac_exeext conftest.
$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 } # ac_fn_c_check_func
1851 cat >config.log
<<_ACEOF
1852 This file contains any messages produced by compilers while
1853 running configure, to aid debugging if configure makes a mistake.
1855 It was created by $as_me, which was
1856 generated by GNU Autoconf 2.69. Invocation command line was
1868 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1869 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1870 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1871 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1872 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1874 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1875 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1877 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1878 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1879 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1880 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1881 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1882 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1883 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1891 test -z "$as_dir" && as_dir
=.
1892 $as_echo "PATH: $as_dir"
1908 # Keep a trace of the command line.
1909 # Strip out --no-create and --no-recursion so they do not pile up.
1910 # Strip out --silent because we don't want to record it for future runs.
1911 # Also quote any args containing shell meta-characters.
1912 # Make two passes to allow for proper duplicate-argument suppression.
1916 ac_must_keep_next
=false
1922 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1923 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1924 |
-silent |
--silent |
--silen |
--sile |
--sil)
1927 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1930 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1932 as_fn_append ac_configure_args1
" '$ac_arg'"
1933 if test $ac_must_keep_next = true
; then
1934 ac_must_keep_next
=false
# Got value, back to normal.
1937 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1938 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1939 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1940 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1941 case "$ac_configure_args0 " in
1942 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1945 -* ) ac_must_keep_next
=true
;;
1948 as_fn_append ac_configure_args
" '$ac_arg'"
1953 { ac_configure_args0
=; unset ac_configure_args0
;}
1954 { ac_configure_args1
=; unset ac_configure_args1
;}
1956 # When interrupted or exit'd, cleanup temporary files, and complete
1957 # config.log. We remove comments because anyway the quotes in there
1958 # would cause problems or look ugly.
1959 # WARNING: Use '\'' to represent an apostrophe within the trap.
1960 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1961 trap 'exit_status=$?
1962 # Save into config.log some information that might help in debugging.
1966 $as_echo "## ---------------- ##
1967 ## Cache variables. ##
1968 ## ---------------- ##"
1970 # The following way of writing the cache mishandles newlines in values,
1972 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1973 eval ac_val=\$$ac_var
1977 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1981 _ | IFS | as_nl) ;; #(
1982 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1983 *) { eval $ac_var=; unset $ac_var;} ;;
1988 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1989 *${as_nl}ac_space=\ *)
1991 "s/'\''/'\''\\\\'\'''\''/g;
1992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1995 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2002 $as_echo "## ----------------- ##
2003 ## Output variables. ##
2004 ## ----------------- ##"
2006 for ac_var in $ac_subst_vars
2008 eval ac_val=\$$ac_var
2010 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2012 $as_echo "$ac_var='\''$ac_val'\''"
2016 if test -n "$ac_subst_files"; then
2017 $as_echo "## ------------------- ##
2018 ## File substitutions. ##
2019 ## ------------------- ##"
2021 for ac_var
in $ac_subst_files
2023 eval ac_val
=\$
$ac_var
2025 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2027 $as_echo "$ac_var='\''$ac_val'\''"
2032 if test -s confdefs.h; then
2033 $as_echo "## ----------- ##
2040 test "$ac_signal" != 0 &&
2041 $as_echo "$as_me: caught signal $ac_signal"
2042 $as_echo "$as_me: exit $exit_status"
2044 rm -f core *.core core.conftest.* &&
2045 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2048 for ac_signal
in 1 2 13 15; do
2049 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2053 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2054 rm -f -r conftest
* confdefs.h
2056 $as_echo "/* confdefs.h */" > confdefs.h
2058 # Predefined preprocessor variables.
2060 cat >>confdefs.h
<<_ACEOF
2061 #define PACKAGE_NAME "$PACKAGE_NAME"
2064 cat >>confdefs.h
<<_ACEOF
2065 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2068 cat >>confdefs.h
<<_ACEOF
2069 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2072 cat >>confdefs.h
<<_ACEOF
2073 #define PACKAGE_STRING "$PACKAGE_STRING"
2076 cat >>confdefs.h
<<_ACEOF
2077 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2080 cat >>confdefs.h
<<_ACEOF
2081 #define PACKAGE_URL "$PACKAGE_URL"
2085 # Let the site file select an alternate cache file if it wants to.
2086 # Prefer an explicitly selected file to automatically selected ones.
2089 if test -n "$CONFIG_SITE"; then
2090 # We do not want a PATH search for config.site.
2091 case $CONFIG_SITE in #((
2092 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2093 */*) ac_site_file1
=$CONFIG_SITE;;
2094 *) ac_site_file1
=.
/$CONFIG_SITE;;
2096 elif test "x$prefix" != xNONE
; then
2097 ac_site_file1
=$prefix/share
/config.site
2098 ac_site_file2
=$prefix/etc
/config.site
2100 ac_site_file1
=$ac_default_prefix/share
/config.site
2101 ac_site_file2
=$ac_default_prefix/etc
/config.site
2103 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2105 test "x$ac_site_file" = xNONE
&& continue
2106 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2108 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2109 sed 's/^/| /' "$ac_site_file" >&5
2111 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2113 as_fn_error $?
"failed to load site script $ac_site_file
2114 See \`config.log' for more details" "$LINENO" 5; }
2118 if test -r "$cache_file"; then
2119 # Some versions of bash will fail to source /dev/null (special files
2120 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2121 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2123 $as_echo "$as_me: loading cache $cache_file" >&6;}
2125 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2126 *) .
"./$cache_file";;
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2131 $as_echo "$as_me: creating cache $cache_file" >&6;}
2135 as_fn_append ac_header_list
" stdlib.h"
2136 as_fn_append ac_header_list
" unistd.h"
2137 as_fn_append ac_header_list
" sys/param.h"
2138 # Check that the precious variables saved in the cache have kept the same
2140 ac_cache_corrupted
=false
2141 for ac_var
in $ac_precious_vars; do
2142 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2143 eval ac_new_set
=\
$ac_env_${ac_var}_set
2144 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2145 eval ac_new_val
=\
$ac_env_${ac_var}_value
2146 case $ac_old_set,$ac_new_set in
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2149 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2150 ac_cache_corrupted
=: ;;
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2153 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2154 ac_cache_corrupted
=: ;;
2157 if test "x$ac_old_val" != "x$ac_new_val"; then
2158 # differences in whitespace do not lead to failure.
2159 ac_old_val_w
=`echo x $ac_old_val`
2160 ac_new_val_w
=`echo x $ac_new_val`
2161 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2163 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2164 ac_cache_corrupted
=:
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2167 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2168 eval $ac_var=\
$ac_old_val
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2171 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2173 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2176 # Pass precious variables to config.status.
2177 if test "$ac_new_set" = set; then
2179 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2180 *) ac_arg
=$ac_var=$ac_new_val ;;
2182 case " $ac_configure_args " in
2183 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2184 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2188 if $ac_cache_corrupted; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2192 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2193 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2195 ## -------------------- ##
2196 ## Main body of script. ##
2197 ## -------------------- ##
2200 ac_cpp
='$CPP $CPPFLAGS'
2201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2210 ac_cpp
='$CPP $CPPFLAGS'
2211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2214 if test -n "$ac_tool_prefix"; then
2215 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2216 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2218 $as_echo_n "checking for $ac_word... " >&6; }
2219 if ${ac_cv_prog_CC+:} false
; then :
2220 $as_echo_n "(cached) " >&6
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC
="$CC" # Let the user override the test.
2225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir
=.
2230 for ac_exec_ext
in '' $ac_executable_extensions; do
2231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2232 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 if test -n "$CC"; then
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2245 $as_echo "$CC" >&6; }
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2248 $as_echo "no" >&6; }
2253 if test -z "$ac_cv_prog_CC"; then
2255 # Extract the first word of "gcc", so it can be a program name with args.
2256 set dummy gcc
; ac_word
=$2
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2258 $as_echo_n "checking for $ac_word... " >&6; }
2259 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2260 $as_echo_n "(cached) " >&6
2262 if test -n "$ac_ct_CC"; then
2263 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir
=.
2270 for ac_exec_ext
in '' $ac_executable_extensions; do
2271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_ac_ct_CC
="gcc"
2273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2283 if test -n "$ac_ct_CC"; then
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2285 $as_echo "$ac_ct_CC" >&6; }
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2288 $as_echo "no" >&6; }
2291 if test "x$ac_ct_CC" = x
; then
2294 case $cross_compiling:$ac_tool_warned in
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2298 ac_tool_warned
=yes ;;
2306 if test -z "$CC"; then
2307 if test -n "$ac_tool_prefix"; then
2308 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2309 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2311 $as_echo_n "checking for $ac_word... " >&6; }
2312 if ${ac_cv_prog_CC+:} false
; then :
2313 $as_echo_n "(cached) " >&6
2315 if test -n "$CC"; then
2316 ac_cv_prog_CC
="$CC" # Let the user override the test.
2318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2322 test -z "$as_dir" && as_dir
=.
2323 for ac_exec_ext
in '' $ac_executable_extensions; do
2324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2325 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 if test -n "$CC"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2338 $as_echo "$CC" >&6; }
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2341 $as_echo "no" >&6; }
2347 if test -z "$CC"; then
2348 # Extract the first word of "cc", so it can be a program name with args.
2349 set dummy cc
; ac_word
=$2
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if ${ac_cv_prog_CC+:} false
; then :
2353 $as_echo_n "(cached) " >&6
2355 if test -n "$CC"; then
2356 ac_cv_prog_CC
="$CC" # Let the user override the test.
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir
=.
2364 for ac_exec_ext
in '' $ac_executable_extensions; do
2365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2366 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2367 ac_prog_rejected
=yes
2371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 if test $ac_prog_rejected = yes; then
2379 # We found a bogon in the path, so make sure we never use it.
2380 set dummy
$ac_cv_prog_CC
2382 if test $# != 0; then
2383 # We chose a different compiler from the bogus one.
2384 # However, it has the same basename, so the bogon will be chosen
2385 # first if we set CC to just the basename; use the full file name.
2387 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2393 if test -n "$CC"; then
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2395 $as_echo "$CC" >&6; }
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2398 $as_echo "no" >&6; }
2403 if test -z "$CC"; then
2404 if test -n "$ac_tool_prefix"; then
2405 for ac_prog
in cl.exe
2407 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2408 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2410 $as_echo_n "checking for $ac_word... " >&6; }
2411 if ${ac_cv_prog_CC+:} false
; then :
2412 $as_echo_n "(cached) " >&6
2414 if test -n "$CC"; then
2415 ac_cv_prog_CC
="$CC" # Let the user override the test.
2417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2421 test -z "$as_dir" && as_dir
=.
2422 for ac_exec_ext
in '' $ac_executable_extensions; do
2423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2424 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 if test -n "$CC"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2437 $as_echo "$CC" >&6; }
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2440 $as_echo "no" >&6; }
2444 test -n "$CC" && break
2447 if test -z "$CC"; then
2449 for ac_prog
in cl.exe
2451 # Extract the first word of "$ac_prog", so it can be a program name with args.
2452 set dummy
$ac_prog; ac_word
=$2
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2454 $as_echo_n "checking for $ac_word... " >&6; }
2455 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2456 $as_echo_n "(cached) " >&6
2458 if test -n "$ac_ct_CC"; then
2459 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir
=.
2466 for ac_exec_ext
in '' $ac_executable_extensions; do
2467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2468 ac_cv_prog_ac_ct_CC
="$ac_prog"
2469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2479 if test -n "$ac_ct_CC"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2481 $as_echo "$ac_ct_CC" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484 $as_echo "no" >&6; }
2488 test -n "$ac_ct_CC" && break
2491 if test "x$ac_ct_CC" = x
; then
2494 case $cross_compiling:$ac_tool_warned in
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2498 ac_tool_warned
=yes ;;
2507 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509 as_fn_error $?
"no acceptable C compiler found in \$PATH
2510 See \`config.log' for more details" "$LINENO" 5; }
2512 # Provide some information about the compiler.
2513 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2516 for ac_option
in --version -v -V -qversion; do
2517 { { ac_try
="$ac_compiler $ac_option >&5"
2519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2523 $as_echo "$ac_try_echo"; } >&5
2524 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2526 if test -s conftest.err; then
2528 ... rest of stderr output deleted ...
2529 10q' conftest.err >conftest.er1
2530 cat conftest.er1 >&5
2532 rm -f conftest.er1 conftest.err
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; }
2537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2548 ac_clean_files_save=$ac_clean_files
2549 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2550 # Try to create an executable without -o first, disregard a.out.
2551 # It will help us diagnose broken compilers, and finding out an intuition
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2554 $as_echo_n "checking whether the C compiler works... " >&6; }
2555 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2557 # The possible output files:
2558 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2561 for ac_file in $ac_files
2564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2565 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2570 if { { ac_try="$ac_link_default"
2572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2573 *) ac_try_echo
=$ac_try;;
2575 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_link_default") 2>&5
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; }; then :
2581 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2582 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2583 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2584 # so that the user can short-circuit this test for compilers unknown to
2586 for ac_file
in $ac_files ''
2588 test -f "$ac_file" ||
continue
2590 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2593 # We found the default executable, but exeext='' is most
2597 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2599 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2601 # We set ac_cv_exeext here because the later test for it is not
2602 # safe: cross compilers may not add the suffix if given an `-o'
2603 # argument, so we may need to know it at that point already.
2604 # Even if this section looks crufty: it has the advantage of
2611 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2616 if test -z "$ac_file"; then :
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618 $as_echo "no" >&6; }
2619 $as_echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.
$ac_ext >&5
2622 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2624 as_fn_error
77 "C compiler cannot create executables
2625 See \`config.log' for more details" "$LINENO" 5; }
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2628 $as_echo "yes" >&6; }
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2631 $as_echo_n "checking for C compiler default output file name... " >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2633 $as_echo "$ac_file" >&6; }
2634 ac_exeext
=$ac_cv_exeext
2636 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2637 ac_clean_files
=$ac_clean_files_save
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2639 $as_echo_n "checking for suffix of executables... " >&6; }
2640 if { { ac_try
="$ac_link"
2642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2646 $as_echo "$ac_try_echo"; } >&5
2647 (eval "$ac_link") 2>&5
2649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2650 test $ac_status = 0; }; then :
2651 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2652 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2653 # work properly (i.e., refer to `conftest.exe'), while it won't with
2655 for ac_file
in conftest.exe conftest conftest.
*; do
2656 test -f "$ac_file" ||
continue
2658 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2659 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2667 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2668 See \`config.log' for more details" "$LINENO" 5; }
2670 rm -f conftest conftest
$ac_cv_exeext
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2672 $as_echo "$ac_cv_exeext" >&6; }
2674 rm -f conftest.
$ac_ext
2675 EXEEXT
=$ac_cv_exeext
2677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2683 FILE *f = fopen ("conftest.out", "w");
2684 return ferror (f) || fclose (f) != 0;
2690 ac_clean_files
="$ac_clean_files conftest.out"
2691 # Check that the compiler produces executables we can run. If not, either
2692 # the compiler is broken, or we cross compile.
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2694 $as_echo_n "checking whether we are cross compiling... " >&6; }
2695 if test "$cross_compiling" != yes; then
2696 { { ac_try
="$ac_link"
2698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2699 *) ac_try_echo=$ac_try;;
2701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2702 $as_echo "$ac_try_echo"; } >&5
2703 (eval "$ac_link") 2>&5
2705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2706 test $ac_status = 0; }
2707 if { ac_try='./conftest$ac_cv_exeext'
2708 { { case "(($ac_try" in
2709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2710 *) ac_try_echo
=$ac_try;;
2712 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2713 $as_echo "$ac_try_echo"; } >&5
2714 (eval "$ac_try") 2>&5
2716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2717 test $ac_status = 0; }; }; then
2720 if test "$cross_compiling" = maybe
; then
2723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2725 as_fn_error $?
"cannot run C compiled programs.
2726 If you meant to cross compile, use \`--host'.
2727 See \`config.log' for more details" "$LINENO" 5; }
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2732 $as_echo "$cross_compiling" >&6; }
2734 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2735 ac_clean_files
=$ac_clean_files_save
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2737 $as_echo_n "checking for suffix of object files... " >&6; }
2738 if ${ac_cv_objext+:} false
; then :
2739 $as_echo_n "(cached) " >&6
2741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2752 rm -f conftest.o conftest.obj
2753 if { { ac_try
="$ac_compile"
2755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_compile") 2>&5
2762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2763 test $ac_status = 0; }; then :
2764 for ac_file in conftest.o conftest.obj conftest.*; do
2765 test -f "$ac_file" || continue;
2767 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2768 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2773 $as_echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.$ac_ext >&5
2776 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2778 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2779 See \
`config.log' for more details" "$LINENO" 5; }
2781 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2784 $as_echo "$ac_cv_objext" >&6; }
2785 OBJEXT=$ac_cv_objext
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2788 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2789 if ${ac_cv_c_compiler_gnu+:} false; then :
2790 $as_echo_n "(cached) " >&6
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2806 if ac_fn_c_try_compile "$LINENO"; then :
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2816 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2817 if test $ac_compiler_gnu = yes; then
2822 ac_test_CFLAGS=${CFLAGS+set}
2823 ac_save_CFLAGS=$CFLAGS
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2825 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2826 if ${ac_cv_prog_cc_g+:} false; then :
2827 $as_echo_n "(cached) " >&6
2829 ac_save_c_werror_flag=$ac_c_werror_flag
2830 ac_c_werror_flag=yes
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2844 if ac_fn_c_try_compile "$LINENO"; then :
2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h. */
2859 if ac_fn_c_try_compile "$LINENO"; then :
2862 ac_c_werror_flag=$ac_save_c_werror_flag
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2875 if ac_fn_c_try_compile "$LINENO"; then :
2878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 ac_c_werror_flag=$ac_save_c_werror_flag
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2886 $as_echo "$ac_cv_prog_cc_g" >&6; }
2887 if test "$ac_test_CFLAGS" = set; then
2888 CFLAGS=$ac_save_CFLAGS
2889 elif test $ac_cv_prog_cc_g = yes; then
2890 if test "$GCC" = yes; then
2896 if test "$GCC" = yes; then
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2903 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2904 if ${ac_cv_prog_cc_c89+:} false; then :
2905 $as_echo_n "(cached) " >&6
2907 ac_cv_prog_cc_c89=no
2909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2914 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2915 struct buf { int x; };
2916 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2917 static char *e (p, i)
2923 static char *f (char * (*g) (char **, int), char **p, ...)
2928 s = g (p, va_arg (v,int));
2933 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2934 function prototypes and stuff, but not '\xHH' hex character constants.
2935 These don't provoke an error unfortunately, instead are silently treated
2936 as 'x'. The following induces an error, until -std is added to get
2937 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2938 array size at least. It's necessary to write '\x00'==0 to get something
2939 that's true only with -std. */
2940 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2942 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2943 inside strings and character constants. */
2945 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2947 int test (int i, double x);
2948 struct s1 {int (*f) (int a);};
2949 struct s2 {int (*f) (double a);};
2950 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2956 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2961 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2962 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2964 CC="$ac_save_CC $ac_arg"
2965 if ac_fn_c_try_compile "$LINENO"; then :
2966 ac_cv_prog_cc_c89=$ac_arg
2968 rm -f core conftest.err conftest.$ac_objext
2969 test "x$ac_cv_prog_cc_c89" != "xno" && break
2971 rm -f conftest.$ac_ext
2976 case "x$ac_cv_prog_cc_c89" in
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2979 $as_echo "none needed" >&6; } ;;
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2982 $as_echo "unsupported" >&6; } ;;
2984 CC="$CC $ac_cv_prog_cc_c89"
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2986 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2988 if test "x$ac_cv_prog_cc_c89" != xno; then :
2993 ac_cpp='$CPP $CPPFLAGS'
2994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3000 ac_cpp='$CPP $CPPFLAGS'
3001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3005 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3006 # On Suns, sometimes $CPP names a directory.
3007 if test -n "$CPP" && test -d "$CPP"; then
3010 if test -z "$CPP"; then
3011 if ${ac_cv_prog_CPP+:} false; then :
3012 $as_echo_n "(cached) " >&6
3014 # Double quotes because CPP needs to be expanded
3015 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3018 for ac_c_preproc_warn_flag in '' yes
3020 # Use a header file that comes with gcc, so configuring glibc
3021 # with a fresh cross-compiler works.
3022 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3023 # <limits.h> exists even on freestanding compilers.
3024 # On the NeXT, cc -E runs the code through the compiler's parser,
3025 # not just through cpp. "Syntax error" is here to catch this case.
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3029 # include <limits.h>
3031 # include <assert.h>
3035 if ac_fn_c_try_cpp "$LINENO"; then :
3038 # Broken: fails on valid input.
3041 rm -f conftest.err conftest.i conftest.$ac_ext
3043 # OK, works on sane cases. Now check whether nonexistent headers
3044 # can be detected and how.
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3047 #include <ac_nonexistent.h>
3049 if ac_fn_c_try_cpp "$LINENO"; then :
3050 # Broken: success on invalid input.
3053 # Passes both tests.
3057 rm -f conftest.err conftest.i conftest.$ac_ext
3060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3061 rm -f conftest.i conftest.err conftest.
$ac_ext
3062 if $ac_preproc_ok; then :
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3075 $as_echo "$CPP" >&6; }
3077 for ac_c_preproc_warn_flag
in '' yes
3079 # Use a header file that comes with gcc, so configuring glibc
3080 # with a fresh cross-compiler works.
3081 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3082 # <limits.h> exists even on freestanding compilers.
3083 # On the NeXT, cc -E runs the code through the compiler's parser,
3084 # not just through cpp. "Syntax error" is here to catch this case.
3085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3088 # include <limits.h>
3090 # include <assert.h>
3094 if ac_fn_c_try_cpp
"$LINENO"; then :
3097 # Broken: fails on valid input.
3100 rm -f conftest.err conftest.i conftest.
$ac_ext
3102 # OK, works on sane cases. Now check whether nonexistent headers
3103 # can be detected and how.
3104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3106 #include <ac_nonexistent.h>
3108 if ac_fn_c_try_cpp
"$LINENO"; then :
3109 # Broken: success on invalid input.
3112 # Passes both tests.
3116 rm -f conftest.err conftest.i conftest.
$ac_ext
3119 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3120 rm -f conftest.i conftest.err conftest.
$ac_ext
3121 if $ac_preproc_ok; then :
3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3127 See \`config.log' for more details" "$LINENO" 5; }
3131 ac_cpp
='$CPP $CPPFLAGS'
3132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3138 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3139 if ${ac_cv_path_GREP+:} false
; then :
3140 $as_echo_n "(cached) " >&6
3142 if test -z "$GREP"; then
3143 ac_path_GREP_found
=false
3144 # Loop through the user's path and test for each of PROGNAME-LIST
3145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3149 test -z "$as_dir" && as_dir
=.
3150 for ac_prog
in grep ggrep
; do
3151 for ac_exec_ext
in '' $ac_executable_extensions; do
3152 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3153 as_fn_executable_p
"$ac_path_GREP" ||
continue
3154 # Check for GNU ac_path_GREP and select it if it is found.
3155 # Check for GNU $ac_path_GREP
3156 case `"$ac_path_GREP" --version 2>&1` in
3158 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3161 $as_echo_n 0123456789 >"conftest.in"
3164 cat "conftest.in" "conftest.in" >"conftest.tmp"
3165 mv "conftest.tmp" "conftest.in"
3166 cp "conftest.in" "conftest.nl"
3167 $as_echo 'GREP' >> "conftest.nl"
3168 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3169 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3170 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3171 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3172 # Best one so far, save it but keep looking for a better one
3173 ac_cv_path_GREP
="$ac_path_GREP"
3174 ac_path_GREP_max
=$ac_count
3176 # 10*(2^10) chars as input seems more than enough
3177 test $ac_count -gt 10 && break
3179 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3182 $ac_path_GREP_found && break 3
3187 if test -z "$ac_cv_path_GREP"; then
3188 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3191 ac_cv_path_GREP
=$GREP
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3196 $as_echo "$ac_cv_path_GREP" >&6; }
3197 GREP
="$ac_cv_path_GREP"
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3201 $as_echo_n "checking for egrep... " >&6; }
3202 if ${ac_cv_path_EGREP+:} false
; then :
3203 $as_echo_n "(cached) " >&6
3205 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3206 then ac_cv_path_EGREP
="$GREP -E"
3208 if test -z "$EGREP"; then
3209 ac_path_EGREP_found
=false
3210 # Loop through the user's path and test for each of PROGNAME-LIST
3211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3212 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3215 test -z "$as_dir" && as_dir
=.
3216 for ac_prog
in egrep; do
3217 for ac_exec_ext
in '' $ac_executable_extensions; do
3218 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3219 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3220 # Check for GNU ac_path_EGREP and select it if it is found.
3221 # Check for GNU $ac_path_EGREP
3222 case `"$ac_path_EGREP" --version 2>&1` in
3224 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3227 $as_echo_n 0123456789 >"conftest.in"
3230 cat "conftest.in" "conftest.in" >"conftest.tmp"
3231 mv "conftest.tmp" "conftest.in"
3232 cp "conftest.in" "conftest.nl"
3233 $as_echo 'EGREP' >> "conftest.nl"
3234 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3235 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3236 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3237 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3238 # Best one so far, save it but keep looking for a better one
3239 ac_cv_path_EGREP
="$ac_path_EGREP"
3240 ac_path_EGREP_max
=$ac_count
3242 # 10*(2^10) chars as input seems more than enough
3243 test $ac_count -gt 10 && break
3245 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3248 $ac_path_EGREP_found && break 3
3253 if test -z "$ac_cv_path_EGREP"; then
3254 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3257 ac_cv_path_EGREP
=$EGREP
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3263 $as_echo "$ac_cv_path_EGREP" >&6; }
3264 EGREP
="$ac_cv_path_EGREP"
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3268 $as_echo_n "checking for ANSI C header files... " >&6; }
3269 if ${ac_cv_header_stdc+:} false
; then :
3270 $as_echo_n "(cached) " >&6
3272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3287 if ac_fn_c_try_compile
"$LINENO"; then :
3288 ac_cv_header_stdc
=yes
3290 ac_cv_header_stdc
=no
3292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3294 if test $ac_cv_header_stdc = yes; then
3295 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3302 $EGREP "memchr" >/dev
/null
2>&1; then :
3305 ac_cv_header_stdc
=no
3311 if test $ac_cv_header_stdc = yes; then
3312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3319 $EGREP "free" >/dev
/null
2>&1; then :
3322 ac_cv_header_stdc
=no
3328 if test $ac_cv_header_stdc = yes; then
3329 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3330 if test "$cross_compiling" = yes; then :
3333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3337 #if ((' ' & 0x0FF) == 0x020)
3338 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3339 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3341 # define ISLOWER(c) \
3342 (('a' <= (c) && (c) <= 'i') \
3343 || ('j' <= (c) && (c) <= 'r') \
3344 || ('s' <= (c) && (c) <= 'z'))
3345 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3348 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3353 for (i = 0; i < 256; i++)
3354 if (XOR (islower (i), ISLOWER (i))
3355 || toupper (i) != TOUPPER (i))
3360 if ac_fn_c_try_run
"$LINENO"; then :
3363 ac_cv_header_stdc
=no
3365 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3366 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3372 $as_echo "$ac_cv_header_stdc" >&6; }
3373 if test $ac_cv_header_stdc = yes; then
3375 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3379 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3380 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3381 inttypes.h stdint.h unistd.h
3383 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3384 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3386 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3387 cat >>confdefs.h
<<_ACEOF
3388 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3397 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3398 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3405 if test "$MINIX" = yes; then
3407 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3410 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3413 $as_echo "#define _MINIX 1" >>confdefs.h
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3419 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3420 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3421 $as_echo_n "(cached) " >&6
3423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3426 # define __EXTENSIONS__ 1
3427 $ac_includes_default
3436 if ac_fn_c_try_compile
"$LINENO"; then :
3437 ac_cv_safe_to_define___extensions__
=yes
3439 ac_cv_safe_to_define___extensions__
=no
3441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3444 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3445 test $ac_cv_safe_to_define___extensions__ = yes &&
3446 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3448 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3450 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3452 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3454 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3458 ac_config_headers
="$ac_config_headers config.h"
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3463 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3465 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3466 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3467 $as_echo_n "(cached) " >&6
3469 cat >conftest.
make <<\_ACEOF
3472 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3474 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3475 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3477 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3479 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3483 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3485 $as_echo "yes" >&6; }
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3489 $as_echo "no" >&6; }
3490 SET_MAKE
="MAKE=${MAKE-make}"
3494 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3495 if test -f "$ac_dir/install-sh"; then
3497 ac_install_sh
="$ac_aux_dir/install-sh -c"
3499 elif test -f "$ac_dir/install.sh"; then
3501 ac_install_sh
="$ac_aux_dir/install.sh -c"
3503 elif test -f "$ac_dir/shtool"; then
3505 ac_install_sh
="$ac_aux_dir/shtool install -c"
3509 if test -z "$ac_aux_dir"; then
3510 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3513 # These three variables are undocumented and unsupported,
3514 # and are intended to be withdrawn in a future Autoconf release.
3515 # They can cause serious problems if a builder's source tree is in a directory
3516 # whose full name contains unusual characters.
3517 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3518 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3519 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3522 # Find a good install program. We prefer a C program (faster),
3523 # so one script is as good as another. But avoid the broken or
3524 # incompatible versions:
3525 # SysV /etc/install, /usr/sbin/install
3526 # SunOS /usr/etc/install
3527 # IRIX /sbin/install
3529 # AmigaOS /C/install, which installs bootblocks on floppy discs
3530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3533 # OS/2's system install, which has a completely different semantic
3534 # ./install, which can be erroneously created by make from ./install.sh.
3535 # Reject install programs that cannot install multiple files.
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3537 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3538 if test -z "$INSTALL"; then
3539 if ${ac_cv_path_install+:} false
; then :
3540 $as_echo_n "(cached) " >&6
3542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3546 test -z "$as_dir" && as_dir
=.
3547 # Account for people who put trailing slashes in PATH elements.
3548 case $as_dir/ in #((
3549 .
/ | .
// |
/[cC
]/* | \
3550 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3551 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3554 # OSF1 and SCO ODT 3.0 have their own names for install.
3555 # Don't use installbsd from OSF since it installs stuff as root
3557 for ac_prog
in ginstall scoinst
install; do
3558 for ac_exec_ext
in '' $ac_executable_extensions; do
3559 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3560 if test $ac_prog = install &&
3561 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3562 # AIX install. It has an incompatible calling convention.
3564 elif test $ac_prog = install &&
3565 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3566 # program-specific install script used by HP pwplus--don't use.
3569 rm -rf conftest.one conftest.two conftest.dir
3570 echo one
> conftest.one
3571 echo two
> conftest.two
3573 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3574 test -s conftest.one
&& test -s conftest.two
&&
3575 test -s conftest.dir
/conftest.one
&&
3576 test -s conftest.dir
/conftest.two
3578 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3591 rm -rf conftest.one conftest.two conftest.dir
3594 if test "${ac_cv_path_install+set}" = set; then
3595 INSTALL
=$ac_cv_path_install
3597 # As a last resort, use the slow shell script. Don't cache a
3598 # value for INSTALL within a source directory, because that will
3599 # break other packages using the cache if that directory is
3600 # removed, or if the value is a relative name.
3601 INSTALL
=$ac_install_sh
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3605 $as_echo "$INSTALL" >&6; }
3607 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3608 # It thinks the first close brace ends the variable substitution.
3609 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3611 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3613 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3617 if test -n "$ac_aux_dir"; then
3618 case "$ac_aux_dir" in
3619 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
3620 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3623 if test -z "$MKINSTALLDIRS"; then
3624 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3630 $as_echo_n "checking whether NLS is requested... " >&6; }
3631 # Check whether --enable-nls was given.
3632 if test "${enable_nls+set}" = set; then :
3633 enableval
=$enable_nls; USE_NLS
=$enableval
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3639 $as_echo "$USE_NLS" >&6; }
3646 # Prepare PATH_SEPARATOR.
3647 # The user is always right.
3648 if test "${PATH_SEPARATOR+set}" != set; then
3649 echo "#! /bin/sh" >conf$$.sh
3650 echo "exit 0" >>conf$$.sh
3652 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3660 # Find out how to test for executable files. Don't use a zero-byte file,
3661 # as systems may use methods other than mode bits to determine executability.
3662 cat >conf$$.
file <<_ASEOF
3666 chmod +x conf$$.
file
3667 if test -x conf$$.
file >/dev
/null
2>&1; then
3668 ac_executable_p
="test -x"
3670 ac_executable_p
="test -f"
3674 # Extract the first word of "msgfmt", so it can be a program name with args.
3675 set dummy msgfmt
; ac_word
=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if ${ac_cv_path_MSGFMT+:} false
; then :
3679 $as_echo_n "(cached) " >&6
3683 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3686 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3687 for ac_dir
in $PATH; do
3689 test -z "$ac_dir" && ac_dir
=.
3690 for ac_exec_ext
in '' $ac_executable_extensions; do
3691 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3692 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
3693 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3694 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3701 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3705 MSGFMT
="$ac_cv_path_MSGFMT"
3706 if test "$MSGFMT" != ":"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3708 $as_echo "$MSGFMT" >&6; }
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711 $as_echo "no" >&6; }
3714 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3715 set dummy gmsgfmt
; ac_word
=$2
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3717 $as_echo_n "checking for $ac_word... " >&6; }
3718 if ${ac_cv_path_GMSGFMT+:} false
; then :
3719 $as_echo_n "(cached) " >&6
3723 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir
=.
3731 for ac_exec_ext
in '' $ac_executable_extensions; do
3732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3733 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3741 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3745 GMSGFMT
=$ac_cv_path_GMSGFMT
3746 if test -n "$GMSGFMT"; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3748 $as_echo "$GMSGFMT" >&6; }
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3751 $as_echo "no" >&6; }
3757 # Prepare PATH_SEPARATOR.
3758 # The user is always right.
3759 if test "${PATH_SEPARATOR+set}" != set; then
3760 echo "#! /bin/sh" >conf$$.sh
3761 echo "exit 0" >>conf$$.sh
3763 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3771 # Find out how to test for executable files. Don't use a zero-byte file,
3772 # as systems may use methods other than mode bits to determine executability.
3773 cat >conf$$.
file <<_ASEOF
3777 chmod +x conf$$.
file
3778 if test -x conf$$.
file >/dev
/null
2>&1; then
3779 ac_executable_p
="test -x"
3781 ac_executable_p
="test -f"
3785 # Extract the first word of "xgettext", so it can be a program name with args.
3786 set dummy xgettext
; ac_word
=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if ${ac_cv_path_XGETTEXT+:} false
; then :
3790 $as_echo_n "(cached) " >&6
3794 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3797 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3798 for ac_dir
in $PATH; do
3800 test -z "$ac_dir" && ac_dir
=.
3801 for ac_exec_ext
in '' $ac_executable_extensions; do
3802 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3803 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3804 (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
3805 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
3812 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3816 XGETTEXT
="$ac_cv_path_XGETTEXT"
3817 if test "$XGETTEXT" != ":"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3819 $as_echo "$XGETTEXT" >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3828 # Prepare PATH_SEPARATOR.
3829 # The user is always right.
3830 if test "${PATH_SEPARATOR+set}" != set; then
3831 echo "#! /bin/sh" >conf$$.sh
3832 echo "exit 0" >>conf$$.sh
3834 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3842 # Find out how to test for executable files. Don't use a zero-byte file,
3843 # as systems may use methods other than mode bits to determine executability.
3844 cat >conf$$.
file <<_ASEOF
3848 chmod +x conf$$.
file
3849 if test -x conf$$.
file >/dev
/null
2>&1; then
3850 ac_executable_p
="test -x"
3852 ac_executable_p
="test -f"
3856 # Extract the first word of "msgmerge", so it can be a program name with args.
3857 set dummy msgmerge
; ac_word
=$2
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859 $as_echo_n "checking for $ac_word... " >&6; }
3860 if ${ac_cv_path_MSGMERGE+:} false
; then :
3861 $as_echo_n "(cached) " >&6
3865 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
3868 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3869 for ac_dir
in $PATH; do
3871 test -z "$ac_dir" && ac_dir
=.
3872 for ac_exec_ext
in '' $ac_executable_extensions; do
3873 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3874 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
3875 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
3882 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
3886 MSGMERGE
="$ac_cv_path_MSGMERGE"
3887 if test "$MSGMERGE" != ":"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3889 $as_echo "$MSGMERGE" >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3896 if test "$GMSGFMT" != ":"; then
3897 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
3898 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3901 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3903 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
3908 if test "$XGETTEXT" != ":"; then
3909 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
3910 (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
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
3914 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
3920 ac_config_commands
="$ac_config_commands default-1"
3923 # Make sure we can run config.sub.
3924 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3925 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3928 $as_echo_n "checking build system type... " >&6; }
3929 if ${ac_cv_build+:} false
; then :
3930 $as_echo_n "(cached) " >&6
3932 ac_build_alias
=$build_alias
3933 test "x$ac_build_alias" = x
&&
3934 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3935 test "x$ac_build_alias" = x
&&
3936 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3937 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3938 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3942 $as_echo "$ac_cv_build" >&6; }
3943 case $ac_cv_build in
3945 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3948 ac_save_IFS
=$IFS; IFS
='-'
3954 # Remember, the first character of IFS is used to create $*,
3955 # except with old shells:
3958 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3962 $as_echo_n "checking host system type... " >&6; }
3963 if ${ac_cv_host+:} false
; then :
3964 $as_echo_n "(cached) " >&6
3966 if test "x$host_alias" = x
; then
3967 ac_cv_host
=$ac_cv_build
3969 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3970 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3975 $as_echo "$ac_cv_host" >&6; }
3978 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3981 ac_save_IFS
=$IFS; IFS
='-'
3987 # Remember, the first character of IFS is used to create $*,
3988 # except with old shells:
3991 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3994 if test -n "$ac_tool_prefix"; then
3995 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3996 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3998 $as_echo_n "checking for $ac_word... " >&6; }
3999 if ${ac_cv_prog_RANLIB+:} false
; then :
4000 $as_echo_n "(cached) " >&6
4002 if test -n "$RANLIB"; then
4003 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4009 test -z "$as_dir" && as_dir
=.
4010 for ac_exec_ext
in '' $ac_executable_extensions; do
4011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4012 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 RANLIB
=$ac_cv_prog_RANLIB
4023 if test -n "$RANLIB"; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4025 $as_echo "$RANLIB" >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4033 if test -z "$ac_cv_prog_RANLIB"; then
4034 ac_ct_RANLIB
=$RANLIB
4035 # Extract the first word of "ranlib", so it can be a program name with args.
4036 set dummy ranlib
; ac_word
=$2
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4040 $as_echo_n "(cached) " >&6
4042 if test -n "$ac_ct_RANLIB"; then
4043 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4052 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4063 if test -n "$ac_ct_RANLIB"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4065 $as_echo "$ac_ct_RANLIB" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4071 if test "x$ac_ct_RANLIB" = x
; then
4074 case $cross_compiling:$ac_tool_warned in
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4078 ac_tool_warned
=yes ;;
4080 RANLIB
=$ac_ct_RANLIB
4083 RANLIB
="$ac_cv_prog_RANLIB"
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4087 $as_echo_n "checking for library containing strerror... " >&6; }
4088 if ${ac_cv_search_strerror+:} false
; then :
4089 $as_echo_n "(cached) " >&6
4091 ac_func_search_save_LIBS
=$LIBS
4092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4095 /* Override any GCC internal prototype to avoid an error.
4096 Use char because int might match the return type of a GCC
4097 builtin and then its argument prototype would still apply. */
4110 for ac_lib
in '' cposix
; do
4111 if test -z "$ac_lib"; then
4112 ac_res
="none required"
4115 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4117 if ac_fn_c_try_link
"$LINENO"; then :
4118 ac_cv_search_strerror
=$ac_res
4120 rm -f core conftest.err conftest.
$ac_objext \
4122 if ${ac_cv_search_strerror+:} false
; then :
4126 if ${ac_cv_search_strerror+:} false
; then :
4129 ac_cv_search_strerror
=no
4132 LIBS
=$ac_func_search_save_LIBS
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4135 $as_echo "$ac_cv_search_strerror" >&6; }
4136 ac_res
=$ac_cv_search_strerror
4137 if test "$ac_res" != no
; then :
4138 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4143 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4144 if ${ac_cv_c_const+:} false
; then :
4145 $as_echo_n "(cached) " >&6
4147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4155 /* Ultrix mips cc rejects this sort of thing. */
4156 typedef int charset[2];
4157 const charset cs = { 0, 0 };
4158 /* SunOS 4.1.1 cc rejects this. */
4159 char const *const *pcpcc;
4161 /* NEC SVR4.0.2 mips cc rejects this. */
4162 struct point {int x, y;};
4163 static struct point const zero = {0,0};
4164 /* AIX XL C 1.02.0.0 rejects this.
4165 It does not let you subtract one const X* pointer from another in
4166 an arm of an if-expression whose if-part is not a constant
4168 const char *g = "string";
4169 pcpcc = &g + (g ? g-g : 0);
4170 /* HPUX 7.0 cc rejects these. */
4172 ppc = (char**) pcpcc;
4173 pcpcc = (char const *const *) ppc;
4174 { /* SCO 3.2v4 cc rejects this sort of thing. */
4177 char const *s = 0 ? (char *) 0 : (char const *) 0;
4182 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4184 const int *foo = &x[0];
4187 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4188 typedef const int *iptr;
4192 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4193 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4194 struct s { int j; const int *ap[3]; } bx;
4195 struct s *b = &bx; b->j = 5;
4197 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4201 return !cs[0] && !zero.x;
4208 if ac_fn_c_try_compile
"$LINENO"; then :
4213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4216 $as_echo "$ac_cv_c_const" >&6; }
4217 if test $ac_cv_c_const = no
; then
4219 $as_echo "#define const /**/" >>confdefs.h
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4224 $as_echo_n "checking for inline... " >&6; }
4225 if ${ac_cv_c_inline+:} false
; then :
4226 $as_echo_n "(cached) " >&6
4229 for ac_kw
in inline __inline__ __inline
; do
4230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4234 static $ac_kw foo_t static_foo () {return 0; }
4235 $ac_kw foo_t foo () {return 0; }
4239 if ac_fn_c_try_compile
"$LINENO"; then :
4240 ac_cv_c_inline
=$ac_kw
4242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4243 test "$ac_cv_c_inline" != no
&& break
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4248 $as_echo "$ac_cv_c_inline" >&6; }
4250 case $ac_cv_c_inline in
4253 case $ac_cv_c_inline in
4255 *) ac_val
=$ac_cv_c_inline;;
4257 cat >>confdefs.h
<<_ACEOF
4259 #define inline $ac_val
4265 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4266 if test "x$ac_cv_type_off_t" = xyes
; then :
4270 cat >>confdefs.h
<<_ACEOF
4271 #define off_t long int
4276 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4277 if test "x$ac_cv_type_size_t" = xyes
; then :
4281 cat >>confdefs.h
<<_ACEOF
4282 #define size_t unsigned int
4287 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4288 # for constant arguments. Useless!
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4290 $as_echo_n "checking for working alloca.h... " >&6; }
4291 if ${ac_cv_working_alloca_h+:} false
; then :
4292 $as_echo_n "(cached) " >&6
4294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4295 /* end confdefs.h. */
4300 char *p = (char *) alloca (2 * sizeof (int));
4306 if ac_fn_c_try_link
"$LINENO"; then :
4307 ac_cv_working_alloca_h
=yes
4309 ac_cv_working_alloca_h
=no
4311 rm -f core conftest.err conftest.
$ac_objext \
4312 conftest
$ac_exeext conftest.
$ac_ext
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4315 $as_echo "$ac_cv_working_alloca_h" >&6; }
4316 if test $ac_cv_working_alloca_h = yes; then
4318 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4323 $as_echo_n "checking for alloca... " >&6; }
4324 if ${ac_cv_func_alloca_works+:} false
; then :
4325 $as_echo_n "(cached) " >&6
4327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4330 # define alloca __builtin_alloca
4333 # include <malloc.h>
4334 # define alloca _alloca
4336 # ifdef HAVE_ALLOCA_H
4337 # include <alloca.h>
4342 # ifndef alloca /* predefined by HP cc +Olibcalls */
4343 void *alloca (size_t);
4353 char *p = (char *) alloca (1);
4359 if ac_fn_c_try_link
"$LINENO"; then :
4360 ac_cv_func_alloca_works
=yes
4362 ac_cv_func_alloca_works
=no
4364 rm -f core conftest.err conftest.
$ac_objext \
4365 conftest
$ac_exeext conftest.
$ac_ext
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4368 $as_echo "$ac_cv_func_alloca_works" >&6; }
4370 if test $ac_cv_func_alloca_works = yes; then
4372 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4375 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4376 # that cause trouble. Some versions do not even contain alloca or
4377 # contain a buggy version. If you still want to use their alloca,
4378 # use ar to extract alloca.o from them instead of compiling alloca.c.
4380 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
4382 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4386 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4387 if ${ac_cv_os_cray+:} false
; then :
4388 $as_echo_n "(cached) " >&6
4390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4392 #if defined CRAY && ! defined CRAY2
4399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4400 $EGREP "webecray" >/dev
/null
2>&1; then :
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4409 $as_echo "$ac_cv_os_cray" >&6; }
4410 if test $ac_cv_os_cray = yes; then
4411 for ac_func
in _getb67 GETB67 getb67
; do
4412 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4413 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4414 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4416 cat >>confdefs.h
<<_ACEOF
4417 #define CRAY_STACKSEG_END $ac_func
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4427 $as_echo_n "checking stack direction for C alloca... " >&6; }
4428 if ${ac_cv_c_stack_direction+:} false
; then :
4429 $as_echo_n "(cached) " >&6
4431 if test "$cross_compiling" = yes; then :
4432 ac_cv_c_stack_direction
=0
4434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4436 $ac_includes_default
4438 find_stack_direction (int *addr, int depth)
4443 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
4444 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
4449 main (int argc, char **argv)
4451 return find_stack_direction (0, argc + !argv + 20) < 0;
4454 if ac_fn_c_try_run
"$LINENO"; then :
4455 ac_cv_c_stack_direction
=1
4457 ac_cv_c_stack_direction
=-1
4459 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4460 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4465 $as_echo "$ac_cv_c_stack_direction" >&6; }
4466 cat >>confdefs.h
<<_ACEOF
4467 #define STACK_DIRECTION $ac_cv_c_stack_direction
4476 for ac_header
in $ac_header_list
4478 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4479 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4481 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4482 cat >>confdefs.h
<<_ACEOF
4483 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4497 for ac_func
in getpagesize
4499 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4500 if test "x$ac_cv_func_getpagesize" = xyes
; then :
4501 cat >>confdefs.h
<<_ACEOF
4502 #define HAVE_GETPAGESIZE 1
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4509 $as_echo_n "checking for working mmap... " >&6; }
4510 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 if test "$cross_compiling" = yes; then :
4514 ac_cv_func_mmap_fixed_mapped
=no
4516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4518 $ac_includes_default
4519 /* malloc might have been renamed as rpl_malloc. */
4522 /* Thanks to Mike Haertel and Jim Avera for this test.
4523 Here is a matrix of mmap possibilities:
4524 mmap private not fixed
4525 mmap private fixed at somewhere currently unmapped
4526 mmap private fixed at somewhere already mapped
4527 mmap shared not fixed
4528 mmap shared fixed at somewhere currently unmapped
4529 mmap shared fixed at somewhere already mapped
4530 For private mappings, we should verify that changes cannot be read()
4531 back from the file, nor mmap's back from the file at a different
4532 address. (There have been systems where private was not correctly
4533 implemented like the infamous i386 svr4.0, and systems where the
4534 VM page cache was not coherent with the file system buffer cache
4535 like early versions of FreeBSD and possibly contemporary NetBSD.)
4536 For shared mappings, we should conversely verify that changes get
4537 propagated back to all the places they're supposed to be.
4539 Grep wants private fixed already mapped.
4540 The main things grep needs to know about mmap are:
4541 * does it exist and is it safe to write into the mmap'd area
4542 * how to use it (BSD variants) */
4545 #include <sys/mman.h>
4547 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4551 /* This mess was copied from the GNU getpagesize.h. */
4552 #ifndef HAVE_GETPAGESIZE
4553 # ifdef _SC_PAGESIZE
4554 # define getpagesize() sysconf(_SC_PAGESIZE)
4555 # else /* no _SC_PAGESIZE */
4556 # ifdef HAVE_SYS_PARAM_H
4557 # include <sys/param.h>
4558 # ifdef EXEC_PAGESIZE
4559 # define getpagesize() EXEC_PAGESIZE
4560 # else /* no EXEC_PAGESIZE */
4562 # define getpagesize() NBPG * CLSIZE
4565 # endif /* no CLSIZE */
4566 # else /* no NBPG */
4568 # define getpagesize() NBPC
4569 # else /* no NBPC */
4571 # define getpagesize() PAGESIZE
4572 # endif /* PAGESIZE */
4573 # endif /* no NBPC */
4574 # endif /* no NBPG */
4575 # endif /* no EXEC_PAGESIZE */
4576 # else /* no HAVE_SYS_PARAM_H */
4577 # define getpagesize() 8192 /* punt totally */
4578 # endif /* no HAVE_SYS_PARAM_H */
4579 # endif /* no _SC_PAGESIZE */
4581 #endif /* no HAVE_GETPAGESIZE */
4586 char *data, *data2, *data3;
4591 pagesize = getpagesize ();
4593 /* First, make a file with some known garbage in it. */
4594 data = (char *) malloc (pagesize);
4597 for (i = 0; i < pagesize; ++i)
4598 *(data + i) = rand ();
4600 fd = creat ("conftest.mmap", 0600);
4603 if (write (fd, data, pagesize) != pagesize)
4607 /* Next, check that the tail of a page is zero-filled. File must have
4608 non-zero length, otherwise we risk SIGBUS for entire page. */
4609 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4613 if (write (fd2, cdata2, 1) != 1)
4615 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4616 if (data2 == MAP_FAILED)
4618 for (i = 0; i < pagesize; ++i)
4622 if (munmap (data2, pagesize))
4625 /* Next, try to mmap the file at a fixed address which already has
4626 something else allocated at it. If we can, also make sure that
4627 we see the same garbage. */
4628 fd = open ("conftest.mmap", O_RDWR);
4631 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4632 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4634 for (i = 0; i < pagesize; ++i)
4635 if (*(data + i) != *(data2 + i))
4638 /* Finally, make sure that changes to the mapped area do not
4639 percolate back to the file as seen by read(). (This is a bug on
4640 some variants of i386 svr4.0.) */
4641 for (i = 0; i < pagesize; ++i)
4642 *(data2 + i) = *(data2 + i) + 1;
4643 data3 = (char *) malloc (pagesize);
4646 if (read (fd, data3, pagesize) != pagesize)
4648 for (i = 0; i < pagesize; ++i)
4649 if (*(data + i) != *(data3 + i))
4655 if ac_fn_c_try_run
"$LINENO"; then :
4656 ac_cv_func_mmap_fixed_mapped
=yes
4658 ac_cv_func_mmap_fixed_mapped
=no
4660 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4661 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4666 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4667 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4669 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
4672 rm -f conftest.mmap conftest.txt
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
4676 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
4677 if ${ac_cv_gnu_library_2_1+:} false
; then :
4678 $as_echo_n "(cached) " >&6
4680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4683 #include <features.h>
4684 #ifdef __GNU_LIBRARY__
4685 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
4691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4692 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
4693 ac_cv_gnu_library_2_1
=yes
4695 ac_cv_gnu_library_2_1
=no
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
4703 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
4705 GLIBC21
="$ac_cv_gnu_library_2_1"
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
4711 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
4712 if ${gt_cv_int_divbyzero_sigfpe+:} false
; then :
4713 $as_echo_n "(cached) " >&6
4716 if test "$cross_compiling" = yes; then :
4718 # Guess based on the CPU.
4720 alpha
* | i3456786 | m68k | s390
*)
4721 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
4723 gt_cv_int_divbyzero_sigfpe
="guessing no";;
4727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4735 sigfpe_handler (int sig)
4737 sigfpe_handler (sig) int sig;
4740 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
4741 exit (sig != SIGFPE);
4751 signal (SIGFPE, sigfpe_handler);
4752 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
4753 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
4754 signal (SIGTRAP, sigfpe_handler);
4756 /* Linux/SPARC yields signal SIGILL. */
4757 #if defined (__sparc__) && defined (__linux__)
4758 signal (SIGILL, sigfpe_handler);
4767 if ac_fn_c_try_run
"$LINENO"; then :
4768 gt_cv_int_divbyzero_sigfpe
=yes
4770 gt_cv_int_divbyzero_sigfpe
=no
4772 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4773 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
4779 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
4780 case "$gt_cv_int_divbyzero_sigfpe" in
4785 cat >>confdefs.h
<<_ACEOF
4786 #define INTDIV0_RAISES_SIGFPE $value
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4792 $as_echo_n "checking for inttypes.h... " >&6; }
4793 if ${jm_ac_cv_header_inttypes_h+:} false
; then :
4794 $as_echo_n "(cached) " >&6
4796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4798 #include <sys/types.h>
4799 #include <inttypes.h>
4803 uintmax_t i = (uintmax_t) -1;
4808 if ac_fn_c_try_compile
"$LINENO"; then :
4809 jm_ac_cv_header_inttypes_h
=yes
4811 jm_ac_cv_header_inttypes_h
=no
4813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
4816 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
4817 if test $jm_ac_cv_header_inttypes_h = yes; then
4819 cat >>confdefs.h
<<_ACEOF
4820 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
4827 $as_echo_n "checking for stdint.h... " >&6; }
4828 if ${jm_ac_cv_header_stdint_h+:} false
; then :
4829 $as_echo_n "(cached) " >&6
4831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4833 #include <sys/types.h>
4838 uintmax_t i = (uintmax_t) -1;
4843 if ac_fn_c_try_compile
"$LINENO"; then :
4844 jm_ac_cv_header_stdint_h
=yes
4846 jm_ac_cv_header_stdint_h
=no
4848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
4851 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
4852 if test $jm_ac_cv_header_stdint_h = yes; then
4854 cat >>confdefs.h
<<_ACEOF
4855 #define HAVE_STDINT_H_WITH_UINTMAX 1
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
4862 $as_echo_n "checking for unsigned long long... " >&6; }
4863 if ${ac_cv_type_unsigned_long_long+:} false
; then :
4864 $as_echo_n "(cached) " >&6
4866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4868 unsigned long long ull = 1; int i = 63;
4872 unsigned long long ullmax = (unsigned long long) -1;
4873 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
4878 if ac_fn_c_try_link
"$LINENO"; then :
4879 ac_cv_type_unsigned_long_long
=yes
4881 ac_cv_type_unsigned_long_long
=no
4883 rm -f core conftest.err conftest.
$ac_objext \
4884 conftest
$ac_exeext conftest.
$ac_ext
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
4887 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
4888 if test $ac_cv_type_unsigned_long_long = yes; then
4890 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
4897 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
4899 test $ac_cv_type_unsigned_long_long = yes \
4900 && ac_type
='unsigned long long' \
4901 || ac_type
='unsigned long'
4903 cat >>confdefs.h
<<_ACEOF
4904 #define uintmax_t $ac_type
4909 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
4915 $as_echo_n "checking for inttypes.h... " >&6; }
4916 if ${gt_cv_header_inttypes_h+:} false
; then :
4917 $as_echo_n "(cached) " >&6
4920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4922 #include <sys/types.h>
4923 #include <inttypes.h>
4932 if ac_fn_c_try_compile
"$LINENO"; then :
4933 gt_cv_header_inttypes_h
=yes
4935 gt_cv_header_inttypes_h
=no
4937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
4941 $as_echo "$gt_cv_header_inttypes_h" >&6; }
4942 if test $gt_cv_header_inttypes_h = yes; then
4944 cat >>confdefs.h
<<_ACEOF
4945 #define HAVE_INTTYPES_H 1
4952 if test $gt_cv_header_inttypes_h = yes; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
4954 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
4955 if ${gt_cv_inttypes_pri_broken+:} false
; then :
4956 $as_echo_n "(cached) " >&6
4959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4961 #include <inttypes.h>
4974 if ac_fn_c_try_compile
"$LINENO"; then :
4975 gt_cv_inttypes_pri_broken
=no
4977 gt_cv_inttypes_pri_broken
=yes
4979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
4983 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
4985 if test "$gt_cv_inttypes_pri_broken" = yes; then
4987 cat >>confdefs.h
<<_ACEOF
4988 #define PRI_MACROS_BROKEN 1
4994 if test "X$prefix" = "XNONE"; then
4995 acl_final_prefix
="$ac_default_prefix"
4997 acl_final_prefix
="$prefix"
4999 if test "X$exec_prefix" = "XNONE"; then
5000 acl_final_exec_prefix
='${prefix}'
5002 acl_final_exec_prefix
="$exec_prefix"
5004 acl_save_prefix
="$prefix"
5005 prefix
="$acl_final_prefix"
5006 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
5007 prefix
="$acl_save_prefix"
5010 # Check whether --with-gnu-ld was given.
5011 if test "${with_gnu_ld+set}" = set; then :
5012 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5017 # Prepare PATH_SEPARATOR.
5018 # The user is always right.
5019 if test "${PATH_SEPARATOR+set}" != set; then
5020 echo "#! /bin/sh" >conf$$.sh
5021 echo "exit 0" >>conf$$.sh
5023 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5031 if test "$GCC" = yes; then
5032 # Check if gcc -print-prog-name=ld gives a path.
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5034 $as_echo_n "checking for ld used by GCC... " >&6; }
5037 # gcc leaves a trailing carriage return which upsets mingw
5038 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5040 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5043 # Accept absolute paths.
5044 [\\/]* |
[A-Za-z
]:[\\/]*)
5045 re_direlt
='/[^/][^/]*/\.\./'
5046 # Canonicalize the path of ld
5047 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5048 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5049 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5051 test -z "$LD" && LD
="$ac_prog"
5054 # If it fails, then pretend we aren't using GCC.
5058 # If it is relative, then search for the first ld in PATH.
5062 elif test "$with_gnu_ld" = yes; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5064 $as_echo_n "checking for GNU ld... " >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5067 $as_echo_n "checking for non-GNU ld... " >&6; }
5069 if ${acl_cv_path_LD+:} false
; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -z "$LD"; then
5073 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5074 for ac_dir
in $PATH; do
5075 test -z "$ac_dir" && ac_dir
=.
5076 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5077 acl_cv_path_LD
="$ac_dir/$ac_prog"
5078 # Check to see if the program is GNU ld. I'd rather use --version,
5079 # but apparently some GNU ld's only accept -v.
5080 # Break only if it was the GNU/non-GNU ld that we prefer.
5081 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5082 test "$with_gnu_ld" != no
&& break
5084 test "$with_gnu_ld" != yes && break
5090 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
5094 LD
="$acl_cv_path_LD"
5095 if test -n "$LD"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5097 $as_echo "$LD" >&6; }
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5102 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5104 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5105 if ${acl_cv_prog_gnu_ld+:} false
; then :
5106 $as_echo_n "(cached) " >&6
5108 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5109 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5110 acl_cv_prog_gnu_ld
=yes
5112 acl_cv_prog_gnu_ld
=no
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5116 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5117 with_gnu_ld
=$acl_cv_prog_gnu_ld
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5122 $as_echo_n "checking for shared library run path origin... " >&6; }
5123 if ${acl_cv_rpath+:} false
; then :
5124 $as_echo_n "(cached) " >&6
5127 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
5128 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5135 $as_echo "$acl_cv_rpath" >&6; }
5137 libext
="$acl_cv_libext"
5138 shlibext
="$acl_cv_shlibext"
5139 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
5140 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
5141 hardcode_direct
="$acl_cv_hardcode_direct"
5142 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
5143 # Check whether --enable-rpath was given.
5144 if test "${enable_rpath+set}" = set; then :
5145 enableval
=$enable_rpath; :
5159 acl_save_prefix
="$prefix"
5160 prefix
="$acl_final_prefix"
5161 acl_save_exec_prefix
="$exec_prefix"
5162 exec_prefix
="$acl_final_exec_prefix"
5164 eval additional_includedir
=\"$includedir\"
5165 eval additional_libdir
=\"$libdir\"
5167 exec_prefix
="$acl_save_exec_prefix"
5168 prefix
="$acl_save_prefix"
5171 # Check whether --with-libiconv-prefix was given.
5172 if test "${with_libiconv_prefix+set}" = set; then :
5173 withval
=$with_libiconv_prefix;
5174 if test "X$withval" = "Xno"; then
5177 if test "X$withval" = "X"; then
5179 acl_save_prefix
="$prefix"
5180 prefix
="$acl_final_prefix"
5181 acl_save_exec_prefix
="$exec_prefix"
5182 exec_prefix
="$acl_final_exec_prefix"
5184 eval additional_includedir
=\"$includedir\"
5185 eval additional_libdir
=\"$libdir\"
5187 exec_prefix
="$acl_save_exec_prefix"
5188 prefix
="$acl_save_prefix"
5191 additional_includedir
="$withval/include"
5192 additional_libdir
="$withval/lib"
5203 names_already_handled
=
5204 names_next_round
='iconv '
5205 while test -n "$names_next_round"; do
5206 names_this_round
="$names_next_round"
5208 for name
in $names_this_round; do
5210 for n
in $names_already_handled; do
5211 if test "$n" = "$name"; then
5216 if test -z "$already_handled"; then
5217 names_already_handled
="$names_already_handled $name"
5218 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5219 eval value
=\"\
$HAVE_LIB$uppername\"
5220 if test -n "$value"; then
5221 if test "$value" = yes; then
5222 eval value
=\"\
$LIB$uppername\"
5223 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
5224 eval value
=\"\
$LTLIB$uppername\"
5225 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
5234 if test $use_additional = yes; then
5235 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5236 found_dir
="$additional_libdir"
5237 found_so
="$additional_libdir/lib$name.$shlibext"
5238 if test -f "$additional_libdir/lib$name.la"; then
5239 found_la
="$additional_libdir/lib$name.la"
5242 if test -f "$additional_libdir/lib$name.$libext"; then
5243 found_dir
="$additional_libdir"
5244 found_a
="$additional_libdir/lib$name.$libext"
5245 if test -f "$additional_libdir/lib$name.la"; then
5246 found_la
="$additional_libdir/lib$name.la"
5251 if test "X$found_dir" = "X"; then
5252 for x
in $LDFLAGS $LTLIBICONV; do
5254 acl_save_prefix
="$prefix"
5255 prefix
="$acl_final_prefix"
5256 acl_save_exec_prefix
="$exec_prefix"
5257 exec_prefix
="$acl_final_exec_prefix"
5259 exec_prefix
="$acl_save_exec_prefix"
5260 prefix
="$acl_save_prefix"
5264 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5265 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5267 found_so
="$dir/lib$name.$shlibext"
5268 if test -f "$dir/lib$name.la"; then
5269 found_la
="$dir/lib$name.la"
5272 if test -f "$dir/lib$name.$libext"; then
5274 found_a
="$dir/lib$name.$libext"
5275 if test -f "$dir/lib$name.la"; then
5276 found_la
="$dir/lib$name.la"
5282 if test "X$found_dir" != "X"; then
5287 if test "X$found_dir" != "X"; then
5288 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5289 if test "X$found_so" != "X"; then
5290 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
5291 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5294 for x
in $ltrpathdirs; do
5295 if test "X$x" = "X$found_dir"; then
5300 if test -z "$haveit"; then
5301 ltrpathdirs
="$ltrpathdirs $found_dir"
5303 if test "$hardcode_direct" = yes; then
5304 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5306 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
5307 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5309 for x
in $rpathdirs; do
5310 if test "X$x" = "X$found_dir"; then
5315 if test -z "$haveit"; then
5316 rpathdirs
="$rpathdirs $found_dir"
5320 for x
in $LDFLAGS $LIBICONV; do
5322 acl_save_prefix
="$prefix"
5323 prefix
="$acl_final_prefix"
5324 acl_save_exec_prefix
="$exec_prefix"
5325 exec_prefix
="$acl_final_exec_prefix"
5327 exec_prefix
="$acl_save_exec_prefix"
5328 prefix
="$acl_save_prefix"
5330 if test "X$x" = "X-L$found_dir"; then
5335 if test -z "$haveit"; then
5336 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5338 if test "$hardcode_minus_L" != no
; then
5339 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5341 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5347 if test "X$found_a" != "X"; then
5348 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5350 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5353 additional_includedir
=
5354 case "$found_dir" in
5356 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5357 additional_includedir
="$basedir/include"
5360 if test "X$additional_includedir" != "X"; then
5361 if test "X$additional_includedir" != "X/usr/include"; then
5363 if test "X$additional_includedir" = "X/usr/local/include"; then
5364 if test -n "$GCC"; then
5366 linux
*) haveit
=yes;;
5370 if test -z "$haveit"; then
5371 for x
in $CPPFLAGS $INCICONV; do
5373 acl_save_prefix
="$prefix"
5374 prefix
="$acl_final_prefix"
5375 acl_save_exec_prefix
="$exec_prefix"
5376 exec_prefix
="$acl_final_exec_prefix"
5378 exec_prefix
="$acl_save_exec_prefix"
5379 prefix
="$acl_save_prefix"
5381 if test "X$x" = "X-I$additional_includedir"; then
5386 if test -z "$haveit"; then
5387 if test -d "$additional_includedir"; then
5388 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5394 if test -n "$found_la"; then
5395 save_libdir
="$libdir"
5397 */* |
*\\*) .
"$found_la" ;;
5398 *) .
"./$found_la" ;;
5400 libdir
="$save_libdir"
5401 for dep
in $dependency_libs; do
5404 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5405 if test "X$additional_libdir" != "X/usr/lib"; then
5407 if test "X$additional_libdir" = "X/usr/local/lib"; then
5408 if test -n "$GCC"; then
5410 linux
*) haveit
=yes;;
5414 if test -z "$haveit"; then
5416 for x
in $LDFLAGS $LIBICONV; do
5418 acl_save_prefix
="$prefix"
5419 prefix
="$acl_final_prefix"
5420 acl_save_exec_prefix
="$exec_prefix"
5421 exec_prefix
="$acl_final_exec_prefix"
5423 exec_prefix
="$acl_save_exec_prefix"
5424 prefix
="$acl_save_prefix"
5426 if test "X$x" = "X-L$additional_libdir"; then
5431 if test -z "$haveit"; then
5432 if test -d "$additional_libdir"; then
5433 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5437 for x
in $LDFLAGS $LTLIBICONV; do
5439 acl_save_prefix
="$prefix"
5440 prefix
="$acl_final_prefix"
5441 acl_save_exec_prefix
="$exec_prefix"
5442 exec_prefix
="$acl_final_exec_prefix"
5444 exec_prefix
="$acl_save_exec_prefix"
5445 prefix
="$acl_save_prefix"
5447 if test "X$x" = "X-L$additional_libdir"; then
5452 if test -z "$haveit"; then
5453 if test -d "$additional_libdir"; then
5454 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5461 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5462 if test "$enable_rpath" != no
; then
5464 for x
in $rpathdirs; do
5465 if test "X$x" = "X$dir"; then
5470 if test -z "$haveit"; then
5471 rpathdirs
="$rpathdirs $dir"
5474 for x
in $ltrpathdirs; do
5475 if test "X$x" = "X$dir"; then
5480 if test -z "$haveit"; then
5481 ltrpathdirs
="$ltrpathdirs $dir"
5486 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5489 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5492 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5493 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5499 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5500 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5506 if test "X$rpathdirs" != "X"; then
5507 if test -n "$hardcode_libdir_separator"; then
5509 for found_dir
in $rpathdirs; do
5510 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5512 acl_save_libdir
="$libdir"
5514 eval flag
=\"$hardcode_libdir_flag_spec\"
5515 libdir
="$acl_save_libdir"
5516 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5518 for found_dir
in $rpathdirs; do
5519 acl_save_libdir
="$libdir"
5521 eval flag
=\"$hardcode_libdir_flag_spec\"
5522 libdir
="$acl_save_libdir"
5523 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5527 if test "X$ltrpathdirs" != "X"; then
5528 for found_dir
in $ltrpathdirs; do
5529 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5536 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5537 stdlib.h string.h unistd.h sys
/param.h
5539 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5540 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5541 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5542 cat >>confdefs.h
<<_ACEOF
5543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5550 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
5551 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
5552 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
5555 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5556 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5557 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5558 cat >>confdefs.h
<<_ACEOF
5559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5572 $as_echo_n "checking for iconv... " >&6; }
5573 if ${am_cv_func_iconv+:} false
; then :
5574 $as_echo_n "(cached) " >&6
5577 am_cv_func_iconv
="no, consider installing GNU libiconv"
5579 am_save_CPPFLAGS
="$CPPFLAGS"
5580 CPPFLAGS
="$CPPFLAGS $INCICONV"
5581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5588 iconv_t cd = iconv_open("","");
5589 iconv(cd,NULL,NULL,NULL,NULL);
5595 if ac_fn_c_try_link
"$LINENO"; then :
5596 am_cv_func_iconv
=yes
5598 rm -f core conftest.err conftest.
$ac_objext \
5599 conftest
$ac_exeext conftest.
$ac_ext
5600 CPPFLAGS
="$am_save_CPPFLAGS"
5602 if test "$am_cv_func_iconv" != yes && test -d ..
/libiconv
; then
5603 for _libs
in .libs _libs
; do
5604 am_save_CPPFLAGS
="$CPPFLAGS"
5605 am_save_LIBS
="$LIBS"
5606 CPPFLAGS
="$CPPFLAGS -I../libiconv/include"
5607 LIBS
="$LIBS ../libiconv/lib/$_libs/libiconv.a"
5608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5615 iconv_t cd = iconv_open("","");
5616 iconv(cd,NULL,NULL,NULL,NULL);
5622 if ac_fn_c_try_link
"$LINENO"; then :
5623 INCICONV
="-I../libiconv/include"
5624 LIBICONV
='${top_builddir}'/..
/libiconv
/lib
/$_libs/libiconv.a
5625 LTLIBICONV
='${top_builddir}'/..
/libiconv
/lib
/libiconv.la
5627 am_cv_func_iconv
=yes
5629 rm -f core conftest.err conftest.
$ac_objext \
5630 conftest
$ac_exeext conftest.
$ac_ext
5631 CPPFLAGS
="$am_save_CPPFLAGS"
5632 LIBS
="$am_save_LIBS"
5633 if test "$am_cv_func_iconv" = "yes"; then
5639 if test "$am_cv_func_iconv" != yes; then
5640 am_save_CPPFLAGS
="$CPPFLAGS"
5641 am_save_LIBS
="$LIBS"
5642 CPPFLAGS
="$CPPFLAGS $INCICONV"
5643 LIBS
="$LIBS $LIBICONV"
5644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5645 /* end confdefs.h. */
5651 iconv_t cd = iconv_open("","");
5652 iconv(cd,NULL,NULL,NULL,NULL);
5658 if ac_fn_c_try_link
"$LINENO"; then :
5660 am_cv_func_iconv
=yes
5662 rm -f core conftest.err conftest.
$ac_objext \
5663 conftest
$ac_exeext conftest.
$ac_ext
5664 CPPFLAGS
="$am_save_CPPFLAGS"
5665 LIBS
="$am_save_LIBS"
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5670 $as_echo "$am_cv_func_iconv" >&6; }
5671 if test "$am_cv_func_iconv" = yes; then
5673 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5676 if test "$am_cv_lib_iconv" = yes; then
5678 for element
in $INCICONV; do
5680 for x
in $CPPFLAGS; do
5682 acl_save_prefix
="$prefix"
5683 prefix
="$acl_final_prefix"
5684 acl_save_exec_prefix
="$exec_prefix"
5685 exec_prefix
="$acl_final_exec_prefix"
5687 exec_prefix
="$acl_save_exec_prefix"
5688 prefix
="$acl_save_prefix"
5690 if test "X$x" = "X$element"; then
5695 if test -z "$haveit"; then
5696 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5701 $as_echo_n "checking how to link with libiconv... " >&6; }
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5703 $as_echo "$LIBICONV" >&6; }
5711 if test "$am_cv_func_iconv" = yes; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
5713 $as_echo_n "checking for iconv declaration... " >&6; }
5714 if ${am_cv_proto_iconv+:} false
; then :
5715 $as_echo_n "(cached) " >&6
5718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5719 /* end confdefs.h. */
5727 #if defined(__STDC__) || defined(__cplusplus)
5728 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
5741 if ac_fn_c_try_compile
"$LINENO"; then :
5742 am_cv_proto_iconv_arg1
=""
5744 am_cv_proto_iconv_arg1
="const"
5746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5747 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);"
5750 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
5752 }$am_cv_proto_iconv" >&5
5754 }$am_cv_proto_iconv" >&6; }
5756 cat >>confdefs.h
<<_ACEOF
5757 #define ICONV_CONST $am_cv_proto_iconv_arg1
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
5764 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
5765 if ${am_cv_langinfo_codeset+:} false
; then :
5766 $as_echo_n "(cached) " >&6
5768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5769 /* end confdefs.h. */
5770 #include <langinfo.h>
5774 char* cs = nl_langinfo(CODESET);
5779 if ac_fn_c_try_link
"$LINENO"; then :
5780 am_cv_langinfo_codeset
=yes
5782 am_cv_langinfo_codeset
=no
5784 rm -f core conftest.err conftest.
$ac_objext \
5785 conftest
$ac_exeext conftest.
$ac_ext
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
5789 $as_echo "$am_cv_langinfo_codeset" >&6; }
5790 if test $am_cv_langinfo_codeset = yes; then
5792 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
5796 if test $ac_cv_header_locale_h = yes; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5799 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5800 if ${am_cv_val_LC_MESSAGES+:} false
; then :
5801 $as_echo_n "(cached) " >&6
5803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5814 if ac_fn_c_try_link
"$LINENO"; then :
5815 am_cv_val_LC_MESSAGES
=yes
5817 am_cv_val_LC_MESSAGES
=no
5819 rm -f core conftest.err conftest.
$ac_objext \
5820 conftest
$ac_exeext conftest.
$ac_ext
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5823 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5824 if test $am_cv_val_LC_MESSAGES = yes; then
5826 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5832 for ac_prog
in bison
5834 # Extract the first word of "$ac_prog", so it can be a program name with args.
5835 set dummy
$ac_prog; ac_word
=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_INTLBISON+:} false
; then :
5839 $as_echo_n "(cached) " >&6
5841 if test -n "$INTLBISON"; then
5842 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
5844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir
=.
5849 for ac_exec_ext
in '' $ac_executable_extensions; do
5850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_INTLBISON
="$ac_prog"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 INTLBISON
=$ac_cv_prog_INTLBISON
5862 if test -n "$INTLBISON"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
5864 $as_echo "$INTLBISON" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5871 test -n "$INTLBISON" && break
5874 if test -z "$INTLBISON"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
5878 $as_echo_n "checking version of bison... " >&6; }
5879 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
5880 case $ac_prog_version in
5881 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
5882 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
5883 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
5884 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
5887 $as_echo "$ac_prog_version" >&6; }
5889 if test $ac_verc_fail = yes; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5909 $as_echo_n "checking whether NLS is requested... " >&6; }
5910 # Check whether --enable-nls was given.
5911 if test "${enable_nls+set}" = set; then :
5912 enableval
=$enable_nls; USE_NLS
=$enableval
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5918 $as_echo "$USE_NLS" >&6; }
5923 BUILD_INCLUDED_LIBINTL
=no
5924 USE_INCLUDED_LIBINTL
=no
5930 if test "$USE_NLS" = "yes"; then
5931 gt_use_preinstalled_gnugettext
=no
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
5934 $as_echo_n "checking whether included gettext is requested... " >&6; }
5936 # Check whether --with-included-gettext was given.
5937 if test "${with_included_gettext+set}" = set; then :
5938 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
5940 nls_cv_force_use_gnu_gettext
=no
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
5944 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
5946 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
5947 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5955 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5956 if ${gt_cv_func_gnugettext2_libc+:} false
; then :
5957 $as_echo_n "(cached) " >&6
5959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5960 /* end confdefs.h. */
5961 #include <libintl.h>
5962 extern int _nl_msg_cat_cntr;
5963 extern int *_nl_domain_bindings;
5967 bindtextdomain ("", "");
5968 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
5973 if ac_fn_c_try_link
"$LINENO"; then :
5974 gt_cv_func_gnugettext2_libc
=yes
5976 gt_cv_func_gnugettext2_libc
=no
5978 rm -f core conftest.err conftest.
$ac_objext \
5979 conftest
$ac_exeext conftest.
$ac_ext
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
5982 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
5984 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
5990 acl_save_prefix
="$prefix"
5991 prefix
="$acl_final_prefix"
5992 acl_save_exec_prefix
="$exec_prefix"
5993 exec_prefix
="$acl_final_exec_prefix"
5995 eval additional_includedir
=\"$includedir\"
5996 eval additional_libdir
=\"$libdir\"
5998 exec_prefix
="$acl_save_exec_prefix"
5999 prefix
="$acl_save_prefix"
6002 # Check whether --with-libintl-prefix was given.
6003 if test "${with_libintl_prefix+set}" = set; then :
6004 withval
=$with_libintl_prefix;
6005 if test "X$withval" = "Xno"; then
6008 if test "X$withval" = "X"; then
6010 acl_save_prefix
="$prefix"
6011 prefix
="$acl_final_prefix"
6012 acl_save_exec_prefix
="$exec_prefix"
6013 exec_prefix
="$acl_final_exec_prefix"
6015 eval additional_includedir
=\"$includedir\"
6016 eval additional_libdir
=\"$libdir\"
6018 exec_prefix
="$acl_save_exec_prefix"
6019 prefix
="$acl_save_prefix"
6022 additional_includedir
="$withval/include"
6023 additional_libdir
="$withval/lib"
6034 names_already_handled
=
6035 names_next_round
='intl '
6036 while test -n "$names_next_round"; do
6037 names_this_round
="$names_next_round"
6039 for name
in $names_this_round; do
6041 for n
in $names_already_handled; do
6042 if test "$n" = "$name"; then
6047 if test -z "$already_handled"; then
6048 names_already_handled
="$names_already_handled $name"
6049 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6050 eval value
=\"\
$HAVE_LIB$uppername\"
6051 if test -n "$value"; then
6052 if test "$value" = yes; then
6053 eval value
=\"\
$LIB$uppername\"
6054 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
6055 eval value
=\"\
$LTLIB$uppername\"
6056 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
6065 if test $use_additional = yes; then
6066 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6067 found_dir
="$additional_libdir"
6068 found_so
="$additional_libdir/lib$name.$shlibext"
6069 if test -f "$additional_libdir/lib$name.la"; then
6070 found_la
="$additional_libdir/lib$name.la"
6073 if test -f "$additional_libdir/lib$name.$libext"; then
6074 found_dir
="$additional_libdir"
6075 found_a
="$additional_libdir/lib$name.$libext"
6076 if test -f "$additional_libdir/lib$name.la"; then
6077 found_la
="$additional_libdir/lib$name.la"
6082 if test "X$found_dir" = "X"; then
6083 for x
in $LDFLAGS $LTLIBINTL; do
6085 acl_save_prefix
="$prefix"
6086 prefix
="$acl_final_prefix"
6087 acl_save_exec_prefix
="$exec_prefix"
6088 exec_prefix
="$acl_final_exec_prefix"
6090 exec_prefix
="$acl_save_exec_prefix"
6091 prefix
="$acl_save_prefix"
6095 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6096 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6098 found_so
="$dir/lib$name.$shlibext"
6099 if test -f "$dir/lib$name.la"; then
6100 found_la
="$dir/lib$name.la"
6103 if test -f "$dir/lib$name.$libext"; then
6105 found_a
="$dir/lib$name.$libext"
6106 if test -f "$dir/lib$name.la"; then
6107 found_la
="$dir/lib$name.la"
6113 if test "X$found_dir" != "X"; then
6118 if test "X$found_dir" != "X"; then
6119 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6120 if test "X$found_so" != "X"; then
6121 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6122 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6125 for x
in $ltrpathdirs; do
6126 if test "X$x" = "X$found_dir"; then
6131 if test -z "$haveit"; then
6132 ltrpathdirs
="$ltrpathdirs $found_dir"
6134 if test "$hardcode_direct" = yes; then
6135 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6137 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6138 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6140 for x
in $rpathdirs; do
6141 if test "X$x" = "X$found_dir"; then
6146 if test -z "$haveit"; then
6147 rpathdirs
="$rpathdirs $found_dir"
6151 for x
in $LDFLAGS $LIBINTL; do
6153 acl_save_prefix
="$prefix"
6154 prefix
="$acl_final_prefix"
6155 acl_save_exec_prefix
="$exec_prefix"
6156 exec_prefix
="$acl_final_exec_prefix"
6158 exec_prefix
="$acl_save_exec_prefix"
6159 prefix
="$acl_save_prefix"
6161 if test "X$x" = "X-L$found_dir"; then
6166 if test -z "$haveit"; then
6167 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6169 if test "$hardcode_minus_L" != no
; then
6170 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
6172 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6178 if test "X$found_a" != "X"; then
6179 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
6181 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6184 additional_includedir
=
6185 case "$found_dir" in
6187 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6188 additional_includedir
="$basedir/include"
6191 if test "X$additional_includedir" != "X"; then
6192 if test "X$additional_includedir" != "X/usr/include"; then
6194 if test "X$additional_includedir" = "X/usr/local/include"; then
6195 if test -n "$GCC"; then
6197 linux
*) haveit
=yes;;
6201 if test -z "$haveit"; then
6202 for x
in $CPPFLAGS $INCINTL; do
6204 acl_save_prefix
="$prefix"
6205 prefix
="$acl_final_prefix"
6206 acl_save_exec_prefix
="$exec_prefix"
6207 exec_prefix
="$acl_final_exec_prefix"
6209 exec_prefix
="$acl_save_exec_prefix"
6210 prefix
="$acl_save_prefix"
6212 if test "X$x" = "X-I$additional_includedir"; then
6217 if test -z "$haveit"; then
6218 if test -d "$additional_includedir"; then
6219 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6225 if test -n "$found_la"; then
6226 save_libdir
="$libdir"
6228 */* |
*\\*) .
"$found_la" ;;
6229 *) .
"./$found_la" ;;
6231 libdir
="$save_libdir"
6232 for dep
in $dependency_libs; do
6235 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6236 if test "X$additional_libdir" != "X/usr/lib"; then
6238 if test "X$additional_libdir" = "X/usr/local/lib"; then
6239 if test -n "$GCC"; then
6241 linux
*) haveit
=yes;;
6245 if test -z "$haveit"; then
6247 for x
in $LDFLAGS $LIBINTL; do
6249 acl_save_prefix
="$prefix"
6250 prefix
="$acl_final_prefix"
6251 acl_save_exec_prefix
="$exec_prefix"
6252 exec_prefix
="$acl_final_exec_prefix"
6254 exec_prefix
="$acl_save_exec_prefix"
6255 prefix
="$acl_save_prefix"
6257 if test "X$x" = "X-L$additional_libdir"; then
6262 if test -z "$haveit"; then
6263 if test -d "$additional_libdir"; then
6264 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6268 for x
in $LDFLAGS $LTLIBINTL; do
6270 acl_save_prefix
="$prefix"
6271 prefix
="$acl_final_prefix"
6272 acl_save_exec_prefix
="$exec_prefix"
6273 exec_prefix
="$acl_final_exec_prefix"
6275 exec_prefix
="$acl_save_exec_prefix"
6276 prefix
="$acl_save_prefix"
6278 if test "X$x" = "X-L$additional_libdir"; then
6283 if test -z "$haveit"; then
6284 if test -d "$additional_libdir"; then
6285 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6292 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6293 if test "$enable_rpath" != no
; then
6295 for x
in $rpathdirs; do
6296 if test "X$x" = "X$dir"; then
6301 if test -z "$haveit"; then
6302 rpathdirs
="$rpathdirs $dir"
6305 for x
in $ltrpathdirs; do
6306 if test "X$x" = "X$dir"; then
6311 if test -z "$haveit"; then
6312 ltrpathdirs
="$ltrpathdirs $dir"
6317 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6320 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6323 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6324 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6330 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6331 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6337 if test "X$rpathdirs" != "X"; then
6338 if test -n "$hardcode_libdir_separator"; then
6340 for found_dir
in $rpathdirs; do
6341 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6343 acl_save_libdir
="$libdir"
6345 eval flag
=\"$hardcode_libdir_flag_spec\"
6346 libdir
="$acl_save_libdir"
6347 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6349 for found_dir
in $rpathdirs; do
6350 acl_save_libdir
="$libdir"
6352 eval flag
=\"$hardcode_libdir_flag_spec\"
6353 libdir
="$acl_save_libdir"
6354 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6358 if test "X$ltrpathdirs" != "X"; then
6359 for found_dir
in $ltrpathdirs; do
6360 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6365 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6366 if ${gt_cv_func_gnugettext2_libintl+:} false
; then :
6367 $as_echo_n "(cached) " >&6
6369 gt_save_CPPFLAGS
="$CPPFLAGS"
6370 CPPFLAGS
="$CPPFLAGS $INCINTL"
6371 gt_save_LIBS
="$LIBS"
6372 LIBS
="$LIBS $LIBINTL"
6373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #include <libintl.h>
6376 extern int _nl_msg_cat_cntr;
6381 const char *_nl_expand_alias ();
6385 bindtextdomain ("", "");
6386 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6391 if ac_fn_c_try_link
"$LINENO"; then :
6392 gt_cv_func_gnugettext2_libintl
=yes
6394 gt_cv_func_gnugettext2_libintl
=no
6396 rm -f core conftest.err conftest.
$ac_objext \
6397 conftest
$ac_exeext conftest.
$ac_ext
6398 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
6399 LIBS
="$LIBS $LIBICONV"
6400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6402 #include <libintl.h>
6403 extern int _nl_msg_cat_cntr;
6408 const char *_nl_expand_alias ();
6412 bindtextdomain ("", "");
6413 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
6418 if ac_fn_c_try_link
"$LINENO"; then :
6419 LIBINTL
="$LIBINTL $LIBICONV"
6420 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6421 gt_cv_func_gnugettext2_libintl
=yes
6424 rm -f core conftest.err conftest.
$ac_objext \
6425 conftest
$ac_exeext conftest.
$ac_ext
6427 CPPFLAGS
="$gt_save_CPPFLAGS"
6428 LIBS
="$gt_save_LIBS"
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
6431 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
6434 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
6435 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
6436 && test "$PACKAGE" != gettext-runtime \
6437 && test "$PACKAGE" != gettext-tools
; }; then
6438 gt_use_preinstalled_gnugettext
=yes
6446 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
6447 nls_cv_use_gnu_gettext
=yes
6451 if test "$nls_cv_use_gnu_gettext" = "yes"; then
6452 BUILD_INCLUDED_LIBINTL
=yes
6453 USE_INCLUDED_LIBINTL
=yes
6454 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
6455 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
6456 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6459 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6460 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6465 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6466 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6468 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6476 $as_echo_n "checking whether to use NLS... " >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6478 $as_echo "$USE_NLS" >&6; }
6479 if test "$USE_NLS" = "yes"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6481 $as_echo_n "checking where the gettext function comes from... " >&6; }
6482 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6483 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6484 gt_source
="external libintl"
6489 gt_source
="included intl directory"
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6492 $as_echo "$gt_source" >&6; }
6495 if test "$USE_NLS" = "yes"; then
6497 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6498 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6500 $as_echo_n "checking how to link with libintl... " >&6; }
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6502 $as_echo "$LIBINTL" >&6; }
6504 for element
in $INCINTL; do
6506 for x
in $CPPFLAGS; do
6508 acl_save_prefix
="$prefix"
6509 prefix
="$acl_final_prefix"
6510 acl_save_exec_prefix
="$exec_prefix"
6511 exec_prefix
="$acl_final_exec_prefix"
6513 exec_prefix
="$acl_save_exec_prefix"
6514 prefix
="$acl_save_prefix"
6516 if test "X$x" = "X$element"; then
6521 if test -z "$haveit"; then
6522 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6529 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6532 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6540 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
6541 BUILD_INCLUDED_LIBINTL
=yes
6549 nls_cv_header_libgt
=
6560 if test "$USE_INCLUDED_LIBINTL" = yes; then
6561 INTLOBJS
="\$(GETTOBJS)"
6565 INTL_LIBTOOL_SUFFIX_PREFIX
=
6577 # This replaces the extensive use of DEFS in the original Makefile.in.
6579 $as_echo "#define IN_LIBINTL 1" >>confdefs.h
6582 $as_echo "#define IN_LIBRARY 1" >>confdefs.h
6585 $as_echo "#define DEPENDS_ON_LIBICONV 1" >>confdefs.h
6588 $as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h
6591 $as_echo "#define NO_XMALLOC 1" >>confdefs.h
6594 $as_echo "#define set_relocation_prefix libintl_set_relocation_prefix" >>confdefs.h
6597 $as_echo "#define relocate libintl_relocate" >>confdefs.h
6600 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6601 for ac_prog
in aclocal
6603 # Extract the first word of "$ac_prog", so it can be a program name with args.
6604 set dummy
$ac_prog; ac_word
=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if ${ac_cv_prog_ACLOCAL+:} false
; then :
6608 $as_echo_n "(cached) " >&6
6610 if test -n "$ACLOCAL"; then
6611 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
6613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6617 test -z "$as_dir" && as_dir
=.
6618 for ac_exec_ext
in '' $ac_executable_extensions; do
6619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_ACLOCAL
="$ac_prog"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 ACLOCAL
=$ac_cv_prog_ACLOCAL
6631 if test -n "$ACLOCAL"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
6633 $as_echo "$ACLOCAL" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6640 test -n "$ACLOCAL" && break
6642 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
6644 for ac_prog
in autoconf
6646 # Extract the first word of "$ac_prog", so it can be a program name with args.
6647 set dummy
$ac_prog; ac_word
=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6649 $as_echo_n "checking for $ac_word... " >&6; }
6650 if ${ac_cv_prog_AUTOCONF+:} false
; then :
6651 $as_echo_n "(cached) " >&6
6653 if test -n "$AUTOCONF"; then
6654 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
6656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6660 test -z "$as_dir" && as_dir
=.
6661 for ac_exec_ext
in '' $ac_executable_extensions; do
6662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6663 ac_cv_prog_AUTOCONF
="$ac_prog"
6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673 AUTOCONF
=$ac_cv_prog_AUTOCONF
6674 if test -n "$AUTOCONF"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
6676 $as_echo "$AUTOCONF" >&6; }
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6683 test -n "$AUTOCONF" && break
6685 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
6687 for ac_prog
in autoheader
6689 # Extract the first word of "$ac_prog", so it can be a program name with args.
6690 set dummy
$ac_prog; ac_word
=$2
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6692 $as_echo_n "checking for $ac_word... " >&6; }
6693 if ${ac_cv_prog_AUTOHEADER+:} false
; then :
6694 $as_echo_n "(cached) " >&6
6696 if test -n "$AUTOHEADER"; then
6697 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
6699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6703 test -z "$as_dir" && as_dir
=.
6704 for ac_exec_ext
in '' $ac_executable_extensions; do
6705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6706 ac_cv_prog_AUTOHEADER
="$ac_prog"
6707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6716 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
6717 if test -n "$AUTOHEADER"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
6719 $as_echo "$AUTOHEADER" >&6; }
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 $as_echo "no" >&6; }
6726 test -n "$AUTOHEADER" && break
6728 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
6731 # Check whether --enable-maintainer-mode was given.
6732 if test "${enable_maintainer_mode+set}" = set; then :
6733 enableval
=$enable_maintainer_mode;
6735 enable_maintainer_mode
=no
6738 if test "x$enable_maintainer_mode" = xno
; then
6745 # Additional info for config.intl.
6751 case $USE_INCLUDED_LIBINTL in
6753 LIBINTL
=`echo $LIBINTL | sed 's,${top_builddir},&/..,' `
6754 LTLIBINTL
=`echo $LTLIBINTL | sed 's,${top_builddir},&/..,' `
6755 LIBINTL_DEP
='${top_builddir}/../intl/libintl.a'
6756 INCINTL
='-I${top_builddir}/../intl'
6760 ac_config_files
="$ac_config_files Makefile config.intl"
6762 cat >confcache
<<\_ACEOF
6763 # This file is a shell script that caches the results of configure
6764 # tests run on this system so they can be shared between configure
6765 # scripts and configure runs, see configure's option --config-cache.
6766 # It is not useful on other systems. If it contains results you don't
6767 # want to keep, you may remove or edit it.
6769 # config.status only pays attention to the cache file if you give it
6770 # the --recheck option to rerun configure.
6772 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6778 # The following way of writing the cache mishandles newlines in values,
6779 # but we know of no workaround that is simple, portable, and efficient.
6780 # So, we kill variables containing newlines.
6781 # Ultrix sh set writes to stderr and can't be redirected directly,
6782 # and sets the high bit in the cache file unless we assign to the vars.
6784 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6785 eval ac_val
=\$
$ac_var
6789 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6790 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6793 _ | IFS | as_nl
) ;; #(
6794 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6795 *) { eval $ac_var=; unset $ac_var;} ;;
6801 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6802 *${as_nl}ac_space
=\
*)
6803 # `set' does not quote correctly, so add quotes: double-quote
6804 # substitution turns \\\\ into \\, and sed turns \\ into \.
6807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6810 # `set' quotes correctly as required by POSIX, so do not add quotes.
6811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6822 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6824 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6825 if test -w "$cache_file"; then
6826 if test "x$cache_file" != "x/dev/null"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6828 $as_echo "$as_me: updating cache $cache_file" >&6;}
6829 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6830 cat confcache
>"$cache_file"
6832 case $cache_file in #(
6834 mv -f confcache
"$cache_file"$$
&&
6835 mv -f "$cache_file"$$
"$cache_file" ;; #(
6837 mv -f confcache
"$cache_file" ;;
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6843 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6848 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6849 # Let make expand exec_prefix.
6850 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6852 DEFS
=-DHAVE_CONFIG_H
6857 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6858 # 1. Remove the extension, and $U if already installed.
6859 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6860 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6861 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6862 # will be set to the directory where LIBOBJS objects are built.
6863 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6864 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6868 LTLIBOBJS
=$ac_ltlibobjs
6872 : "${CONFIG_STATUS=./config.status}"
6874 ac_clean_files_save
=$ac_clean_files
6875 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6877 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6879 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6881 # Generated by $as_me.
6882 # Run this file to recreate the current configuration.
6883 # Compiler output produced by configure, useful for debugging
6884 # configure, is in config.log if it exists.
6890 SHELL=\${CONFIG_SHELL-$SHELL}
6893 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6894 ## -------------------- ##
6895 ## M4sh Initialization. ##
6896 ## -------------------- ##
6898 # Be more Bourne compatible
6899 DUALCASE
=1; export DUALCASE
# for MKS sh
6900 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6903 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6904 # is contrary to our usage. Disable this feature.
6905 alias -g '${1+"$@"}'='"$@"'
6906 setopt NO_GLOB_SUBST
6908 case `(set -o) 2>/dev/null` in #(
6920 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6921 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6922 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6923 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6924 # Prefer a ksh shell builtin over an external printf program on Solaris,
6925 # but without wasting forks for bash or zsh.
6926 if test -z "$BASH_VERSION$ZSH_VERSION" \
6927 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6928 as_echo='print
-r --'
6929 as_echo_n='print
-rn --'
6930 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6931 as_echo='printf %s
\n'
6932 as_echo_n='printf %s
'
6934 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6935 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6936 as_echo_n='/usr
/ucb
/echo -n'
6938 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6939 as_echo_n_body='eval
6943 expr "X$arg" : "X\\(.*\\)$as_nl";
6944 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6946 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6948 export as_echo_n_body
6949 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6952 as_echo='sh
-c $as_echo_body as_echo
'
6955 # The user is always right.
6956 if test "${PATH_SEPARATOR+set}" != set; then
6958 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6959 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6966 # We need space, tab and new line, in precisely that order. Quoting is
6967 # there to prevent editors from complaining about space-tab.
6968 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6969 # splitting by setting IFS to empty value.)
6972 # Find who we are. Look in the path if we contain no directory separator.
6975 *[\\/]* ) as_myself=$0 ;;
6976 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 test -z "$as_dir" && as_dir=.
6981 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6987 # We did not find ourselves, most probably we were run as `sh COMMAND'
6988 # in which case we are not to be found in the path.
6989 if test "x$as_myself" = x
; then
6992 if test ! -f "$as_myself"; then
6993 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6997 # Unset variables that we do not need and which cause bugs (e.g. in
6998 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6999 # suppresses any "Segmentation fault" message there. '((' could
7000 # trigger a bug in pdksh 5.2.14.
7001 for as_var
in BASH_ENV ENV MAIL MAILPATH
7002 do eval test x\
${$as_var+set} = xset \
7003 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7016 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7019 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7020 # ----------------------------------------
7021 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7022 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7023 # script with STATUS, using 1 if that was 0.
7026 as_status
=$1; test $as_status -eq 0 && as_status
=1
7028 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7029 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7031 $as_echo "$as_me: error: $2" >&2
7032 as_fn_exit
$as_status
7036 # as_fn_set_status STATUS
7037 # -----------------------
7038 # Set $? to STATUS, without forking.
7042 } # as_fn_set_status
7046 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7056 # Portably unset VAR.
7059 { eval $1=; unset $1;}
7061 as_unset
=as_fn_unset
7062 # as_fn_append VAR VALUE
7063 # ----------------------
7064 # Append the text in VALUE to the end of the definition contained in VAR. Take
7065 # advantage of any shell optimizations that allow amortized linear growth over
7066 # repeated appends, instead of the typical quadratic growth present in naive
7068 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7069 eval 'as_fn_append ()
7080 # as_fn_arith ARG...
7081 # ------------------
7082 # Perform arithmetic evaluation on the ARGs, and store the result in the
7083 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7084 # must be portable across $(()) and expr.
7085 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7086 eval 'as_fn_arith ()
7093 as_val
=`expr "$@" || test $? -eq 1`
7098 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7099 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7105 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7106 as_basename
=basename
7111 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7117 as_me
=`$as_basename -- "$0" ||
7118 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7119 X"$0" : 'X\(//\)$' \| \
7120 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7122 sed '/^.*\/\([^/][^/]*\)\/*$/{
7136 # Avoid depending upon Character Ranges.
7137 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7138 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7139 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7140 as_cr_digits
='0123456789'
7141 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7143 ECHO_C
= ECHO_N
= ECHO_T
=
7144 case `echo -n x` in #(((((
7146 case `echo 'xy\c'` in
7147 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7149 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7156 rm -f conf$$ conf$$.exe conf$$.
file
7157 if test -d conf$$.dir
; then
7158 rm -f conf$$.dir
/conf$$.
file
7161 mkdir conf$$.dir
2>/dev
/null
7163 if (echo >conf$$.
file) 2>/dev
/null
; then
7164 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7166 # ... but there are two gotchas:
7167 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7168 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7169 # In both cases, we have to default to `cp -pR'.
7170 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7172 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7180 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7181 rmdir conf$$.dir
2>/dev
/null
7186 # Create "$as_dir" as a directory, including parents if necessary.
7191 -*) as_dir
=.
/$as_dir;;
7193 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7197 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7198 *) as_qdir
=$as_dir;;
7200 as_dirs
="'$as_qdir' $as_dirs"
7201 as_dir
=`$as_dirname -- "$as_dir" ||
7202 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7203 X"$as_dir" : 'X\(//\)[^/]' \| \
7204 X"$as_dir" : 'X\(//\)$' \| \
7205 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7206 $as_echo X"$as_dir" |
7207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7224 test -d "$as_dir" && break
7226 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7227 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7231 if mkdir
-p .
2>/dev
/null
; then
7232 as_mkdir_p
='mkdir -p "$as_dir"'
7234 test -d .
/-p && rmdir .
/-p
7239 # as_fn_executable_p FILE
7240 # -----------------------
7241 # Test if FILE is an executable regular file.
7242 as_fn_executable_p
()
7244 test -f "$1" && test -x "$1"
7245 } # as_fn_executable_p
7247 as_executable_p
=as_fn_executable_p
7249 # Sed expression to map a string onto a valid CPP name.
7250 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7252 # Sed expression to map a string onto a valid variable name.
7253 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7257 ## ----------------------------------- ##
7258 ## Main body of $CONFIG_STATUS script. ##
7259 ## ----------------------------------- ##
7261 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7264 # Save the log message, to keep $0 and so on meaningful, and to
7265 # report actual input values of CONFIG_FILES etc. instead of their
7266 # values after options handling.
7268 This file was extended by $as_me, which was
7269 generated by GNU Autoconf 2.69. Invocation command line was
7271 CONFIG_FILES = $CONFIG_FILES
7272 CONFIG_HEADERS = $CONFIG_HEADERS
7273 CONFIG_LINKS = $CONFIG_LINKS
7274 CONFIG_COMMANDS = $CONFIG_COMMANDS
7277 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7282 case $ac_config_files in *"
7283 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7286 case $ac_config_headers in *"
7287 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7292 # Files that config.status was made for.
7293 config_files="$ac_config_files"
7294 config_headers="$ac_config_headers"
7295 config_commands="$ac_config_commands"
7299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7301 \`$as_me' instantiates files and other configuration actions
7302 from templates according to the current configuration. Unless the files
7303 and actions are specified as TAGs, all are instantiated by default.
7305 Usage: $0 [OPTION]... [TAG]...
7307 -h, --help print this help, then exit
7308 -V, --version print version number and configuration settings, then exit
7309 --config print configuration, then exit
7310 -q, --quiet, --silent
7311 do not print progress messages
7312 -d, --debug don't remove temporary files
7313 --recheck update $as_me by reconfiguring in the same conditions
7314 --file=FILE[:TEMPLATE]
7315 instantiate the configuration file FILE
7316 --header=FILE[:TEMPLATE]
7317 instantiate the configuration header FILE
7319 Configuration files:
7322 Configuration headers:
7325 Configuration commands:
7328 Report bugs to the package provider."
7331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7332 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7335 configured by $0, generated by GNU Autoconf 2.69,
7336 with options \\"\$ac_cs_config\\"
7338 Copyright (C) 2012 Free Software Foundation, Inc.
7339 This config.status script is free software; the Free Software Foundation
7340 gives unlimited permission to copy, distribute and modify it."
7345 test -n "\$AWK" || AWK=awk
7348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7349 # The default lists apply if the user does not specify any file.
7355 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7356 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7360 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7372 # Handling of the options.
7373 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7375 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7376 $as_echo "$ac_cs_version"; exit ;;
7377 --config |
--confi |
--conf |
--con |
--co |
--c )
7378 $as_echo "$ac_cs_config"; exit ;;
7379 --debug |
--debu |
--deb |
--de |
--d |
-d )
7381 --file |
--fil |
--fi |
--f )
7384 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7385 '') as_fn_error $?
"missing file argument" ;;
7387 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7388 ac_need_defaults
=false
;;
7389 --header |
--heade |
--head |
--hea )
7392 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7394 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7395 ac_need_defaults
=false
;;
7397 # Conflict between --help and --header
7398 as_fn_error $?
"ambiguous option: \`$1'
7399 Try \`$0 --help' for more information.";;
7400 --help |
--hel |
-h )
7401 $as_echo "$ac_cs_usage"; exit ;;
7402 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7403 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7407 -*) as_fn_error $?
"unrecognized option: \`$1'
7408 Try \`$0 --help' for more information." ;;
7410 *) as_fn_append ac_config_targets
" $1"
7411 ac_need_defaults
=false
;;
7417 ac_configure_extra_args
=
7419 if $ac_cs_silent; then
7421 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7426 if \$ac_cs_recheck; then
7427 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7429 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7430 CONFIG_SHELL='$SHELL'
7436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7440 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7441 ## Running $as_me. ##
7447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7451 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7452 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7454 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7455 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7456 LINGUAS="${LINGUAS-%UNSET%}"
7461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7463 # Handling of arguments.
7464 for ac_config_target
in $ac_config_targets
7466 case $ac_config_target in
7467 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7468 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7469 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7470 "config.intl") CONFIG_FILES
="$CONFIG_FILES config.intl" ;;
7472 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7477 # If the user did not use the arguments to specify the items to instantiate,
7478 # then the envvar interface is used. Set only those that are not.
7479 # We use the long form for the default assignment because of an extremely
7480 # bizarre bug on SunOS 4.1.3.
7481 if $ac_need_defaults; then
7482 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7483 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7484 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7487 # Have a temporary directory for convenience. Make it in the build tree
7488 # simply because there is no reason against having it here, and in addition,
7489 # creating and moving files from /tmp can sometimes cause problems.
7490 # Hook for its removal unless debugging.
7491 # Note that there is a small window in which the directory will not be cleaned:
7492 # after its creation but before its name has been assigned to `$tmp'.
7496 trap 'exit_status=$?
7498 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7500 trap 'as_fn_exit 1' 1 2 13 15
7502 # Create a (secure) tmp directory for tmp files.
7505 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7509 tmp
=.
/conf$$
-$RANDOM
7510 (umask 077 && mkdir
"$tmp")
7511 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7514 # Set up the scripts for CONFIG_FILES section.
7515 # No need to generate them if there are no CONFIG_FILES.
7516 # This happens for instance with `./config.status config.h'.
7517 if test -n "$CONFIG_FILES"; then
7520 ac_cr
=`echo X | tr X '\015'`
7521 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7522 # But we know of no other shell where ac_cr would be empty at this
7523 # point, so we can use a bashism as a fallback.
7524 if test "x$ac_cr" = x
; then
7525 eval ac_cr
=\$
\'\\r
\'
7527 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7528 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7534 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7539 echo "cat >conf$$subs.awk <<_ACEOF" &&
7540 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7543 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7544 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7546 for ac_last_try in false false false false false :; do
7547 . ./conf$$subs.sh ||
7548 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7550 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7551 if test $ac_delim_n = $ac_delim_num; then
7553 elif $ac_last_try; then
7554 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7556 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7562 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7566 s/^/S["/; s
/!.
*/"]=/
7576 s/\(.\{148\}\)..*/\1/
7578 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7583 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7590 s/\(.\{148\}\)..*/\1/
7592 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7596 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7601 ' <conf$$subs.awk | sed '
7606 ' >>$CONFIG_STATUS || ac_write_fail=1
7607 rm -f conf$$subs.awk
7608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7610 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7611 for (key in S) S_is_set[key] = 1
7617 nfields = split(line, field, "@
")
7619 len = length(field[1])
7620 for (i = 2; i < nfields; i++) {
7622 keylen = length(key)
7623 if (S_is_set[key]) {
7625 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7626 len += length(value) + length(field[++i])
7637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7638 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7639 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7642 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7643 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7646 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7647 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7648 # trailing colons and then remove the whole line if VPATH becomes empty
7649 # (actually we leave an empty line to preserve line numbers).
7650 if test "x
$srcdir" = x.; then
7651 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7670 fi # test -n "$CONFIG_FILES"
7672 # Set up the scripts for CONFIG_HEADERS section.
7673 # No need to generate them if there are no CONFIG_HEADERS.
7674 # This happens for instance with `./config.status Makefile'.
7675 if test -n "$CONFIG_HEADERS"; then
7676 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7680 # Transform confdefs.h into an awk script `defines.awk', embedded as
7681 # here-document in config.status, that substitutes the proper values into
7682 # config.h.in to produce config.h.
7684 # Create a delimiter string that does not exist in confdefs.h, to ease
7685 # handling of long lines.
7687 for ac_last_try in false false :; do
7688 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7689 if test -z "$ac_tt"; then
7691 elif $ac_last_try; then
7692 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7694 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7698 # For the awk script, D is an array of macro values keyed by name,
7699 # likewise P contains macro parameters if any. Preserve backslash
7700 # newline sequences.
7702 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7704 s/.\{148\}/&'"$ac_delim"'/g
7707 s/^[ ]*#[ ]*define[ ][ ]*/ /
7714 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7716 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7720 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7721 D["\
1"]=" \
3\\\\\\n
"\\/p
7723 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7728 s/.\{148\}/&'"$ac_delim"'/g
7733 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7736 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7738 ' <confdefs.h | sed '
7739 s/'"$ac_delim"'/"\\\
7740 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7743 for (key in D) D_is_set[key] = 1
7746 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7748 split(line, arg, " ")
7749 if (arg[1] == "#") {
7753 defundef
= substr
(arg
[1], 2)
7756 split(mac1
, mac2
, "(") #)
7758 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7759 if (D_is_set
[macro
]) {
7760 # Preserve the white space surrounding the "#".
7761 print prefix
"define", macro P
[macro
] D
[macro
]
7764 # Replace #undef with comments. This is necessary, for example,
7765 # in the case of _POSIX_SOURCE, which is predefined and required
7766 # on some systems where configure will not decide to define it.
7767 if (defundef
== "undef") {
7768 print
"/*", prefix defundef
, macro
, "*/"
7776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7777 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7778 fi # test -n "$CONFIG_HEADERS"
7781 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7786 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7788 case $ac_mode$ac_tag in
7790 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7791 :[FH
]-) ac_tag
=-:-;;
7792 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7809 -) ac_f
="$ac_tmp/stdin";;
7810 *) # Look for the file first in the build tree, then in the source tree
7811 # (if the path is not absolute). The absolute path cannot be DOS-style,
7812 # because $ac_f cannot contain `:'.
7816 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7818 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7820 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7821 as_fn_append ac_file_inputs
" '$ac_f'"
7824 # Let's still pretend it is `configure' which instantiates (i.e., don't
7825 # use $as_me), people would be surprised to read:
7826 # /* config.h. Generated by config.status. */
7827 configure_input
='Generated from '`
7828 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7830 if test x
"$ac_file" != x-
; then
7831 configure_input
="$ac_file. $configure_input"
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7833 $as_echo "$as_me: creating $ac_file" >&6;}
7835 # Neutralize special characters interpreted by sed in replacement strings.
7836 case $configure_input in #(
7837 *\
&* |
*\|
* |
*\\* )
7838 ac_sed_conf_input
=`$as_echo "$configure_input" |
7839 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7840 *) ac_sed_conf_input
=$configure_input;;
7844 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7845 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7850 ac_dir
=`$as_dirname -- "$ac_file" ||
7851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7852 X"$ac_file" : 'X\(//\)[^/]' \| \
7853 X"$ac_file" : 'X\(//\)$' \| \
7854 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7855 $as_echo X"$ac_file" |
7856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7873 as_dir
="$ac_dir"; as_fn_mkdir_p
7877 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7879 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7880 # A ".." for each directory in $ac_dir_suffix.
7881 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7882 case $ac_top_builddir_sub in
7883 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7884 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7887 ac_abs_top_builddir
=$ac_pwd
7888 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7889 # for backward compatibility:
7890 ac_top_builddir
=$ac_top_build_prefix
7893 .
) # We are building in place.
7895 ac_top_srcdir
=$ac_top_builddir_sub
7896 ac_abs_top_srcdir
=$ac_pwd ;;
7897 [\\/]* | ?
:[\\/]* ) # Absolute name.
7898 ac_srcdir
=$srcdir$ac_dir_suffix;
7899 ac_top_srcdir
=$srcdir
7900 ac_abs_top_srcdir
=$srcdir ;;
7902 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7903 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7904 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7906 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7916 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7917 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7922 # If the template does not know about datarootdir, expand it.
7923 # FIXME: This hack should be removed a few years after 2.60.
7924 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7935 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7936 *datarootdir
*) ac_datarootdir_seen
=yes;;
7937 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7939 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7942 ac_datarootdir_hack='
7943 s&@datadir@&$datadir&g
7944 s&@docdir@&$docdir&g
7945 s&@infodir@&$infodir&g
7946 s&@localedir@&$localedir&g
7947 s&@mandir@&$mandir&g
7948 s&\\\${datarootdir}&$datarootdir&g' ;;
7952 # Neutralize VPATH when `$srcdir' = `.'.
7953 # Shell code in configure.ac might set extrasub.
7954 # FIXME: do we really want to maintain this feature?
7955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7956 ac_sed_extra="$ac_vpsub
7959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7961 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7962 s|@configure_input@|
$ac_sed_conf_input|
;t t
7963 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7964 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7965 s
&@srcdir@
&$ac_srcdir&;t t
7966 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7967 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7968 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7969 s
&@builddir@
&$ac_builddir&;t t
7970 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7971 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7972 s
&@INSTALL@
&$ac_INSTALL&;t t
7973 $ac_datarootdir_hack
7975 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7976 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7978 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7979 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7980 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7981 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7983 which seems to be undefined. Please make sure it is defined" >&5
7984 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7985 which seems to be undefined. Please make sure it is defined" >&2;}
7987 rm -f "$ac_tmp/stdin"
7989 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7990 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7998 if test x"$ac_file" != x-; then
8000 $as_echo "/* $configure_input */" \
8001 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8002 } >"$ac_tmp/config.h" \
8003 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8004 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8006 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8009 mv "$ac_tmp/config.h" "$ac_file" \
8010 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8013 $as_echo "/* $configure_input */" \
8014 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8015 || as_fn_error $? "could not create -" "$LINENO" 5
8019 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8020 $as_echo "$as_me: executing $ac_file commands" >&6;}
8025 case $ac_file$ac_mode in
8027 for ac_file in $CONFIG_FILES; do
8028 # Support "outfile[:infile[:infile...]]"
8030 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
8032 # PO directories have a Makefile.in generated from Makefile.in.in.
8033 case "$ac_file" in */Makefile.in)
8034 # Adjust a relative srcdir.
8035 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
8036 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
8037 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
8038 # In autoconf-2.13 it is called $ac_given_srcdir.
8039 # In autoconf-2.50 it is called $srcdir.
8040 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8041 case "$ac_given_srcdir" in
8042 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
8043 /*) top_srcdir="$ac_given_srcdir" ;;
8044 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8046 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8047 rm -f "$ac_dir/POTFILES"
8048 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8049 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8050 POMAKEFILEDEPS="POTFILES.in"
8051 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8052 # on $ac_dir but don't depend on user-specified configuration
8054 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8055 # The LINGUAS file contains the set of available languages.
8056 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8057 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
8059 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8060 # Hide the ALL_LINGUAS assigment from automake.
8061 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8062 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8064 # The set of available languages was given in configure.ac.
8065 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8067 case "$ac_given_srcdir" in
8069 *) srcdirpre
='$(srcdir)/' ;;
8075 for lang
in $ALL_LINGUAS; do
8076 POFILES
="$POFILES $srcdirpre$lang.po"
8077 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8078 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8079 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8081 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8082 # environment variable.
8084 if test -n "$ALL_LINGUAS"; then
8085 for presentlang
in $ALL_LINGUAS; do
8087 if test "%UNSET%" != "$LINGUAS"; then
8088 desiredlanguages
="$LINGUAS"
8090 desiredlanguages
="$ALL_LINGUAS"
8092 for desiredlang
in $desiredlanguages; do
8093 # Use the presentlang catalog if desiredlang is
8094 # a. equal to presentlang, or
8095 # b. a variant of presentlang (because in this case,
8096 # presentlang can be used as a fallback for messages
8097 # which are not translated in the desiredlang catalog).
8098 case "$desiredlang" in
8099 "$presentlang"*) useit
=yes;;
8102 if test $useit = yes; then
8103 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8108 if test -n "$INST_LINGUAS"; then
8109 for lang
in $INST_LINGUAS; do
8110 CATALOGS
="$CATALOGS $lang.gmo"
8113 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8114 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"
8115 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8116 if test -f "$f"; then
8118 *.orig |
*.bak |
*~
) ;;
8119 *) cat "$f" >> "$ac_dir/Makefile" ;;
8134 ac_clean_files
=$ac_clean_files_save
8136 test $ac_write_fail = 0 ||
8137 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8140 # configure is writing to config.log, and then calls config.status.
8141 # config.status does its own redirection, appending to config.log.
8142 # Unfortunately, on DOS this fails, as config.log is still kept open
8143 # by configure, so config.status won't be able to write to it; its
8144 # output is simply discarded. So we exec the FD to /dev/null,
8145 # effectively closing config.log, so it can be properly (re)opened and
8146 # appended to by config.status. When coming back to configure, we
8147 # need to make the FD available again.
8148 if test "$no_create" != yes; then
8150 ac_config_status_args
=
8151 test "$silent" = yes &&
8152 ac_config_status_args
="$ac_config_status_args --quiet"
8154 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8156 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8157 # would make configure fail if this is the last instruction.
8158 $ac_cs_success || as_fn_exit
1
8160 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8162 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}