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 ac_unique_file
="version.h"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
624 gl_use_threads_default
=
626 ac_subst_vars
='LTLIBOBJS
675 INTL_LIBTOOL_SUFFIX_PREFIX
682 BUILD_INCLUDED_LIBINTL
692 INTL_DEFAULT_VERBOSITY
711 XGETTEXT_EXTRA_OPTIONS
719 GETTEXT_MACRO_VERSION
833 program_transform_name
844 ac_subst_files
='MCONFIG
850 PUBLIC_CONFIG_HEADER'
852 enable_option_checking
858 enable_maintainer_mode
859 enable_symlink_install
860 enable_relative_symlinks
861 enable_symlink_relative_symlinks
863 enable_verbose_makecmds
881 enable_e2initrd_helper
886 enable_bmap_stats_ops
893 with_included_gettext
898 ac_precious_vars
='build_alias
912 # Initialize some variables set by options.
914 ac_init_version
=false
915 ac_unrecognized_opts
=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
926 program_transform_name
=s
,x
,x
,
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir
='${exec_prefix}/bin'
941 sbindir
='${exec_prefix}/sbin'
942 libexecdir
='${exec_prefix}/libexec'
943 datarootdir
='${prefix}/share'
944 datadir
='${datarootdir}'
945 sysconfdir
='${prefix}/etc'
946 sharedstatedir
='${prefix}/com'
947 localstatedir
='${prefix}/var'
948 includedir
='${prefix}/include'
949 oldincludedir
='/usr/include'
950 docdir
='${datarootdir}/doc/${PACKAGE}'
951 infodir
='${datarootdir}/info'
956 libdir
='${exec_prefix}/lib'
957 localedir
='${datarootdir}/locale'
958 mandir
='${datarootdir}/man'
964 # If the previous option needs an argument, assign it.
965 if test -n "$ac_prev"; then
966 eval $ac_prev=\
$ac_option
972 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 # Accept the important Cygnus configure options, so we can diagnose typos.
979 case $ac_dashdash$ac_option in
983 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
985 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
988 -build |
--build |
--buil |
--bui |
--bu)
989 ac_prev
=build_alias
;;
990 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
991 build_alias
=$ac_optarg ;;
993 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
994 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
995 ac_prev
=cache_file
;;
996 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
997 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
998 cache_file
=$ac_optarg ;;
1000 --config-cache |
-C)
1001 cache_file
=config.cache
;;
1003 -datadir |
--datadir |
--datadi |
--datad)
1005 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1006 datadir
=$ac_optarg ;;
1008 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1009 |
--dataroo |
--dataro |
--datar)
1010 ac_prev
=datarootdir
;;
1011 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1012 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1013 datarootdir
=$ac_optarg ;;
1015 -disable-* |
--disable-*)
1016 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error $?
"invalid feature name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_
$ac_useropt"
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval enable_
$ac_useropt=no
;;
1031 -docdir |
--docdir |
--docdi |
--doc |
--do)
1033 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1034 docdir
=$ac_optarg ;;
1036 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1038 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1039 dvidir
=$ac_optarg ;;
1041 -enable-* |
--enable-*)
1042 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1045 as_fn_error $?
"invalid feature name: $ac_useropt"
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_
$ac_useropt"
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval enable_
$ac_useropt=\
$ac_optarg ;;
1057 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1058 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1059 |
--exec |
--exe |
--ex)
1060 ac_prev
=exec_prefix
;;
1061 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1062 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1063 |
--exec=* |
--exe=* |
--ex=*)
1064 exec_prefix
=$ac_optarg ;;
1066 -gas |
--gas |
--ga |
--g)
1067 # Obsolete; use --with-gas.
1070 -help |
--help |
--hel |
--he |
-h)
1071 ac_init_help
=long
;;
1072 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1073 ac_init_help
=recursive
;;
1074 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1075 ac_init_help
=short
;;
1077 -host |
--host |
--hos |
--ho)
1078 ac_prev
=host_alias
;;
1079 -host=* |
--host=* |
--hos=* |
--ho=*)
1080 host_alias
=$ac_optarg ;;
1082 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1084 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1086 htmldir
=$ac_optarg ;;
1088 -includedir |
--includedir |
--includedi |
--included |
--include \
1089 |
--includ |
--inclu |
--incl |
--inc)
1090 ac_prev
=includedir
;;
1091 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1092 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1093 includedir
=$ac_optarg ;;
1095 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1097 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1098 infodir
=$ac_optarg ;;
1100 -libdir |
--libdir |
--libdi |
--libd)
1102 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1103 libdir
=$ac_optarg ;;
1105 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1106 |
--libexe |
--libex |
--libe)
1107 ac_prev
=libexecdir
;;
1108 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1109 |
--libexe=* |
--libex=* |
--libe=*)
1110 libexecdir
=$ac_optarg ;;
1112 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1113 ac_prev
=localedir
;;
1114 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1115 localedir
=$ac_optarg ;;
1117 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1118 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1119 ac_prev
=localstatedir
;;
1120 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1121 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1122 localstatedir
=$ac_optarg ;;
1124 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1126 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1127 mandir
=$ac_optarg ;;
1129 -nfp |
--nfp |
--nf)
1130 # Obsolete; use --without-fp.
1133 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1134 |
--no-cr |
--no-c |
-n)
1137 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1138 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1141 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1142 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1143 |
--oldin |
--oldi |
--old |
--ol |
--o)
1144 ac_prev
=oldincludedir
;;
1145 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1146 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1147 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1148 oldincludedir
=$ac_optarg ;;
1150 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1152 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1153 prefix
=$ac_optarg ;;
1155 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1156 |
--program-pre |
--program-pr |
--program-p)
1157 ac_prev
=program_prefix
;;
1158 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1159 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1160 program_prefix
=$ac_optarg ;;
1162 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1163 |
--program-suf |
--program-su |
--program-s)
1164 ac_prev
=program_suffix
;;
1165 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1166 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1167 program_suffix
=$ac_optarg ;;
1169 -program-transform-name |
--program-transform-name \
1170 |
--program-transform-nam |
--program-transform-na \
1171 |
--program-transform-n |
--program-transform- \
1172 |
--program-transform |
--program-transfor \
1173 |
--program-transfo |
--program-transf \
1174 |
--program-trans |
--program-tran \
1175 |
--progr-tra |
--program-tr |
--program-t)
1176 ac_prev
=program_transform_name
;;
1177 -program-transform-name=* |
--program-transform-name=* \
1178 |
--program-transform-nam=* |
--program-transform-na=* \
1179 |
--program-transform-n=* |
--program-transform-=* \
1180 |
--program-transform=* |
--program-transfor=* \
1181 |
--program-transfo=* |
--program-transf=* \
1182 |
--program-trans=* |
--program-tran=* \
1183 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1184 program_transform_name
=$ac_optarg ;;
1186 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1188 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1189 pdfdir
=$ac_optarg ;;
1191 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1193 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1196 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1197 |
-silent |
--silent |
--silen |
--sile |
--sil)
1200 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1202 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1204 sbindir
=$ac_optarg ;;
1206 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1207 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1208 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1210 ac_prev
=sharedstatedir
;;
1211 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1212 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1213 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1215 sharedstatedir
=$ac_optarg ;;
1217 -site |
--site |
--sit)
1219 -site=* |
--site=* |
--sit=*)
1222 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1224 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1225 srcdir
=$ac_optarg ;;
1227 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1228 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1229 ac_prev
=sysconfdir
;;
1230 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1231 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1232 sysconfdir
=$ac_optarg ;;
1234 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1235 ac_prev
=target_alias
;;
1236 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1237 target_alias
=$ac_optarg ;;
1239 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1242 -version |
--version |
--versio |
--versi |
--vers |
-V)
1243 ac_init_version
=: ;;
1246 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1249 as_fn_error $?
"invalid package name: $ac_useropt"
1250 ac_useropt_orig
=$ac_useropt
1251 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1256 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1257 ac_unrecognized_sep
=', ';;
1259 eval with_
$ac_useropt=\
$ac_optarg ;;
1261 -without-* |
--without-*)
1262 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1265 as_fn_error $?
"invalid package name: $ac_useropt"
1266 ac_useropt_orig
=$ac_useropt
1267 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1272 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1273 ac_unrecognized_sep
=', ';;
1275 eval with_
$ac_useropt=no
;;
1278 # Obsolete; use --with-x.
1281 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1282 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1283 ac_prev
=x_includes
;;
1284 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1285 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1286 x_includes
=$ac_optarg ;;
1288 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1289 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1290 ac_prev
=x_libraries
;;
1291 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1292 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1293 x_libraries
=$ac_optarg ;;
1295 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1296 Try \`$0 --help' for more information"
1300 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1301 # Reject names that are not valid shell variable names.
1302 case $ac_envvar in #(
1303 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1304 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1306 eval $ac_envvar=\
$ac_optarg
1307 export $ac_envvar ;;
1310 # FIXME: should be removed in autoconf 3.0.
1311 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1312 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1313 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1314 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1320 if test -n "$ac_prev"; then
1321 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1322 as_fn_error $?
"missing argument to $ac_option"
1325 if test -n "$ac_unrecognized_opts"; then
1326 case $enable_option_checking in
1328 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1329 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1333 # Check all directory arguments for consistency.
1334 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1335 datadir sysconfdir sharedstatedir localstatedir includedir \
1336 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1337 libdir localedir mandir
1339 eval ac_val
=\$
$ac_var
1340 # Remove trailing slashes.
1343 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1344 eval $ac_var=\
$ac_val;;
1346 # Be sure to have absolute directory names.
1348 [\\/$
]* | ?
:[\\/]* ) continue;;
1349 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1351 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1354 # There might be people who depend on the old broken behavior: `$host'
1355 # used to hold the argument of --host etc.
1356 # FIXME: To remove some day.
1359 target
=$target_alias
1361 # FIXME: To remove some day.
1362 if test "x$host_alias" != x
; then
1363 if test "x$build_alias" = x
; then
1364 cross_compiling
=maybe
1365 elif test "x$build_alias" != "x$host_alias"; then
1371 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1373 test "$silent" = yes && exec 6>/dev
/null
1376 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1377 ac_ls_di
=`ls -di .` &&
1378 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1379 as_fn_error $?
"working directory cannot be determined"
1380 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1381 as_fn_error $?
"pwd does not report name of working directory"
1384 # Find the source files, if location was not specified.
1385 if test -z "$srcdir"; then
1386 ac_srcdir_defaulted
=yes
1387 # Try the directory containing this script, then the parent directory.
1388 ac_confdir
=`$as_dirname -- "$as_myself" ||
1389 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1390 X"$as_myself" : 'X\(//\)[^/]' \| \
1391 X"$as_myself" : 'X\(//\)$' \| \
1392 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1393 $as_echo X"$as_myself" |
1394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1416 ac_srcdir_defaulted
=no
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1419 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1420 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1422 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1424 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1426 # When building in place, set srcdir=.
1427 if test "$ac_abs_confdir" = "$ac_pwd"; then
1430 # Remove unnecessary trailing slashes from srcdir.
1431 # Double slashes in file names in object file debugging info
1432 # mess up M-x gdb in Emacs.
1434 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 for ac_var
in $ac_precious_vars; do
1437 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1438 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1439 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1440 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1444 # Report the --help message.
1446 if test "$ac_init_help" = "long"; then
1447 # Omit some internal or obsolete options to make the list less imposing.
1448 # This message is too long to be a string in the A/UX 3.1 sh.
1450 \`configure' configures this package to adapt to many kinds of systems.
1452 Usage: $0 [OPTION]... [VAR=VALUE]...
1454 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1455 VAR=VALUE. See below for descriptions of some of the useful variables.
1457 Defaults for the options are specified in brackets.
1460 -h, --help display this help and exit
1461 --help=short display options specific to this package
1462 --help=recursive display the short help of all the included packages
1463 -V, --version display version information and exit
1464 -q, --quiet, --silent do not print \`checking ...' messages
1465 --cache-file=FILE cache test results in FILE [disabled]
1466 -C, --config-cache alias for \`--cache-file=config.cache'
1467 -n, --no-create do not create output files
1468 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1470 Installation directories:
1471 --prefix=PREFIX install architecture-independent files in PREFIX
1472 [$ac_default_prefix]
1473 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1476 By default, \`make install' will install all the files in
1477 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1478 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1479 for instance \`--prefix=\$HOME'.
1481 For better control, use the options below.
1483 Fine tuning of the installation directories:
1484 --bindir=DIR user executables [EPREFIX/bin]
1485 --sbindir=DIR system admin executables [EPREFIX/sbin]
1486 --libexecdir=DIR program executables [EPREFIX/libexec]
1487 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1488 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1489 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1490 --libdir=DIR object code libraries [EPREFIX/lib]
1491 --includedir=DIR C header files [PREFIX/include]
1492 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1493 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1494 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1495 --infodir=DIR info documentation [DATAROOTDIR/info]
1496 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1497 --mandir=DIR man documentation [DATAROOTDIR/man]
1498 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1499 --htmldir=DIR html documentation [DOCDIR]
1500 --dvidir=DIR dvi documentation [DOCDIR]
1501 --pdfdir=DIR pdf documentation [DOCDIR]
1502 --psdir=DIR ps documentation [DOCDIR]
1508 --build=BUILD configure
for building on BUILD
[guessed
]
1509 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1513 if test -n "$ac_init_help"; then
1518 --disable-option-checking ignore unrecognized
--enable/--with options
1519 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1520 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1521 --enable-maintainer-mode enable makefile rules useful
for maintainers
1522 --enable-symlink-install use symlinks when installing instead of hard links
1523 --enable-relative-symlinks use relative symlinks when installing
1525 --enable-symlink-build use symlinks
while building instead of hard links
1526 --enable-verbose-makecmds enable verbose
make command output
1527 --enable-htree enable EXPERIMENTAL htree directory support
1528 --enable-elf-shlibs select ELF shared libraries
1529 --enable-bsd-shlibs select BSD shared libraries
1530 --enable-profile build profiling libraries
1531 --enable-gcov build
for coverage testing using gcov
1532 --enable-jbd-debug enable journal debugging
1533 --enable-blkid-debug enable blkid debugging
1534 --disable-testio-debug disable the use of the
test I
/O manager
for debugging
1535 --disable-libuuid do not build private uuid library
1536 --disable-libblkid do not build private blkid library
1537 --enable-quota enable quota support
1538 --disable-backtrace disable use backtrace
1539 --disable-debugfs disable support of debugfs program
1540 --disable-imager disable support of e2image program
1541 --disable-resizer disable support of e2resize program
1542 --disable-defrag disable support of e4defrag program
1543 --enable-fsck build fsck wrapper program
1544 --enable-e2initrd-helper build e2initrd-helper program
1545 --disable-tls disable use of thread
local support
1546 --disable-uuidd disable building the uuid daemon
1547 --disable-mmp disable support mmp
, Multi Mount Protection
1548 --disable-bmap-stats disable collection of bitmap stats.
1549 --enable-bmap-stats-ops enable collection of additional bitmap stats
1550 --disable-nls do not use Native Language Support
1551 --enable-threads={posix|solaris|pth|windows
}
1552 specify multithreading API
1553 --disable-threads build without multithread safety
1554 --disable-rpath do not hardcode runtime library paths
1555 --disable-fuse2fs do not build fuse2fs
1558 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1559 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1560 --with-diet-libc use diet libc
1561 --with-cc no longer supported
, use CC
= instead
1562 --with-ccopts no longer supported
, use CFLAGS
= instead
1563 --with-ldopts no longer supported
, use LDFLAGS
= instead
1564 --with-root-prefix=PREFIX override prefix variable
for files to be placed
in the root
1565 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1566 --with-libpth-prefix[=DIR
] search
for libpth
in DIR
/include and DIR
/lib
1567 --without-libpth-prefix don
't search for libpth in includedir and libdir
1568 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1569 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1570 --with-included-gettext use the GNU
gettext library included here
1571 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1572 --without-libintl-prefix don
't search for libintl in includedir and libdir
1573 --with-multiarch=ARCH specify the multiarch triplet
1575 Some influential environment variables:
1576 CC C compiler command
1577 CFLAGS C compiler flags
1578 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1579 nonstandard directory <lib dir>
1580 LIBS libraries to pass to the linker, e.g. -l<library>
1581 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1582 you have headers in a nonstandard directory <include dir>
1584 PKG_CONFIG path to pkg-config utility
1586 directories to add to pkg-config's search path
1588 path overriding pkg-config
's built-in search path
1590 Use these variables to override the choices made by `configure' or to
help
1591 it to
find libraries and programs with nonstandard names
/locations.
1593 Report bugs to the package provider.
1598 if test "$ac_init_help" = "recursive"; then
1599 # If there are subdirs, report their specific --help.
1600 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1601 test -d "$ac_dir" ||
1602 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1607 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1609 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1610 # A ".." for each directory in $ac_dir_suffix.
1611 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1612 case $ac_top_builddir_sub in
1613 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1614 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1617 ac_abs_top_builddir
=$ac_pwd
1618 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1619 # for backward compatibility:
1620 ac_top_builddir
=$ac_top_build_prefix
1623 .
) # We are building in place.
1625 ac_top_srcdir
=$ac_top_builddir_sub
1626 ac_abs_top_srcdir
=$ac_pwd ;;
1627 [\\/]* | ?
:[\\/]* ) # Absolute name.
1628 ac_srcdir
=$srcdir$ac_dir_suffix;
1629 ac_top_srcdir
=$srcdir
1630 ac_abs_top_srcdir
=$srcdir ;;
1632 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1633 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1634 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1636 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1638 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1639 # Check for guested configure.
1640 if test -f "$ac_srcdir/configure.gnu"; then
1642 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1643 elif test -f "$ac_srcdir/configure"; then
1645 $SHELL "$ac_srcdir/configure" --help=recursive
1647 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1649 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1653 test -n "$ac_init_help" && exit $ac_status
1654 if $ac_init_version; then
1657 generated by GNU Autoconf
2.69
1659 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1660 This configure
script is free software
; the Free Software Foundation
1661 gives unlimited permission to copy
, distribute and modify it.
1666 ## ------------------------ ##
1667 ## Autoconf initialization. ##
1668 ## ------------------------ ##
1670 # ac_fn_c_try_compile LINENO
1671 # --------------------------
1672 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_c_try_compile
()
1675 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1676 rm -f conftest.
$ac_objext
1677 if { { ac_try
="$ac_compile"
1679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_compile") 2>conftest.err
1686 if test -s conftest.err; then
1687 grep -v '^ *+' conftest.err >conftest.er1
1688 cat conftest.er1 >&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_c_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest.$ac_objext; then :
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 as_fn_set_status $ac_retval
1706 } # ac_fn_c_try_compile
1708 # ac_fn_c_try_link LINENO
1709 # -----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded.
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 rm -f conftest.$ac_objext conftest$ac_exeext
1715 if { { ac_try="$ac_link"
1717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1718 *) ac_try_echo
=$ac_try;;
1720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_link") 2>conftest.err
1724 if test -s conftest.err
; then
1725 grep -v '^ *+' conftest.err
>conftest.er1
1726 cat conftest.er1
>&5
1727 mv -f conftest.er1 conftest.err
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_c_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest
$ac_exeext && {
1734 test "$cross_compiling" = yes ||
1735 test -x conftest
$ac_exeext
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.
$ac_ext >&5
1744 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1745 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746 # interfere with the next link command; also delete a directory that is
1747 # left behind by Apple's compiler. We do this before executing the actions.
1748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status
$ac_retval
1752 } # ac_fn_c_try_link
1754 # ac_fn_c_try_cpp LINENO
1755 # ----------------------
1756 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1759 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1760 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } > conftest.i && {
1776 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1777 test ! -s conftest.err
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1791 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1792 # -------------------------------------------------------
1793 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1794 # the include files in INCLUDES and setting the cache variable VAR
1796 ac_fn_c_check_header_mongrel ()
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 if eval \${$3+:} false; then :
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \${$3+:} false; then :
1803 $as_echo_n "(cached) " >&6
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1809 # Is the header compilable?
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1811 $as_echo_n "checking $2 usability... " >&6; }
1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1817 if ac_fn_c_try_compile "$LINENO"; then :
1818 ac_header_compiler=yes
1820 ac_header_compiler=no
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1824 $as_echo "$ac_header_compiler" >&6; }
1826 # Is the header present?
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1828 $as_echo_n "checking $2 presence... " >&6; }
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1833 if ac_fn_c_try_cpp "$LINENO"; then :
1834 ac_header_preproc=yes
1836 ac_header_preproc=no
1838 rm -f conftest.err conftest.i conftest.$ac_ext
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1840 $as_echo "$ac_header_preproc" >&6; }
1842 # So? What about this header?
1843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1846 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1848 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1852 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1854 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1856 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1858 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1860 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if eval \${$3+:} false; then :
1866 $as_echo_n "(cached) " >&6
1868 eval "$3=\$ac_header_compiler"
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 } # ac_fn_c_check_header_mongrel
1878 # ac_fn_c_try_run LINENO
1879 # ----------------------
1880 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1881 # that executables *can* be run.
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 if { { ac_try="$ac_link"
1887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1888 *) ac_try_echo
=$ac_try;;
1890 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_link") 2>&5
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1896 { { case "(($ac_try" in
1897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_try") 2>&5
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; }; }; then :
1908 $as_echo "$as_me: program exited with status $ac_status" >&5
1909 $as_echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.$ac_ext >&5
1912 ac_retval=$ac_status
1914 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 as_fn_set_status $ac_retval
1920 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1921 # -------------------------------------------------------
1922 # Tests whether HEADER exists and can be compiled using the include files in
1923 # INCLUDES, setting the cache variable VAR accordingly.
1924 ac_fn_c_check_header_compile ()
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1937 if ac_fn_c_try_compile "$LINENO"; then :
1942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946 $as_echo "$ac_res" >&6; }
1947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 } # ac_fn_c_check_header_compile
1951 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1952 # -------------------------------------------
1953 # Tests whether TYPE exists after having included INCLUDES, setting cache
1954 # variable VAR accordingly.
1955 ac_fn_c_check_type ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1959 $as_echo_n "checking for $2... " >&6; }
1960 if eval \${$3+:} false; then :
1961 $as_echo_n "(cached) " >&6
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1976 if ac_fn_c_try_compile "$LINENO"; then :
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1989 if ac_fn_c_try_compile "$LINENO"; then :
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003 } # ac_fn_c_check_type
2005 # ac_fn_c_check_func LINENO FUNC VAR
2006 # ----------------------------------
2007 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2008 ac_fn_c_check_func ()
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012 $as_echo_n "checking for $2... " >&6; }
2013 if eval \${$3+:} false; then :
2014 $as_echo_n "(cached) " >&6
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2018 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2020 #define $2 innocuous_$2
2022 /* System header to define __stub macros and hopefully few prototypes,
2023 which can conflict with char $2 (); below.
2024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2025 <limits.h> exists even on freestanding compilers. */
2028 # include <limits.h>
2030 # include <assert.h>
2035 /* Override any GCC internal prototype to avoid an error.
2036 Use char because int might match the return type of a GCC
2037 builtin and then its argument prototype would still apply. */
2042 /* The GNU C library defines this for functions which it implements
2043 to always fail with ENOSYS. Some functions are actually named
2044 something starting with __ and the normal name is an alias. */
2045 #if defined __stub_$2 || defined __stub___$2
2057 if ac_fn_c_try_link "$LINENO"; then :
2062 rm -f core conftest.err conftest.$ac_objext \
2063 conftest$ac_exeext conftest.$ac_ext
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2067 $as_echo "$ac_res" >&6; }
2068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070 } # ac_fn_c_check_func
2072 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2073 # ---------------------------------------------
2074 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2076 ac_fn_c_check_decl ()
2078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2079 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2080 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2082 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2083 if eval \${$3+:} false; then :
2084 $as_echo_n "(cached) " >&6
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2092 #ifndef $as_decl_name
2094 (void) $as_decl_use;
2096 (void) $as_decl_name;
2104 if ac_fn_c_try_compile "$LINENO"; then :
2109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116 } # ac_fn_c_check_decl
2118 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2119 # --------------------------------------------
2120 # Tries to find the compile-time value of EXPR in a program that includes
2121 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2123 ac_fn_c_compute_int ()
2125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2126 if test "$cross_compiling" = yes; then
2127 # Depending upon the size, compute the lo and hi bounds.
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2134 static int test_array [1 - 2 * !(($2) >= 0)];
2136 return test_array [0];
2142 if ac_fn_c_try_compile "$LINENO"; then :
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2151 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2153 return test_array [0];
2159 if ac_fn_c_try_compile "$LINENO"; then :
2160 ac_hi=$ac_mid; break
2162 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2163 if test $ac_lo -le $ac_mid; then
2167 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2173 /* end confdefs.h. */
2178 static int test_array [1 - 2 * !(($2) < 0)];
2180 return test_array [0];
2186 if ac_fn_c_try_compile "$LINENO"; then :
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2195 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2197 return test_array [0];
2203 if ac_fn_c_try_compile "$LINENO"; then :
2204 ac_lo=$ac_mid; break
2206 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2207 if test $ac_mid -le $ac_hi; then
2211 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2221 # Binary search between lo and hi bounds.
2222 while test "x$ac_lo" != "x$ac_hi"; do
2223 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2230 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2232 return test_array [0];
2238 if ac_fn_c_try_compile "$LINENO"; then :
2241 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2251 /* end confdefs.h. */
2253 static long int longval () { return $2; }
2254 static unsigned long int ulongval () { return $2; }
2261 FILE *f = fopen ("conftest.val", "w");
2266 long int i = longval ();
2269 fprintf (f, "%ld", i);
2273 unsigned long int i = ulongval ();
2276 fprintf (f, "%lu", i);
2278 /* Do not output a trailing newline, as this causes \r\n confusion
2279 on some platforms. */
2280 return ferror (f) || fclose (f) != 0;
2286 if ac_fn_c_try_run "$LINENO"; then :
2287 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2292 conftest.$ac_objext conftest.beam conftest.$ac_ext
2296 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2297 as_fn_set_status $ac_retval
2299 } # ac_fn_c_compute_int
2301 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2302 # ----------------------------------------------------
2303 # Tries to find if the field MEMBER exists in type AGGR, after including
2304 # INCLUDES, setting cache variable VAR accordingly.
2305 ac_fn_c_check_member ()
2307 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2309 $as_echo_n "checking for $2.$3... " >&6; }
2310 if eval \${$4+:} false; then :
2311 $as_echo_n "(cached) " >&6
2313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2314 /* end confdefs.h. */
2326 if ac_fn_c_try_compile "$LINENO"; then :
2329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2330 /* end confdefs.h. */
2336 if (sizeof ac_aggr.$3)
2342 if ac_fn_c_try_compile "$LINENO"; then :
2347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2353 $as_echo "$ac_res" >&6; }
2354 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2356 } # ac_fn_c_check_member
2357 cat >config.log <<_ACEOF
2358 This file contains any messages produced by compilers while
2359 running configure, to aid debugging if configure makes a mistake.
2361 It was created by $as_me, which was
2362 generated by GNU Autoconf 2.69. Invocation command line was
2374 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2375 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2376 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2377 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2378 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2380 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2381 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2383 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2384 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2385 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2386 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2387 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2388 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2389 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir=.
2398 $as_echo "PATH: $as_dir"
2414 # Keep a trace of the command line.
2415 # Strip out --no-create and --no-recursion so they do not pile up.
2416 # Strip out --silent because we don't want to record it for future runs.
2417 # Also quote any args containing shell meta-characters.
2418 # Make two passes to allow for proper duplicate-argument suppression.
2422 ac_must_keep_next=false
2428 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2429 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2430 | -silent | --silent | --silen | --sile | --sil)
2433 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2436 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2438 as_fn_append ac_configure_args1 " '$ac_arg'"
2439 if test $ac_must_keep_next = true; then
2440 ac_must_keep_next=false # Got value, back to normal.
2443 *=* | --config-cache | -C | -disable-* | --disable-* \
2444 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2445 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2446 | -with-* | --with-* | -without-* | --without-* | --x)
2447 case "$ac_configure_args0 " in
2448 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2451 -* ) ac_must_keep_next=true ;;
2454 as_fn_append ac_configure_args " '$ac_arg'"
2459 { ac_configure_args0=; unset ac_configure_args0;}
2460 { ac_configure_args1=; unset ac_configure_args1;}
2462 # When interrupted or exit'd, cleanup temporary files, and complete
2463 # config.log. We remove comments because anyway the quotes in there
2464 # would cause problems or look ugly.
2465 # WARNING: Use '\'' to represent an apostrophe within the trap.
2466 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2467 trap 'exit_status=$?
2468 # Save into config.log some information that might help in debugging.
2472 $as_echo "## ---------------- ##
2473 ## Cache variables. ##
2474 ## ---------------- ##"
2476 # The following way of writing the cache mishandles newlines in values,
2478 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2479 eval ac_val=\$$ac_var
2483 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2487 _ | IFS | as_nl) ;; #(
2488 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2489 *) { eval $ac_var=; unset $ac_var;} ;;
2494 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2495 *${as_nl}ac_space=\ *)
2497 "s/'\''/'\''\\\\'\'''\''/g;
2498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2501 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2508 $as_echo "## ----------------- ##
2509 ## Output variables. ##
2510 ## ----------------- ##"
2512 for ac_var in $ac_subst_vars
2514 eval ac_val=\$$ac_var
2516 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2518 $as_echo "$ac_var='\''$ac_val'\''"
2522 if test -n "$ac_subst_files"; then
2523 $as_echo "## ------------------- ##
2524 ## File substitutions. ##
2525 ## ------------------- ##"
2527 for ac_var in $ac_subst_files
2529 eval ac_val=\$$ac_var
2531 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2533 $as_echo "$ac_var='\''$ac_val'\''"
2538 if test -s confdefs.h; then
2539 $as_echo "## ----------- ##
2546 test "$ac_signal" != 0 &&
2547 $as_echo "$as_me: caught signal $ac_signal"
2548 $as_echo "$as_me: exit $exit_status"
2550 rm -f core *.core core.conftest.* &&
2551 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2554 for ac_signal in 1 2 13 15; do
2555 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2559 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2560 rm -f -r conftest* confdefs.h
2562 $as_echo "/* confdefs.h */" > confdefs.h
2564 # Predefined preprocessor variables.
2566 cat >>confdefs.h <<_ACEOF
2567 #define PACKAGE_NAME "$PACKAGE_NAME"
2570 cat >>confdefs.h <<_ACEOF
2571 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2574 cat >>confdefs.h <<_ACEOF
2575 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2578 cat >>confdefs.h <<_ACEOF
2579 #define PACKAGE_STRING "$PACKAGE_STRING"
2582 cat >>confdefs.h <<_ACEOF
2583 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2586 cat >>confdefs.h <<_ACEOF
2587 #define PACKAGE_URL "$PACKAGE_URL"
2591 # Let the site file select an alternate cache file if it wants to.
2592 # Prefer an explicitly selected file to automatically selected ones.
2595 if test -n "$CONFIG_SITE"; then
2596 # We do not want a PATH search for config.site.
2597 case $CONFIG_SITE in #((
2598 -*) ac_site_file1=./$CONFIG_SITE;;
2599 */*) ac_site_file1=$CONFIG_SITE;;
2600 *) ac_site_file1=./$CONFIG_SITE;;
2602 elif test "x$prefix" != xNONE; then
2603 ac_site_file1=$prefix/share/config.site
2604 ac_site_file2=$prefix/etc/config.site
2606 ac_site_file1=$ac_default_prefix/share/config.site
2607 ac_site_file2=$ac_default_prefix/etc/config.site
2609 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2611 test "x$ac_site_file" = xNONE && continue
2612 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2614 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2615 sed 's/^/| /' "$ac_site_file" >&5
2617 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2619 as_fn_error $? "failed to load site
script $ac_site_file
2620 See \
`config.log' for more details" "$LINENO" 5; }
2624 if test -r "$cache_file"; then
2625 # Some versions of bash will fail to source /dev/null (special files
2626 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2627 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2629 $as_echo "$as_me: loading cache $cache_file" >&6;}
2631 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2632 *) . "./$cache_file";;
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2637 $as_echo "$as_me: creating cache $cache_file" >&6;}
2641 gt_needs="$gt_needs "
2642 as_fn_append ac_header_list " stdlib.h"
2643 as_fn_append ac_header_list " unistd.h"
2644 as_fn_append ac_header_list " sys/param.h"
2645 as_fn_append ac_func_list " symlink"
2646 # Check that the precious variables saved in the cache have kept the same
2648 ac_cache_corrupted=false
2649 for ac_var in $ac_precious_vars; do
2650 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2651 eval ac_new_set=\$ac_env_${ac_var}_set
2652 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2653 eval ac_new_val=\$ac_env_${ac_var}_value
2654 case $ac_old_set,$ac_new_set in
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2657 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2658 ac_cache_corrupted=: ;;
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2661 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2662 ac_cache_corrupted=: ;;
2665 if test "x$ac_old_val" != "x$ac_new_val"; then
2666 # differences in whitespace do not lead to failure.
2667 ac_old_val_w=`echo x
$ac_old_val`
2668 ac_new_val_w=`echo x
$ac_new_val`
2669 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2671 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2672 ac_cache_corrupted=:
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2675 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2676 eval $ac_var=\$ac_old_val
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2679 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2681 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2684 # Pass precious variables to config.status.
2685 if test "$ac_new_set" = set; then
2687 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2688 *) ac_arg=$ac_var=$ac_new_val ;;
2690 case " $ac_configure_args " in
2691 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2692 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2696 if $ac_cache_corrupted; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2700 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2701 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2703 ## -------------------- ##
2704 ## Main body of script. ##
2705 ## -------------------- ##
2708 ac_cpp='$CPP $CPPFLAGS'
2709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2716 for ac_dir in config "$srcdir"/config; do
2717 if test -f "$ac_dir/install-sh"; then
2719 ac_install_sh="$ac_aux_dir/install-sh -c"
2721 elif test -f "$ac_dir/install.sh"; then
2723 ac_install_sh="$ac_aux_dir/install.sh -c"
2725 elif test -f "$ac_dir/shtool"; then
2727 ac_install_sh="$ac_aux_dir/shtool install -c"
2731 if test -z "$ac_aux_dir"; then
2732 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2735 # These three variables are undocumented and unsupported,
2736 # and are intended to be withdrawn in a future Autoconf release.
2737 # They can cause serious problems if a builder's source tree is in a directory
2738 # whose full name contains unusual characters.
2739 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2740 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2741 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2744 ac_config_headers="$ac_config_headers lib/config.h"
2750 E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION
${srcdir}/version.h \
2751 |
awk '{print $3}' |
tr \" " " |
awk '{print $1}'`
2752 DATE=`grep E2FSPROGS_DATE
${srcdir}/version.h |
awk '{print $3}' \
2754 E2FSPROGS_DAY=`echo $DATE |
awk -F- '{print $1}'`
2755 MONTH=`echo $DATE |
awk -F- '{print $2}'`
2756 YEAR=`echo $DATE |
awk -F- '{print $3}'`
2758 if expr $YEAR ">" 1900 > /dev/null ; then
2759 E2FSPROGS_YEAR=$YEAR
2760 elif expr $YEAR ">" 90 >/dev/null ; then
2761 E2FSPROGS_YEAR=19$YEAR
2763 E2FSPROGS_YEAR=20$YEAR
2767 Jan) MONTH_NUM=01; E2FSPROGS_MONTH="January" ;;
2768 Feb) MONTH_NUM=02; E2FSPROGS_MONTH="February" ;;
2769 Mar) MONTH_NUM=03; E2FSPROGS_MONTH="March" ;;
2770 Apr) MONTH_NUM=04; E2FSPROGS_MONTH="April" ;;
2771 May) MONTH_NUM=05; E2FSPROGS_MONTH="May" ;;
2772 Jun) MONTH_NUM=06; E2FSPROGS_MONTH="June" ;;
2773 Jul) MONTH_NUM=07; E2FSPROGS_MONTH="July" ;;
2774 Aug) MONTH_NUM=08; E2FSPROGS_MONTH="August" ;;
2775 Sep) MONTH_NUM=09; E2FSPROGS_MONTH="September" ;;
2776 Oct) MONTH_NUM=10; E2FSPROGS_MONTH="October" ;;
2777 Nov) MONTH_NUM=11; E2FSPROGS_MONTH="November" ;;
2778 Dec) MONTH_NUM=12; E2FSPROGS_MONTH="December" ;;
2779 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown month $MONTH??" >&5
2780 $as_echo "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
2783 base_ver=`echo $E2FSPROGS_VERSION | \
2784 sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
2786 date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
2788 case $E2FSPROGS_VERSION in
2790 E2FSPROGS_PKGVER="$base_ver~WIP-$E2FSPROGS_YEAR-$MONTH_NUM-$E2FSPROGS_DAY"
2793 E2FSPROGS_PKGVER="$base_ver"
2797 unset DATE MONTH YEAR base_ver pre_vers date_spec
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
2799 $as_echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
2801 $as_echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
2809 # Check whether --with-diet-libc was given.
2810 if test "${with_diet_libc+set}" = set; then :
2811 withval=$with_diet_libc; CC="diet cc -nostdinc"
2817 LIBS="$LIBS -lcompat"
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: CC=$CC" >&5
2820 $as_echo "CC=$CC" >&6; }
2822 # Make sure we can run config.sub.
2823 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2824 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2827 $as_echo_n "checking build system type... " >&6; }
2828 if ${ac_cv_build+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 ac_build_alias=$build_alias
2832 test "x$ac_build_alias" = x &&
2833 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2834 test "x$ac_build_alias" = x &&
2835 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2836 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2837 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2841 $as_echo "$ac_cv_build" >&6; }
2842 case $ac_cv_build in
2844 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2847 ac_save_IFS=$IFS; IFS='-'
2853 # Remember, the first character of IFS is used to create $*,
2854 # except with old shells:
2857 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2861 $as_echo_n "checking host system type... " >&6; }
2862 if ${ac_cv_host+:} false; then :
2863 $as_echo_n "(cached) " >&6
2865 if test "x$host_alias" = x; then
2866 ac_cv_host=$ac_cv_build
2868 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2869 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2874 $as_echo "$ac_cv_host" >&6; }
2877 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2880 ac_save_IFS=$IFS; IFS='-'
2886 # Remember, the first character of IFS is used to create $*,
2887 # except with old shells:
2890 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2895 ac_cpp='$CPP $CPPFLAGS'
2896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2899 if test -n "$ac_tool_prefix"; then
2900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2901 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903 $as_echo_n "checking for $ac_word... " >&6; }
2904 if ${ac_cv_prog_CC+:} false; then :
2905 $as_echo_n "(cached) " >&6
2907 if test -n "$CC"; then
2908 ac_cv_prog_CC="$CC" # Let the user override the test.
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2914 test -z "$as_dir" && as_dir=.
2915 for ac_exec_ext in '' $ac_executable_extensions; do
2916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2917 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 if test -n "$CC"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2930 $as_echo "$CC" >&6; }
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933 $as_echo "no" >&6; }
2938 if test -z "$ac_cv_prog_CC"; then
2940 # Extract the first word of "gcc", so it can be a program name with args.
2941 set dummy gcc; ac_word=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 if test -n "$ac_ct_CC"; then
2948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_prog_ac_ct_CC="gcc"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2968 if test -n "$ac_ct_CC"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2970 $as_echo "$ac_ct_CC" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2976 if test "x$ac_ct_CC" = x; then
2979 case $cross_compiling:$ac_tool_warned in
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2983 ac_tool_warned=yes ;;
2991 if test -z "$CC"; then
2992 if test -n "$ac_tool_prefix"; then
2993 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2994 set dummy ${ac_tool_prefix}cc; ac_word=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if ${ac_cv_prog_CC+:} false; then :
2998 $as_echo_n "(cached) " >&6
3000 if test -n "$CC"; then
3001 ac_cv_prog_CC="$CC" # Let the user override the test.
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir=.
3008 for ac_exec_ext in '' $ac_executable_extensions; do
3009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3010 ac_cv_prog_CC="${ac_tool_prefix}cc"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 if test -n "$CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3023 $as_echo "$CC" >&6; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3032 if test -z "$CC"; then
3033 # Extract the first word of "cc", so it can be a program name with args.
3034 set dummy cc; ac_word=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_CC+:} false; then :
3038 $as_echo_n "(cached) " >&6
3040 if test -n "$CC"; then
3041 ac_cv_prog_CC="$CC" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3051 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3052 ac_prog_rejected=yes
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 if test $ac_prog_rejected = yes; then
3064 # We found a bogon in the path, so make sure we never use it.
3065 set dummy $ac_cv_prog_CC
3067 if test $# != 0; then
3068 # We chose a different compiler from the bogus one.
3069 # However, it has the same basename, so the bogon will be chosen
3070 # first if we set CC to just the basename; use the full file name.
3072 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3078 if test -n "$CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3080 $as_echo "$CC" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3088 if test -z "$CC"; then
3089 if test -n "$ac_tool_prefix"; then
3090 for ac_prog in cl.exe
3092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3093 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if ${ac_cv_prog_CC+:} false; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$CC"; then
3100 ac_cv_prog_CC="$CC" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test -n "$CC"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3122 $as_echo "$CC" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3129 test -n "$CC" && break
3132 if test -z "$CC"; then
3134 for ac_prog in cl.exe
3136 # Extract the first word of "$ac_prog", so it can be a program name with args.
3137 set dummy $ac_prog; ac_word=$2
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139 $as_echo_n "checking for $ac_word... " >&6; }
3140 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3141 $as_echo_n "(cached) " >&6
3143 if test -n "$ac_ct_CC"; then
3144 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 test -z "$as_dir" && as_dir=.
3151 for ac_exec_ext in '' $ac_executable_extensions; do
3152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3153 ac_cv_prog_ac_ct_CC="$ac_prog"
3154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3164 if test -n "$ac_ct_CC"; then
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3166 $as_echo "$ac_ct_CC" >&6; }
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169 $as_echo "no" >&6; }
3173 test -n "$ac_ct_CC" && break
3176 if test "x$ac_ct_CC" = x; then
3179 case $cross_compiling:$ac_tool_warned in
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3183 ac_tool_warned=yes ;;
3192 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3195 See \
`config.log' for more details" "$LINENO" 5; }
3197 # Provide some information about the compiler.
3198 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3201 for ac_option in --version -v -V -qversion; do
3202 { { ac_try="$ac_compiler $ac_option >&5"
3204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3205 *) ac_try_echo
=$ac_try;;
3207 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3211 if test -s conftest.err
; then
3213 ... rest of stderr output deleted ...
3214 10q' conftest.err
>conftest.er1
3215 cat conftest.er1
>&5
3217 rm -f conftest.er1 conftest.err
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }
3222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3233 ac_clean_files_save
=$ac_clean_files
3234 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3235 # Try to create an executable without -o first, disregard a.out.
3236 # It will help us diagnose broken compilers, and finding out an intuition
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3239 $as_echo_n "checking whether the C compiler works... " >&6; }
3240 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3242 # The possible output files:
3243 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3246 for ac_file
in $ac_files
3249 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3250 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3255 if { { ac_try
="$ac_link_default"
3257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3262 (eval "$ac_link_default") 2>&5
3264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3265 test $ac_status = 0; }; then :
3266 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3267 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3268 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3269 # so that the user can short-circuit this test for compilers unknown to
3271 for ac_file in $ac_files ''
3273 test -f "$ac_file" || continue
3275 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3278 # We found the default executable, but exeext='' is most
3282 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3284 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3286 # We set ac_cv_exeext here because the later test for it is not
3287 # safe: cross compilers may not add the suffix if given an `-o'
3288 # argument, so we may need to know it at that point already.
3289 # Even if this section looks crufty: it has the advantage of
3296 test "$ac_cv_exeext" = no && ac_cv_exeext=
3301 if test -z "$ac_file"; then :
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3304 $as_echo "$as_me: failed program was:" >&5
3305 sed 's
/^
/|
/' conftest.$ac_ext >&5
3307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3309 as_fn_error 77 "C compiler cannot create executables
3310 See \`config.log
' for more details" "$LINENO" 5; }
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3313 $as_echo "yes" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3316 $as_echo_n "checking for C compiler default output file name... " >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3318 $as_echo "$ac_file" >&6; }
3319 ac_exeext=$ac_cv_exeext
3321 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3322 ac_clean_files=$ac_clean_files_save
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3324 $as_echo_n "checking for suffix of executables... " >&6; }
3325 if { { ac_try="$ac_link"
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; }; then :
3336 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3337 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3338 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3340 for ac_file
in conftest.exe conftest conftest.
*; do
3341 test -f "$ac_file" ||
continue
3343 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3344 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3352 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3353 See \`config.log' for more details" "$LINENO" 5; }
3355 rm -f conftest conftest
$ac_cv_exeext
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3357 $as_echo "$ac_cv_exeext" >&6; }
3359 rm -f conftest.
$ac_ext
3360 EXEEXT
=$ac_cv_exeext
3362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3368 FILE *f = fopen ("conftest.out", "w");
3369 return ferror (f) || fclose (f) != 0;
3375 ac_clean_files
="$ac_clean_files conftest.out"
3376 # Check that the compiler produces executables we can run. If not, either
3377 # the compiler is broken, or we cross compile.
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3379 $as_echo_n "checking whether we are cross compiling... " >&6; }
3380 if test "$cross_compiling" != yes; then
3381 { { ac_try
="$ac_link"
3383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387 $as_echo "$ac_try_echo"; } >&5
3388 (eval "$ac_link") 2>&5
3390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391 test $ac_status = 0; }
3392 if { ac_try='./conftest$ac_cv_exeext'
3393 { { case "(($ac_try" in
3394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3395 *) ac_try_echo
=$ac_try;;
3397 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3398 $as_echo "$ac_try_echo"; } >&5
3399 (eval "$ac_try") 2>&5
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }; }; then
3405 if test "$cross_compiling" = maybe
; then
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error $?
"cannot run C compiled programs.
3411 If you meant to cross compile, use \`--host'.
3412 See \`config.log' for more details" "$LINENO" 5; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3417 $as_echo "$cross_compiling" >&6; }
3419 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3420 ac_clean_files
=$ac_clean_files_save
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3422 $as_echo_n "checking for suffix of object files... " >&6; }
3423 if ${ac_cv_objext+:} false
; then :
3424 $as_echo_n "(cached) " >&6
3426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3437 rm -f conftest.o conftest.obj
3438 if { { ac_try
="$ac_compile"
3440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3444 $as_echo "$ac_try_echo"; } >&5
3445 (eval "$ac_compile") 2>&5
3447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3448 test $ac_status = 0; }; then :
3449 for ac_file in conftest.o conftest.obj conftest.*; do
3450 test -f "$ac_file" || continue;
3452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3453 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3458 $as_echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3464 See \
`config.log' for more details" "$LINENO" 5; }
3466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3469 $as_echo "$ac_cv_objext" >&6; }
3470 OBJEXT=$ac_cv_objext
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3473 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3474 if ${ac_cv_c_compiler_gnu+:} false; then :
3475 $as_echo_n "(cached) " >&6
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3491 if ac_fn_c_try_compile "$LINENO"; then :
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3501 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3502 if test $ac_compiler_gnu = yes; then
3507 ac_test_CFLAGS=${CFLAGS+set}
3508 ac_save_CFLAGS=$CFLAGS
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3510 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3511 if ${ac_cv_prog_cc_g+:} false; then :
3512 $as_echo_n "(cached) " >&6
3514 ac_save_c_werror_flag=$ac_c_werror_flag
3515 ac_c_werror_flag=yes
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3529 if ac_fn_c_try_compile "$LINENO"; then :
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 if ac_fn_c_try_compile "$LINENO"; then :
3547 ac_c_werror_flag=$ac_save_c_werror_flag
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3560 if ac_fn_c_try_compile "$LINENO"; then :
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 ac_c_werror_flag=$ac_save_c_werror_flag
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3571 $as_echo "$ac_cv_prog_cc_g" >&6; }
3572 if test "$ac_test_CFLAGS" = set; then
3573 CFLAGS=$ac_save_CFLAGS
3574 elif test $ac_cv_prog_cc_g = yes; then
3575 if test "$GCC" = yes; then
3581 if test "$GCC" = yes; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3588 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3589 if ${ac_cv_prog_cc_c89+:} false; then :
3590 $as_echo_n "(cached) " >&6
3592 ac_cv_prog_cc_c89=no
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3599 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3600 struct buf { int x; };
3601 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3602 static char *e (p, i)
3608 static char *f (char * (*g) (char **, int), char **p, ...)
3613 s = g (p, va_arg (v,int));
3618 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3619 function prototypes and stuff, but not '\xHH' hex character constants.
3620 These don't provoke an error unfortunately, instead are silently treated
3621 as 'x'. The following induces an error, until -std is added to get
3622 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3623 array size at least. It's necessary to write '\x00'==0 to get something
3624 that's true only with -std. */
3625 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3627 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3628 inside strings and character constants. */
3630 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3632 int test (int i, double x);
3633 struct s1 {int (*f) (int a);};
3634 struct s2 {int (*f) (double a);};
3635 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3641 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3646 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3647 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3649 CC="$ac_save_CC $ac_arg"
3650 if ac_fn_c_try_compile "$LINENO"; then :
3651 ac_cv_prog_cc_c89=$ac_arg
3653 rm -f core conftest.err conftest.$ac_objext
3654 test "x$ac_cv_prog_cc_c89" != "xno" && break
3656 rm -f conftest.$ac_ext
3661 case "x$ac_cv_prog_cc_c89" in
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3664 $as_echo "none needed" >&6; } ;;
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3667 $as_echo "unsupported" >&6; } ;;
3669 CC="$CC $ac_cv_prog_cc_c89"
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3671 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3673 if test "x$ac_cv_prog_cc_c89" != xno; then :
3678 ac_cpp='$CPP $CPPFLAGS'
3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
3685 $as_echo_n "checking for dlopen in -ldl... " >&6; }
3686 if ${ac_cv_lib_dl_dlopen+:} false; then :
3687 $as_echo_n "(cached) " >&6
3689 ac_check_lib_save_LIBS=$LIBS
3691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692 /* end confdefs.h. */
3694 /* Override any GCC internal prototype to avoid an error.
3695 Use char because int might match the return type of a GCC
3696 builtin and then its argument prototype would still apply. */
3709 if ac_fn_c_try_link "$LINENO"; then :
3710 ac_cv_lib_dl_dlopen=yes
3712 ac_cv_lib_dl_dlopen=no
3714 rm -f core conftest.err conftest.$ac_objext \
3715 conftest$ac_exeext conftest.$ac_ext
3716 LIBS=$ac_check_lib_save_LIBS
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
3719 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
3720 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
3723 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
3729 # Check whether --with-cc was given.
3730 if test "${with_cc+set}" = set; then :
3731 withval=$with_cc; as_fn_error $? "--with-cc no longer supported; use CC= instead" "$LINENO" 5
3735 # Check whether --with-ccopts was given.
3736 if test "${with_ccopts+set}" = set; then :
3737 withval=$with_ccopts; as_fn_error $? "--with-ccopts no longer supported; use CFLAGS= instead" "$LINENO" 5
3741 # Check whether --with-ldopts was given.
3742 if test "${with_ldopts+set}" = set; then :
3743 withval=$with_ldopts; as_fn_error $? "--with-ldopts no longer supported; use LDFLAGS= instead" "$LINENO" 5
3747 ac_cpp='$CPP $CPPFLAGS'
3748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3751 if test -n "$ac_tool_prefix"; then
3752 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3753 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if ${ac_cv_prog_CC+:} false; then :
3757 $as_echo_n "(cached) " >&6
3759 if test -n "$CC"; then
3760 ac_cv_prog_CC="$CC" # Let the user override the test.
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3769 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 if test -n "$CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3782 $as_echo "$CC" >&6; }
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3790 if test -z "$ac_cv_prog_CC"; then
3792 # Extract the first word of "gcc", so it can be a program name with args.
3793 set dummy gcc; ac_word=$2
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3795 $as_echo_n "checking for $ac_word... " >&6; }
3796 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3797 $as_echo_n "(cached) " >&6
3799 if test -n "$ac_ct_CC"; then
3800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 test -z "$as_dir" && as_dir=.
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3809 ac_cv_prog_ac_ct_CC="gcc"
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3820 if test -n "$ac_ct_CC"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3822 $as_echo "$ac_ct_CC" >&6; }
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3828 if test "x$ac_ct_CC" = x; then
3831 case $cross_compiling:$ac_tool_warned in
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3835 ac_tool_warned=yes ;;
3843 if test -z "$CC"; then
3844 if test -n "$ac_tool_prefix"; then
3845 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3846 set dummy ${ac_tool_prefix}cc; ac_word=$2
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if ${ac_cv_prog_CC+:} false; then :
3850 $as_echo_n "(cached) " >&6
3852 if test -n "$CC"; then
3853 ac_cv_prog_CC="$CC" # Let the user override the test.
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 test -z "$as_dir" && as_dir=.
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_CC="${ac_tool_prefix}cc"
3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 if test -n "$CC"; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3875 $as_echo "$CC" >&6; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878 $as_echo "no" >&6; }
3884 if test -z "$CC"; then
3885 # Extract the first word of "cc", so it can be a program name with args.
3886 set dummy cc; ac_word=$2
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888 $as_echo_n "checking for $ac_word... " >&6; }
3889 if ${ac_cv_prog_CC+:} false; then :
3890 $as_echo_n "(cached) " >&6
3892 if test -n "$CC"; then
3893 ac_cv_prog_CC="$CC" # Let the user override the test.
3896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3900 test -z "$as_dir" && as_dir=.
3901 for ac_exec_ext in '' $ac_executable_extensions; do
3902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3903 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3904 ac_prog_rejected=yes
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 if test $ac_prog_rejected = yes; then
3916 # We found a bogon in the path, so make sure we never use it.
3917 set dummy $ac_cv_prog_CC
3919 if test $# != 0; then
3920 # We chose a different compiler from the bogus one.
3921 # However, it has the same basename, so the bogon will be chosen
3922 # first if we set CC to just the basename; use the full file name.
3924 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3930 if test -n "$CC"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3932 $as_echo "$CC" >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 $as_echo "no" >&6; }
3940 if test -z "$CC"; then
3941 if test -n "$ac_tool_prefix"; then
3942 for ac_prog in cl.exe
3944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_CC+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 if test -n "$CC"; then
3952 ac_cv_prog_CC="$CC" # Let the user override the test.
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 if test -n "$CC"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3974 $as_echo "$CC" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3981 test -n "$CC" && break
3984 if test -z "$CC"; then
3986 for ac_prog in cl.exe
3988 # Extract the first word of "$ac_prog", so it can be a program name with args.
3989 set dummy $ac_prog; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3993 $as_echo_n "(cached) " >&6
3995 if test -n "$ac_ct_CC"; then
3996 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 ac_cv_prog_ac_ct_CC="$ac_prog"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4016 if test -n "$ac_ct_CC"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4018 $as_echo "$ac_ct_CC" >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4025 test -n "$ac_ct_CC" && break
4028 if test "x$ac_ct_CC" = x; then
4031 case $cross_compiling:$ac_tool_warned in
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4035 ac_tool_warned=yes ;;
4044 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4046 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4047 See \
`config.log' for more details" "$LINENO" 5; }
4049 # Provide some information about the compiler.
4050 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4053 for ac_option in --version -v -V -qversion; do
4054 { { ac_try="$ac_compiler $ac_option >&5"
4056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4057 *) ac_try_echo
=$ac_try;;
4059 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4060 $as_echo "$ac_try_echo"; } >&5
4061 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4063 if test -s conftest.err
; then
4065 ... rest of stderr output deleted ...
4066 10q' conftest.err
>conftest.er1
4067 cat conftest.er1
>&5
4069 rm -f conftest.er1 conftest.err
4070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071 test $ac_status = 0; }
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4075 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4076 if ${ac_cv_c_compiler_gnu+:} false
; then :
4077 $as_echo_n "(cached) " >&6
4079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4093 if ac_fn_c_try_compile
"$LINENO"; then :
4098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4099 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4103 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4104 if test $ac_compiler_gnu = yes; then
4109 ac_test_CFLAGS
=${CFLAGS+set}
4110 ac_save_CFLAGS
=$CFLAGS
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4112 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4113 if ${ac_cv_prog_cc_g+:} false
; then :
4114 $as_echo_n "(cached) " >&6
4116 ac_save_c_werror_flag
=$ac_c_werror_flag
4117 ac_c_werror_flag
=yes
4120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4131 if ac_fn_c_try_compile
"$LINENO"; then :
4135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4146 if ac_fn_c_try_compile
"$LINENO"; then :
4149 ac_c_werror_flag
=$ac_save_c_werror_flag
4151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4162 if ac_fn_c_try_compile
"$LINENO"; then :
4165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4170 ac_c_werror_flag
=$ac_save_c_werror_flag
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4173 $as_echo "$ac_cv_prog_cc_g" >&6; }
4174 if test "$ac_test_CFLAGS" = set; then
4175 CFLAGS
=$ac_save_CFLAGS
4176 elif test $ac_cv_prog_cc_g = yes; then
4177 if test "$GCC" = yes; then
4183 if test "$GCC" = yes; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4190 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4191 if ${ac_cv_prog_cc_c89+:} false
; then :
4192 $as_echo_n "(cached) " >&6
4194 ac_cv_prog_cc_c89
=no
4196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4201 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4202 struct buf { int x; };
4203 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4204 static char *e (p, i)
4210 static char *f (char * (*g) (char **, int), char **p, ...)
4215 s = g (p, va_arg (v,int));
4220 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4221 function prototypes and stuff, but not '\xHH' hex character constants.
4222 These don't provoke an error unfortunately, instead are silently treated
4223 as 'x'. The following induces an error, until -std is added to get
4224 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4225 array size at least. It's necessary to write '\x00'==0 to get something
4226 that's true only with -std. */
4227 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4229 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4230 inside strings and character constants. */
4232 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4234 int test (int i, double x);
4235 struct s1 {int (*f) (int a);};
4236 struct s2 {int (*f) (double a);};
4237 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4243 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4248 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4249 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4251 CC
="$ac_save_CC $ac_arg"
4252 if ac_fn_c_try_compile
"$LINENO"; then :
4253 ac_cv_prog_cc_c89
=$ac_arg
4255 rm -f core conftest.err conftest.
$ac_objext
4256 test "x$ac_cv_prog_cc_c89" != "xno" && break
4258 rm -f conftest.
$ac_ext
4263 case "x$ac_cv_prog_cc_c89" in
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4266 $as_echo "none needed" >&6; } ;;
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4269 $as_echo "unsupported" >&6; } ;;
4271 CC
="$CC $ac_cv_prog_cc_c89"
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4273 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4275 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4280 ac_cpp
='$CPP $CPPFLAGS'
4281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4285 if test "$GCC" = yes; then
4286 RDYNAMIC
="-rdynamic"
4290 ac_cpp
='$CPP $CPPFLAGS'
4291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4295 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4296 # On Suns, sometimes $CPP names a directory.
4297 if test -n "$CPP" && test -d "$CPP"; then
4300 if test -z "$CPP"; then
4301 if ${ac_cv_prog_CPP+:} false
; then :
4302 $as_echo_n "(cached) " >&6
4304 # Double quotes because CPP needs to be expanded
4305 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4308 for ac_c_preproc_warn_flag
in '' yes
4310 # Use a header file that comes with gcc, so configuring glibc
4311 # with a fresh cross-compiler works.
4312 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4313 # <limits.h> exists even on freestanding compilers.
4314 # On the NeXT, cc -E runs the code through the compiler's parser,
4315 # not just through cpp. "Syntax error" is here to catch this case.
4316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4319 # include <limits.h>
4321 # include <assert.h>
4325 if ac_fn_c_try_cpp
"$LINENO"; then :
4328 # Broken: fails on valid input.
4331 rm -f conftest.err conftest.i conftest.
$ac_ext
4333 # OK, works on sane cases. Now check whether nonexistent headers
4334 # can be detected and how.
4335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4337 #include <ac_nonexistent.h>
4339 if ac_fn_c_try_cpp
"$LINENO"; then :
4340 # Broken: success on invalid input.
4343 # Passes both tests.
4347 rm -f conftest.err conftest.i conftest.
$ac_ext
4350 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4351 rm -f conftest.i conftest.err conftest.
$ac_ext
4352 if $ac_preproc_ok; then :
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4365 $as_echo "$CPP" >&6; }
4367 for ac_c_preproc_warn_flag
in '' yes
4369 # Use a header file that comes with gcc, so configuring glibc
4370 # with a fresh cross-compiler works.
4371 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4372 # <limits.h> exists even on freestanding compilers.
4373 # On the NeXT, cc -E runs the code through the compiler's parser,
4374 # not just through cpp. "Syntax error" is here to catch this case.
4375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4378 # include <limits.h>
4380 # include <assert.h>
4384 if ac_fn_c_try_cpp
"$LINENO"; then :
4387 # Broken: fails on valid input.
4390 rm -f conftest.err conftest.i conftest.
$ac_ext
4392 # OK, works on sane cases. Now check whether nonexistent headers
4393 # can be detected and how.
4394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4396 #include <ac_nonexistent.h>
4398 if ac_fn_c_try_cpp
"$LINENO"; then :
4399 # Broken: success on invalid input.
4402 # Passes both tests.
4406 rm -f conftest.err conftest.i conftest.
$ac_ext
4409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4410 rm -f conftest.i conftest.err conftest.
$ac_ext
4411 if $ac_preproc_ok; then :
4414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4416 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4417 See \`config.log' for more details" "$LINENO" 5; }
4421 ac_cpp
='$CPP $CPPFLAGS'
4422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional special compiler flags" >&5
4427 $as_echo_n "checking for additional special compiler flags... " >&6; }
4428 if test "$GCC" = yes
4431 alpha
) addcflags
="-mieee" ;;
4434 if test "x$addcflags" != x
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addcflags" >&5
4437 $as_echo "$addcflags" >&6; }
4438 CFLAGS
="$addcflags $CFLAGS"
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
4441 $as_echo "(none)" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4445 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4446 if ${ac_cv_path_GREP+:} false
; then :
4447 $as_echo_n "(cached) " >&6
4449 if test -z "$GREP"; then
4450 ac_path_GREP_found
=false
4451 # Loop through the user's path and test for each of PROGNAME-LIST
4452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4453 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4456 test -z "$as_dir" && as_dir
=.
4457 for ac_prog
in grep ggrep
; do
4458 for ac_exec_ext
in '' $ac_executable_extensions; do
4459 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4460 as_fn_executable_p
"$ac_path_GREP" ||
continue
4461 # Check for GNU ac_path_GREP and select it if it is found.
4462 # Check for GNU $ac_path_GREP
4463 case `"$ac_path_GREP" --version 2>&1` in
4465 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4468 $as_echo_n 0123456789 >"conftest.in"
4471 cat "conftest.in" "conftest.in" >"conftest.tmp"
4472 mv "conftest.tmp" "conftest.in"
4473 cp "conftest.in" "conftest.nl"
4474 $as_echo 'GREP' >> "conftest.nl"
4475 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4476 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4477 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4478 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4479 # Best one so far, save it but keep looking for a better one
4480 ac_cv_path_GREP
="$ac_path_GREP"
4481 ac_path_GREP_max
=$ac_count
4483 # 10*(2^10) chars as input seems more than enough
4484 test $ac_count -gt 10 && break
4486 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4489 $ac_path_GREP_found && break 3
4494 if test -z "$ac_cv_path_GREP"; then
4495 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4498 ac_cv_path_GREP
=$GREP
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4503 $as_echo "$ac_cv_path_GREP" >&6; }
4504 GREP
="$ac_cv_path_GREP"
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4508 $as_echo_n "checking for egrep... " >&6; }
4509 if ${ac_cv_path_EGREP+:} false
; then :
4510 $as_echo_n "(cached) " >&6
4512 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4513 then ac_cv_path_EGREP
="$GREP -E"
4515 if test -z "$EGREP"; then
4516 ac_path_EGREP_found
=false
4517 # Loop through the user's path and test for each of PROGNAME-LIST
4518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4519 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4522 test -z "$as_dir" && as_dir
=.
4523 for ac_prog
in egrep; do
4524 for ac_exec_ext
in '' $ac_executable_extensions; do
4525 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4526 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4527 # Check for GNU ac_path_EGREP and select it if it is found.
4528 # Check for GNU $ac_path_EGREP
4529 case `"$ac_path_EGREP" --version 2>&1` in
4531 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4534 $as_echo_n 0123456789 >"conftest.in"
4537 cat "conftest.in" "conftest.in" >"conftest.tmp"
4538 mv "conftest.tmp" "conftest.in"
4539 cp "conftest.in" "conftest.nl"
4540 $as_echo 'EGREP' >> "conftest.nl"
4541 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4542 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4543 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4544 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4545 # Best one so far, save it but keep looking for a better one
4546 ac_cv_path_EGREP
="$ac_path_EGREP"
4547 ac_path_EGREP_max
=$ac_count
4549 # 10*(2^10) chars as input seems more than enough
4550 test $ac_count -gt 10 && break
4552 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4555 $ac_path_EGREP_found && break 3
4560 if test -z "$ac_cv_path_EGREP"; then
4561 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4564 ac_cv_path_EGREP
=$EGREP
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4570 $as_echo "$ac_cv_path_EGREP" >&6; }
4571 EGREP
="$ac_cv_path_EGREP"
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4575 $as_echo_n "checking for ANSI C header files... " >&6; }
4576 if ${ac_cv_header_stdc+:} false
; then :
4577 $as_echo_n "(cached) " >&6
4579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4594 if ac_fn_c_try_compile
"$LINENO"; then :
4595 ac_cv_header_stdc
=yes
4597 ac_cv_header_stdc
=no
4599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4601 if test $ac_cv_header_stdc = yes; then
4602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4609 $EGREP "memchr" >/dev
/null
2>&1; then :
4612 ac_cv_header_stdc
=no
4618 if test $ac_cv_header_stdc = yes; then
4619 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4626 $EGREP "free" >/dev
/null
2>&1; then :
4629 ac_cv_header_stdc
=no
4635 if test $ac_cv_header_stdc = yes; then
4636 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4637 if test "$cross_compiling" = yes; then :
4640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4644 #if ((' ' & 0x0FF) == 0x020)
4645 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4646 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4648 # define ISLOWER(c) \
4649 (('a' <= (c) && (c) <= 'i') \
4650 || ('j' <= (c) && (c) <= 'r') \
4651 || ('s' <= (c) && (c) <= 'z'))
4652 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4655 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4660 for (i = 0; i < 256; i++)
4661 if (XOR (islower (i), ISLOWER (i))
4662 || toupper (i) != TOUPPER (i))
4667 if ac_fn_c_try_run
"$LINENO"; then :
4670 ac_cv_header_stdc
=no
4672 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4673 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4679 $as_echo "$ac_cv_header_stdc" >&6; }
4680 if test $ac_cv_header_stdc = yes; then
4682 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4686 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4687 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4688 inttypes.h stdint.h unistd.h
4690 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4691 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4693 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4694 cat >>confdefs.h
<<_ACEOF
4695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4704 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4705 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4712 if test "$MINIX" = yes; then
4714 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4717 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4720 $as_echo "#define _MINIX 1" >>confdefs.h
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4726 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4727 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4728 $as_echo_n "(cached) " >&6
4730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4733 # define __EXTENSIONS__ 1
4734 $ac_includes_default
4743 if ac_fn_c_try_compile
"$LINENO"; then :
4744 ac_cv_safe_to_define___extensions__
=yes
4746 ac_cv_safe_to_define___extensions__
=no
4748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4751 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4752 test $ac_cv_safe_to_define___extensions__ = yes &&
4753 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4755 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4757 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4759 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4761 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4768 # Check whether --with-root-prefix was given.
4769 if test "${with_root_prefix+set}" = set; then :
4770 withval
=$with_root_prefix; root_prefix
=$withval
4774 # Check whether --enable-maintainer-mode was given.
4775 if test "${enable_maintainer_mode+set}" = set; then :
4776 enableval
=$enable_maintainer_mode; if test "$enableval" = "no"
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode" >&5
4780 $as_echo "Disabling maintainer mode" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling maintainer mode" >&5
4784 $as_echo "Enabling maintainer mode" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode by default" >&5
4790 $as_echo "Disabling maintainer mode by default" >&6; }
4795 # Check whether --enable-symlink-install was given.
4796 if test "${enable_symlink_install+set}" = set; then :
4797 enableval
=$enable_symlink_install; if test "$enableval" = "no"
4799 LINK_INSTALL_FLAGS
=-f
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
4801 $as_echo "Disabling symlinks for install" >&6; }
4803 LINK_INSTALL_FLAGS
=-sf
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for install" >&5
4805 $as_echo "Enabling symlinks for install" >&6; }
4809 LINK_INSTALL_FLAGS
=-f
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install by default" >&5
4811 $as_echo "Disabling symlinks for install by default" >&6; }
4816 relative_symlink_defined
=
4817 # Check whether --enable-relative-symlinks was given.
4818 if test "${enable_relative_symlinks+set}" = set; then :
4819 enableval
=$enable_relative_symlinks; if test "$enableval" = "no"
4822 relative_symlink_defined
=yes
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
4824 $as_echo "Disabling relative symlinks for install" >&6; }
4826 SYMLINK_RELATIVE
=--relative
4827 relative_symlink_defined
=yes
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
4829 $as_echo "Enabling relative symlinks for install" >&6; }
4833 # Check whether --enable-symlink-relative-symlinks was given.
4834 if test "${enable_symlink_relative_symlinks+set}" = set; then :
4835 enableval
=$enable_symlink_relative_symlinks; if test "$enableval" = "no"
4837 SYMLINK_RELATIVE
=yes
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
4839 $as_echo "Disabling relative symlinks for install" >&6; }
4841 SYMLINK_RELATIVE
=--relative
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
4843 $as_echo "Enabling relative symlinks for install" >&6; }
4847 if test -z "$relative_symlink_defined"
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install by default" >&5
4851 $as_echo "Disabling relative symlinks for install by default" >&6; }
4857 # Check whether --enable-symlink-build was given.
4858 if test "${enable_symlink_build+set}" = set; then :
4859 enableval
=$enable_symlink_build; if test "$enableval" = "no"
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
4863 $as_echo "Disabling symlinks for build" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for build" >&5
4867 $as_echo "Enabling symlinks for build" >&6; }
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build by default" >&5
4873 $as_echo "Disabling symlinks for build by default" >&6; }
4878 # Check whether --enable-verbose-makecmds was given.
4879 if test "${enable_verbose_makecmds+set}" = set; then :
4880 enableval
=$enable_verbose_makecmds; if test "$enableval" = "no"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
4883 $as_echo "Disabling verbose make commands" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling verbose make commands" >&5
4889 $as_echo "Enabling verbose make commands" >&6; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
4897 $as_echo "Disabling verbose make commands" >&6; }
4908 # Check whether --enable-htree was given.
4909 if test "${enable_htree+set}" = set; then :
4910 enableval
=$enable_htree; if test "$enableval" = "no"
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling htree directory support" >&5
4914 $as_echo "Disabling htree directory support" >&6; }
4917 $as_echo "#define ENABLE_HTREE 1" >>confdefs.h
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling htree directory support" >&5
4920 $as_echo "Enabling htree directory support" >&6; }
4925 $as_echo "#define ENABLE_HTREE 1" >>confdefs.h
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling htree directory support by default" >&5
4928 $as_echo "Enabling htree directory support by default" >&6; }
4933 E2_PKG_CONFIG_STATIC
=--static
4936 # Check whether --enable-elf-shlibs was given.
4937 if test "${enable_elf_shlibs+set}" = set; then :
4938 enableval
=$enable_elf_shlibs; if test "$enableval" = "no"
4941 MAKEFILE_ELF
=/dev
/null
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries" >&5
4943 $as_echo "Disabling ELF shared libraries" >&6; }
4945 E2_PKG_CONFIG_STATIC
=
4947 MAKEFILE_ELF
=$srcdir/lib
/Makefile.elf-lib
4950 MAKEFILE_ELF
=$srcdir/lib
/Makefile.solaris-lib
4956 LDFLAG_DYNAMIC
='-Wl,-rpath-link,$(top_builddir)/lib'
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling ELF shared libraries" >&5
4958 $as_echo "Enabling ELF shared libraries" >&6; }
4962 MAKEFILE_ELF
=/dev
/null
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries by default" >&5
4965 $as_echo "Disabling ELF shared libraries by default" >&6; }
4971 # Check whether --enable-bsd-shlibs was given.
4972 if test "${enable_bsd_shlibs+set}" = set; then :
4973 enableval
=$enable_bsd_shlibs; if test "$enableval" = "no"
4976 MAKEFILE_BSDLIB
=/dev
/null
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries" >&5
4978 $as_echo "Disabling BSD shared libraries" >&6; }
4980 E2_PKG_CONFIG_STATIC
=
4982 MAKEFILE_BSDLIB
=$srcdir/lib
/Makefile.bsd-lib
4986 MAKEFILE_BSDLIB
=$srcdir/lib
/Makefile.darwin-lib
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling BSD shared libraries" >&5
4991 $as_echo "Enabling BSD shared libraries" >&6; }
4995 MAKEFILE_BSDLIB
=/dev
/null
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries by default" >&5
4998 $as_echo "Disabling BSD shared libraries by default" >&6; }
5004 # Check whether --enable-profile was given.
5005 if test "${enable_profile+set}" = set; then :
5006 enableval
=$enable_profile; if test "$enableval" = "no"
5009 MAKEFILE_PROFILE
=/dev
/null
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries" >&5
5011 $as_echo "Disabling profiling libraries" >&6; }
5014 MAKEFILE_PROFILE
=$srcdir/lib
/Makefile.profile
5015 PROFILED_LIB_EXT
=_p.a
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building profiling libraries" >&5
5017 $as_echo "Building profiling libraries" >&6; }
5022 MAKEFILE_PROFILE
=/dev
/null
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries by default" >&5
5024 $as_echo "Disabling profiling libraries by default" >&6; }
5030 # Check whether --enable-gcov was given.
5031 if test "${enable_gcov+set}" = set; then :
5032 enableval
=$enable_gcov; if test "$enableval" = "yes"
5034 CFLAGS
="-g -fprofile-arcs -ftest-coverage"
5035 LDFLAGS
="-fprofile-arcs -ftest-coverage"
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling gcov support" >&5
5037 $as_echo "Enabling gcov support" >&6; }
5048 # Check whether --enable-jbd-debug was given.
5049 if test "${enable_jbd_debug+set}" = set; then :
5050 enableval
=$enable_jbd_debug; if test "$enableval" = "no"
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging" >&5
5053 $as_echo "Disabling journal debugging" >&6; }
5056 $as_echo "#define CONFIG_JBD_DEBUG 1" >>confdefs.h
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling journal debugging" >&5
5059 $as_echo "Enabling journal debugging" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging by default" >&5
5064 $as_echo "Disabling journal debugging by default" >&6; }
5068 # Check whether --enable-blkid-debug was given.
5069 if test "${enable_blkid_debug+set}" = set; then :
5070 enableval
=$enable_blkid_debug; if test "$enableval" = "no"
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging" >&5
5073 $as_echo "Disabling blkid debugging" >&6; }
5076 $as_echo "#define CONFIG_BLKID_DEBUG 1" >>confdefs.h
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling blkid debugging" >&5
5079 $as_echo "Enabling blkid debugging" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging by default" >&5
5084 $as_echo "Disabling blkid debugging by default" >&6; }
5088 # Check whether --enable-testio-debug was given.
5089 if test "${enable_testio_debug+set}" = set; then :
5090 enableval
=$enable_testio_debug;
5091 if test "$enableval" = "no"
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling testio debugging" >&5
5094 $as_echo "Disabling testio debugging" >&6; }
5098 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging" >&5
5101 $as_echo "Enabling testio debugging" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging by default" >&5
5106 $as_echo "Enabling testio debugging by default" >&6; }
5107 $as_echo "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
5121 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5122 if test -n "$ac_tool_prefix"; then
5123 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5124 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5128 $as_echo_n "(cached) " >&6
5132 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5154 if test -n "$PKG_CONFIG"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5156 $as_echo "$PKG_CONFIG" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5164 if test -z "$ac_cv_path_PKG_CONFIG"; then
5165 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5166 # Extract the first word of "pkg-config", so it can be a program name with args.
5167 set dummy pkg-config
; ac_word
=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5171 $as_echo_n "(cached) " >&6
5173 case $ac_pt_PKG_CONFIG in
5175 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5182 test -z "$as_dir" && as_dir
=.
5183 for ac_exec_ext
in '' $ac_executable_extensions; do
5184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5197 if test -n "$ac_pt_PKG_CONFIG"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5199 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5205 if test "x$ac_pt_PKG_CONFIG" = x
; then
5208 case $cross_compiling:$ac_tool_warned in
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5212 ac_tool_warned
=yes ;;
5214 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5217 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5221 if test -n "$PKG_CONFIG"; then
5222 _pkg_min_version
=0.9.0
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5224 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5225 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5227 $as_echo "yes" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5239 DEPPROFILED_LIBUUID
=
5241 # Check whether --enable-libuuid was given.
5242 if test "${enable_libuuid+set}" = set; then :
5243 enableval
=$enable_libuuid; if test "$enableval" = "no"
5245 if test -z "$PKG_CONFIG"; then
5246 as_fn_error $?
"pkg-config not installed; please install it." "$LINENO" 5
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
5250 $as_echo_n "checking for uuid_generate in -luuid... " >&6; }
5251 if ${ac_cv_lib_uuid_uuid_generate+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 ac_check_lib_save_LIBS
=$LIBS
5256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5259 /* Override any GCC internal prototype to avoid an error.
5260 Use char because int might match the return type of a GCC
5261 builtin and then its argument prototype would still apply. */
5265 char uuid_generate ();
5269 return uuid_generate ();
5274 if ac_fn_c_try_link
"$LINENO"; then :
5275 ac_cv_lib_uuid_uuid_generate
=yes
5277 ac_cv_lib_uuid_uuid_generate
=no
5279 rm -f core conftest.err conftest.
$ac_objext \
5280 conftest
$ac_exeext conftest.
$ac_ext
5281 LIBS
=$ac_check_lib_save_LIBS
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
5284 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
5285 if test "x$ac_cv_lib_uuid_uuid_generate" = xyes
; then :
5286 LIBUUID
=`$PKG_CONFIG --libs uuid`;
5287 STATIC_LIBUUID
=`$PKG_CONFIG --static --libs uuid`
5289 as_fn_error $?
"external uuid library not found" "$LINENO" 5
5292 PROFILED_LIBUUID
=$LIBUUID
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private uuid library" >&5
5295 $as_echo "Disabling private uuid library" >&6; }
5297 LIBUUID
='$(LIB)/libuuid'$LIB_EXT
5299 STATIC_LIBUUID
='$(LIB)/libuuid'$STATIC_LIB_EXT
5300 DEPSTATIC_LIBUUID
=$STATIC_LIBUUID
5301 PROFILED_LIBUUID
='$(LIB)/libuuid'$PROFILED_LIB_EXT
5302 DEPPROFILED_LIBUUID
=$PROFILED_LIBUUID
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library" >&5
5304 $as_echo "Enabling private uuid library" >&6; }
5308 LIBUUID
='$(LIB)/libuuid'$LIB_EXT
5310 STATIC_LIBUUID
='$(LIB)/libuuid'$STATIC_LIB_EXT
5311 DEPSTATIC_LIBUUID
=$STATIC_LIBUUID
5312 PROFILED_LIBUUID
='$(LIB)/libuuid'$PROFILED_LIB_EXT
5313 DEPPROFILED_LIBUUID
=$PROFILED_LIBUUID
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library by default" >&5
5315 $as_echo "Enabling private uuid library by default" >&6; }
5333 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5334 if test -n "$ac_tool_prefix"; then
5335 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5336 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5340 $as_echo_n "(cached) " >&6
5344 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_exec_ext
in '' $ac_executable_extensions; do
5353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5354 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5366 if test -n "$PKG_CONFIG"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5368 $as_echo "$PKG_CONFIG" >&6; }
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371 $as_echo "no" >&6; }
5376 if test -z "$ac_cv_path_PKG_CONFIG"; then
5377 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5378 # Extract the first word of "pkg-config", so it can be a program name with args.
5379 set dummy pkg-config
; ac_word
=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5383 $as_echo_n "(cached) " >&6
5385 case $ac_pt_PKG_CONFIG in
5387 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_exec_ext
in '' $ac_executable_extensions; do
5396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5397 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5409 if test -n "$ac_pt_PKG_CONFIG"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5411 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5417 if test "x$ac_pt_PKG_CONFIG" = x
; then
5420 case $cross_compiling:$ac_tool_warned in
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5424 ac_tool_warned
=yes ;;
5426 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5429 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5433 if test -n "$PKG_CONFIG"; then
5434 _pkg_min_version
=0.9.0
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5436 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5437 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5439 $as_echo "yes" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5451 DEPPROFILED_LIBBLKID
=
5454 # Check whether --enable-libblkid was given.
5455 if test "${enable_libblkid+set}" = set; then :
5456 enableval
=$enable_libblkid; if test "$enableval" = "no"
5458 if test -z "$PKG_CONFIG"; then
5459 as_fn_error $?
"pkg-config not installed; please install it." "$LINENO" 5
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
5463 $as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
5464 if ${ac_cv_lib_blkid_blkid_get_cache+:} false
; then :
5465 $as_echo_n "(cached) " >&6
5467 ac_check_lib_save_LIBS
=$LIBS
5468 LIBS
="-lblkid -luuid $LIBS"
5469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5472 /* Override any GCC internal prototype to avoid an error.
5473 Use char because int might match the return type of a GCC
5474 builtin and then its argument prototype would still apply. */
5478 char blkid_get_cache ();
5482 return blkid_get_cache ();
5487 if ac_fn_c_try_link
"$LINENO"; then :
5488 ac_cv_lib_blkid_blkid_get_cache
=yes
5490 ac_cv_lib_blkid_blkid_get_cache
=no
5492 rm -f core conftest.err conftest.
$ac_objext \
5493 conftest
$ac_exeext conftest.
$ac_ext
5494 LIBS
=$ac_check_lib_save_LIBS
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
5497 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
5498 if test "x$ac_cv_lib_blkid_blkid_get_cache" = xyes
; then :
5499 LIBBLKID
=`$PKG_CONFIG --libs blkid`;
5500 STATIC_LIBBLKID
=`$PKG_CONFIG --static --libs blkid`
5502 as_fn_error $?
"external blkid library not found" "$LINENO" 5
5506 PROFILED_LIBBLKID
=$LIBBLKID
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling private blkid library" >&5
5508 $as_echo "Disabling private blkid library" >&6; }
5510 LIBBLKID
='$(LIB)/libblkid'$LIB_EXT
5511 DEPLIBBLKID
=$LIBBLKID
5512 STATIC_LIBBLKID
='$(LIB)/libblkid'$STATIC_LIB_EXT
5513 DEPSTATIC_LIBBLKID
=$STATIC_LIBBLKID
5514 PROFILED_LIBBLKID
='$(LIB)/libblkid'$PROFILED_LIB_EXT
5515 DEPPROFILED_LIBBLKID
=$PROFILED_LIBBLKID
5516 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library" >&5
5519 $as_echo "Enabling private blkid library" >&6; }
5523 LIBBLKID
='$(LIB)/libblkid'$LIB_EXT
5524 DEPLIBBLKID
=$LIBBLKID
5525 STATIC_LIBBLKID
='$(LIB)/libblkid'$STATIC_LIB_EXT
5526 DEPSTATIC_LIBBLKID
=$STATIC_LIBBLKID
5527 PROFILED_LIBBLKID
='$(LIB)/libblkid'$PROFILED_LIB_EXT
5528 DEPPROFILED_LIBBLKID
=$PROFILED_LIBBLKID
5529 $as_echo "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library by default" >&5
5532 $as_echo "Enabling private blkid library by default" >&6; }
5543 QUOTA_MAN_COMMENT
='.\"'
5553 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5554 if test -n "$ac_tool_prefix"; then
5555 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5556 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5560 $as_echo_n "(cached) " >&6
5564 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5571 test -z "$as_dir" && as_dir
=.
5572 for ac_exec_ext
in '' $ac_executable_extensions; do
5573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5586 if test -n "$PKG_CONFIG"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5588 $as_echo "$PKG_CONFIG" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5596 if test -z "$ac_cv_path_PKG_CONFIG"; then
5597 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5598 # Extract the first word of "pkg-config", so it can be a program name with args.
5599 set dummy pkg-config
; ac_word
=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5603 $as_echo_n "(cached) " >&6
5605 case $ac_pt_PKG_CONFIG in
5607 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir
=.
5615 for ac_exec_ext
in '' $ac_executable_extensions; do
5616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5617 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5629 if test -n "$ac_pt_PKG_CONFIG"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5631 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5637 if test "x$ac_pt_PKG_CONFIG" = x
; then
5640 case $cross_compiling:$ac_tool_warned in
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5644 ac_tool_warned
=yes ;;
5646 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5649 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5653 if test -n "$PKG_CONFIG"; then
5654 _pkg_min_version
=0.9.0
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5656 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5657 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5659 $as_echo "yes" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5667 # Check whether --enable-quota was given.
5668 if test "${enable_quota+set}" = set; then :
5669 enableval
=$enable_quota; if test "$enableval" = "no"
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling quota support" >&5
5673 $as_echo "Disabling quota support" >&6; }
5676 $as_echo "#define CONFIG_QUOTA 1" >>confdefs.h
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling quota support" >&5
5679 $as_echo "Enabling quota support" >&6; }
5680 QUOTA_MAN_COMMENT
=""
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling quota support by default" >&5
5687 $as_echo "Disabling quota support by default" >&6; }
5691 LIBQUOTA
='$(LIB)/libquota'$LIB_EXT
5692 DEPLIBQUOTA
=$LIBQUOTA
5693 STATIC_LIBQUOTA
='$(LIB)/libquota'$STATIC_LIB_EXT
5694 DEPSTATIC_LIBQUOTA
=$STATIC_LIBQUOTA
5695 PROFILED_LIBQUOTA
='$(LIB)/libquota'$PROFILED_LIB_EXT
5696 DEPPROFILED_LIBQUOTA
=$PROFILED_LIBQUOTA
5705 # Check whether --enable-backtrace was given.
5706 if test "${enable_backtrace+set}" = set; then :
5707 enableval
=$enable_backtrace; if test "$enableval" = "no"
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling use of backtrace" >&5
5710 $as_echo "Disabling use of backtrace" >&6; }
5711 $as_echo "#define DISABLE_BACKTRACE 1" >>confdefs.h
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace" >&5
5715 $as_echo "Enabling use of backtrace" >&6; }
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace by default" >&5
5720 $as_echo "Enabling use of backtrace by default" >&6; }
5724 # Check whether --enable-debugfs was given.
5725 if test "${enable_debugfs+set}" = set; then :
5726 enableval
=$enable_debugfs; if test "$enableval" = "no"
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling debugfs support" >&5
5729 $as_echo "Disabling debugfs support" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support" >&5
5734 $as_echo "Enabling debugfs support" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support by default" >&5
5739 $as_echo "Enabling debugfs support by default" >&6; }
5745 # Check whether --enable-imager was given.
5746 if test "${enable_imager+set}" = set; then :
5747 enableval
=$enable_imager; if test "$enableval" = "no"
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2image support" >&5
5750 $as_echo "Disabling e2image support" >&6; }
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support" >&5
5755 $as_echo "Enabling e2image support" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support by default" >&5
5760 $as_echo "Enabling e2image support by default" >&6; }
5766 # Check whether --enable-resizer was given.
5767 if test "${enable_resizer+set}" = set; then :
5768 enableval
=$enable_resizer; if test "$enableval" = "no"
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e2resize support" >&5
5771 $as_echo "Disabling e2resize support" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support" >&5
5776 $as_echo "Enabling e2resize support" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support by default" >&5
5781 $as_echo "Enabling e2resize support by default" >&6; }
5787 # Check whether --enable-defrag was given.
5788 if test "${enable_defrag+set}" = set; then :
5789 enableval
=$enable_defrag; if test "$enableval" = "no"
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support" >&5
5792 $as_echo "Disabling e4defrag support" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support" >&5
5797 $as_echo "Enabling e4defrag support" >&6; }
5801 if test -z "$WITH_DIET_LIBC"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support by default" >&5
5804 $as_echo "Enabling e4defrag support by default" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support by default" >&5
5808 $as_echo "Disabling e4defrag support by default" >&6; }
5815 # Check whether --enable-fsck was given.
5816 if test "${enable_fsck+set}" = set; then :
5817 enableval
=$enable_fsck; if test "$enableval" = "no"
5819 FSCK_PROG
='' FSCK_MAN
=''
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper" >&5
5821 $as_echo "Not building fsck wrapper" >&6; }
5823 FSCK_PROG
=fsck FSCK_MAN
=fsck
.8
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper" >&5
5825 $as_echo "Building fsck wrapper" >&6; }
5831 FSCK_PROG
='' FSCK_MAN
=''
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper by default" >&5
5833 $as_echo "Not building fsck wrapper by default" >&6; }
5836 FSCK_PROG
=fsck FSCK_MAN
=fsck
.8
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper by default" >&5
5838 $as_echo "Building fsck wrapper by default" >&6; }
5845 # Check whether --enable-e2initrd-helper was given.
5846 if test "${enable_e2initrd_helper+set}" = set; then :
5847 enableval
=$enable_e2initrd_helper; if test "$enableval" = "no"
5849 E2INITRD_PROG
='' E2INITRD_MAN
=''
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building e2initrd helper" >&5
5851 $as_echo "Not building e2initrd helper" >&6; }
5853 E2INITRD_PROG
=e2initrd_helper E2INITRD_MAN
=e2initrd_helper
.8
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper" >&5
5855 $as_echo "Building e2initrd helper" >&6; }
5859 E2INITRD_PROG
=e2initrd_helper E2INITRD_MAN
=e2initrd_helper
.8
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper by default" >&5
5861 $as_echo "Building e2initrd helper by default" >&6; }
5867 # Check whether --enable-tls was given.
5868 if test "${enable_tls+set}" = set; then :
5869 enableval
=$enable_tls; if test "$enableval" = "no"
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling thread local support" >&5
5873 $as_echo "Disabling thread local support" >&6; }
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling thread local support" >&5
5877 $as_echo "Enabling thread local support" >&6; }
5881 if test -n "$WITH_DIET_LIBC"
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Diet libc does not support thread local support" >&5
5885 $as_echo "Diet libc does not support thread local support" >&6; }
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Try using thread local support by default" >&5
5889 $as_echo "Try using thread local support by default" >&6; }
5894 if test "$try_tls" = "yes"
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
5898 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
5899 if ${ac_cv_tls+:} false
; then :
5900 $as_echo_n "(cached) " >&6
5903 ax_tls_keywords
="__thread __declspec(thread) none"
5904 for ax_tls_keyword
in $ax_tls_keywords; do
5905 case $ax_tls_keyword in
5906 none
) ac_cv_tls
=none
; break ;;
5908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5909 /* end confdefs.h. */
5913 static $ax_tls_keyword int bar;
5924 if ac_fn_c_try_compile
"$LINENO"; then :
5925 ac_cv_tls
=$ax_tls_keyword ; break
5930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5937 if test "$ac_cv_tls" != "none"; then
5939 cat >>confdefs.h
<<_ACEOF
5940 #define TLS $ac_cv_tls
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
5945 $as_echo "$ac_cv_tls" >&6; }
5949 # Check whether --enable-uuidd was given.
5950 if test "${enable_uuidd+set}" = set; then :
5951 enableval
=$enable_uuidd; if test "$enableval" = "no"
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not building uuidd" >&5
5954 $as_echo "Not building uuidd" >&6; }
5957 $as_echo "#define USE_UUIDD 1" >>confdefs.h
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd" >&5
5961 $as_echo "Building uuidd" >&6; }
5965 $as_echo "#define USE_UUIDD 1" >>confdefs.h
5967 if test -z "$UUID_CMT"
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building uuidd by default" >&5
5971 $as_echo "Building uuidd by default" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling uuidd by default" >&5
5975 $as_echo "Disabling uuidd by default" >&6; }
5982 # Check whether --enable-mmp was given.
5983 if test "${enable_mmp+set}" = set; then :
5984 enableval
=$enable_mmp; if test "$enableval" = "no"
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling mmp support" >&5
5987 $as_echo "Disabling mmp support" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support" >&5
5990 $as_echo "Enabling mmp support" >&6; }
5991 $as_echo "#define CONFIG_MMP 1" >>confdefs.h
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support by default" >&5
5997 $as_echo "Enabling mmp support by default" >&6; }
5998 $as_echo "#define CONFIG_MMP 1" >>confdefs.h
6004 # Check whether --enable-bmap-stats was given.
6005 if test "${enable_bmap_stats+set}" = set; then :
6006 enableval
=$enable_bmap_stats; if test "$enableval" = "no"
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling bitmap statistics support" >&5
6009 $as_echo "Disabling bitmap statistics support" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support" >&5
6012 $as_echo "Enabling bitmap statistics support" >&6; }
6013 $as_echo "#define ENABLE_BMAP_STATS 1" >>confdefs.h
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support by default" >&5
6019 $as_echo "Enabling bitmap statistics support by default" >&6; }
6020 $as_echo "#define ENABLE_BMAP_STATS 1" >>confdefs.h
6026 # Check whether --enable-bmap-stats-ops was given.
6027 if test "${enable_bmap_stats_ops+set}" = set; then :
6028 enableval
=$enable_bmap_stats_ops; if test "$enableval" = "no"
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics" >&5
6031 $as_echo "Disabling additional bitmap statistics" >&6; }
6033 if test "x${enable_bmap_stats}" = "xno"; then :
6034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6036 as_fn_error $?
"Error --enable-bmap-stats-ops requires bmap-stats
6037 See \`config.log' for more details" "$LINENO" 5; }
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling additional bitmap statistics" >&5
6041 $as_echo "Enabling additional bitmap statistics" >&6; }
6042 $as_echo "#define ENABLE_BMAP_STATS_OPS 1" >>confdefs.h
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics by default" >&5
6048 $as_echo "Disabling additional bitmap statistics by default" >&6; }
6052 MAKEFILE_LIBRARY
=$srcdir/lib
/Makefile.library
6054 GETTEXT_PACKAGE
=e2fsprogs
6056 VERSION
="$E2FSPROGS_VERSION"
6059 cat >>confdefs.h
<<_ACEOF
6060 #define PACKAGE "$PACKAGE"
6064 cat >>confdefs.h
<<_ACEOF
6065 #define VERSION "$VERSION"
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6073 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6075 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6076 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6077 $as_echo_n "(cached) " >&6
6079 cat >conftest.
make <<\_ACEOF
6082 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6084 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6085 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6087 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6089 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6093 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6095 $as_echo "yes" >&6; }
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 $as_echo "no" >&6; }
6100 SET_MAKE
="MAKE=${MAKE-make}"
6103 # Find a good install program. We prefer a C program (faster),
6104 # so one script is as good as another. But avoid the broken or
6105 # incompatible versions:
6106 # SysV /etc/install, /usr/sbin/install
6107 # SunOS /usr/etc/install
6108 # IRIX /sbin/install
6110 # AmigaOS /C/install, which installs bootblocks on floppy discs
6111 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6112 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6113 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6114 # OS/2's system install, which has a completely different semantic
6115 # ./install, which can be erroneously created by make from ./install.sh.
6116 # Reject install programs that cannot install multiple files.
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
6118 $as_echo_n "checking for a BSD-compatible install... " >&6; }
6119 if test -z "$INSTALL"; then
6120 if ${ac_cv_path_install+:} false
; then :
6121 $as_echo_n "(cached) " >&6
6123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6127 test -z "$as_dir" && as_dir
=.
6128 # Account for people who put trailing slashes in PATH elements.
6129 case $as_dir/ in #((
6130 .
/ | .
// |
/[cC
]/* | \
6131 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6132 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
6135 # OSF1 and SCO ODT 3.0 have their own names for install.
6136 # Don't use installbsd from OSF since it installs stuff as root
6138 for ac_prog
in ginstall scoinst
install; do
6139 for ac_exec_ext
in '' $ac_executable_extensions; do
6140 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
6141 if test $ac_prog = install &&
6142 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6143 # AIX install. It has an incompatible calling convention.
6145 elif test $ac_prog = install &&
6146 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6147 # program-specific install script used by HP pwplus--don't use.
6150 rm -rf conftest.one conftest.two conftest.dir
6151 echo one
> conftest.one
6152 echo two
> conftest.two
6154 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
6155 test -s conftest.one
&& test -s conftest.two
&&
6156 test -s conftest.dir
/conftest.one
&&
6157 test -s conftest.dir
/conftest.two
6159 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6172 rm -rf conftest.one conftest.two conftest.dir
6175 if test "${ac_cv_path_install+set}" = set; then
6176 INSTALL
=$ac_cv_path_install
6178 # As a last resort, use the slow shell script. Don't cache a
6179 # value for INSTALL within a source directory, because that will
6180 # break other packages using the cache if that directory is
6181 # removed, or if the value is a relative name.
6182 INSTALL
=$ac_install_sh
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
6186 $as_echo "$INSTALL" >&6; }
6188 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6189 # It thinks the first close brace ends the variable substitution.
6190 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6192 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6194 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
6197 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6198 if test -z "$MKDIR_P"; then
6199 if ${ac_cv_path_mkdir+:} false
; then :
6200 $as_echo_n "(cached) " >&6
6202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6203 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
6206 test -z "$as_dir" && as_dir
=.
6207 for ac_prog
in mkdir gmkdir
; do
6208 for ac_exec_ext
in '' $ac_executable_extensions; do
6209 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
6210 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6211 'mkdir (GNU coreutils) '* | \
6212 'mkdir (coreutils) '* | \
6213 'mkdir (fileutils) '4.1*)
6214 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
6224 test -d .
/--version && rmdir .
/--version
6225 if test "${ac_cv_path_mkdir+set}" = set; then
6226 MKDIR_P
="$ac_cv_path_mkdir -p"
6228 # As a last resort, use the slow shell script. Don't cache a
6229 # value for MKDIR_P within a source directory, because that will
6230 # break other packages using the cache if that directory is
6231 # removed, or if the value is a relative name.
6232 MKDIR_P
="$ac_install_sh -d"
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6236 $as_echo "$MKDIR_P" >&6; }
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6239 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6240 if ${ac_cv_path_SED+:} false
; then :
6241 $as_echo_n "(cached) " >&6
6243 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6244 for ac_i
in 1 2 3 4 5 6 7; do
6245 ac_script
="$ac_script$as_nl$ac_script"
6247 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6248 { ac_script
=; unset ac_script
;}
6249 if test -z "$SED"; then
6250 ac_path_SED_found
=false
6251 # Loop through the user's path and test for each of PROGNAME-LIST
6252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir
=.
6257 for ac_prog
in sed gsed
; do
6258 for ac_exec_ext
in '' $ac_executable_extensions; do
6259 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6260 as_fn_executable_p
"$ac_path_SED" ||
continue
6261 # Check for GNU ac_path_SED and select it if it is found.
6262 # Check for GNU $ac_path_SED
6263 case `"$ac_path_SED" --version 2>&1` in
6265 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6268 $as_echo_n 0123456789 >"conftest.in"
6271 cat "conftest.in" "conftest.in" >"conftest.tmp"
6272 mv "conftest.tmp" "conftest.in"
6273 cp "conftest.in" "conftest.nl"
6274 $as_echo '' >> "conftest.nl"
6275 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6276 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6277 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6278 if test $ac_count -gt ${ac_path_SED_max-0}; then
6279 # Best one so far, save it but keep looking for a better one
6280 ac_cv_path_SED
="$ac_path_SED"
6281 ac_path_SED_max
=$ac_count
6283 # 10*(2^10) chars as input seems more than enough
6284 test $ac_count -gt 10 && break
6286 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6289 $ac_path_SED_found && break 3
6294 if test -z "$ac_cv_path_SED"; then
6295 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6303 $as_echo "$ac_cv_path_SED" >&6; }
6304 SED
="$ac_cv_path_SED"
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6309 $as_echo_n "checking whether NLS is requested... " >&6; }
6310 # Check whether --enable-nls was given.
6311 if test "${enable_nls+set}" = set; then :
6312 enableval
=$enable_nls; USE_NLS
=$enableval
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6318 $as_echo "$USE_NLS" >&6; }
6323 GETTEXT_MACRO_VERSION
=0.18
6328 # Prepare PATH_SEPARATOR.
6329 # The user is always right.
6330 if test "${PATH_SEPARATOR+set}" != set; then
6331 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6332 # contains only /bin. Note that ksh looks also at the FPATH variable,
6333 # so we have to set that as well for the test.
6335 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6336 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6337 || PATH_SEPARATOR
=';'
6341 # Find out how to test for executable files. Don't use a zero-byte file,
6342 # as systems may use methods other than mode bits to determine executability.
6343 cat >conf$$.
file <<_ASEOF
6347 chmod +x conf$$.
file
6348 if test -x conf$$.
file >/dev
/null
2>&1; then
6349 ac_executable_p
="test -x"
6351 ac_executable_p
="test -f"
6355 # Extract the first word of "msgfmt", so it can be a program name with args.
6356 set dummy msgfmt
; ac_word
=$2
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6358 $as_echo_n "checking for $ac_word... " >&6; }
6359 if ${ac_cv_path_MSGFMT+:} false
; then :
6360 $as_echo_n "(cached) " >&6
6364 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6367 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6368 for ac_dir
in $PATH; do
6370 test -z "$ac_dir" && ac_dir
=.
6371 for ac_exec_ext
in '' $ac_executable_extensions; do
6372 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6373 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6374 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
6375 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6376 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6383 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6387 MSGFMT
="$ac_cv_path_MSGFMT"
6388 if test "$MSGFMT" != ":"; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6390 $as_echo "$MSGFMT" >&6; }
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393 $as_echo "no" >&6; }
6396 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6397 set dummy gmsgfmt
; ac_word
=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_path_GMSGFMT+:} false
; then :
6401 $as_echo_n "(cached) " >&6
6405 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6412 test -z "$as_dir" && as_dir
=.
6413 for ac_exec_ext
in '' $ac_executable_extensions; do
6414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6415 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6423 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6427 GMSGFMT
=$ac_cv_path_GMSGFMT
6428 if test -n "$GMSGFMT"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6430 $as_echo "$GMSGFMT" >&6; }
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; }
6438 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6439 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
6440 *) MSGFMT_015
=$MSGFMT ;;
6443 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6444 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
6445 *) GMSGFMT_015
=$GMSGFMT ;;
6450 # Prepare PATH_SEPARATOR.
6451 # The user is always right.
6452 if test "${PATH_SEPARATOR+set}" != set; then
6453 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6454 # contains only /bin. Note that ksh looks also at the FPATH variable,
6455 # so we have to set that as well for the test.
6457 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6458 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6459 || PATH_SEPARATOR
=';'
6463 # Find out how to test for executable files. Don't use a zero-byte file,
6464 # as systems may use methods other than mode bits to determine executability.
6465 cat >conf$$.
file <<_ASEOF
6469 chmod +x conf$$.
file
6470 if test -x conf$$.
file >/dev
/null
2>&1; then
6471 ac_executable_p
="test -x"
6473 ac_executable_p
="test -f"
6477 # Extract the first word of "xgettext", so it can be a program name with args.
6478 set dummy xgettext
; ac_word
=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if ${ac_cv_path_XGETTEXT+:} false
; then :
6482 $as_echo_n "(cached) " >&6
6486 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6489 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6490 for ac_dir
in $PATH; do
6492 test -z "$ac_dir" && ac_dir
=.
6493 for ac_exec_ext
in '' $ac_executable_extensions; do
6494 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6495 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6496 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
6497 (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
6498 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6505 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6509 XGETTEXT
="$ac_cv_path_XGETTEXT"
6510 if test "$XGETTEXT" != ":"; then
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6512 $as_echo "$XGETTEXT" >&6; }
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6515 $as_echo "no" >&6; }
6520 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6521 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
6522 *) XGETTEXT_015
=$XGETTEXT ;;
6527 # Prepare PATH_SEPARATOR.
6528 # The user is always right.
6529 if test "${PATH_SEPARATOR+set}" != set; then
6530 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6531 # contains only /bin. Note that ksh looks also at the FPATH variable,
6532 # so we have to set that as well for the test.
6534 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6535 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6536 || PATH_SEPARATOR
=';'
6540 # Find out how to test for executable files. Don't use a zero-byte file,
6541 # as systems may use methods other than mode bits to determine executability.
6542 cat >conf$$.
file <<_ASEOF
6546 chmod +x conf$$.
file
6547 if test -x conf$$.
file >/dev
/null
2>&1; then
6548 ac_executable_p
="test -x"
6550 ac_executable_p
="test -f"
6554 # Extract the first word of "msgmerge", so it can be a program name with args.
6555 set dummy msgmerge
; ac_word
=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if ${ac_cv_path_MSGMERGE+:} false
; then :
6559 $as_echo_n "(cached) " >&6
6563 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6566 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6567 for ac_dir
in $PATH; do
6569 test -z "$ac_dir" && ac_dir
=.
6570 for ac_exec_ext
in '' $ac_executable_extensions; do
6571 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6572 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6573 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
6574 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6581 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6585 MSGMERGE
="$ac_cv_path_MSGMERGE"
6586 if test "$MSGMERGE" != ":"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6588 $as_echo "$MSGMERGE" >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6595 test -n "$localedir" || localedir
='${datadir}/locale'
6598 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
6601 ac_config_commands
="$ac_config_commands po-directories"
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&5
6606 $as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; }
6607 if ${ac_cv_gnu_library_2+:} false
; then :
6608 $as_echo_n "(cached) " >&6
6610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6613 #include <features.h>
6614 #ifdef __GNU_LIBRARY__
6615 #if (__GLIBC__ >= 2) && !defined __UCLIBC__
6621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6622 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
6623 ac_cv_gnu_library_2
=yes
6625 ac_cv_gnu_library_2
=no
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2" >&5
6633 $as_echo "$ac_cv_gnu_library_2" >&6; }
6635 GLIBC2
="$ac_cv_gnu_library_2"
6638 if test -n "$ac_tool_prefix"; then
6639 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6640 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if ${ac_cv_prog_RANLIB+:} false
; then :
6644 $as_echo_n "(cached) " >&6
6646 if test -n "$RANLIB"; then
6647 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir
=.
6654 for ac_exec_ext
in '' $ac_executable_extensions; do
6655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6656 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 RANLIB
=$ac_cv_prog_RANLIB
6667 if test -n "$RANLIB"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6669 $as_echo "$RANLIB" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6677 if test -z "$ac_cv_prog_RANLIB"; then
6678 ac_ct_RANLIB
=$RANLIB
6679 # Extract the first word of "ranlib", so it can be a program name with args.
6680 set dummy ranlib
; ac_word
=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6684 $as_echo_n "(cached) " >&6
6686 if test -n "$ac_ct_RANLIB"; then
6687 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir
=.
6694 for ac_exec_ext
in '' $ac_executable_extensions; do
6695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6696 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6707 if test -n "$ac_ct_RANLIB"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6709 $as_echo "$ac_ct_RANLIB" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6715 if test "x$ac_ct_RANLIB" = x
; then
6718 case $cross_compiling:$ac_tool_warned in
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722 ac_tool_warned
=yes ;;
6724 RANLIB
=$ac_ct_RANLIB
6727 RANLIB
="$ac_cv_prog_RANLIB"
6734 if test -n "$GCC"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
6736 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
6737 if ${gl_cv_cc_vis_werror+:} false
; then :
6738 $as_echo_n "(cached) " >&6
6741 gl_save_CFLAGS
="$CFLAGS"
6742 CFLAGS
="$CFLAGS -Werror"
6743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6754 if ac_fn_c_try_compile
"$LINENO"; then :
6755 gl_cv_cc_vis_werror
=yes
6757 gl_cv_cc_vis_werror
=no
6759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6760 CFLAGS
="$gl_save_CFLAGS"
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
6764 $as_echo "$gl_cv_cc_vis_werror" >&6; }
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
6766 $as_echo_n "checking for simple visibility declarations... " >&6; }
6767 if ${gl_cv_cc_visibility+:} false
; then :
6768 $as_echo_n "(cached) " >&6
6771 gl_save_CFLAGS
="$CFLAGS"
6772 CFLAGS
="$CFLAGS -fvisibility=hidden"
6773 if test $gl_cv_cc_vis_werror = yes; then
6774 CFLAGS
="$CFLAGS -Werror"
6776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6777 /* end confdefs.h. */
6778 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
6779 extern __attribute__((__visibility__("default"))) int exportedvar;
6780 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
6781 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
6782 void dummyfunc (void) {}
6792 if ac_fn_c_try_compile
"$LINENO"; then :
6793 gl_cv_cc_visibility
=yes
6795 gl_cv_cc_visibility
=no
6797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6798 CFLAGS
="$gl_save_CFLAGS"
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
6802 $as_echo "$gl_cv_cc_visibility" >&6; }
6803 if test $gl_cv_cc_visibility = yes; then
6804 CFLAG_VISIBILITY
="-fvisibility=hidden"
6811 cat >>confdefs.h
<<_ACEOF
6812 #define HAVE_VISIBILITY $HAVE_VISIBILITY
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6817 $as_echo_n "checking for inline... " >&6; }
6818 if ${ac_cv_c_inline+:} false
; then :
6819 $as_echo_n "(cached) " >&6
6822 for ac_kw
in inline __inline__ __inline
; do
6823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6824 /* end confdefs.h. */
6827 static $ac_kw foo_t static_foo () {return 0; }
6828 $ac_kw foo_t foo () {return 0; }
6832 if ac_fn_c_try_compile
"$LINENO"; then :
6833 ac_cv_c_inline
=$ac_kw
6835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6836 test "$ac_cv_c_inline" != no
&& break
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6841 $as_echo "$ac_cv_c_inline" >&6; }
6843 case $ac_cv_c_inline in
6846 case $ac_cv_c_inline in
6848 *) ac_val
=$ac_cv_c_inline;;
6850 cat >>confdefs.h
<<_ACEOF
6852 #define inline $ac_val
6858 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6859 if test "x$ac_cv_type_size_t" = xyes
; then :
6863 cat >>confdefs.h
<<_ACEOF
6864 #define size_t unsigned int
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
6871 $as_echo_n "checking for stdint.h... " >&6; }
6872 if ${gl_cv_header_stdint_h+:} false
; then :
6873 $as_echo_n "(cached) " >&6
6875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h. */
6877 #include <sys/types.h>
6882 uintmax_t i = (uintmax_t) -1; return !i;
6887 if ac_fn_c_try_compile
"$LINENO"; then :
6888 gl_cv_header_stdint_h
=yes
6890 gl_cv_header_stdint_h
=no
6892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
6895 $as_echo "$gl_cv_header_stdint_h" >&6; }
6896 if test $gl_cv_header_stdint_h = yes; then
6898 cat >>confdefs.h
<<_ACEOF
6899 #define HAVE_STDINT_H_WITH_UINTMAX 1
6904 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6905 # for constant arguments. Useless!
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6907 $as_echo_n "checking for working alloca.h... " >&6; }
6908 if ${ac_cv_working_alloca_h+:} false
; then :
6909 $as_echo_n "(cached) " >&6
6911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6917 char *p = (char *) alloca (2 * sizeof (int));
6923 if ac_fn_c_try_link
"$LINENO"; then :
6924 ac_cv_working_alloca_h
=yes
6926 ac_cv_working_alloca_h
=no
6928 rm -f core conftest.err conftest.
$ac_objext \
6929 conftest
$ac_exeext conftest.
$ac_ext
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6932 $as_echo "$ac_cv_working_alloca_h" >&6; }
6933 if test $ac_cv_working_alloca_h = yes; then
6935 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6940 $as_echo_n "checking for alloca... " >&6; }
6941 if ${ac_cv_func_alloca_works+:} false
; then :
6942 $as_echo_n "(cached) " >&6
6944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6945 /* end confdefs.h. */
6947 # define alloca __builtin_alloca
6950 # include <malloc.h>
6951 # define alloca _alloca
6953 # ifdef HAVE_ALLOCA_H
6954 # include <alloca.h>
6959 # ifndef alloca /* predefined by HP cc +Olibcalls */
6960 void *alloca (size_t);
6970 char *p = (char *) alloca (1);
6976 if ac_fn_c_try_link
"$LINENO"; then :
6977 ac_cv_func_alloca_works
=yes
6979 ac_cv_func_alloca_works
=no
6981 rm -f core conftest.err conftest.
$ac_objext \
6982 conftest
$ac_exeext conftest.
$ac_ext
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6985 $as_echo "$ac_cv_func_alloca_works" >&6; }
6987 if test $ac_cv_func_alloca_works = yes; then
6989 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6992 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6993 # that cause trouble. Some versions do not even contain alloca or
6994 # contain a buggy version. If you still want to use their alloca,
6995 # use ar to extract alloca.o from them instead of compiling alloca.c.
6997 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6999 $as_echo "#define C_ALLOCA 1" >>confdefs.h
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7003 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7004 if ${ac_cv_os_cray+:} false
; then :
7005 $as_echo_n "(cached) " >&6
7007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #if defined CRAY && ! defined CRAY2
7016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7017 $EGREP "webecray" >/dev
/null
2>&1; then :
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
7026 $as_echo "$ac_cv_os_cray" >&6; }
7027 if test $ac_cv_os_cray = yes; then
7028 for ac_func
in _getb67 GETB67 getb67
; do
7029 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7030 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7031 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7033 cat >>confdefs.h
<<_ACEOF
7034 #define CRAY_STACKSEG_END $ac_func
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7044 $as_echo_n "checking stack direction for C alloca... " >&6; }
7045 if ${ac_cv_c_stack_direction+:} false
; then :
7046 $as_echo_n "(cached) " >&6
7048 if test "$cross_compiling" = yes; then :
7049 ac_cv_c_stack_direction
=0
7051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7052 /* end confdefs.h. */
7053 $ac_includes_default
7055 find_stack_direction (int *addr, int depth)
7060 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
7061 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
7066 main (int argc, char **argv)
7068 return find_stack_direction (0, argc + !argv + 20) < 0;
7071 if ac_fn_c_try_run
"$LINENO"; then :
7072 ac_cv_c_stack_direction
=1
7074 ac_cv_c_stack_direction
=-1
7076 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7077 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
7082 $as_echo "$ac_cv_c_stack_direction" >&6; }
7083 cat >>confdefs.h
<<_ACEOF
7084 #define STACK_DIRECTION $ac_cv_c_stack_direction
7093 for ac_header
in $ac_header_list
7095 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7096 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7098 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7099 cat >>confdefs.h
<<_ACEOF
7100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7114 for ac_func
in getpagesize
7116 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7117 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7118 cat >>confdefs.h
<<_ACEOF
7119 #define HAVE_GETPAGESIZE 1
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7126 $as_echo_n "checking for working mmap... " >&6; }
7127 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7128 $as_echo_n "(cached) " >&6
7130 if test "$cross_compiling" = yes; then :
7131 ac_cv_func_mmap_fixed_mapped
=no
7133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7134 /* end confdefs.h. */
7135 $ac_includes_default
7136 /* malloc might have been renamed as rpl_malloc. */
7139 /* Thanks to Mike Haertel and Jim Avera for this test.
7140 Here is a matrix of mmap possibilities:
7141 mmap private not fixed
7142 mmap private fixed at somewhere currently unmapped
7143 mmap private fixed at somewhere already mapped
7144 mmap shared not fixed
7145 mmap shared fixed at somewhere currently unmapped
7146 mmap shared fixed at somewhere already mapped
7147 For private mappings, we should verify that changes cannot be read()
7148 back from the file, nor mmap's back from the file at a different
7149 address. (There have been systems where private was not correctly
7150 implemented like the infamous i386 svr4.0, and systems where the
7151 VM page cache was not coherent with the file system buffer cache
7152 like early versions of FreeBSD and possibly contemporary NetBSD.)
7153 For shared mappings, we should conversely verify that changes get
7154 propagated back to all the places they're supposed to be.
7156 Grep wants private fixed already mapped.
7157 The main things grep needs to know about mmap are:
7158 * does it exist and is it safe to write into the mmap'd area
7159 * how to use it (BSD variants) */
7162 #include <sys/mman.h>
7164 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7168 /* This mess was copied from the GNU getpagesize.h. */
7169 #ifndef HAVE_GETPAGESIZE
7170 # ifdef _SC_PAGESIZE
7171 # define getpagesize() sysconf(_SC_PAGESIZE)
7172 # else /* no _SC_PAGESIZE */
7173 # ifdef HAVE_SYS_PARAM_H
7174 # include <sys/param.h>
7175 # ifdef EXEC_PAGESIZE
7176 # define getpagesize() EXEC_PAGESIZE
7177 # else /* no EXEC_PAGESIZE */
7179 # define getpagesize() NBPG * CLSIZE
7182 # endif /* no CLSIZE */
7183 # else /* no NBPG */
7185 # define getpagesize() NBPC
7186 # else /* no NBPC */
7188 # define getpagesize() PAGESIZE
7189 # endif /* PAGESIZE */
7190 # endif /* no NBPC */
7191 # endif /* no NBPG */
7192 # endif /* no EXEC_PAGESIZE */
7193 # else /* no HAVE_SYS_PARAM_H */
7194 # define getpagesize() 8192 /* punt totally */
7195 # endif /* no HAVE_SYS_PARAM_H */
7196 # endif /* no _SC_PAGESIZE */
7198 #endif /* no HAVE_GETPAGESIZE */
7203 char *data, *data2, *data3;
7208 pagesize = getpagesize ();
7210 /* First, make a file with some known garbage in it. */
7211 data = (char *) malloc (pagesize);
7214 for (i = 0; i < pagesize; ++i)
7215 *(data + i) = rand ();
7217 fd = creat ("conftest.mmap", 0600);
7220 if (write (fd, data, pagesize) != pagesize)
7224 /* Next, check that the tail of a page is zero-filled. File must have
7225 non-zero length, otherwise we risk SIGBUS for entire page. */
7226 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7230 if (write (fd2, cdata2, 1) != 1)
7232 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7233 if (data2 == MAP_FAILED)
7235 for (i = 0; i < pagesize; ++i)
7239 if (munmap (data2, pagesize))
7242 /* Next, try to mmap the file at a fixed address which already has
7243 something else allocated at it. If we can, also make sure that
7244 we see the same garbage. */
7245 fd = open ("conftest.mmap", O_RDWR);
7248 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7249 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7251 for (i = 0; i < pagesize; ++i)
7252 if (*(data + i) != *(data2 + i))
7255 /* Finally, make sure that changes to the mapped area do not
7256 percolate back to the file as seen by read(). (This is a bug on
7257 some variants of i386 svr4.0.) */
7258 for (i = 0; i < pagesize; ++i)
7259 *(data2 + i) = *(data2 + i) + 1;
7260 data3 = (char *) malloc (pagesize);
7263 if (read (fd, data3, pagesize) != pagesize)
7265 for (i = 0; i < pagesize; ++i)
7266 if (*(data + i) != *(data3 + i))
7272 if ac_fn_c_try_run
"$LINENO"; then :
7273 ac_cv_func_mmap_fixed_mapped
=yes
7275 ac_cv_func_mmap_fixed_mapped
=no
7277 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7278 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7283 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7284 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7286 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7289 rm -f conftest.mmap conftest.txt
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
7294 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
7295 if ${gt_cv_int_divbyzero_sigfpe+:} false
; then :
7296 $as_echo_n "(cached) " >&6
7299 gt_cv_int_divbyzero_sigfpe
=
7301 macos
* | darwin
[6-9]* | darwin
[1-9][0-9]*)
7302 # On Mac OS X 10.2 or newer, just assume the same as when cross-
7303 # compiling. If we were to perform the real test, 1 Crash Report
7304 # dialog window would pop up.
7306 i
[34567]86 | x86_64
)
7307 gt_cv_int_divbyzero_sigfpe
="guessing yes" ;;
7311 if test -z "$gt_cv_int_divbyzero_sigfpe"; then
7312 if test "$cross_compiling" = yes; then :
7314 # Guess based on the CPU.
7316 alpha
* | i
[34567]86 | x86_64 | m68k | s390
*)
7317 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
7319 gt_cv_int_divbyzero_sigfpe
="guessing no";;
7323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7324 /* end confdefs.h. */
7330 sigfpe_handler (int sig)
7332 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
7333 exit (sig != SIGFPE);
7343 signal (SIGFPE, sigfpe_handler);
7344 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
7345 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
7346 signal (SIGTRAP, sigfpe_handler);
7348 /* Linux/SPARC yields signal SIGILL. */
7349 #if defined (__sparc__) && defined (__linux__)
7350 signal (SIGILL, sigfpe_handler);
7359 if ac_fn_c_try_run
"$LINENO"; then :
7360 gt_cv_int_divbyzero_sigfpe
=yes
7362 gt_cv_int_divbyzero_sigfpe
=no
7364 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7365 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
7372 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
7373 case "$gt_cv_int_divbyzero_sigfpe" in
7378 cat >>confdefs.h
<<_ACEOF
7379 #define INTDIV0_RAISES_SIGFPE $value
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
7385 $as_echo_n "checking for inttypes.h... " >&6; }
7386 if ${gl_cv_header_inttypes_h+:} false
; then :
7387 $as_echo_n "(cached) " >&6
7389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7390 /* end confdefs.h. */
7392 #include <sys/types.h>
7393 #include <inttypes.h>
7398 uintmax_t i = (uintmax_t) -1; return !i;
7403 if ac_fn_c_try_compile
"$LINENO"; then :
7404 gl_cv_header_inttypes_h
=yes
7406 gl_cv_header_inttypes_h
=no
7408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
7411 $as_echo "$gl_cv_header_inttypes_h" >&6; }
7412 if test $gl_cv_header_inttypes_h = yes; then
7414 cat >>confdefs.h
<<_ACEOF
7415 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
7422 $as_echo_n "checking for unsigned long long int... " >&6; }
7423 if ${ac_cv_type_unsigned_long_long_int+:} false
; then :
7424 $as_echo_n "(cached) " >&6
7426 ac_cv_type_unsigned_long_long_int
=yes
7427 if test "x${ac_cv_prog_cc_c99-no}" = xno
; then
7428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7429 /* end confdefs.h. */
7431 /* For now, do not test the preprocessor; as of 2007 there are too many
7432 implementations with broken preprocessors. Perhaps this can
7433 be revisited in 2012. In the meantime, code should not expect
7434 #if to work with literals wider than 32 bits. */
7435 /* Test literals. */
7436 long long int ll = 9223372036854775807ll;
7437 long long int nll = -9223372036854775807LL;
7438 unsigned long long int ull = 18446744073709551615ULL;
7439 /* Test constant expressions. */
7440 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7442 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
7448 /* Test availability of runtime routines for shift and division. */
7449 long long int llmax = 9223372036854775807ll;
7450 unsigned long long int ullmax = 18446744073709551615ull;
7451 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
7452 | (llmax / ll) | (llmax % ll)
7453 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
7454 | (ullmax / ull) | (ullmax % ull));
7460 if ac_fn_c_try_link
"$LINENO"; then :
7463 ac_cv_type_unsigned_long_long_int
=no
7465 rm -f core conftest.err conftest.
$ac_objext \
7466 conftest
$ac_exeext conftest.
$ac_ext
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
7470 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
7471 if test $ac_cv_type_unsigned_long_long_int = yes; then
7473 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
7480 if test $gl_cv_header_inttypes_h = no
&& test $gl_cv_header_stdint_h = no
; then
7482 test $ac_cv_type_unsigned_long_long_int = yes \
7483 && ac_type
='unsigned long long' \
7484 || ac_type
='unsigned long'
7486 cat >>confdefs.h
<<_ACEOF
7487 #define uintmax_t $ac_type
7492 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
7497 for ac_header
in inttypes.h
7499 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
7500 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
7501 cat >>confdefs.h
<<_ACEOF
7502 #define HAVE_INTTYPES_H 1
7509 if test $ac_cv_header_inttypes_h = yes; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
7511 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
7512 if ${gt_cv_inttypes_pri_broken+:} false
; then :
7513 $as_echo_n "(cached) " >&6
7516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7517 /* end confdefs.h. */
7519 #include <inttypes.h>
7532 if ac_fn_c_try_compile
"$LINENO"; then :
7533 gt_cv_inttypes_pri_broken
=no
7535 gt_cv_inttypes_pri_broken
=yes
7537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
7541 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
7543 if test "$gt_cv_inttypes_pri_broken" = yes; then
7545 cat >>confdefs.h
<<_ACEOF
7546 #define PRI_MACROS_BROKEN 1
7560 # Check whether --enable-threads was given.
7561 if test "${enable_threads+set}" = set; then :
7562 enableval
=$enable_threads; gl_use_threads
=$enableval
7564 if test -n "$gl_use_threads_default"; then
7565 gl_use_threads
="$gl_use_threads_default"
7568 osf
*) gl_use_threads
=no
;;
7571 1.
[0-5].
*) gl_use_threads
=no
;;
7572 *) gl_use_threads
=yes ;;
7575 *) gl_use_threads
=yes ;;
7581 if test "$gl_use_threads" = yes ||
test "$gl_use_threads" = posix
; then
7582 # For using <pthread.h>:
7585 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
7586 # groks <pthread.h>. cc also understands the flag -pthread, but
7587 # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
7588 # 2. putting a flag into CPPFLAGS that has an effect on the linker
7589 # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
7590 # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
7591 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
7594 # Some systems optimize for single-threaded programs by default, and
7595 # need special flags to disable these optimizations. For example, the
7596 # definition of 'errno' in <errno.h>.
7598 aix
* | freebsd
*) CPPFLAGS
="$CPPFLAGS -D_THREAD_SAFE" ;;
7599 solaris
*) CPPFLAGS
="$CPPFLAGS -D_REENTRANT" ;;
7607 if test "X$prefix" = "XNONE"; then
7608 acl_final_prefix
="$ac_default_prefix"
7610 acl_final_prefix
="$prefix"
7612 if test "X$exec_prefix" = "XNONE"; then
7613 acl_final_exec_prefix
='${prefix}'
7615 acl_final_exec_prefix
="$exec_prefix"
7617 acl_save_prefix
="$prefix"
7618 prefix
="$acl_final_prefix"
7619 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7620 prefix
="$acl_save_prefix"
7624 # Check whether --with-gnu-ld was given.
7625 if test "${with_gnu_ld+set}" = set; then :
7626 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7631 # Prepare PATH_SEPARATOR.
7632 # The user is always right.
7633 if test "${PATH_SEPARATOR+set}" != set; then
7634 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7635 # contains only /bin. Note that ksh looks also at the FPATH variable,
7636 # so we have to set that as well for the test.
7638 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7639 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7640 || PATH_SEPARATOR
=';'
7645 if test "$GCC" = yes; then
7646 # Check if gcc -print-prog-name=ld gives a path.
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7648 $as_echo_n "checking for ld used by $CC... " >&6; }
7651 # gcc leaves a trailing carriage return which upsets mingw
7652 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7654 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7657 # Accept absolute paths.
7659 re_direlt
='/[^/][^/]*/\.\./'
7660 # Canonicalize the pathname of ld
7661 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
7662 while echo "$ac_prog" |
grep "$re_direlt" > /dev
/null
2>&1; do
7663 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7665 test -z "$LD" && LD
="$ac_prog"
7668 # If it fails, then pretend we aren't using GCC.
7672 # If it is relative, then search for the first ld in PATH.
7676 elif test "$with_gnu_ld" = yes; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7678 $as_echo_n "checking for GNU ld... " >&6; }
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7681 $as_echo_n "checking for non-GNU ld... " >&6; }
7683 if ${acl_cv_path_LD+:} false
; then :
7684 $as_echo_n "(cached) " >&6
7686 if test -z "$LD"; then
7687 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7688 for ac_dir
in $PATH; do
7690 test -z "$ac_dir" && ac_dir
=.
7691 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7692 acl_cv_path_LD
="$ac_dir/$ac_prog"
7693 # Check to see if the program is GNU ld. I'd rather use --version,
7694 # but apparently some variants of GNU ld only accept -v.
7695 # Break only if it was the GNU/non-GNU ld that we prefer.
7696 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
7697 *GNU
* |
*'with BFD'*)
7698 test "$with_gnu_ld" != no
&& break
7701 test "$with_gnu_ld" != yes && break
7708 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7712 LD
="$acl_cv_path_LD"
7713 if test -n "$LD"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7715 $as_echo "$LD" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718 $as_echo "no" >&6; }
7720 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7723 if ${acl_cv_prog_gnu_ld+:} false
; then :
7724 $as_echo_n "(cached) " >&6
7726 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7727 case `$LD -v 2>&1 </dev/null` in
7728 *GNU
* |
*'with BFD'*)
7729 acl_cv_prog_gnu_ld
=yes
7732 acl_cv_prog_gnu_ld
=no
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7737 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7738 with_gnu_ld
=$acl_cv_prog_gnu_ld
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7744 $as_echo_n "checking for shared library run path origin... " >&6; }
7745 if ${acl_cv_rpath+:} false
; then :
7746 $as_echo_n "(cached) " >&6
7749 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7750 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7757 $as_echo "$acl_cv_rpath" >&6; }
7759 acl_libext
="$acl_cv_libext"
7760 acl_shlibext
="$acl_cv_shlibext"
7761 acl_libname_spec
="$acl_cv_libname_spec"
7762 acl_library_names_spec
="$acl_cv_library_names_spec"
7763 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7764 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7765 acl_hardcode_direct
="$acl_cv_hardcode_direct"
7766 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7767 # Check whether --enable-rpath was given.
7768 if test "${enable_rpath+set}" = set; then :
7769 enableval
=$enable_rpath; :
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7782 $as_echo_n "checking for 64-bit host... " >&6; }
7783 if ${gl_cv_solaris_64bit+:} false
; then :
7784 $as_echo_n "(cached) " >&6
7786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7795 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
7796 gl_cv_solaris_64bit
=yes
7798 gl_cv_solaris_64bit
=no
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7805 $as_echo "$gl_cv_solaris_64bit" >&6; }
7806 if test $gl_cv_solaris_64bit = yes; then
7807 acl_libdirstem
=lib
/64
7809 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
7810 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
7815 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7816 if test -n "$searchpath"; then
7817 acl_save_IFS
="${IFS= }"; IFS
=":"
7818 for searchdir
in $searchpath; do
7819 if test -d "$searchdir"; then
7820 case "$searchdir" in
7821 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
7823 # Better ignore directories of this form. They are misleading.
7825 *) searchdir
=`cd "$searchdir" && pwd`
7826 case "$searchdir" in
7827 */lib64
) acl_libdirstem
=lib64
;;
7836 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
7845 if test "$gl_use_threads" != no
; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
7847 $as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
7848 if ${gl_cv_have_weak+:} false
; then :
7849 $as_echo_n "(cached) " >&6
7852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h. */
7854 extern void xyzzy ();
7864 if ac_fn_c_try_link
"$LINENO"; then :
7865 gl_cv_have_weak
=maybe
7867 rm -f core conftest.err conftest.
$ac_objext \
7868 conftest
$ac_exeext conftest.
$ac_ext
7869 if test $gl_cv_have_weak = maybe
; then
7870 if test "$cross_compiling" = yes; then :
7871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7874 Extensible Linking Format
7878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7879 $EGREP "Extensible Linking Format" >/dev
/null
2>&1; then :
7880 gl_cv_have_weak
="guessing yes"
7882 gl_cv_have_weak
="guessing no"
7888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7895 return (fputs == NULL);
7898 if ac_fn_c_try_run
"$LINENO"; then :
7903 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7904 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
7911 $as_echo "$gl_cv_have_weak" >&6; }
7912 if test "$gl_use_threads" = yes ||
test "$gl_use_threads" = posix
; then
7913 # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
7914 # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
7915 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_pthread_h" = xyes
; then :
7917 gl_have_pthread_h
=yes
7919 gl_have_pthread_h
=no
7923 if test "$gl_have_pthread_h" = yes; then
7924 # Other possible tests:
7925 # -lpthreads (FSU threads, PCthreads)
7928 # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
7929 # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
7930 # the second one only in libpthread, and lock.c needs it.
7931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7933 #include <pthread.h>
7937 pthread_mutex_lock((pthread_mutex_t*)0);
7938 pthread_mutexattr_init((pthread_mutexattr_t*)0);
7943 if ac_fn_c_try_link
"$LINENO"; then :
7946 rm -f core conftest.err conftest.
$ac_objext \
7947 conftest
$ac_exeext conftest.
$ac_ext
7948 # Test for libpthread by looking for pthread_kill. (Not pthread_self,
7949 # since it is defined as a macro on OSF/1.)
7950 if test -n "$gl_have_pthread"; then
7951 # The program links fine without libpthread. But it may actually
7952 # need to link with libpthread in order to create multiple threads.
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
7954 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
7955 if ${ac_cv_lib_pthread_pthread_kill+:} false
; then :
7956 $as_echo_n "(cached) " >&6
7958 ac_check_lib_save_LIBS
=$LIBS
7959 LIBS
="-lpthread $LIBS"
7960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7961 /* end confdefs.h. */
7963 /* Override any GCC internal prototype to avoid an error.
7964 Use char because int might match the return type of a GCC
7965 builtin and then its argument prototype would still apply. */
7969 char pthread_kill ();
7973 return pthread_kill ();
7978 if ac_fn_c_try_link
"$LINENO"; then :
7979 ac_cv_lib_pthread_pthread_kill
=yes
7981 ac_cv_lib_pthread_pthread_kill
=no
7983 rm -f core conftest.err conftest.
$ac_objext \
7984 conftest
$ac_exeext conftest.
$ac_ext
7985 LIBS
=$ac_check_lib_save_LIBS
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
7988 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
7989 if test "x$ac_cv_lib_pthread_pthread_kill" = xyes
; then :
7990 LIBMULTITHREAD
=-lpthread LTLIBMULTITHREAD
=-lpthread
7991 # On Solaris and HP-UX, most pthread functions exist also in libc.
7992 # Therefore pthread_in_use() needs to actually try to create a
7993 # thread: pthread_create from libc will fail, whereas
7994 # pthread_create will actually create a thread.
7998 $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
8005 # Some library is needed. Try libpthread and libc_r.
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
8007 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
8008 if ${ac_cv_lib_pthread_pthread_kill+:} false
; then :
8009 $as_echo_n "(cached) " >&6
8011 ac_check_lib_save_LIBS
=$LIBS
8012 LIBS
="-lpthread $LIBS"
8013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8014 /* end confdefs.h. */
8016 /* Override any GCC internal prototype to avoid an error.
8017 Use char because int might match the return type of a GCC
8018 builtin and then its argument prototype would still apply. */
8022 char pthread_kill ();
8026 return pthread_kill ();
8031 if ac_fn_c_try_link
"$LINENO"; then :
8032 ac_cv_lib_pthread_pthread_kill
=yes
8034 ac_cv_lib_pthread_pthread_kill
=no
8036 rm -f core conftest.err conftest.
$ac_objext \
8037 conftest
$ac_exeext conftest.
$ac_ext
8038 LIBS
=$ac_check_lib_save_LIBS
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
8041 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
8042 if test "x$ac_cv_lib_pthread_pthread_kill" = xyes
; then :
8044 LIBTHREAD
=-lpthread LTLIBTHREAD
=-lpthread
8045 LIBMULTITHREAD
=-lpthread LTLIBMULTITHREAD
=-lpthread
8048 if test -z "$gl_have_pthread"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
8051 $as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
8052 if ${ac_cv_lib_c_r_pthread_kill+:} false
; then :
8053 $as_echo_n "(cached) " >&6
8055 ac_check_lib_save_LIBS
=$LIBS
8057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8060 /* Override any GCC internal prototype to avoid an error.
8061 Use char because int might match the return type of a GCC
8062 builtin and then its argument prototype would still apply. */
8066 char pthread_kill ();
8070 return pthread_kill ();
8075 if ac_fn_c_try_link
"$LINENO"; then :
8076 ac_cv_lib_c_r_pthread_kill
=yes
8078 ac_cv_lib_c_r_pthread_kill
=no
8080 rm -f core conftest.err conftest.
$ac_objext \
8081 conftest
$ac_exeext conftest.
$ac_ext
8082 LIBS
=$ac_check_lib_save_LIBS
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
8085 $as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
8086 if test "x$ac_cv_lib_c_r_pthread_kill" = xyes
; then :
8088 LIBTHREAD
=-lc_r LTLIBTHREAD
=-lc_r
8089 LIBMULTITHREAD
=-lc_r LTLIBMULTITHREAD
=-lc_r
8094 if test -n "$gl_have_pthread"; then
8095 gl_threads_api
=posix
8097 $as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h
8099 if test -n "$LIBMULTITHREAD" ||
test -n "$LTLIBMULTITHREAD"; then
8100 if case "$gl_cv_have_weak" in *yes) true
;; *) false
;; esac; then
8102 $as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
8111 if test -z "$gl_have_pthread"; then
8112 if test "$gl_use_threads" = yes ||
test "$gl_use_threads" = solaris
; then
8113 gl_have_solaristhread
=
8114 gl_save_LIBS
="$LIBS"
8115 LIBS
="$LIBS -lthread"
8116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8130 if ac_fn_c_try_link
"$LINENO"; then :
8131 gl_have_solaristhread
=yes
8133 rm -f core conftest.err conftest.
$ac_objext \
8134 conftest
$ac_exeext conftest.
$ac_ext
8135 LIBS
="$gl_save_LIBS"
8136 if test -n "$gl_have_solaristhread"; then
8137 gl_threads_api
=solaris
8139 LTLIBTHREAD
=-lthread
8140 LIBMULTITHREAD
="$LIBTHREAD"
8141 LTLIBMULTITHREAD
="$LTLIBTHREAD"
8143 $as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h
8145 if case "$gl_cv_have_weak" in *yes) true
;; *) false
;; esac; then
8147 $as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
8155 if test "$gl_use_threads" = pth
; then
8156 gl_save_CPPFLAGS
="$CPPFLAGS"
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
8163 $as_echo_n "checking how to link with libpth... " >&6; }
8164 if ${ac_cv_libpth_libs+:} false
; then :
8165 $as_echo_n "(cached) " >&6
8177 acl_save_prefix
="$prefix"
8178 prefix
="$acl_final_prefix"
8179 acl_save_exec_prefix
="$exec_prefix"
8180 exec_prefix
="$acl_final_exec_prefix"
8182 eval additional_includedir
=\"$includedir\"
8183 eval additional_libdir
=\"$libdir\"
8185 exec_prefix
="$acl_save_exec_prefix"
8186 prefix
="$acl_save_prefix"
8189 # Check whether --with-libpth-prefix was given.
8190 if test "${with_libpth_prefix+set}" = set; then :
8191 withval
=$with_libpth_prefix;
8192 if test "X$withval" = "Xno"; then
8195 if test "X$withval" = "X"; then
8197 acl_save_prefix
="$prefix"
8198 prefix
="$acl_final_prefix"
8199 acl_save_exec_prefix
="$exec_prefix"
8200 exec_prefix
="$acl_final_exec_prefix"
8202 eval additional_includedir
=\"$includedir\"
8203 eval additional_libdir
=\"$libdir\"
8205 exec_prefix
="$acl_save_exec_prefix"
8206 prefix
="$acl_save_prefix"
8209 additional_includedir
="$withval/include"
8210 additional_libdir
="$withval/$acl_libdirstem"
8211 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8212 && ! test -d "$withval/$acl_libdirstem"; then
8213 additional_libdir
="$withval/$acl_libdirstem2"
8227 names_already_handled
=
8228 names_next_round
='pth '
8229 while test -n "$names_next_round"; do
8230 names_this_round
="$names_next_round"
8232 for name
in $names_this_round; do
8234 for n
in $names_already_handled; do
8235 if test "$n" = "$name"; then
8240 if test -z "$already_handled"; then
8241 names_already_handled
="$names_already_handled $name"
8242 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8243 eval value
=\"\
$HAVE_LIB$uppername\"
8244 if test -n "$value"; then
8245 if test "$value" = yes; then
8246 eval value
=\"\
$LIB$uppername\"
8247 test -z "$value" || LIBPTH
="${LIBPTH}${LIBPTH:+ }$value"
8248 eval value
=\"\
$LTLIB$uppername\"
8249 test -z "$value" || LTLIBPTH
="${LTLIBPTH}${LTLIBPTH:+ }$value"
8258 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8259 if test -n "$acl_shlibext"; then
8260 shrext
=".$acl_shlibext" # typically: shrext=.so
8264 if test $use_additional = yes; then
8265 dir
="$additional_libdir"
8266 if test -n "$acl_shlibext"; then
8267 if test -f "$dir/$libname$shrext"; then
8269 found_so
="$dir/$libname$shrext"
8271 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8272 ver
=`(cd "$dir" && \
8273 for f in "$libname$shrext".*; do echo "$f"; done \
8274 | sed -e "s,^$libname$shrext\\\\.,," \
8275 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8276 | sed 1q ) 2>/dev/null`
8277 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8279 found_so
="$dir/$libname$shrext.$ver"
8282 eval library_names
=\"$acl_library_names_spec\"
8283 for f
in $library_names; do
8284 if test -f "$dir/$f"; then
8293 if test "X$found_dir" = "X"; then
8294 if test -f "$dir/$libname.$acl_libext"; then
8296 found_a
="$dir/$libname.$acl_libext"
8299 if test "X$found_dir" != "X"; then
8300 if test -f "$dir/$libname.la"; then
8301 found_la
="$dir/$libname.la"
8305 if test "X$found_dir" = "X"; then
8306 for x
in $LDFLAGS $LTLIBPTH; do
8308 acl_save_prefix
="$prefix"
8309 prefix
="$acl_final_prefix"
8310 acl_save_exec_prefix
="$exec_prefix"
8311 exec_prefix
="$acl_final_exec_prefix"
8313 exec_prefix
="$acl_save_exec_prefix"
8314 prefix
="$acl_save_prefix"
8318 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8319 if test -n "$acl_shlibext"; then
8320 if test -f "$dir/$libname$shrext"; then
8322 found_so
="$dir/$libname$shrext"
8324 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8325 ver
=`(cd "$dir" && \
8326 for f in "$libname$shrext".*; do echo "$f"; done \
8327 | sed -e "s,^$libname$shrext\\\\.,," \
8328 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8329 | sed 1q ) 2>/dev/null`
8330 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8332 found_so
="$dir/$libname$shrext.$ver"
8335 eval library_names
=\"$acl_library_names_spec\"
8336 for f
in $library_names; do
8337 if test -f "$dir/$f"; then
8346 if test "X$found_dir" = "X"; then
8347 if test -f "$dir/$libname.$acl_libext"; then
8349 found_a
="$dir/$libname.$acl_libext"
8352 if test "X$found_dir" != "X"; then
8353 if test -f "$dir/$libname.la"; then
8354 found_la
="$dir/$libname.la"
8359 if test "X$found_dir" != "X"; then
8364 if test "X$found_dir" != "X"; then
8365 LTLIBPTH
="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
8366 if test "X$found_so" != "X"; then
8367 if test "$enable_rpath" = no \
8368 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8369 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8370 LIBPTH
="${LIBPTH}${LIBPTH:+ }$found_so"
8373 for x
in $ltrpathdirs; do
8374 if test "X$x" = "X$found_dir"; then
8379 if test -z "$haveit"; then
8380 ltrpathdirs
="$ltrpathdirs $found_dir"
8382 if test "$acl_hardcode_direct" = yes; then
8383 LIBPTH
="${LIBPTH}${LIBPTH:+ }$found_so"
8385 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8386 LIBPTH
="${LIBPTH}${LIBPTH:+ }$found_so"
8388 for x
in $rpathdirs; do
8389 if test "X$x" = "X$found_dir"; then
8394 if test -z "$haveit"; then
8395 rpathdirs
="$rpathdirs $found_dir"
8399 for x
in $LDFLAGS $LIBPTH; do
8401 acl_save_prefix
="$prefix"
8402 prefix
="$acl_final_prefix"
8403 acl_save_exec_prefix
="$exec_prefix"
8404 exec_prefix
="$acl_final_exec_prefix"
8406 exec_prefix
="$acl_save_exec_prefix"
8407 prefix
="$acl_save_prefix"
8409 if test "X$x" = "X-L$found_dir"; then
8414 if test -z "$haveit"; then
8415 LIBPTH
="${LIBPTH}${LIBPTH:+ }-L$found_dir"
8417 if test "$acl_hardcode_minus_L" != no
; then
8418 LIBPTH
="${LIBPTH}${LIBPTH:+ }$found_so"
8420 LIBPTH
="${LIBPTH}${LIBPTH:+ }-l$name"
8426 if test "X$found_a" != "X"; then
8427 LIBPTH
="${LIBPTH}${LIBPTH:+ }$found_a"
8429 LIBPTH
="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
8432 additional_includedir
=
8433 case "$found_dir" in
8434 */$acl_libdirstem |
*/$acl_libdirstem/)
8435 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8436 if test "$name" = 'pth'; then
8437 LIBPTH_PREFIX
="$basedir"
8439 additional_includedir
="$basedir/include"
8441 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
8442 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8443 if test "$name" = 'pth'; then
8444 LIBPTH_PREFIX
="$basedir"
8446 additional_includedir
="$basedir/include"
8449 if test "X$additional_includedir" != "X"; then
8450 if test "X$additional_includedir" != "X/usr/include"; then
8452 if test "X$additional_includedir" = "X/usr/local/include"; then
8453 if test -n "$GCC"; then
8455 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8459 if test -z "$haveit"; then
8460 for x
in $CPPFLAGS $INCPTH; do
8462 acl_save_prefix
="$prefix"
8463 prefix
="$acl_final_prefix"
8464 acl_save_exec_prefix
="$exec_prefix"
8465 exec_prefix
="$acl_final_exec_prefix"
8467 exec_prefix
="$acl_save_exec_prefix"
8468 prefix
="$acl_save_prefix"
8470 if test "X$x" = "X-I$additional_includedir"; then
8475 if test -z "$haveit"; then
8476 if test -d "$additional_includedir"; then
8477 INCPTH
="${INCPTH}${INCPTH:+ }-I$additional_includedir"
8483 if test -n "$found_la"; then
8484 save_libdir
="$libdir"
8486 */* |
*\\*) .
"$found_la" ;;
8487 *) .
"./$found_la" ;;
8489 libdir
="$save_libdir"
8490 for dep
in $dependency_libs; do
8493 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8494 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8495 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8497 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8498 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8499 if test -n "$GCC"; then
8501 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8505 if test -z "$haveit"; then
8507 for x
in $LDFLAGS $LIBPTH; do
8509 acl_save_prefix
="$prefix"
8510 prefix
="$acl_final_prefix"
8511 acl_save_exec_prefix
="$exec_prefix"
8512 exec_prefix
="$acl_final_exec_prefix"
8514 exec_prefix
="$acl_save_exec_prefix"
8515 prefix
="$acl_save_prefix"
8517 if test "X$x" = "X-L$additional_libdir"; then
8522 if test -z "$haveit"; then
8523 if test -d "$additional_libdir"; then
8524 LIBPTH
="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
8528 for x
in $LDFLAGS $LTLIBPTH; do
8530 acl_save_prefix
="$prefix"
8531 prefix
="$acl_final_prefix"
8532 acl_save_exec_prefix
="$exec_prefix"
8533 exec_prefix
="$acl_final_exec_prefix"
8535 exec_prefix
="$acl_save_exec_prefix"
8536 prefix
="$acl_save_prefix"
8538 if test "X$x" = "X-L$additional_libdir"; then
8543 if test -z "$haveit"; then
8544 if test -d "$additional_libdir"; then
8545 LTLIBPTH
="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
8552 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8553 if test "$enable_rpath" != no
; then
8555 for x
in $rpathdirs; do
8556 if test "X$x" = "X$dir"; then
8561 if test -z "$haveit"; then
8562 rpathdirs
="$rpathdirs $dir"
8565 for x
in $ltrpathdirs; do
8566 if test "X$x" = "X$dir"; then
8571 if test -z "$haveit"; then
8572 ltrpathdirs
="$ltrpathdirs $dir"
8577 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8580 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8583 LIBPTH
="${LIBPTH}${LIBPTH:+ }$dep"
8584 LTLIBPTH
="${LTLIBPTH}${LTLIBPTH:+ }$dep"
8590 LIBPTH
="${LIBPTH}${LIBPTH:+ }-l$name"
8591 LTLIBPTH
="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
8597 if test "X$rpathdirs" != "X"; then
8598 if test -n "$acl_hardcode_libdir_separator"; then
8600 for found_dir
in $rpathdirs; do
8601 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8603 acl_save_libdir
="$libdir"
8605 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8606 libdir
="$acl_save_libdir"
8607 LIBPTH
="${LIBPTH}${LIBPTH:+ }$flag"
8609 for found_dir
in $rpathdirs; do
8610 acl_save_libdir
="$libdir"
8612 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8613 libdir
="$acl_save_libdir"
8614 LIBPTH
="${LIBPTH}${LIBPTH:+ }$flag"
8618 if test "X$ltrpathdirs" != "X"; then
8619 for found_dir
in $ltrpathdirs; do
8620 LTLIBPTH
="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
8629 ac_cv_libpth_libs
="$LIBPTH"
8630 ac_cv_libpth_ltlibs
="$LTLIBPTH"
8631 ac_cv_libpth_cppflags
="$INCPTH"
8632 ac_cv_libpth_prefix
="$LIBPTH_PREFIX"
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
8636 $as_echo "$ac_cv_libpth_libs" >&6; }
8637 LIBPTH
="$ac_cv_libpth_libs"
8638 LTLIBPTH
="$ac_cv_libpth_ltlibs"
8639 INCPTH
="$ac_cv_libpth_cppflags"
8640 LIBPTH_PREFIX
="$ac_cv_libpth_prefix"
8642 for element
in $INCPTH; do
8644 for x
in $CPPFLAGS; do
8646 acl_save_prefix
="$prefix"
8647 prefix
="$acl_final_prefix"
8648 acl_save_exec_prefix
="$exec_prefix"
8649 exec_prefix
="$acl_final_exec_prefix"
8651 exec_prefix
="$acl_save_exec_prefix"
8652 prefix
="$acl_save_prefix"
8654 if test "X$x" = "X$element"; then
8659 if test -z "$haveit"; then
8660 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8672 gl_save_LIBS
="$LIBS"
8673 LIBS
="$LIBS $LIBPTH"
8674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8675 /* end confdefs.h. */
8685 if ac_fn_c_try_link
"$LINENO"; then :
8688 rm -f core conftest.err conftest.
$ac_objext \
8689 conftest
$ac_exeext conftest.
$ac_ext
8690 LIBS
="$gl_save_LIBS"
8691 if test -n "$gl_have_pth"; then
8694 LTLIBTHREAD
="$LTLIBPTH"
8695 LIBMULTITHREAD
="$LIBTHREAD"
8696 LTLIBMULTITHREAD
="$LTLIBTHREAD"
8698 $as_echo "#define USE_PTH_THREADS 1" >>confdefs.h
8700 if test -n "$LIBMULTITHREAD" ||
test -n "$LTLIBMULTITHREAD"; then
8701 if case "$gl_cv_have_weak" in *yes) true
;; *) false
;; esac; then
8703 $as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h
8710 CPPFLAGS
="$gl_save_CPPFLAGS"
8713 if test -z "$gl_have_pthread"; then
8714 case "$gl_use_threads" in
8715 yes | windows | win32
) # The 'win32' is for backward compatibility.
8716 if { case "$host_os" in
8721 gl_threads_api
=windows
8723 $as_echo "#define USE_WINDOWS_THREADS 1" >>confdefs.h
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
8731 $as_echo_n "checking for multithread API to use... " >&6; }
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
8733 $as_echo "$gl_threads_api" >&6; }
8745 if test "$gl_threads_api" = posix
; then
8746 # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the
8747 # pthread_rwlock_* functions.
8748 ac_fn_c_check_type
"$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
8750 if test "x$ac_cv_type_pthread_rwlock_t" = xyes
; then :
8752 $as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
8756 # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
8757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8760 #include <pthread.h>
8765 #if __FreeBSD__ == 4
8766 error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
8767 #elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \
8768 && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
8769 error "No, in Mac OS X < 10.7 recursive mutexes actually don't work."
8771 int x = (int)PTHREAD_MUTEX_RECURSIVE;
8779 if ac_fn_c_try_compile
"$LINENO"; then :
8781 $as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
8784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8801 acl_save_prefix
="$prefix"
8802 prefix
="$acl_final_prefix"
8803 acl_save_exec_prefix
="$exec_prefix"
8804 exec_prefix
="$acl_final_exec_prefix"
8806 eval additional_includedir
=\"$includedir\"
8807 eval additional_libdir
=\"$libdir\"
8809 exec_prefix
="$acl_save_exec_prefix"
8810 prefix
="$acl_save_prefix"
8813 # Check whether --with-libiconv-prefix was given.
8814 if test "${with_libiconv_prefix+set}" = set; then :
8815 withval
=$with_libiconv_prefix;
8816 if test "X$withval" = "Xno"; then
8819 if test "X$withval" = "X"; then
8821 acl_save_prefix
="$prefix"
8822 prefix
="$acl_final_prefix"
8823 acl_save_exec_prefix
="$exec_prefix"
8824 exec_prefix
="$acl_final_exec_prefix"
8826 eval additional_includedir
=\"$includedir\"
8827 eval additional_libdir
=\"$libdir\"
8829 exec_prefix
="$acl_save_exec_prefix"
8830 prefix
="$acl_save_prefix"
8833 additional_includedir
="$withval/include"
8834 additional_libdir
="$withval/$acl_libdirstem"
8835 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8836 && ! test -d "$withval/$acl_libdirstem"; then
8837 additional_libdir
="$withval/$acl_libdirstem2"
8851 names_already_handled
=
8852 names_next_round
='iconv '
8853 while test -n "$names_next_round"; do
8854 names_this_round
="$names_next_round"
8856 for name
in $names_this_round; do
8858 for n
in $names_already_handled; do
8859 if test "$n" = "$name"; then
8864 if test -z "$already_handled"; then
8865 names_already_handled
="$names_already_handled $name"
8866 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8867 eval value
=\"\
$HAVE_LIB$uppername\"
8868 if test -n "$value"; then
8869 if test "$value" = yes; then
8870 eval value
=\"\
$LIB$uppername\"
8871 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8872 eval value
=\"\
$LTLIB$uppername\"
8873 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8882 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8883 if test -n "$acl_shlibext"; then
8884 shrext
=".$acl_shlibext" # typically: shrext=.so
8888 if test $use_additional = yes; then
8889 dir
="$additional_libdir"
8890 if test -n "$acl_shlibext"; then
8891 if test -f "$dir/$libname$shrext"; then
8893 found_so
="$dir/$libname$shrext"
8895 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8896 ver
=`(cd "$dir" && \
8897 for f in "$libname$shrext".*; do echo "$f"; done \
8898 | sed -e "s,^$libname$shrext\\\\.,," \
8899 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8900 | sed 1q ) 2>/dev/null`
8901 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8903 found_so
="$dir/$libname$shrext.$ver"
8906 eval library_names
=\"$acl_library_names_spec\"
8907 for f
in $library_names; do
8908 if test -f "$dir/$f"; then
8917 if test "X$found_dir" = "X"; then
8918 if test -f "$dir/$libname.$acl_libext"; then
8920 found_a
="$dir/$libname.$acl_libext"
8923 if test "X$found_dir" != "X"; then
8924 if test -f "$dir/$libname.la"; then
8925 found_la
="$dir/$libname.la"
8929 if test "X$found_dir" = "X"; then
8930 for x
in $LDFLAGS $LTLIBICONV; do
8932 acl_save_prefix
="$prefix"
8933 prefix
="$acl_final_prefix"
8934 acl_save_exec_prefix
="$exec_prefix"
8935 exec_prefix
="$acl_final_exec_prefix"
8937 exec_prefix
="$acl_save_exec_prefix"
8938 prefix
="$acl_save_prefix"
8942 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8943 if test -n "$acl_shlibext"; then
8944 if test -f "$dir/$libname$shrext"; then
8946 found_so
="$dir/$libname$shrext"
8948 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8949 ver
=`(cd "$dir" && \
8950 for f in "$libname$shrext".*; do echo "$f"; done \
8951 | sed -e "s,^$libname$shrext\\\\.,," \
8952 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8953 | sed 1q ) 2>/dev/null`
8954 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8956 found_so
="$dir/$libname$shrext.$ver"
8959 eval library_names
=\"$acl_library_names_spec\"
8960 for f
in $library_names; do
8961 if test -f "$dir/$f"; then
8970 if test "X$found_dir" = "X"; then
8971 if test -f "$dir/$libname.$acl_libext"; then
8973 found_a
="$dir/$libname.$acl_libext"
8976 if test "X$found_dir" != "X"; then
8977 if test -f "$dir/$libname.la"; then
8978 found_la
="$dir/$libname.la"
8983 if test "X$found_dir" != "X"; then
8988 if test "X$found_dir" != "X"; then
8989 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8990 if test "X$found_so" != "X"; then
8991 if test "$enable_rpath" = no \
8992 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8993 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8994 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8997 for x
in $ltrpathdirs; do
8998 if test "X$x" = "X$found_dir"; then
9003 if test -z "$haveit"; then
9004 ltrpathdirs
="$ltrpathdirs $found_dir"
9006 if test "$acl_hardcode_direct" = yes; then
9007 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9009 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
9010 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9012 for x
in $rpathdirs; do
9013 if test "X$x" = "X$found_dir"; then
9018 if test -z "$haveit"; then
9019 rpathdirs
="$rpathdirs $found_dir"
9023 for x
in $LDFLAGS $LIBICONV; do
9025 acl_save_prefix
="$prefix"
9026 prefix
="$acl_final_prefix"
9027 acl_save_exec_prefix
="$exec_prefix"
9028 exec_prefix
="$acl_final_exec_prefix"
9030 exec_prefix
="$acl_save_exec_prefix"
9031 prefix
="$acl_save_prefix"
9033 if test "X$x" = "X-L$found_dir"; then
9038 if test -z "$haveit"; then
9039 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9041 if test "$acl_hardcode_minus_L" != no
; then
9042 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9044 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9050 if test "X$found_a" != "X"; then
9051 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9053 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9056 additional_includedir
=
9057 case "$found_dir" in
9058 */$acl_libdirstem |
*/$acl_libdirstem/)
9059 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
9060 if test "$name" = 'iconv'; then
9061 LIBICONV_PREFIX
="$basedir"
9063 additional_includedir
="$basedir/include"
9065 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
9066 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
9067 if test "$name" = 'iconv'; then
9068 LIBICONV_PREFIX
="$basedir"
9070 additional_includedir
="$basedir/include"
9073 if test "X$additional_includedir" != "X"; then
9074 if test "X$additional_includedir" != "X/usr/include"; then
9076 if test "X$additional_includedir" = "X/usr/local/include"; then
9077 if test -n "$GCC"; then
9079 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9083 if test -z "$haveit"; then
9084 for x
in $CPPFLAGS $INCICONV; do
9086 acl_save_prefix
="$prefix"
9087 prefix
="$acl_final_prefix"
9088 acl_save_exec_prefix
="$exec_prefix"
9089 exec_prefix
="$acl_final_exec_prefix"
9091 exec_prefix
="$acl_save_exec_prefix"
9092 prefix
="$acl_save_prefix"
9094 if test "X$x" = "X-I$additional_includedir"; then
9099 if test -z "$haveit"; then
9100 if test -d "$additional_includedir"; then
9101 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9107 if test -n "$found_la"; then
9108 save_libdir
="$libdir"
9110 */* |
*\\*) .
"$found_la" ;;
9111 *) .
"./$found_la" ;;
9113 libdir
="$save_libdir"
9114 for dep
in $dependency_libs; do
9117 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9118 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
9119 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
9121 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
9122 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
9123 if test -n "$GCC"; then
9125 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9129 if test -z "$haveit"; then
9131 for x
in $LDFLAGS $LIBICONV; do
9133 acl_save_prefix
="$prefix"
9134 prefix
="$acl_final_prefix"
9135 acl_save_exec_prefix
="$exec_prefix"
9136 exec_prefix
="$acl_final_exec_prefix"
9138 exec_prefix
="$acl_save_exec_prefix"
9139 prefix
="$acl_save_prefix"
9141 if test "X$x" = "X-L$additional_libdir"; then
9146 if test -z "$haveit"; then
9147 if test -d "$additional_libdir"; then
9148 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9152 for x
in $LDFLAGS $LTLIBICONV; do
9154 acl_save_prefix
="$prefix"
9155 prefix
="$acl_final_prefix"
9156 acl_save_exec_prefix
="$exec_prefix"
9157 exec_prefix
="$acl_final_exec_prefix"
9159 exec_prefix
="$acl_save_exec_prefix"
9160 prefix
="$acl_save_prefix"
9162 if test "X$x" = "X-L$additional_libdir"; then
9167 if test -z "$haveit"; then
9168 if test -d "$additional_libdir"; then
9169 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9176 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9177 if test "$enable_rpath" != no
; then
9179 for x
in $rpathdirs; do
9180 if test "X$x" = "X$dir"; then
9185 if test -z "$haveit"; then
9186 rpathdirs
="$rpathdirs $dir"
9189 for x
in $ltrpathdirs; do
9190 if test "X$x" = "X$dir"; then
9195 if test -z "$haveit"; then
9196 ltrpathdirs
="$ltrpathdirs $dir"
9201 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9204 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9207 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9208 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9214 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9215 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9221 if test "X$rpathdirs" != "X"; then
9222 if test -n "$acl_hardcode_libdir_separator"; then
9224 for found_dir
in $rpathdirs; do
9225 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
9227 acl_save_libdir
="$libdir"
9229 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
9230 libdir
="$acl_save_libdir"
9231 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9233 for found_dir
in $rpathdirs; do
9234 acl_save_libdir
="$libdir"
9236 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
9237 libdir
="$acl_save_libdir"
9238 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9242 if test "X$ltrpathdirs" != "X"; then
9243 for found_dir
in $ltrpathdirs; do
9244 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9259 am_save_CPPFLAGS
="$CPPFLAGS"
9261 for element
in $INCICONV; do
9263 for x
in $CPPFLAGS; do
9265 acl_save_prefix
="$prefix"
9266 prefix
="$acl_final_prefix"
9267 acl_save_exec_prefix
="$exec_prefix"
9268 exec_prefix
="$acl_final_exec_prefix"
9270 exec_prefix
="$acl_save_exec_prefix"
9271 prefix
="$acl_save_prefix"
9273 if test "X$x" = "X$element"; then
9278 if test -z "$haveit"; then
9279 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
9285 $as_echo_n "checking for iconv... " >&6; }
9286 if ${am_cv_func_iconv+:} false
; then :
9287 $as_echo_n "(cached) " >&6
9290 am_cv_func_iconv
="no, consider installing GNU libiconv"
9292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9301 iconv_t cd = iconv_open("","");
9302 iconv(cd,NULL,NULL,NULL,NULL);
9308 if ac_fn_c_try_link
"$LINENO"; then :
9309 am_cv_func_iconv
=yes
9311 rm -f core conftest.err conftest.
$ac_objext \
9312 conftest
$ac_exeext conftest.
$ac_ext
9313 if test "$am_cv_func_iconv" != yes; then
9314 am_save_LIBS
="$LIBS"
9315 LIBS
="$LIBS $LIBICONV"
9316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9325 iconv_t cd = iconv_open("","");
9326 iconv(cd,NULL,NULL,NULL,NULL);
9332 if ac_fn_c_try_link
"$LINENO"; then :
9334 am_cv_func_iconv
=yes
9336 rm -f core conftest.err conftest.
$ac_objext \
9337 conftest
$ac_exeext conftest.
$ac_ext
9338 LIBS
="$am_save_LIBS"
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
9343 $as_echo "$am_cv_func_iconv" >&6; }
9344 if test "$am_cv_func_iconv" = yes; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
9346 $as_echo_n "checking for working iconv... " >&6; }
9347 if ${am_cv_func_iconv_works+:} false
; then :
9348 $as_echo_n "(cached) " >&6
9351 am_save_LIBS
="$LIBS"
9352 if test $am_cv_lib_iconv = yes; then
9353 LIBS
="$LIBS $LIBICONV"
9355 if test "$cross_compiling" = yes; then :
9358 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
9359 *) am_cv_func_iconv_works
="guessing yes" ;;
9363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9371 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
9374 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
9375 if (cd_utf8_to_88591 != (iconv_t)(-1))
9377 static const char input[] = "\342\202\254"; /* EURO SIGN */
9379 const char *inptr = input;
9380 size_t inbytesleft = strlen (input);
9382 size_t outbytesleft = sizeof (buf);
9383 size_t res = iconv (cd_utf8_to_88591,
9384 (char **) &inptr, &inbytesleft,
9385 &outptr, &outbytesleft);
9388 iconv_close (cd_utf8_to_88591);
9391 /* Test against Solaris 10 bug: Failures are not distinguishable from
9392 successful returns. */
9394 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
9395 if (cd_ascii_to_88591 != (iconv_t)(-1))
9397 static const char input[] = "\263";
9399 const char *inptr = input;
9400 size_t inbytesleft = strlen (input);
9402 size_t outbytesleft = sizeof (buf);
9403 size_t res = iconv (cd_ascii_to_88591,
9404 (char **) &inptr, &inbytesleft,
9405 &outptr, &outbytesleft);
9408 iconv_close (cd_ascii_to_88591);
9411 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
9413 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
9414 if (cd_88591_to_utf8 != (iconv_t)(-1))
9416 static const char input[] = "\304";
9417 static char buf[2] = { (char)0xDE, (char)0xAD };
9418 const char *inptr = input;
9419 size_t inbytesleft = 1;
9421 size_t outbytesleft = 1;
9422 size_t res = iconv (cd_88591_to_utf8,
9423 (char **) &inptr, &inbytesleft,
9424 &outptr, &outbytesleft);
9425 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
9427 iconv_close (cd_88591_to_utf8);
9430 #if 0 /* This bug could be worked around by the caller. */
9431 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
9433 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
9434 if (cd_88591_to_utf8 != (iconv_t)(-1))
9436 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
9438 const char *inptr = input;
9439 size_t inbytesleft = strlen (input);
9441 size_t outbytesleft = sizeof (buf);
9442 size_t res = iconv (cd_88591_to_utf8,
9443 (char **) &inptr, &inbytesleft,
9444 &outptr, &outbytesleft);
9447 iconv_close (cd_88591_to_utf8);
9451 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
9453 if (/* Try standardized names. */
9454 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
9455 /* Try IRIX, OSF/1 names. */
9456 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
9457 /* Try AIX names. */
9458 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
9459 /* Try HP-UX names. */
9460 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
9465 if ac_fn_c_try_run
"$LINENO"; then :
9466 am_cv_func_iconv_works
=yes
9468 am_cv_func_iconv_works
=no
9470 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9471 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9474 LIBS
="$am_save_LIBS"
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
9478 $as_echo "$am_cv_func_iconv_works" >&6; }
9479 case "$am_cv_func_iconv_works" in
9480 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
9481 *) am_func_iconv
=yes ;;
9484 am_func_iconv
=no am_cv_lib_iconv
=no
9486 if test "$am_func_iconv" = yes; then
9488 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
9491 if test "$am_cv_lib_iconv" = yes; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
9493 $as_echo_n "checking how to link with libiconv... " >&6; }
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
9495 $as_echo "$LIBICONV" >&6; }
9497 CPPFLAGS
="$am_save_CPPFLAGS"
9504 if test "$am_cv_func_iconv" = yes; then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
9506 $as_echo_n "checking for iconv declaration... " >&6; }
9507 if ${am_cv_proto_iconv+:} false
; then :
9508 $as_echo_n "(cached) " >&6
9511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9520 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
9521 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9534 if ac_fn_c_try_compile
"$LINENO"; then :
9535 am_cv_proto_iconv_arg1
=""
9537 am_cv_proto_iconv_arg1
="const"
9539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9540 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);"
9543 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
9545 $am_cv_proto_iconv" >&5
9547 $am_cv_proto_iconv" >&6; }
9549 cat >>confdefs.h
<<_ACEOF
9550 #define ICONV_CONST $am_cv_proto_iconv_arg1
9559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9561 int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }
9570 if ac_fn_c_try_link
"$LINENO"; then :
9572 $as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h
9575 rm -f core conftest.err conftest.
$ac_objext \
9576 conftest
$ac_exeext conftest.
$ac_ext
9578 for ac_header
in argz.h inttypes.h limits.h unistd.h sys
/param.h
9580 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9581 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9582 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9583 cat >>confdefs.h
<<_ACEOF
9584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9591 for ac_func
in getcwd getegid geteuid getgid getuid mempcpy munmap \
9592 stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \
9593 argz_stringify argz_next __fsetlocking
9595 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9596 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
9597 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
9598 cat >>confdefs.h
<<_ACEOF
9599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9606 ac_fn_c_check_decl
"$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "#include <stdio.h>
9608 if test "x$ac_cv_have_decl_feof_unlocked" = xyes
; then :
9614 cat >>confdefs.h
<<_ACEOF
9615 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
9617 ac_fn_c_check_decl
"$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "#include <stdio.h>
9619 if test "x$ac_cv_have_decl_fgets_unlocked" = xyes
; then :
9625 cat >>confdefs.h
<<_ACEOF
9626 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
9632 for ac_prog
in bison
9634 # Extract the first word of "$ac_prog", so it can be a program name with args.
9635 set dummy
$ac_prog; ac_word
=$2
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9637 $as_echo_n "checking for $ac_word... " >&6; }
9638 if ${ac_cv_prog_INTLBISON+:} false
; then :
9639 $as_echo_n "(cached) " >&6
9641 if test -n "$INTLBISON"; then
9642 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
9644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9648 test -z "$as_dir" && as_dir
=.
9649 for ac_exec_ext
in '' $ac_executable_extensions; do
9650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9651 ac_cv_prog_INTLBISON
="$ac_prog"
9652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9661 INTLBISON
=$ac_cv_prog_INTLBISON
9662 if test -n "$INTLBISON"; then
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
9664 $as_echo "$INTLBISON" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9667 $as_echo "no" >&6; }
9671 test -n "$INTLBISON" && break
9674 if test -z "$INTLBISON"; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
9678 $as_echo_n "checking version of bison... " >&6; }
9679 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
9680 case $ac_prog_version in
9681 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
9682 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
9683 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
9684 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
9687 $as_echo "$ac_prog_version" >&6; }
9689 if test $ac_verc_fail = yes; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
9696 $as_echo_n "checking for long long int... " >&6; }
9697 if ${ac_cv_type_long_long_int+:} false
; then :
9698 $as_echo_n "(cached) " >&6
9700 ac_cv_type_long_long_int
=yes
9701 if test "x${ac_cv_prog_cc_c99-no}" = xno
; then
9702 ac_cv_type_long_long_int
=$ac_cv_type_unsigned_long_long_int
9703 if test $ac_cv_type_long_long_int = yes; then
9704 if test "$cross_compiling" = yes; then :
9707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9712 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
9713 # define LLONG_MAX (HALF - 1 + HALF)
9718 long long int n = 1;
9722 long long int m = n << i;
9725 if (LLONG_MAX / 2 < m)
9733 if ac_fn_c_try_run
"$LINENO"; then :
9736 ac_cv_type_long_long_int
=no
9738 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9739 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
9746 $as_echo "$ac_cv_type_long_long_int" >&6; }
9747 if test $ac_cv_type_long_long_int = yes; then
9749 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
9755 $as_echo_n "checking for wchar_t... " >&6; }
9756 if ${gt_cv_c_wchar_t+:} false
; then :
9757 $as_echo_n "(cached) " >&6
9759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9762 wchar_t foo = (wchar_t)'\0';
9771 if ac_fn_c_try_compile
"$LINENO"; then :
9776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
9779 $as_echo "$gt_cv_c_wchar_t" >&6; }
9780 if test $gt_cv_c_wchar_t = yes; then
9782 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
9788 $as_echo_n "checking for wint_t... " >&6; }
9789 if ${gt_cv_c_wint_t+:} false
; then :
9790 $as_echo_n "(cached) " >&6
9792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9795 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
9797 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
9798 before <wchar.h>. */
9803 wint_t foo = (wchar_t)'\0';
9812 if ac_fn_c_try_compile
"$LINENO"; then :
9817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
9820 $as_echo "$gt_cv_c_wint_t" >&6; }
9821 if test $gt_cv_c_wint_t = yes; then
9823 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
9831 $as_echo_n "checking for intmax_t... " >&6; }
9832 if ${gt_cv_c_intmax_t+:} false
; then :
9833 $as_echo_n "(cached) " >&6
9835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9840 #if HAVE_STDINT_H_WITH_UINTMAX
9843 #if HAVE_INTTYPES_H_WITH_UINTMAX
9844 #include <inttypes.h>
9856 if ac_fn_c_try_compile
"$LINENO"; then :
9857 gt_cv_c_intmax_t
=yes
9861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
9864 $as_echo "$gt_cv_c_intmax_t" >&6; }
9865 if test $gt_cv_c_intmax_t = yes; then
9867 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
9874 $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
9875 if ${gt_cv_func_printf_posix+:} false
; then :
9876 $as_echo_n "(cached) " >&6
9879 if test "$cross_compiling" = yes; then :
9881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9884 #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
9889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9890 $EGREP "notposix" >/dev
/null
2>&1; then :
9891 gt_cv_func_printf_posix
="guessing no"
9893 gt_cv_func_printf_posix
="guessing yes"
9899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9904 /* The string "%2$d %1$d", with dollar characters protected from the shell's
9905 dollar expansion (possibly an autoconf bug). */
9906 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
9907 static char buf[100];
9910 sprintf (buf, format, 33, 55);
9911 return (strcmp (buf, "55 33") != 0);
9914 if ac_fn_c_try_run
"$LINENO"; then :
9915 gt_cv_func_printf_posix
=yes
9917 gt_cv_func_printf_posix
=no
9919 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9920 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
9926 $as_echo "$gt_cv_func_printf_posix" >&6; }
9927 case $gt_cv_func_printf_posix in
9930 $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
9937 $as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
9938 if ${ac_cv_gnu_library_2_1+:} false
; then :
9939 $as_echo_n "(cached) " >&6
9941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9944 #include <features.h>
9945 #ifdef __GNU_LIBRARY__
9946 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
9955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9956 $EGREP "Lucky" >/dev
/null
2>&1; then :
9957 ac_cv_gnu_library_2_1
=yes
9959 ac_cv_gnu_library_2_1
=no
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
9967 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
9969 GLIBC21
="$ac_cv_gnu_library_2_1"
9973 for ac_header
in stdint.h
9975 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
9976 if test "x$ac_cv_header_stdint_h" = xyes
; then :
9977 cat >>confdefs.h
<<_ACEOF
9978 #define HAVE_STDINT_H 1
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
9986 $as_echo_n "checking for SIZE_MAX... " >&6; }
9987 if ${gl_cv_size_max+:} false
; then :
9988 $as_echo_n "(cached) " >&6
9992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
10004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10005 $EGREP "Found it" >/dev
/null
2>&1; then :
10010 if test -z "$gl_cv_size_max"; then
10011 if ac_fn_c_compute_int
"$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include <stddef.h>
10012 #include <limits.h>"; then :
10015 size_t_bits_minus_1
=
10018 if ac_fn_c_compute_int
"$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
10024 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
10025 if test $fits_in_uint = 1; then
10026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10028 #include <stddef.h>
10030 extern unsigned long foo;
10040 if ac_fn_c_try_compile
"$LINENO"; then :
10043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10045 if test $fits_in_uint = 1; then
10046 gl_cv_size_max
="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
10048 gl_cv_size_max
="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
10051 gl_cv_size_max
='((size_t)~(size_t)0)'
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
10057 $as_echo "$gl_cv_size_max" >&6; }
10058 if test "$gl_cv_size_max" != yes; then
10060 cat >>confdefs.h
<<_ACEOF
10061 #define SIZE_MAX $gl_cv_size_max
10069 for ac_header
in stdint.h
10071 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
10072 if test "x$ac_cv_header_stdint_h" = xyes
; then :
10073 cat >>confdefs.h
<<_ACEOF
10074 #define HAVE_STDINT_H 1
10085 for ac_func
in $ac_func_list
10087 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10088 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10089 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10090 cat >>confdefs.h
<<_ACEOF
10091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
10105 $as_echo_n "checking for working fcntl.h... " >&6; }
10106 if ${gl_cv_header_working_fcntl_h+:} false
; then :
10107 $as_echo_n "(cached) " >&6
10109 if test "$cross_compiling" = yes; then :
10110 gl_cv_header_working_fcntl_h
=cross-compiling
10112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10114 #include <sys/types.h>
10115 #include <sys/stat.h>
10117 # include <unistd.h>
10118 #else /* on Windows with MSVC */
10120 # include <stdlib.h>
10121 # defined sleep(n) _sleep ((n) * 1000)
10125 #define O_NOATIME 0
10128 #define O_NOFOLLOW 0
10130 static int const constants[] =
10132 O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
10133 O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
10140 int result = !constants;
10143 static char const sym[] = "conftest.sym";
10144 if (symlink ("/dev/null", sym) != 0)
10148 int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
10155 if (unlink (sym) != 0 || symlink (".", sym) != 0)
10159 int fd = open (sym, O_RDONLY | O_NOFOLLOW);
10170 static char const file[] = "confdefs.h";
10171 int fd = open (file, O_RDONLY | O_NOATIME);
10177 if (fstat (fd, &st0) != 0)
10183 if (read (fd, &c, 1) != 1)
10187 if (close (fd) != 0)
10192 if (stat (file, &st1) != 0)
10195 if (st0.st_atime != st1.st_atime)
10207 if ac_fn_c_try_run
"$LINENO"; then :
10208 gl_cv_header_working_fcntl_h
=yes
10211 4) gl_cv_header_working_fcntl_h
='no (bad O_NOFOLLOW)';; #(
10212 64) gl_cv_header_working_fcntl_h
='no (bad O_NOATIME)';; #(
10213 68) gl_cv_header_working_fcntl_h
='no (bad O_NOATIME, O_NOFOLLOW)';; #(
10214 *) gl_cv_header_working_fcntl_h
='no';;
10217 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10218 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
10223 $as_echo "$gl_cv_header_working_fcntl_h" >&6; }
10225 case $gl_cv_header_working_fcntl_h in #(
10226 *O_NOATIME
* | no | cross-compiling
) ac_val
=0;; #(
10230 cat >>confdefs.h
<<_ACEOF
10231 #define HAVE_WORKING_O_NOATIME $ac_val
10235 case $gl_cv_header_working_fcntl_h in #(
10236 *O_NOFOLLOW
* | no | cross-compiling
) ac_val
=0;; #(
10240 cat >>confdefs.h
<<_ACEOF
10241 #define HAVE_WORKING_O_NOFOLLOW $ac_val
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
10247 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
10248 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
10249 $as_echo_n "(cached) " >&6
10251 gt_save_LIBS
="$LIBS"
10252 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
10253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 #include <CoreFoundation/CFPreferences.h>
10259 CFPreferencesCopyAppValue(NULL, NULL)
10264 if ac_fn_c_try_link
"$LINENO"; then :
10265 gt_cv_func_CFPreferencesCopyAppValue
=yes
10267 gt_cv_func_CFPreferencesCopyAppValue
=no
10269 rm -f core conftest.err conftest.
$ac_objext \
10270 conftest
$ac_exeext conftest.
$ac_ext
10271 LIBS
="$gt_save_LIBS"
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
10274 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
10275 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
10277 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
10281 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
10282 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
10283 $as_echo_n "(cached) " >&6
10285 gt_save_LIBS
="$LIBS"
10286 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
10287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 #include <CoreFoundation/CFLocale.h>
10293 CFLocaleCopyCurrent();
10298 if ac_fn_c_try_link
"$LINENO"; then :
10299 gt_cv_func_CFLocaleCopyCurrent
=yes
10301 gt_cv_func_CFLocaleCopyCurrent
=no
10303 rm -f core conftest.err conftest.
$ac_objext \
10304 conftest
$ac_exeext conftest.
$ac_ext
10305 LIBS
="$gt_save_LIBS"
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
10308 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
10309 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
10311 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
10315 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
10316 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
10328 case "$enable_silent_rules" in
10329 yes) INTL_DEFAULT_VERBOSITY
=0;;
10330 no
) INTL_DEFAULT_VERBOSITY
=1;;
10331 *) INTL_DEFAULT_VERBOSITY
=1;;
10335 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
10336 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
10340 $as_echo "#define ptrdiff_t long" >>confdefs.h
10345 for ac_header
in features.h stddef.h stdlib.h string.h
10347 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10348 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10349 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10350 cat >>confdefs.h
<<_ACEOF
10351 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10358 for ac_func
in asprintf fwprintf newlocale putenv setenv setlocale \
10359 snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
10361 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10362 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10363 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10364 cat >>confdefs.h
<<_ACEOF
10365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10372 ac_fn_c_check_decl
"$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
10374 if test "x$ac_cv_have_decl__snprintf" = xyes
; then :
10380 cat >>confdefs.h
<<_ACEOF
10381 #define HAVE_DECL__SNPRINTF $ac_have_decl
10383 ac_fn_c_check_decl
"$LINENO" "_snwprintf" "ac_cv_have_decl__snwprintf" "#include <stdio.h>
10385 if test "x$ac_cv_have_decl__snwprintf" = xyes
; then :
10391 cat >>confdefs.h
<<_ACEOF
10392 #define HAVE_DECL__SNWPRINTF $ac_have_decl
10396 ac_fn_c_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "#include <stdio.h>
10398 if test "x$ac_cv_have_decl_getc_unlocked" = xyes
; then :
10404 cat >>confdefs.h
<<_ACEOF
10405 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
10409 case $gt_cv_func_printf_posix in
10410 *yes) HAVE_POSIX_PRINTF
=1 ;;
10411 *) HAVE_POSIX_PRINTF
=0 ;;
10414 if test "$ac_cv_func_asprintf" = yes; then
10420 if test "$ac_cv_func_snprintf" = yes; then
10426 if test "$ac_cv_func_newlocale" = yes; then
10432 if test "$ac_cv_func_wprintf" = yes; then
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
10441 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
10442 if ${am_cv_langinfo_codeset+:} false
; then :
10443 $as_echo_n "(cached) " >&6
10445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10447 #include <langinfo.h>
10451 char* cs = nl_langinfo(CODESET); return !cs;
10456 if ac_fn_c_try_link
"$LINENO"; then :
10457 am_cv_langinfo_codeset
=yes
10459 am_cv_langinfo_codeset
=no
10461 rm -f core conftest.err conftest.
$ac_objext \
10462 conftest
$ac_exeext conftest.
$ac_ext
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
10466 $as_echo "$am_cv_langinfo_codeset" >&6; }
10467 if test $am_cv_langinfo_codeset = yes; then
10469 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
10475 $as_echo_n "checking for LC_MESSAGES... " >&6; }
10476 if ${gt_cv_val_LC_MESSAGES+:} false
; then :
10477 $as_echo_n "(cached) " >&6
10479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10481 #include <locale.h>
10490 if ac_fn_c_try_link
"$LINENO"; then :
10491 gt_cv_val_LC_MESSAGES
=yes
10493 gt_cv_val_LC_MESSAGES
=no
10495 rm -f core conftest.err conftest.
$ac_objext \
10496 conftest
$ac_exeext conftest.
$ac_ext
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
10499 $as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
10500 if test $gt_cv_val_LC_MESSAGES = yes; then
10502 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
10507 if test "$enable_shared" = yes; then
10509 mingw
* | cygwin
*) is_woe32dll
=yes ;;
10510 *) is_woe32dll
=no
;;
10515 WOE32DLL
=$is_woe32dll
10519 mingw
* | cygwin
*) is_woe32
=yes ;;
10524 if test $WOE32 = yes; then
10525 if test -n "$ac_tool_prefix"; then
10526 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
10527 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10529 $as_echo_n "checking for $ac_word... " >&6; }
10530 if ${ac_cv_prog_WINDRES+:} false
; then :
10531 $as_echo_n "(cached) " >&6
10533 if test -n "$WINDRES"; then
10534 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
10536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10537 for as_dir
in $PATH
10540 test -z "$as_dir" && as_dir
=.
10541 for ac_exec_ext
in '' $ac_executable_extensions; do
10542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10543 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
10544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10553 WINDRES
=$ac_cv_prog_WINDRES
10554 if test -n "$WINDRES"; then
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
10556 $as_echo "$WINDRES" >&6; }
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10559 $as_echo "no" >&6; }
10564 if test -z "$ac_cv_prog_WINDRES"; then
10565 ac_ct_WINDRES
=$WINDRES
10566 # Extract the first word of "windres", so it can be a program name with args.
10567 set dummy windres
; ac_word
=$2
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10569 $as_echo_n "checking for $ac_word... " >&6; }
10570 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
10571 $as_echo_n "(cached) " >&6
10573 if test -n "$ac_ct_WINDRES"; then
10574 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
10576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10577 for as_dir
in $PATH
10580 test -z "$as_dir" && as_dir
=.
10581 for ac_exec_ext
in '' $ac_executable_extensions; do
10582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10583 ac_cv_prog_ac_ct_WINDRES
="windres"
10584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10593 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
10594 if test -n "$ac_ct_WINDRES"; then
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
10596 $as_echo "$ac_ct_WINDRES" >&6; }
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10599 $as_echo "no" >&6; }
10602 if test "x$ac_ct_WINDRES" = x
; then
10605 case $cross_compiling:$ac_tool_warned in
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10609 ac_tool_warned
=yes ;;
10611 WINDRES
=$ac_ct_WINDRES
10614 WINDRES
="$ac_cv_prog_WINDRES"
10620 hpux
*) LTLIBC
="" ;;
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
10651 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
10652 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
10653 $as_echo_n "(cached) " >&6
10655 gt_save_LIBS
="$LIBS"
10656 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
10657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10659 #include <CoreFoundation/CFPreferences.h>
10663 CFPreferencesCopyAppValue(NULL, NULL)
10668 if ac_fn_c_try_link
"$LINENO"; then :
10669 gt_cv_func_CFPreferencesCopyAppValue
=yes
10671 gt_cv_func_CFPreferencesCopyAppValue
=no
10673 rm -f core conftest.err conftest.
$ac_objext \
10674 conftest
$ac_exeext conftest.
$ac_ext
10675 LIBS
="$gt_save_LIBS"
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
10678 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
10679 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
10681 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
10685 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
10686 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
10687 $as_echo_n "(cached) " >&6
10689 gt_save_LIBS
="$LIBS"
10690 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
10691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10693 #include <CoreFoundation/CFLocale.h>
10697 CFLocaleCopyCurrent();
10702 if ac_fn_c_try_link
"$LINENO"; then :
10703 gt_cv_func_CFLocaleCopyCurrent
=yes
10705 gt_cv_func_CFLocaleCopyCurrent
=no
10707 rm -f core conftest.err conftest.
$ac_objext \
10708 conftest
$ac_exeext conftest.
$ac_ext
10709 LIBS
="$gt_save_LIBS"
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
10712 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
10713 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
10715 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
10719 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
10720 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
10728 BUILD_INCLUDED_LIBINTL
=no
10729 USE_INCLUDED_LIBINTL
=no
10735 case " $gt_needs " in
10736 *" need-formatstring-macros "*) gt_api_version
=3 ;;
10737 *" need-ngettext "*) gt_api_version
=2 ;;
10738 *) gt_api_version
=1 ;;
10740 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
10741 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
10743 if test "$USE_NLS" = "yes"; then
10744 gt_use_preinstalled_gnugettext
=no
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
10747 $as_echo_n "checking whether included gettext is requested... " >&6; }
10749 # Check whether --with-included-gettext was given.
10750 if test "${with_included_gettext+set}" = set; then :
10751 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
10753 nls_cv_force_use_gnu_gettext
=no
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
10757 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
10759 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
10760 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
10763 if test $gt_api_version -ge 3; then
10764 gt_revision_test_code
='
10765 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
10766 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
10768 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
10771 gt_revision_test_code
=
10773 if test $gt_api_version -ge 2; then
10774 gt_expression_test_code
=' + * ngettext ("", "", 0)'
10776 gt_expression_test_code
=
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
10780 $as_echo_n "checking for GNU gettext in libc... " >&6; }
10781 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
10782 $as_echo_n "(cached) " >&6
10784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10787 #include <libintl.h>
10788 $gt_revision_test_code
10789 extern int _nl_msg_cat_cntr;
10790 extern int *_nl_domain_bindings;
10796 bindtextdomain ("", "");
10797 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
10803 if ac_fn_c_try_link
"$LINENO"; then :
10804 eval "$gt_func_gnugettext_libc=yes"
10806 eval "$gt_func_gnugettext_libc=no"
10808 rm -f core conftest.err conftest.
$ac_objext \
10809 conftest
$ac_exeext conftest.
$ac_ext
10811 eval ac_res
=\$
$gt_func_gnugettext_libc
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10813 $as_echo "$ac_res" >&6; }
10815 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
10826 acl_save_prefix
="$prefix"
10827 prefix
="$acl_final_prefix"
10828 acl_save_exec_prefix
="$exec_prefix"
10829 exec_prefix
="$acl_final_exec_prefix"
10831 eval additional_includedir
=\"$includedir\"
10832 eval additional_libdir
=\"$libdir\"
10834 exec_prefix
="$acl_save_exec_prefix"
10835 prefix
="$acl_save_prefix"
10838 # Check whether --with-libintl-prefix was given.
10839 if test "${with_libintl_prefix+set}" = set; then :
10840 withval
=$with_libintl_prefix;
10841 if test "X$withval" = "Xno"; then
10844 if test "X$withval" = "X"; then
10846 acl_save_prefix
="$prefix"
10847 prefix
="$acl_final_prefix"
10848 acl_save_exec_prefix
="$exec_prefix"
10849 exec_prefix
="$acl_final_exec_prefix"
10851 eval additional_includedir
=\"$includedir\"
10852 eval additional_libdir
=\"$libdir\"
10854 exec_prefix
="$acl_save_exec_prefix"
10855 prefix
="$acl_save_prefix"
10858 additional_includedir
="$withval/include"
10859 additional_libdir
="$withval/$acl_libdirstem"
10860 if test "$acl_libdirstem2" != "$acl_libdirstem" \
10861 && ! test -d "$withval/$acl_libdirstem"; then
10862 additional_libdir
="$withval/$acl_libdirstem2"
10876 names_already_handled
=
10877 names_next_round
='intl '
10878 while test -n "$names_next_round"; do
10879 names_this_round
="$names_next_round"
10881 for name
in $names_this_round; do
10883 for n
in $names_already_handled; do
10884 if test "$n" = "$name"; then
10885 already_handled
=yes
10889 if test -z "$already_handled"; then
10890 names_already_handled
="$names_already_handled $name"
10891 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
10892 eval value
=\"\
$HAVE_LIB$uppername\"
10893 if test -n "$value"; then
10894 if test "$value" = yes; then
10895 eval value
=\"\
$LIB$uppername\"
10896 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
10897 eval value
=\"\
$LTLIB$uppername\"
10898 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
10907 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
10908 if test -n "$acl_shlibext"; then
10909 shrext
=".$acl_shlibext" # typically: shrext=.so
10913 if test $use_additional = yes; then
10914 dir
="$additional_libdir"
10915 if test -n "$acl_shlibext"; then
10916 if test -f "$dir/$libname$shrext"; then
10918 found_so
="$dir/$libname$shrext"
10920 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
10921 ver
=`(cd "$dir" && \
10922 for f in "$libname$shrext".*; do echo "$f"; done \
10923 | sed -e "s,^$libname$shrext\\\\.,," \
10924 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
10925 | sed 1q ) 2>/dev/null`
10926 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
10928 found_so
="$dir/$libname$shrext.$ver"
10931 eval library_names
=\"$acl_library_names_spec\"
10932 for f
in $library_names; do
10933 if test -f "$dir/$f"; then
10942 if test "X$found_dir" = "X"; then
10943 if test -f "$dir/$libname.$acl_libext"; then
10945 found_a
="$dir/$libname.$acl_libext"
10948 if test "X$found_dir" != "X"; then
10949 if test -f "$dir/$libname.la"; then
10950 found_la
="$dir/$libname.la"
10954 if test "X$found_dir" = "X"; then
10955 for x
in $LDFLAGS $LTLIBINTL; do
10957 acl_save_prefix
="$prefix"
10958 prefix
="$acl_final_prefix"
10959 acl_save_exec_prefix
="$exec_prefix"
10960 exec_prefix
="$acl_final_exec_prefix"
10962 exec_prefix
="$acl_save_exec_prefix"
10963 prefix
="$acl_save_prefix"
10967 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10968 if test -n "$acl_shlibext"; then
10969 if test -f "$dir/$libname$shrext"; then
10971 found_so
="$dir/$libname$shrext"
10973 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
10974 ver
=`(cd "$dir" && \
10975 for f in "$libname$shrext".*; do echo "$f"; done \
10976 | sed -e "s,^$libname$shrext\\\\.,," \
10977 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
10978 | sed 1q ) 2>/dev/null`
10979 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
10981 found_so
="$dir/$libname$shrext.$ver"
10984 eval library_names
=\"$acl_library_names_spec\"
10985 for f
in $library_names; do
10986 if test -f "$dir/$f"; then
10995 if test "X$found_dir" = "X"; then
10996 if test -f "$dir/$libname.$acl_libext"; then
10998 found_a
="$dir/$libname.$acl_libext"
11001 if test "X$found_dir" != "X"; then
11002 if test -f "$dir/$libname.la"; then
11003 found_la
="$dir/$libname.la"
11008 if test "X$found_dir" != "X"; then
11013 if test "X$found_dir" != "X"; then
11014 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
11015 if test "X$found_so" != "X"; then
11016 if test "$enable_rpath" = no \
11017 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
11018 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
11019 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11022 for x
in $ltrpathdirs; do
11023 if test "X$x" = "X$found_dir"; then
11028 if test -z "$haveit"; then
11029 ltrpathdirs
="$ltrpathdirs $found_dir"
11031 if test "$acl_hardcode_direct" = yes; then
11032 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11034 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
11035 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11037 for x
in $rpathdirs; do
11038 if test "X$x" = "X$found_dir"; then
11043 if test -z "$haveit"; then
11044 rpathdirs
="$rpathdirs $found_dir"
11048 for x
in $LDFLAGS $LIBINTL; do
11050 acl_save_prefix
="$prefix"
11051 prefix
="$acl_final_prefix"
11052 acl_save_exec_prefix
="$exec_prefix"
11053 exec_prefix
="$acl_final_exec_prefix"
11055 exec_prefix
="$acl_save_exec_prefix"
11056 prefix
="$acl_save_prefix"
11058 if test "X$x" = "X-L$found_dir"; then
11063 if test -z "$haveit"; then
11064 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
11066 if test "$acl_hardcode_minus_L" != no
; then
11067 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11069 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11075 if test "X$found_a" != "X"; then
11076 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
11078 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
11081 additional_includedir
=
11082 case "$found_dir" in
11083 */$acl_libdirstem |
*/$acl_libdirstem/)
11084 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
11085 if test "$name" = 'intl'; then
11086 LIBINTL_PREFIX
="$basedir"
11088 additional_includedir
="$basedir/include"
11090 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
11091 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
11092 if test "$name" = 'intl'; then
11093 LIBINTL_PREFIX
="$basedir"
11095 additional_includedir
="$basedir/include"
11098 if test "X$additional_includedir" != "X"; then
11099 if test "X$additional_includedir" != "X/usr/include"; then
11101 if test "X$additional_includedir" = "X/usr/local/include"; then
11102 if test -n "$GCC"; then
11104 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
11108 if test -z "$haveit"; then
11109 for x
in $CPPFLAGS $INCINTL; do
11111 acl_save_prefix
="$prefix"
11112 prefix
="$acl_final_prefix"
11113 acl_save_exec_prefix
="$exec_prefix"
11114 exec_prefix
="$acl_final_exec_prefix"
11116 exec_prefix
="$acl_save_exec_prefix"
11117 prefix
="$acl_save_prefix"
11119 if test "X$x" = "X-I$additional_includedir"; then
11124 if test -z "$haveit"; then
11125 if test -d "$additional_includedir"; then
11126 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
11132 if test -n "$found_la"; then
11133 save_libdir
="$libdir"
11134 case "$found_la" in
11135 */* |
*\\*) .
"$found_la" ;;
11136 *) .
"./$found_la" ;;
11138 libdir
="$save_libdir"
11139 for dep
in $dependency_libs; do
11142 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
11143 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
11144 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
11146 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
11147 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
11148 if test -n "$GCC"; then
11150 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
11154 if test -z "$haveit"; then
11156 for x
in $LDFLAGS $LIBINTL; do
11158 acl_save_prefix
="$prefix"
11159 prefix
="$acl_final_prefix"
11160 acl_save_exec_prefix
="$exec_prefix"
11161 exec_prefix
="$acl_final_exec_prefix"
11163 exec_prefix
="$acl_save_exec_prefix"
11164 prefix
="$acl_save_prefix"
11166 if test "X$x" = "X-L$additional_libdir"; then
11171 if test -z "$haveit"; then
11172 if test -d "$additional_libdir"; then
11173 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
11177 for x
in $LDFLAGS $LTLIBINTL; do
11179 acl_save_prefix
="$prefix"
11180 prefix
="$acl_final_prefix"
11181 acl_save_exec_prefix
="$exec_prefix"
11182 exec_prefix
="$acl_final_exec_prefix"
11184 exec_prefix
="$acl_save_exec_prefix"
11185 prefix
="$acl_save_prefix"
11187 if test "X$x" = "X-L$additional_libdir"; then
11192 if test -z "$haveit"; then
11193 if test -d "$additional_libdir"; then
11194 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
11201 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
11202 if test "$enable_rpath" != no
; then
11204 for x
in $rpathdirs; do
11205 if test "X$x" = "X$dir"; then
11210 if test -z "$haveit"; then
11211 rpathdirs
="$rpathdirs $dir"
11214 for x
in $ltrpathdirs; do
11215 if test "X$x" = "X$dir"; then
11220 if test -z "$haveit"; then
11221 ltrpathdirs
="$ltrpathdirs $dir"
11226 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11229 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11232 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
11233 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
11239 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11240 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
11246 if test "X$rpathdirs" != "X"; then
11247 if test -n "$acl_hardcode_libdir_separator"; then
11249 for found_dir
in $rpathdirs; do
11250 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
11252 acl_save_libdir
="$libdir"
11254 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
11255 libdir
="$acl_save_libdir"
11256 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11258 for found_dir
in $rpathdirs; do
11259 acl_save_libdir
="$libdir"
11260 libdir
="$found_dir"
11261 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
11262 libdir
="$acl_save_libdir"
11263 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11267 if test "X$ltrpathdirs" != "X"; then
11268 for found_dir
in $ltrpathdirs; do
11269 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
11279 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
11280 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
11281 $as_echo_n "(cached) " >&6
11283 gt_save_CPPFLAGS
="$CPPFLAGS"
11284 CPPFLAGS
="$CPPFLAGS $INCINTL"
11285 gt_save_LIBS
="$LIBS"
11286 LIBS
="$LIBS $LIBINTL"
11287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11290 #include <libintl.h>
11291 $gt_revision_test_code
11292 extern int _nl_msg_cat_cntr;
11297 const char *_nl_expand_alias (const char *);
11303 bindtextdomain ("", "");
11304 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
11310 if ac_fn_c_try_link
"$LINENO"; then :
11311 eval "$gt_func_gnugettext_libintl=yes"
11313 eval "$gt_func_gnugettext_libintl=no"
11315 rm -f core conftest.err conftest.
$ac_objext \
11316 conftest
$ac_exeext conftest.
$ac_ext
11317 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
11318 LIBS
="$LIBS $LIBICONV"
11319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11322 #include <libintl.h>
11323 $gt_revision_test_code
11324 extern int _nl_msg_cat_cntr;
11329 const char *_nl_expand_alias (const char *);
11335 bindtextdomain ("", "");
11336 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
11342 if ac_fn_c_try_link
"$LINENO"; then :
11343 LIBINTL
="$LIBINTL $LIBICONV"
11344 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
11345 eval "$gt_func_gnugettext_libintl=yes"
11348 rm -f core conftest.err conftest.
$ac_objext \
11349 conftest
$ac_exeext conftest.
$ac_ext
11351 CPPFLAGS
="$gt_save_CPPFLAGS"
11352 LIBS
="$gt_save_LIBS"
11354 eval ac_res
=\$
$gt_func_gnugettext_libintl
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11356 $as_echo "$ac_res" >&6; }
11359 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
11360 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
11361 && test "$PACKAGE" != gettext-runtime \
11362 && test "$PACKAGE" != gettext-tools
; }; then
11363 gt_use_preinstalled_gnugettext
=yes
11371 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
11372 nls_cv_use_gnu_gettext
=yes
11376 if test "$nls_cv_use_gnu_gettext" = "yes"; then
11377 BUILD_INCLUDED_LIBINTL
=yes
11378 USE_INCLUDED_LIBINTL
=yes
11379 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV $LIBTHREAD"
11380 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV $LTLIBTHREAD"
11381 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
11385 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11386 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11391 if test -n "$INTL_MACOSX_LIBS"; then
11392 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11393 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11394 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
11395 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
11399 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11400 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11402 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
11410 $as_echo_n "checking whether to use NLS... " >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11412 $as_echo "$USE_NLS" >&6; }
11413 if test "$USE_NLS" = "yes"; then
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
11415 $as_echo_n "checking where the gettext function comes from... " >&6; }
11416 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11417 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
11418 gt_source
="external libintl"
11423 gt_source
="included intl directory"
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
11426 $as_echo "$gt_source" >&6; }
11429 if test "$USE_NLS" = "yes"; then
11431 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11432 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
11434 $as_echo_n "checking how to link with libintl... " >&6; }
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
11436 $as_echo "$LIBINTL" >&6; }
11438 for element
in $INCINTL; do
11440 for x
in $CPPFLAGS; do
11442 acl_save_prefix
="$prefix"
11443 prefix
="$acl_final_prefix"
11444 acl_save_exec_prefix
="$exec_prefix"
11445 exec_prefix
="$acl_final_exec_prefix"
11447 exec_prefix
="$acl_save_exec_prefix"
11448 prefix
="$acl_save_prefix"
11450 if test "X$x" = "X$element"; then
11455 if test -z "$haveit"; then
11456 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
11463 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
11466 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
11474 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
11475 BUILD_INCLUDED_LIBINTL
=yes
11482 nls_cv_header_intl
=
11483 nls_cv_header_libgt
=
11495 if test "$USE_INCLUDED_LIBINTL" = yes; then
11496 INTLOBJS
="\$(GETTOBJS)"
11500 INTL_LIBTOOL_SUFFIX_PREFIX
=
11504 INTLLIBS
="$LIBINTL"
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11513 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11515 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11516 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
11517 $as_echo_n "(cached) " >&6
11519 cat >conftest.
make <<\_ACEOF
11522 @
echo '@@@%%%=$(MAKE)=@@@%%%'
11524 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11525 case `${MAKE-make} -f conftest.make 2>/dev/null` in
11526 *@@@
%%%=?
*=@@@
%%%*)
11527 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
11529 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
11531 rm -f conftest.
make
11533 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11535 $as_echo "yes" >&6; }
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11539 $as_echo "no" >&6; }
11540 SET_MAKE
="MAKE=${MAKE-make}"
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
11544 $as_echo_n "checking for GNU make... " >&6; }
11545 if ${_cv_gnu_make_command+:} false
; then :
11546 $as_echo_n "(cached) " >&6
11548 _cv_gnu_make_command
='' ;
11549 for a
in "$MAKE" make gmake gnumake
; do
11550 if test -z "$a" ; then continue ; fi ;
11551 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
) ; then
11552 _cv_gnu_make_command
=$a ;
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
11559 $as_echo "$_cv_gnu_make_command" >&6; } ;
11560 if test "x$_cv_gnu_make_command" != "x" ; then
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
11567 $as_echo "\"Not found\"" >&6; };
11572 # Extract the first word of "ln", so it can be a program name with args.
11573 set dummy
ln; ac_word
=$2
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11575 $as_echo_n "checking for $ac_word... " >&6; }
11576 if ${ac_cv_path_LN+:} false
; then :
11577 $as_echo_n "(cached) " >&6
11581 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
11584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11585 for as_dir
in $PATH
11588 test -z "$as_dir" && as_dir
=.
11589 for ac_exec_ext
in '' $ac_executable_extensions; do
11590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11591 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
11592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11599 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
11604 if test -n "$LN"; then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
11606 $as_echo "$LN" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11609 $as_echo "no" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
11614 $as_echo_n "checking whether ln -s works... " >&6; }
11616 if test "$LN_S" = "ln -s"; then
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11618 $as_echo "yes" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
11621 $as_echo "no, using $LN_S" >&6; }
11624 # Extract the first word of "mv", so it can be a program name with args.
11625 set dummy
mv; ac_word
=$2
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11627 $as_echo_n "checking for $ac_word... " >&6; }
11628 if ${ac_cv_path_MV+:} false
; then :
11629 $as_echo_n "(cached) " >&6
11633 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
11636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11637 for as_dir
in $PATH
11640 test -z "$as_dir" && as_dir
=.
11641 for ac_exec_ext
in '' $ac_executable_extensions; do
11642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11643 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
11644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11651 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
11656 if test -n "$MV"; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
11658 $as_echo "$MV" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11665 # Extract the first word of "cp", so it can be a program name with args.
11666 set dummy
cp; ac_word
=$2
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11668 $as_echo_n "checking for $ac_word... " >&6; }
11669 if ${ac_cv_path_CP+:} false
; then :
11670 $as_echo_n "(cached) " >&6
11674 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
11677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11678 for as_dir
in $PATH
11681 test -z "$as_dir" && as_dir
=.
11682 for ac_exec_ext
in '' $ac_executable_extensions; do
11683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11684 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
11685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11692 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
11697 if test -n "$CP"; then
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
11699 $as_echo "$CP" >&6; }
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11702 $as_echo "no" >&6; }
11706 # Extract the first word of "rm", so it can be a program name with args.
11707 set dummy
rm; ac_word
=$2
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11709 $as_echo_n "checking for $ac_word... " >&6; }
11710 if ${ac_cv_path_RM+:} false
; then :
11711 $as_echo_n "(cached) " >&6
11715 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
11718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11719 for as_dir
in $PATH
11722 test -z "$as_dir" && as_dir
=.
11723 for ac_exec_ext
in '' $ac_executable_extensions; do
11724 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11725 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
11726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11733 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
11738 if test -n "$RM"; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
11740 $as_echo "$RM" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11747 # Extract the first word of "chmod", so it can be a program name with args.
11748 set dummy
chmod; ac_word
=$2
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11750 $as_echo_n "checking for $ac_word... " >&6; }
11751 if ${ac_cv_path_CHMOD+:} false
; then :
11752 $as_echo_n "(cached) " >&6
11756 ac_cv_path_CHMOD
="$CHMOD" # Let the user override the test with a path.
11759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11760 for as_dir
in $PATH
11763 test -z "$as_dir" && as_dir
=.
11764 for ac_exec_ext
in '' $ac_executable_extensions; do
11765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11766 ac_cv_path_CHMOD
="$as_dir/$ac_word$ac_exec_ext"
11767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11774 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD
=":"
11778 CHMOD
=$ac_cv_path_CHMOD
11779 if test -n "$CHMOD"; then
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
11781 $as_echo "$CHMOD" >&6; }
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11784 $as_echo "no" >&6; }
11788 for ac_prog
in gawk mawk nawk
awk
11790 # Extract the first word of "$ac_prog", so it can be a program name with args.
11791 set dummy
$ac_prog; ac_word
=$2
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11793 $as_echo_n "checking for $ac_word... " >&6; }
11794 if ${ac_cv_prog_AWK+:} false
; then :
11795 $as_echo_n "(cached) " >&6
11797 if test -n "$AWK"; then
11798 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
11800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11801 for as_dir
in $PATH
11804 test -z "$as_dir" && as_dir
=.
11805 for ac_exec_ext
in '' $ac_executable_extensions; do
11806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11807 ac_cv_prog_AWK
="$ac_prog"
11808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11817 AWK
=$ac_cv_prog_AWK
11818 if test -n "$AWK"; then
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11820 $as_echo "$AWK" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11823 $as_echo "no" >&6; }
11827 test -n "$AWK" && break
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
11831 $as_echo_n "checking for egrep... " >&6; }
11832 if ${ac_cv_path_EGREP+:} false
; then :
11833 $as_echo_n "(cached) " >&6
11835 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
11836 then ac_cv_path_EGREP
="$GREP -E"
11838 if test -z "$EGREP"; then
11839 ac_path_EGREP_found
=false
11840 # Loop through the user's path and test for each of PROGNAME-LIST
11841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11842 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
11845 test -z "$as_dir" && as_dir
=.
11846 for ac_prog
in egrep; do
11847 for ac_exec_ext
in '' $ac_executable_extensions; do
11848 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
11849 as_fn_executable_p
"$ac_path_EGREP" ||
continue
11850 # Check for GNU ac_path_EGREP and select it if it is found.
11851 # Check for GNU $ac_path_EGREP
11852 case `"$ac_path_EGREP" --version 2>&1` in
11854 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
11857 $as_echo_n 0123456789 >"conftest.in"
11860 cat "conftest.in" "conftest.in" >"conftest.tmp"
11861 mv "conftest.tmp" "conftest.in"
11862 cp "conftest.in" "conftest.nl"
11863 $as_echo 'EGREP' >> "conftest.nl"
11864 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
11865 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
11866 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
11867 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11868 # Best one so far, save it but keep looking for a better one
11869 ac_cv_path_EGREP
="$ac_path_EGREP"
11870 ac_path_EGREP_max
=$ac_count
11872 # 10*(2^10) chars as input seems more than enough
11873 test $ac_count -gt 10 && break
11875 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
11878 $ac_path_EGREP_found && break 3
11883 if test -z "$ac_cv_path_EGREP"; then
11884 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11887 ac_cv_path_EGREP
=$EGREP
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
11893 $as_echo "$ac_cv_path_EGREP" >&6; }
11894 EGREP
="$ac_cv_path_EGREP"
11897 # Extract the first word of "sed", so it can be a program name with args.
11898 set dummy
sed; ac_word
=$2
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11900 $as_echo_n "checking for $ac_word... " >&6; }
11901 if ${ac_cv_path_SED+:} false
; then :
11902 $as_echo_n "(cached) " >&6
11906 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
11909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11910 for as_dir
in $PATH
11913 test -z "$as_dir" && as_dir
=.
11914 for ac_exec_ext
in '' $ac_executable_extensions; do
11915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11916 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
11917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11924 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
11928 SED
=$ac_cv_path_SED
11929 if test -n "$SED"; then
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11931 $as_echo "$SED" >&6; }
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11934 $as_echo "no" >&6; }
11938 # Extract the first word of "perl", so it can be a program name with args.
11939 set dummy perl
; ac_word
=$2
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11941 $as_echo_n "checking for $ac_word... " >&6; }
11942 if ${ac_cv_path_PERL+:} false
; then :
11943 $as_echo_n "(cached) " >&6
11947 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
11950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11951 for as_dir
in $PATH
11954 test -z "$as_dir" && as_dir
=.
11955 for ac_exec_ext
in '' $ac_executable_extensions; do
11956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11957 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
11958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11965 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl"
11969 PERL
=$ac_cv_path_PERL
11970 if test -n "$PERL"; then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
11972 $as_echo "$PERL" >&6; }
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975 $as_echo "no" >&6; }
11979 # Extract the first word of "ldconfig", so it can be a program name with args.
11980 set dummy ldconfig
; ac_word
=$2
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11982 $as_echo_n "checking for $ac_word... " >&6; }
11983 if ${ac_cv_path_LDCONFIG+:} false
; then :
11984 $as_echo_n "(cached) " >&6
11988 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
11991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11992 for as_dir
in $PATH
11995 test -z "$as_dir" && as_dir
=.
11996 for ac_exec_ext
in '' $ac_executable_extensions; do
11997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11998 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12006 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
=":"
12010 LDCONFIG
=$ac_cv_path_LDCONFIG
12011 if test -n "$LDCONFIG"; then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
12013 $as_echo "$LDCONFIG" >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12016 $as_echo "no" >&6; }
12020 if test -n "$ac_tool_prefix"; then
12021 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
12022 set dummy
${ac_tool_prefix}ar; ac_word
=$2
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12024 $as_echo_n "checking for $ac_word... " >&6; }
12025 if ${ac_cv_prog_AR+:} false
; then :
12026 $as_echo_n "(cached) " >&6
12028 if test -n "$AR"; then
12029 ac_cv_prog_AR
="$AR" # Let the user override the test.
12031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12032 for as_dir
in $PATH
12035 test -z "$as_dir" && as_dir
=.
12036 for ac_exec_ext
in '' $ac_executable_extensions; do
12037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12038 ac_cv_prog_AR
="${ac_tool_prefix}ar"
12039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12049 if test -n "$AR"; then
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
12051 $as_echo "$AR" >&6; }
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12054 $as_echo "no" >&6; }
12059 if test -z "$ac_cv_prog_AR"; then
12061 # Extract the first word of "ar", so it can be a program name with args.
12062 set dummy
ar; ac_word
=$2
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12064 $as_echo_n "checking for $ac_word... " >&6; }
12065 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
12066 $as_echo_n "(cached) " >&6
12068 if test -n "$ac_ct_AR"; then
12069 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
12071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12072 for as_dir
in $PATH
12075 test -z "$as_dir" && as_dir
=.
12076 for ac_exec_ext
in '' $ac_executable_extensions; do
12077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12078 ac_cv_prog_ac_ct_AR
="ar"
12079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
12089 if test -n "$ac_ct_AR"; then
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
12091 $as_echo "$ac_ct_AR" >&6; }
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12094 $as_echo "no" >&6; }
12097 if test "x$ac_ct_AR" = x
; then
12100 case $cross_compiling:$ac_tool_warned in
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12104 ac_tool_warned
=yes ;;
12109 AR
="$ac_cv_prog_AR"
12112 if test -n "$ac_tool_prefix"; then
12113 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12114 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12116 $as_echo_n "checking for $ac_word... " >&6; }
12117 if ${ac_cv_prog_RANLIB+:} false
; then :
12118 $as_echo_n "(cached) " >&6
12120 if test -n "$RANLIB"; then
12121 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12124 for as_dir
in $PATH
12127 test -z "$as_dir" && as_dir
=.
12128 for ac_exec_ext
in '' $ac_executable_extensions; do
12129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12130 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12140 RANLIB
=$ac_cv_prog_RANLIB
12141 if test -n "$RANLIB"; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
12143 $as_echo "$RANLIB" >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12146 $as_echo "no" >&6; }
12151 if test -z "$ac_cv_prog_RANLIB"; then
12152 ac_ct_RANLIB
=$RANLIB
12153 # Extract the first word of "ranlib", so it can be a program name with args.
12154 set dummy ranlib
; ac_word
=$2
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12156 $as_echo_n "checking for $ac_word... " >&6; }
12157 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
12158 $as_echo_n "(cached) " >&6
12160 if test -n "$ac_ct_RANLIB"; then
12161 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12164 for as_dir
in $PATH
12167 test -z "$as_dir" && as_dir
=.
12168 for ac_exec_ext
in '' $ac_executable_extensions; do
12169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12170 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12180 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12181 if test -n "$ac_ct_RANLIB"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
12183 $as_echo "$ac_ct_RANLIB" >&6; }
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12189 if test "x$ac_ct_RANLIB" = x
; then
12192 case $cross_compiling:$ac_tool_warned in
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12196 ac_tool_warned
=yes ;;
12198 RANLIB
=$ac_ct_RANLIB
12201 RANLIB
="$ac_cv_prog_RANLIB"
12204 if test -n "$ac_tool_prefix"; then
12205 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12206 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12208 $as_echo_n "checking for $ac_word... " >&6; }
12209 if ${ac_cv_prog_STRIP+:} false
; then :
12210 $as_echo_n "(cached) " >&6
12212 if test -n "$STRIP"; then
12213 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12216 for as_dir
in $PATH
12219 test -z "$as_dir" && as_dir
=.
12220 for ac_exec_ext
in '' $ac_executable_extensions; do
12221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12222 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
12223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12232 STRIP
=$ac_cv_prog_STRIP
12233 if test -n "$STRIP"; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12235 $as_echo "$STRIP" >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12238 $as_echo "no" >&6; }
12243 if test -z "$ac_cv_prog_STRIP"; then
12245 # Extract the first word of "strip", so it can be a program name with args.
12246 set dummy strip
; ac_word
=$2
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12248 $as_echo_n "checking for $ac_word... " >&6; }
12249 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
12250 $as_echo_n "(cached) " >&6
12252 if test -n "$ac_ct_STRIP"; then
12253 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
12255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12256 for as_dir
in $PATH
12259 test -z "$as_dir" && as_dir
=.
12260 for ac_exec_ext
in '' $ac_executable_extensions; do
12261 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12262 ac_cv_prog_ac_ct_STRIP
="strip"
12263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12272 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
12273 if test -n "$ac_ct_STRIP"; then
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12275 $as_echo "$ac_ct_STRIP" >&6; }
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12281 if test "x$ac_ct_STRIP" = x
; then
12284 case $cross_compiling:$ac_tool_warned in
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12288 ac_tool_warned
=yes ;;
12293 STRIP
="$ac_cv_prog_STRIP"
12296 # Extract the first word of "makeinfo", so it can be a program name with args.
12297 set dummy makeinfo
; ac_word
=$2
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12299 $as_echo_n "checking for $ac_word... " >&6; }
12300 if ${ac_cv_prog_MAKEINFO+:} false
; then :
12301 $as_echo_n "(cached) " >&6
12303 if test -n "$MAKEINFO"; then
12304 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
12306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12307 for as_dir
in $PATH
12310 test -z "$as_dir" && as_dir
=.
12311 for ac_exec_ext
in '' $ac_executable_extensions; do
12312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12313 ac_cv_prog_MAKEINFO
="makeinfo"
12314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12323 MAKEINFO
=$ac_cv_prog_MAKEINFO
12324 if test -n "$MAKEINFO"; then
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
12326 $as_echo "$MAKEINFO" >&6; }
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12329 $as_echo "no" >&6; }
12333 if test "_$MAKEINFO" = "_"; then
12334 MAKEINFO
="@echo Makeinfo is missing. Info documentation will not be built.;true"
12336 case "$MAKEINFO" in
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12339 *** Makeinfo is missing. Info documentation will not be built." >&5
12340 $as_echo "$as_me: WARNING:
12341 *** Makeinfo is missing. Info documentation will not be built." >&2;}
12349 # See if we need a separate native compiler.
12350 if test $cross_compiling = no
; then
12354 for ac_prog
in gcc cc
12356 # Extract the first word of "$ac_prog", so it can be a program name with args.
12357 set dummy
$ac_prog; ac_word
=$2
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12359 $as_echo_n "checking for $ac_word... " >&6; }
12360 if ${ac_cv_prog_BUILD_CC+:} false
; then :
12361 $as_echo_n "(cached) " >&6
12363 if test -n "$BUILD_CC"; then
12364 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
12366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12367 for as_dir
in $PATH
12370 test -z "$as_dir" && as_dir
=.
12371 for ac_exec_ext
in '' $ac_executable_extensions; do
12372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12373 ac_cv_prog_BUILD_CC
="$ac_prog"
12374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12383 BUILD_CC
=$ac_cv_prog_BUILD_CC
12384 if test -n "$BUILD_CC"; then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
12386 $as_echo "$BUILD_CC" >&6; }
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12389 $as_echo "no" >&6; }
12393 test -n "$BUILD_CC" && break
12397 for ac_header
in dirent.h errno.h execinfo.h getopt.h malloc.h mntent.h paths.h semaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime.h attr
/xattr.h linux
/falloc.h linux
/fd.h linux
/major.h linux
/loop.h net
/if_dl.h netinet
/in.h sys
/acl.h sys
/disklabel.h sys
/disk.h sys
/file.h sys
/ioctl.h sys
/key.h sys
/mkdev.h sys
/mman.h sys
/mount.h sys
/prctl.h sys
/resource.h sys
/select.h sys
/socket.h sys
/sockio.h sys
/stat.h sys
/syscall.h sys
/sysctl.h sys
/sysmacros.h sys
/time.h sys
/types.h sys
/un.h sys
/wait.h
12399 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12400 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12401 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12402 cat >>confdefs.h
<<_ACEOF
12403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12410 for ac_header
in net
/if.h
12412 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
12413 #if HAVE_SYS_TYPES_H
12414 #include <sys/types.h>
12416 #if HAVE_SYS_SOCKET
12417 #include <sys/socket.h>
12421 if test "x$ac_cv_header_net_if_h" = xyes
; then :
12422 cat >>confdefs.h
<<_ACEOF
12423 #define HAVE_NET_IF_H 1
12430 for ac_func
in vprintf
12432 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
12433 if test "x$ac_cv_func_vprintf" = xyes
; then :
12434 cat >>confdefs.h
<<_ACEOF
12435 #define HAVE_VPRINTF 1
12438 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
12439 if test "x$ac_cv_func__doprnt" = xyes
; then :
12441 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
12449 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#include <dirent.h>
12451 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
12453 $as_echo "#define HAVE_RECLEN_DIRENT 1" >>confdefs.h
12457 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
12458 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
12460 cat >>confdefs.h
<<_ACEOF
12461 #define HAVE_STRUCT_STAT_ST_ATIM 1
12467 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
12469 if test "x$ac_cv_type_ssize_t" = xyes
; then :
12471 $as_echo "#define HAVE_TYPE_SSIZE_T 1" >>confdefs.h
12475 ac_fn_c_check_decl
"$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include <unistd.h>
12477 if test "x$ac_cv_have_decl_llseek" = xyes
; then :
12479 $as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
12483 ac_fn_c_check_decl
"$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "#define _LARGEFILE_SOURCE
12484 #define _LARGEFILE64_SOURCE
12485 #include <unistd.h>
12487 if test "x$ac_cv_have_decl_lseek64" = xyes
; then :
12489 $as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
12493 # The cast to long int works around a bug in the HP C Compiler
12494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12496 # This bug is HP SR number 8606223364.
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12498 $as_echo_n "checking size of short... " >&6; }
12499 if ${ac_cv_sizeof_short+:} false
; then :
12500 $as_echo_n "(cached) " >&6
12502 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12505 if test "$ac_cv_type_short" = yes; then
12506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12508 as_fn_error
77 "cannot compute sizeof (short)
12509 See \`config.log' for more details" "$LINENO" 5; }
12511 ac_cv_sizeof_short
=0
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12517 $as_echo "$ac_cv_sizeof_short" >&6; }
12521 cat >>confdefs.h
<<_ACEOF
12522 #define SIZEOF_SHORT $ac_cv_sizeof_short
12526 # The cast to long int works around a bug in the HP C Compiler
12527 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12528 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12529 # This bug is HP SR number 8606223364.
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12531 $as_echo_n "checking size of int... " >&6; }
12532 if ${ac_cv_sizeof_int+:} false
; then :
12533 $as_echo_n "(cached) " >&6
12535 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12538 if test "$ac_cv_type_int" = yes; then
12539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12541 as_fn_error
77 "cannot compute sizeof (int)
12542 See \`config.log' for more details" "$LINENO" 5; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12550 $as_echo "$ac_cv_sizeof_int" >&6; }
12554 cat >>confdefs.h
<<_ACEOF
12555 #define SIZEOF_INT $ac_cv_sizeof_int
12559 # The cast to long int works around a bug in the HP C Compiler
12560 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12561 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12562 # This bug is HP SR number 8606223364.
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12564 $as_echo_n "checking size of long... " >&6; }
12565 if ${ac_cv_sizeof_long+:} false
; then :
12566 $as_echo_n "(cached) " >&6
12568 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12571 if test "$ac_cv_type_long" = yes; then
12572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12574 as_fn_error
77 "cannot compute sizeof (long)
12575 See \`config.log' for more details" "$LINENO" 5; }
12577 ac_cv_sizeof_long
=0
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12583 $as_echo "$ac_cv_sizeof_long" >&6; }
12587 cat >>confdefs.h
<<_ACEOF
12588 #define SIZEOF_LONG $ac_cv_sizeof_long
12592 # The cast to long int works around a bug in the HP C Compiler
12593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12595 # This bug is HP SR number 8606223364.
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12597 $as_echo_n "checking size of long long... " >&6; }
12598 if ${ac_cv_sizeof_long_long+:} false
; then :
12599 $as_echo_n "(cached) " >&6
12601 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
12604 if test "$ac_cv_type_long_long" = yes; then
12605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12607 as_fn_error
77 "cannot compute sizeof (long long)
12608 See \`config.log' for more details" "$LINENO" 5; }
12610 ac_cv_sizeof_long_long
=0
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12616 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12620 cat >>confdefs.h
<<_ACEOF
12621 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12625 # The cast to long int works around a bug in the HP C Compiler
12626 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12627 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12628 # This bug is HP SR number 8606223364.
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
12630 $as_echo_n "checking size of off_t... " >&6; }
12631 if ${ac_cv_sizeof_off_t+:} false
; then :
12632 $as_echo_n "(cached) " >&6
12634 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
12637 if test "$ac_cv_type_off_t" = yes; then
12638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12640 as_fn_error
77 "cannot compute sizeof (off_t)
12641 See \`config.log' for more details" "$LINENO" 5; }
12643 ac_cv_sizeof_off_t
=0
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
12649 $as_echo "$ac_cv_sizeof_off_t" >&6; }
12653 cat >>confdefs.h
<<_ACEOF
12654 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
12658 SIZEOF_SHORT
=$ac_cv_sizeof_short
12659 SIZEOF_INT
=$ac_cv_sizeof_int
12660 SIZEOF_LONG
=$ac_cv_sizeof_long
12661 SIZEOF_LONG_LONG
=$ac_cv_sizeof_long_long
12662 SIZEOF_OFF_T
=$ac_cv_sizeof_off_t
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12669 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12670 if ${ac_cv_c_bigendian+:} false
; then :
12671 $as_echo_n "(cached) " >&6
12673 ac_cv_c_bigendian
=unknown
12674 # See if we're dealing with a universal compiler.
12675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12676 /* end confdefs.h. */
12677 #ifndef __APPLE_CC__
12678 not a universal capable compiler
12683 if ac_fn_c_try_compile
"$LINENO"; then :
12685 # Check for potential -arch flags. It is not universal unless
12686 # there are at least two -arch flags with different values.
12689 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12690 if test -n "$ac_prev"; then
12692 i?
86 | x86_64 | ppc | ppc64
)
12693 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
12696 ac_cv_c_bigendian
=universal
12702 elif test "x$ac_word" = "x-arch"; then
12707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12708 if test $ac_cv_c_bigendian = unknown
; then
12709 # See if sys/param.h defines the BYTE_ORDER macro.
12710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12712 #include <sys/types.h>
12713 #include <sys/param.h>
12718 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12719 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12721 bogus endian macros
12728 if ac_fn_c_try_compile
"$LINENO"; then :
12729 # It does; now see whether it defined to BIG_ENDIAN or not.
12730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12732 #include <sys/types.h>
12733 #include <sys/param.h>
12738 #if BYTE_ORDER != BIG_ENDIAN
12746 if ac_fn_c_try_compile
"$LINENO"; then :
12747 ac_cv_c_bigendian
=yes
12749 ac_cv_c_bigendian
=no
12751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12755 if test $ac_cv_c_bigendian = unknown
; then
12756 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12759 #include <limits.h>
12764 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12765 bogus endian macros
12772 if ac_fn_c_try_compile
"$LINENO"; then :
12773 # It does; now see whether it defined to _BIG_ENDIAN or not.
12774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12776 #include <limits.h>
12781 #ifndef _BIG_ENDIAN
12789 if ac_fn_c_try_compile
"$LINENO"; then :
12790 ac_cv_c_bigendian
=yes
12792 ac_cv_c_bigendian
=no
12794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12798 if test $ac_cv_c_bigendian = unknown
; then
12799 # Compile a test program.
12800 if test "$cross_compiling" = yes; then :
12801 # Try to guess by grepping values from an object file.
12802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12804 short int ascii_mm[] =
12805 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12806 short int ascii_ii[] =
12807 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12808 int use_ascii (int i) {
12809 return ascii_mm[i] + ascii_ii[i];
12811 short int ebcdic_ii[] =
12812 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12813 short int ebcdic_mm[] =
12814 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12815 int use_ebcdic (int i) {
12816 return ebcdic_mm[i] + ebcdic_ii[i];
12823 return use_ascii (foo) == use_ebcdic (foo);
12828 if ac_fn_c_try_compile
"$LINENO"; then :
12829 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
12830 ac_cv_c_bigendian
=yes
12832 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
12833 if test "$ac_cv_c_bigendian" = unknown
; then
12834 ac_cv_c_bigendian
=no
12836 # finding both strings is unlikely to happen, but who knows?
12837 ac_cv_c_bigendian
=unknown
12841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12844 /* end confdefs.h. */
12845 $ac_includes_default
12850 /* Are we little or big endian? From Harbison&Steele. */
12854 char c[sizeof (long int)];
12857 return u.c[sizeof (long int) - 1] == 1;
12863 if ac_fn_c_try_run
"$LINENO"; then :
12864 ac_cv_c_bigendian
=no
12866 ac_cv_c_bigendian
=yes
12868 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12869 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12875 $as_echo "$ac_cv_c_bigendian" >&6; }
12876 case $ac_cv_c_bigendian in #(
12878 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12884 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12888 as_fn_error $?
"unknown endianness
12889 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12892 if test $cross_compiling = no
; then
12893 BUILD_CC
="$BUILD_CC" CPP
="$CPP" /bin
/sh
$ac_aux_dir/parse-types.sh
12895 CROSS_COMPILE
="1" BUILD_CC
="$BUILD_CC" CPP
="$CPP" /bin
/sh
$ac_aux_dir/parse-types.sh
12897 ASM_TYPES_HEADER
=.
/asm_types.h
12899 echo "/* These defines are needed for the public ext2fs.h header file */" \
12901 if grep HAVE_SYS_TYPES_H confdefs.h
> tmp_config.$$
; then
12902 uniq tmp_config.$$
>> public_config.h
12904 echo "#undef HAVE_SYS_TYPES_H" >> public_config.h
12906 if grep WORDS_BIGENDIAN confdefs.h
> tmp_config.$$
; then
12907 uniq tmp_config.$$
>> public_config.h
12909 echo "#undef WORDS_BIGENDIAN" >> public_config.h
12911 rm -f tmp_config.$$
12912 PUBLIC_CONFIG_HEADER
=.
/public_config.h
12914 for ac_header
in inttypes.h
12916 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
12917 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
12918 cat >>confdefs.h
<<_ACEOF
12919 #define HAVE_INTTYPES_H 1
12926 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
12927 if test "x$ac_cv_type_intptr_t" = xyes
; then :
12929 cat >>confdefs.h
<<_ACEOF
12930 #define HAVE_INTPTR_T 1
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct stat has a st_flags field" >&5
12937 $as_echo_n "checking whether struct stat has a st_flags field... " >&6; }
12938 if ${e2fsprogs_cv_struct_st_flags+:} false
; then :
12939 $as_echo_n "(cached) " >&6
12941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12943 #include <sys/stat.h>
12947 struct stat stat; stat.st_flags = 0;
12952 if ac_fn_c_try_compile
"$LINENO"; then :
12953 e2fsprogs_cv_struct_st_flags
=yes
12955 e2fsprogs_cv_struct_st_flags
=no
12957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags" >&5
12961 $as_echo "$e2fsprogs_cv_struct_st_flags" >&6; }
12962 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether st_flags field is useful" >&5
12964 $as_echo_n "checking whether st_flags field is useful... " >&6; }
12965 if ${e2fsprogs_cv_struct_st_flags_immut+:} false
; then :
12966 $as_echo_n "(cached) " >&6
12968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12970 #include <sys/stat.h>
12974 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
12979 if ac_fn_c_try_compile
"$LINENO"; then :
12980 e2fsprogs_cv_struct_st_flags_immut
=yes
12982 e2fsprogs_cv_struct_st_flags_immut
=no
12984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
12988 $as_echo "$e2fsprogs_cv_struct_st_flags_immut" >&6; }
12989 if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
12991 $as_echo "#define HAVE_STAT_FLAGS 1" >>confdefs.h
12995 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
12996 #include <sys/socket.h>
12998 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13000 cat >>confdefs.h
<<_ACEOF
13001 #define HAVE_SA_LEN 1
13006 if test -n "$BLKID_CMT"; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing blkid_probe_all" >&5
13008 $as_echo_n "checking for library containing blkid_probe_all... " >&6; }
13009 if ${ac_cv_search_blkid_probe_all+:} false
; then :
13010 $as_echo_n "(cached) " >&6
13012 ac_func_search_save_LIBS
=$LIBS
13013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13016 /* Override any GCC internal prototype to avoid an error.
13017 Use char because int might match the return type of a GCC
13018 builtin and then its argument prototype would still apply. */
13022 char blkid_probe_all ();
13026 return blkid_probe_all ();
13031 for ac_lib
in '' blkid
; do
13032 if test -z "$ac_lib"; then
13033 ac_res
="none required"
13036 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13038 if ac_fn_c_try_link
"$LINENO"; then :
13039 ac_cv_search_blkid_probe_all
=$ac_res
13041 rm -f core conftest.err conftest.
$ac_objext \
13043 if ${ac_cv_search_blkid_probe_all+:} false
; then :
13047 if ${ac_cv_search_blkid_probe_all+:} false
; then :
13050 ac_cv_search_blkid_probe_all
=no
13052 rm conftest.
$ac_ext
13053 LIBS
=$ac_func_search_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_blkid_probe_all" >&5
13056 $as_echo "$ac_cv_search_blkid_probe_all" >&6; }
13057 ac_res
=$ac_cv_search_blkid_probe_all
13058 if test "$ac_res" != no
; then :
13059 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13064 for ac_func
in __secure_getenv add_key backtrace blkid_probe_get_topology blkid_probe_enable_partitions chflags fadvise64 fallocate fallocate64 fchown fdatasync fstat64 ftruncate64 futimes getcwd getdtablesize getmntinfo getpwuid_r getrlimit getrusage jrand48 keyctl llistxattr llseek lseek64 mallinfo mbstowcs memalign mempcpy mmap msync nanosleep open64 pathconf posix_fadvise posix_fadvise64 posix_memalign prctl pread pwrite pread64 pwrite64 secure_getenv setmntent setresgid setresuid snprintf srandom stpcpy strcasecmp strdup strnlen strptime strtoull sync_file_range sysconf
usleep utime utimes valloc
13066 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13067 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13068 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13069 cat >>confdefs.h
<<_ACEOF
13070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
13078 $as_echo_n "checking for socket in -lsocket... " >&6; }
13079 if ${ac_cv_lib_socket_socket+:} false
; then :
13080 $as_echo_n "(cached) " >&6
13082 ac_check_lib_save_LIBS
=$LIBS
13083 LIBS
="-lsocket $LIBS"
13084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13102 if ac_fn_c_try_link
"$LINENO"; then :
13103 ac_cv_lib_socket_socket
=yes
13105 ac_cv_lib_socket_socket
=no
13107 rm -f core conftest.err conftest.
$ac_objext \
13108 conftest
$ac_exeext conftest.
$ac_ext
13109 LIBS
=$ac_check_lib_save_LIBS
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
13112 $as_echo "$ac_cv_lib_socket_socket" >&6; }
13113 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
13114 SOCKET_LIB
=-lsocket
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5
13119 $as_echo_n "checking for magic_file in -lmagic... " >&6; }
13120 if ${ac_cv_lib_magic_magic_file+:} false
; then :
13121 $as_echo_n "(cached) " >&6
13123 ac_check_lib_save_LIBS
=$LIBS
13124 LIBS
="-lmagic $LIBS"
13125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13134 char magic_file ();
13138 return magic_file ();
13143 if ac_fn_c_try_link
"$LINENO"; then :
13144 ac_cv_lib_magic_magic_file
=yes
13146 ac_cv_lib_magic_magic_file
=no
13148 rm -f core conftest.err conftest.
$ac_objext \
13149 conftest
$ac_exeext conftest.
$ac_ext
13150 LIBS
=$ac_check_lib_save_LIBS
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5
13153 $as_echo "$ac_cv_lib_magic_magic_file" >&6; }
13154 if test "x$ac_cv_lib_magic_magic_file" = xyes
; then :
13156 for ac_header
in magic.h
13158 ac_fn_c_check_header_mongrel
"$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
13159 if test "x$ac_cv_header_magic_h" = xyes
; then :
13160 cat >>confdefs.h
<<_ACEOF
13161 #define HAVE_MAGIC_H 1
13170 if test "$ac_cv_lib_dl_dlopen" = yes ; then
13171 MAGIC_LIB
=$DLOPEN_LIB
13176 # Check whether --enable-fuse2fs was given.
13177 if test "${enable_fuse2fs+set}" = set; then :
13178 enableval
=$enable_fuse2fs; if test "$enableval" = "no"
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling fuse2fs" >&5
13182 $as_echo "Disabling fuse2fs" >&6; }
13184 for ac_header
in pthread.h fuse.h
13186 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13187 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
13188 #define FUSE_USE_VERSION 29
13190 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13191 cat >>confdefs.h
<<_ACEOF
13192 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13198 as_fn_error $?
"Cannot find fuse2fs headers.
13199 See \`config.log' for more details" "$LINENO" 5; }
13205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13206 /* end confdefs.h. */
13207 #define FUSE_USE_VERSION 29
13209 #include <linux/fs.h>
13210 #include <linux/falloc.h>
13211 #include <linux/xattr.h>
13222 if ac_fn_c_try_cpp
"$LINENO"; then :
13225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13227 as_fn_error $?
"Cannot find fuse2fs Linux headers.
13228 See \`config.log' for more details" "$LINENO" 5; }
13230 rm -f conftest.err conftest.i conftest.
$ac_ext
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
13233 $as_echo_n "checking for fuse_main in -losxfuse... " >&6; }
13234 if ${ac_cv_lib_osxfuse_fuse_main+:} false
; then :
13235 $as_echo_n "(cached) " >&6
13237 ac_check_lib_save_LIBS
=$LIBS
13238 LIBS
="-losxfuse $LIBS"
13239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13240 /* end confdefs.h. */
13242 /* Override any GCC internal prototype to avoid an error.
13243 Use char because int might match the return type of a GCC
13244 builtin and then its argument prototype would still apply. */
13252 return fuse_main ();
13257 if ac_fn_c_try_link
"$LINENO"; then :
13258 ac_cv_lib_osxfuse_fuse_main
=yes
13260 ac_cv_lib_osxfuse_fuse_main
=no
13262 rm -f core conftest.err conftest.
$ac_objext \
13263 conftest
$ac_exeext conftest.
$ac_ext
13264 LIBS
=$ac_check_lib_save_LIBS
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
13267 $as_echo "$ac_cv_lib_osxfuse_fuse_main" >&6; }
13268 if test "x$ac_cv_lib_osxfuse_fuse_main" = xyes
; then :
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
13272 $as_echo_n "checking for fuse_main in -lfuse... " >&6; }
13273 if ${ac_cv_lib_fuse_fuse_main+:} false
; then :
13274 $as_echo_n "(cached) " >&6
13276 ac_check_lib_save_LIBS
=$LIBS
13277 LIBS
="-lfuse $LIBS"
13278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13281 /* Override any GCC internal prototype to avoid an error.
13282 Use char because int might match the return type of a GCC
13283 builtin and then its argument prototype would still apply. */
13291 return fuse_main ();
13296 if ac_fn_c_try_link
"$LINENO"; then :
13297 ac_cv_lib_fuse_fuse_main
=yes
13299 ac_cv_lib_fuse_fuse_main
=no
13301 rm -f core conftest.err conftest.
$ac_objext \
13302 conftest
$ac_exeext conftest.
$ac_ext
13303 LIBS
=$ac_check_lib_save_LIBS
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
13306 $as_echo "$ac_cv_lib_fuse_fuse_main" >&6; }
13307 if test "x$ac_cv_lib_fuse_fuse_main" = xyes
; then :
13310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13312 as_fn_error $?
"Cannot find fuse library.
13313 See \`config.log' for more details" "$LINENO" 5; }
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs" >&5
13319 $as_echo "Enabling fuse2fs" >&6; }
13323 for ac_header
in pthread.h fuse.h
13325 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13326 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
13327 #define FUSE_USE_VERSION 29
13329 # include <linux/fs.h>
13330 # include <linux/falloc.h>
13331 # include <linux/xattr.h>
13334 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13335 cat >>confdefs.h
<<_ACEOF
13336 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13345 if test -z "$FUSE_CMT"
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
13348 $as_echo_n "checking for fuse_main in -losxfuse... " >&6; }
13349 if ${ac_cv_lib_osxfuse_fuse_main+:} false
; then :
13350 $as_echo_n "(cached) " >&6
13352 ac_check_lib_save_LIBS
=$LIBS
13353 LIBS
="-losxfuse $LIBS"
13354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13357 /* Override any GCC internal prototype to avoid an error.
13358 Use char because int might match the return type of a GCC
13359 builtin and then its argument prototype would still apply. */
13367 return fuse_main ();
13372 if ac_fn_c_try_link
"$LINENO"; then :
13373 ac_cv_lib_osxfuse_fuse_main
=yes
13375 ac_cv_lib_osxfuse_fuse_main
=no
13377 rm -f core conftest.err conftest.
$ac_objext \
13378 conftest
$ac_exeext conftest.
$ac_ext
13379 LIBS
=$ac_check_lib_save_LIBS
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
13382 $as_echo "$ac_cv_lib_osxfuse_fuse_main" >&6; }
13383 if test "x$ac_cv_lib_osxfuse_fuse_main" = xyes
; then :
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
13387 $as_echo_n "checking for fuse_main in -lfuse... " >&6; }
13388 if ${ac_cv_lib_fuse_fuse_main+:} false
; then :
13389 $as_echo_n "(cached) " >&6
13391 ac_check_lib_save_LIBS
=$LIBS
13392 LIBS
="-lfuse $LIBS"
13393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13396 /* Override any GCC internal prototype to avoid an error.
13397 Use char because int might match the return type of a GCC
13398 builtin and then its argument prototype would still apply. */
13406 return fuse_main ();
13411 if ac_fn_c_try_link
"$LINENO"; then :
13412 ac_cv_lib_fuse_fuse_main
=yes
13414 ac_cv_lib_fuse_fuse_main
=no
13416 rm -f core conftest.err conftest.
$ac_objext \
13417 conftest
$ac_exeext conftest.
$ac_ext
13418 LIBS
=$ac_check_lib_save_LIBS
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
13421 $as_echo "$ac_cv_lib_fuse_fuse_main" >&6; }
13422 if test "x$ac_cv_lib_fuse_fuse_main" = xyes
; then :
13431 if test -z "$FUSE_CMT"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs by default." >&5
13434 $as_echo "Enabling fuse2fs by default." >&6; }
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optreset" >&5
13442 $as_echo_n "checking for optreset... " >&6; }
13443 if ${ac_cv_have_optreset+:} false
; then :
13444 $as_echo_n "(cached) " >&6
13446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13448 #include <unistd.h>
13451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13452 $EGREP "optreset" >/dev
/null
2>&1; then :
13453 ac_cv_have_optreset
=yes
13455 ac_cv_have_optreset
=no
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_optreset" >&5
13461 $as_echo "$ac_cv_have_optreset" >&6; }
13462 if test $ac_cv_have_optreset = yes; then
13464 $as_echo "#define HAVE_OPTRESET 1" >>confdefs.h
13469 ac_fn_c_check_func
"$LINENO" "sem_init" "ac_cv_func_sem_init"
13470 if test "x$ac_cv_func_sem_init" = xyes
; then :
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lpthread" >&5
13474 $as_echo_n "checking for sem_init in -lpthread... " >&6; }
13475 if ${ac_cv_lib_pthread_sem_init+:} false
; then :
13476 $as_echo_n "(cached) " >&6
13478 ac_check_lib_save_LIBS
=$LIBS
13479 LIBS
="-lpthread $LIBS"
13480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13493 return sem_init ();
13498 if ac_fn_c_try_link
"$LINENO"; then :
13499 ac_cv_lib_pthread_sem_init
=yes
13501 ac_cv_lib_pthread_sem_init
=no
13503 rm -f core conftest.err conftest.
$ac_objext \
13504 conftest
$ac_exeext conftest.
$ac_ext
13505 LIBS
=$ac_check_lib_save_LIBS
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sem_init" >&5
13508 $as_echo "$ac_cv_lib_pthread_sem_init" >&6; }
13509 if test "x$ac_cv_lib_pthread_sem_init" = xyes
; then :
13510 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
13512 SEM_INIT_LIB
=-lpthread
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
13515 $as_echo_n "checking for sem_init in -lrt... " >&6; }
13516 if ${ac_cv_lib_rt_sem_init+:} false
; then :
13517 $as_echo_n "(cached) " >&6
13519 ac_check_lib_save_LIBS
=$LIBS
13521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13524 /* Override any GCC internal prototype to avoid an error.
13525 Use char because int might match the return type of a GCC
13526 builtin and then its argument prototype would still apply. */
13534 return sem_init ();
13539 if ac_fn_c_try_link
"$LINENO"; then :
13540 ac_cv_lib_rt_sem_init
=yes
13542 ac_cv_lib_rt_sem_init
=no
13544 rm -f core conftest.err conftest.
$ac_objext \
13545 conftest
$ac_exeext conftest.
$ac_ext
13546 LIBS
=$ac_check_lib_save_LIBS
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
13549 $as_echo "$ac_cv_lib_rt_sem_init" >&6; }
13550 if test "x$ac_cv_lib_rt_sem_init" = xyes
; then :
13551 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lposix4" >&5
13556 $as_echo_n "checking for sem_init in -lposix4... " >&6; }
13557 if ${ac_cv_lib_posix4_sem_init+:} false
; then :
13558 $as_echo_n "(cached) " >&6
13560 ac_check_lib_save_LIBS
=$LIBS
13561 LIBS
="-lposix4 $LIBS"
13562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13565 /* Override any GCC internal prototype to avoid an error.
13566 Use char because int might match the return type of a GCC
13567 builtin and then its argument prototype would still apply. */
13575 return sem_init ();
13580 if ac_fn_c_try_link
"$LINENO"; then :
13581 ac_cv_lib_posix4_sem_init
=yes
13583 ac_cv_lib_posix4_sem_init
=no
13585 rm -f core conftest.err conftest.
$ac_objext \
13586 conftest
$ac_exeext conftest.
$ac_ext
13587 LIBS
=$ac_check_lib_save_LIBS
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sem_init" >&5
13590 $as_echo "$ac_cv_lib_posix4_sem_init" >&6; }
13591 if test "x$ac_cv_lib_posix4_sem_init" = xyes
; then :
13592 $as_echo "#define HAVE_SEM_INIT 1" >>confdefs.h
13594 SEM_INIT_LIB
=-lposix4
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unified diff option" >&5
13604 $as_echo_n "checking for unified diff option... " >&6; }
13605 if diff -u $0 $0 > /dev
/null
2>&1 ; then
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNI_DIFF_OPTS" >&5
13611 $as_echo "$UNI_DIFF_OPTS" >&6; }
13616 $as_echo "#define HAVE_EXT2_IOCTLS 1" >>confdefs.h
13636 linux
* | gnu
* | k
*bsd
*-gnu)
13637 if test "$prefix" = NONE
-a "$root_prefix" = NONE
; then
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, root_prefix defaults to ''" >&5
13640 $as_echo "On $host_os systems, root_prefix defaults to ''" >&6; }
13645 linux
* | gnu
* | k
*bsd
*-gnu)
13646 if test "$prefix" = NONE
; then
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, prefix defaults to /usr" >&5
13649 $as_echo "On $host_os systems, prefix defaults to /usr" >&6; }
13650 if test "$mandir" = '${prefix}/man' ; then
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...and mandir defaults to /usr/share/man" >&5
13652 $as_echo "...and mandir defaults to /usr/share/man" >&6; }
13653 mandir
=/usr
/share
/man
13658 if test "$root_prefix" = NONE
; then
13659 if test "$prefix" = NONE
; then
13660 root_prefix
="$ac_default_prefix"
13662 root_prefix
="$prefix"
13664 root_bindir
=$bindir
13665 root_sbindir
=$sbindir
13666 root_libdir
=$libdir
13667 root_sysconfdir
=$sysconfdir
13669 root_bindir
='${root_prefix}/bin'
13670 root_sbindir
='${root_prefix}/sbin'
13671 root_libdir
='${root_prefix}/lib'
13672 root_sysconfdir
='${root_prefix}/etc'
13674 if test "$bindir" != '${exec_prefix}/bin'; then
13675 root_bindir
=$bindir
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_bindir to $root_bindir" >&5
13677 $as_echo "Setting root_bindir to $root_bindir" >&6; }
13679 if test "$sbindir" != '${exec_prefix}/sbin'; then
13680 root_sbindir
=$sbindir
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sbindir to $root_sbindir" >&5
13682 $as_echo "Setting root_sbindir to $root_sbindir" >&6; }
13684 if test "$libdir" != '${exec_prefix}/lib'; then
13685 root_libdir
=$libdir
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_libdir to $root_libdir" >&5
13687 $as_echo "Setting root_libdir to $root_libdir" >&6; }
13689 if test "$sysconfdir" != '${prefix}/etc'; then
13690 root_sysconfdir
=$sysconfdir
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting root_sysconfdir to $root_sysconfdir" >&5
13692 $as_echo "Setting root_sysconfdir to $root_sysconfdir" >&6; }
13700 # Check whether --with-multiarch was given.
13701 if test "${with_multiarch+set}" = set; then :
13702 withval
=$with_multiarch; if test "$withval" = "lib64"; then
13706 libdir
=$libdir/$withval
13707 root_libdir
=$root_libdir/$withval
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link with -static" >&5
13712 $as_echo_n "checking whether we can link with -static... " >&6; }
13713 if ${ac_cv_e2fsprogs_use_static+:} false
; then :
13714 $as_echo_n "(cached) " >&6
13716 SAVE_LDFLAGS
=$LDFLAGS; LDFLAGS
="$LDFLAGS -static"
13717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13728 if ac_fn_c_try_link
"$LINENO"; then :
13729 ac_cv_e2fsprogs_use_static
=yes
13731 ac_cv_e2fsprogs_use_static
=no
13733 rm -f core conftest.err conftest.
$ac_objext \
13734 conftest
$ac_exeext conftest.
$ac_ext
13735 LDFLAGS
=$SAVE_LDFLAGS
13740 ac_cv_e2fsprogs_use_static
=no
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_e2fsprogs_use_static" >&5
13744 $as_echo "$ac_cv_e2fsprogs_use_static" >&6; }
13746 if test $ac_cv_e2fsprogs_use_static = yes; then
13747 LDFLAG_STATIC
=-static
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Apple Darwin / GNU libintl workaround" >&5
13753 $as_echo "Using Apple Darwin / GNU libintl workaround" >&6; }
13755 $as_echo "#define _INTL_REDIRECT_MACROS 1" >>confdefs.h
13759 SS_DIR
=`cd ${srcdir}/lib/ss; pwd`
13760 ET_DIR
=`cd ${srcdir}/lib/et; pwd`
13763 if test "$cross_compiling" = yes ; then
13766 DO_TEST_SUITE
=check
13769 INCLUDES
='-I. -I$(top_builddir)/lib -I$(top_srcdir)/lib'
13770 if test -n "$CPPFLAGS" ; then
13771 INCLUDES
="$INCLUDES $CPPFLAGS"
13773 if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
13774 INCLUDES
=$INCLUDES' -I$(top_builddir)/intl -I$(top_srcdir)/intl'
13776 if test -n "$WITH_DIET_LIBC" ; then
13777 INCLUDES
="$INCLUDES -D_REENTRANT"
13782 if test -n "$ac_aux_dir"; then
13783 case "$ac_aux_dir" in
13784 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
13785 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
13788 if test -z "$MKINSTALLDIRS"; then
13789 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
13793 if test $cross_compiling = no
; then
13794 BUILD_CFLAGS
="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
13795 BUILD_LDFLAGS
="$LDFLAGS"
13799 test -d lib || mkdir lib
13800 test -d include || mkdir include
13801 test -d include
/linux || mkdir include
/linux
13802 test -d include
/asm || mkdir include
/asm
13803 for i
in MCONFIG Makefile e2fsprogs.spec \
13804 util
/Makefile util
/subst.conf util
/gen-tarball util
/install-symlink \
13805 lib
/et
/Makefile lib
/ss
/Makefile lib
/e2p
/Makefile \
13806 lib
/ext2fs
/Makefile lib
/ext2fs
/ext2_types.h \
13807 lib
/uuid
/Makefile lib
/uuid
/uuid_types.h \
13808 lib
/blkid
/Makefile lib
/blkid
/blkid_types.h lib
/quota
/Makefile \
13809 lib
/ss
/ss.pc lib
/uuid
/uuid.pc lib
/et
/com_err.pc \
13810 lib
/e2p
/e2p.pc lib
/blkid
/blkid.pc lib
/ext2fs
/ext2fs.pc \
13811 misc
/Makefile ext2ed
/Makefile e2fsck
/Makefile \
13812 debugfs
/Makefile
tests
/Makefile
tests
/progs
/Makefile \
13813 resize
/Makefile
doc
/Makefile intl
/Makefile \
13814 intl
/libgnuintl.h po
/Makefile.
in ; do
13815 if test -d `dirname ${srcdir}/$i` ; then
13816 outlist
="$outlist $i"
13819 ac_config_files
="$ac_config_files $outlist"
13821 cat >confcache
<<\_ACEOF
13822 # This file is a shell script that caches the results of configure
13823 # tests run on this system so they can be shared between configure
13824 # scripts and configure runs, see configure's option --config-cache.
13825 # It is not useful on other systems. If it contains results you don't
13826 # want to keep, you may remove or edit it.
13828 # config.status only pays attention to the cache file if you give it
13829 # the --recheck option to rerun configure.
13831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13833 # following values.
13837 # The following way of writing the cache mishandles newlines in values,
13838 # but we know of no workaround that is simple, portable, and efficient.
13839 # So, we kill variables containing newlines.
13840 # Ultrix sh set writes to stderr and can't be redirected directly,
13841 # and sets the high bit in the cache file unless we assign to the vars.
13843 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13844 eval ac_val
=\$
$ac_var
13848 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13849 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13852 _ | IFS | as_nl
) ;; #(
13853 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13854 *) { eval $ac_var=; unset $ac_var;} ;;
13860 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13861 *${as_nl}ac_space
=\
*)
13862 # `set' does not quote correctly, so add quotes: double-quote
13863 # substitution turns \\\\ into \\, and sed turns \\ into \.
13866 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13869 # `set' quotes correctly as required by POSIX, so do not add quotes.
13870 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13879 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13881 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13883 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13884 if test -w "$cache_file"; then
13885 if test "x$cache_file" != "x/dev/null"; then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13887 $as_echo "$as_me: updating cache $cache_file" >&6;}
13888 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13889 cat confcache
>"$cache_file"
13891 case $cache_file in #(
13893 mv -f confcache
"$cache_file"$$
&&
13894 mv -f "$cache_file"$$
"$cache_file" ;; #(
13896 mv -f confcache
"$cache_file" ;;
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13902 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13907 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13908 # Let make expand exec_prefix.
13909 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13911 DEFS
=-DHAVE_CONFIG_H
13916 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13917 # 1. Remove the extension, and $U if already installed.
13918 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13919 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13920 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13921 # will be set to the directory where LIBOBJS objects are built.
13922 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13923 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13925 LIBOBJS
=$ac_libobjs
13927 LTLIBOBJS
=$ac_ltlibobjs
13932 : "${CONFIG_STATUS=./config.status}"
13934 ac_clean_files_save
=$ac_clean_files
13935 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13937 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13939 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13941 # Generated by $as_me.
13942 # Run this file to recreate the current configuration.
13943 # Compiler output produced by configure, useful for debugging
13944 # configure, is in config.log if it exists.
13947 ac_cs_recheck=false
13950 SHELL=\${CONFIG_SHELL-$SHELL}
13953 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13954 ## -------------------- ##
13955 ## M4sh Initialization. ##
13956 ## -------------------- ##
13958 # Be more Bourne compatible
13959 DUALCASE
=1; export DUALCASE
# for MKS sh
13960 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13963 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13964 # is contrary to our usage. Disable this feature.
13965 alias -g '${1+"$@"}'='"$@"'
13966 setopt NO_GLOB_SUBST
13968 case `(set -o) 2>/dev/null` in #(
13980 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13981 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13982 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13983 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13984 # Prefer a ksh shell builtin over an external printf program on Solaris,
13985 # but without wasting forks for bash or zsh.
13986 if test -z "$BASH_VERSION$ZSH_VERSION" \
13987 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13988 as_echo='print
-r --'
13989 as_echo_n='print
-rn --'
13990 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13991 as_echo='printf %s
\n'
13992 as_echo_n='printf %s
'
13994 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13995 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13996 as_echo_n='/usr
/ucb
/echo -n'
13998 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13999 as_echo_n_body='eval
14003 expr "X$arg" : "X\\(.*\\)$as_nl";
14004 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14006 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14008 export as_echo_n_body
14009 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14011 export as_echo_body
14012 as_echo='sh
-c $as_echo_body as_echo
'
14015 # The user is always right.
14016 if test "${PATH_SEPARATOR+set}" != set; then
14018 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14019 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14026 # We need space, tab and new line, in precisely that order. Quoting is
14027 # there to prevent editors from complaining about space-tab.
14028 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14029 # splitting by setting IFS to empty value.)
14032 # Find who we are. Look in the path if we contain no directory separator.
14035 *[\\/]* ) as_myself=$0 ;;
14036 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14037 for as_dir in $PATH
14040 test -z "$as_dir" && as_dir=.
14041 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14047 # We did not find ourselves, most probably we were run as `sh COMMAND'
14048 # in which case we are not to be found in the path.
14049 if test "x$as_myself" = x
; then
14052 if test ! -f "$as_myself"; then
14053 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14057 # Unset variables that we do not need and which cause bugs (e.g. in
14058 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14059 # suppresses any "Segmentation fault" message there. '((' could
14060 # trigger a bug in pdksh 5.2.14.
14061 for as_var
in BASH_ENV ENV MAIL MAILPATH
14062 do eval test x\
${$as_var+set} = xset \
14063 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14076 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14079 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14080 # ----------------------------------------
14081 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14082 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14083 # script with STATUS, using 1 if that was 0.
14086 as_status
=$1; test $as_status -eq 0 && as_status
=1
14088 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14089 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14091 $as_echo "$as_me: error: $2" >&2
14092 as_fn_exit
$as_status
14096 # as_fn_set_status STATUS
14097 # -----------------------
14098 # Set $? to STATUS, without forking.
14099 as_fn_set_status
()
14102 } # as_fn_set_status
14104 # as_fn_exit STATUS
14105 # -----------------
14106 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14110 as_fn_set_status
$1
14116 # Portably unset VAR.
14119 { eval $1=; unset $1;}
14121 as_unset
=as_fn_unset
14122 # as_fn_append VAR VALUE
14123 # ----------------------
14124 # Append the text in VALUE to the end of the definition contained in VAR. Take
14125 # advantage of any shell optimizations that allow amortized linear growth over
14126 # repeated appends, instead of the typical quadratic growth present in naive
14128 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14129 eval 'as_fn_append ()
14140 # as_fn_arith ARG...
14141 # ------------------
14142 # Perform arithmetic evaluation on the ARGs, and store the result in the
14143 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14144 # must be portable across $(()) and expr.
14145 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14146 eval 'as_fn_arith ()
14153 as_val
=`expr "$@" || test $? -eq 1`
14158 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14159 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14165 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14166 as_basename
=basename
14171 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14177 as_me
=`$as_basename -- "$0" ||
14178 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14179 X"$0" : 'X\(//\)$' \| \
14180 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14182 sed '/^.*\/\([^/][^/]*\)\/*$/{
14196 # Avoid depending upon Character Ranges.
14197 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14198 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14199 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14200 as_cr_digits
='0123456789'
14201 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14203 ECHO_C
= ECHO_N
= ECHO_T
=
14204 case `echo -n x` in #(((((
14206 case `echo 'xy\c'` in
14207 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14209 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14216 rm -f conf$$ conf$$.exe conf$$.
file
14217 if test -d conf$$.dir
; then
14218 rm -f conf$$.dir
/conf$$.
file
14221 mkdir conf$$.dir
2>/dev
/null
14223 if (echo >conf$$.
file) 2>/dev
/null
; then
14224 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14226 # ... but there are two gotchas:
14227 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14228 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14229 # In both cases, we have to default to `cp -pR'.
14230 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14232 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14240 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14241 rmdir conf$$.dir
2>/dev
/null
14246 # Create "$as_dir" as a directory, including parents if necessary.
14251 -*) as_dir
=.
/$as_dir;;
14253 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14257 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14258 *) as_qdir
=$as_dir;;
14260 as_dirs
="'$as_qdir' $as_dirs"
14261 as_dir
=`$as_dirname -- "$as_dir" ||
14262 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14263 X"$as_dir" : 'X\(//\)[^/]' \| \
14264 X"$as_dir" : 'X\(//\)$' \| \
14265 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14266 $as_echo X"$as_dir" |
14267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14271 /^X\(\/\/\)[^/].*/{
14284 test -d "$as_dir" && break
14286 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14287 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14291 if mkdir
-p .
2>/dev
/null
; then
14292 as_mkdir_p
='mkdir -p "$as_dir"'
14294 test -d .
/-p && rmdir .
/-p
14299 # as_fn_executable_p FILE
14300 # -----------------------
14301 # Test if FILE is an executable regular file.
14302 as_fn_executable_p
()
14304 test -f "$1" && test -x "$1"
14305 } # as_fn_executable_p
14306 as_test_x
='test -x'
14307 as_executable_p
=as_fn_executable_p
14309 # Sed expression to map a string onto a valid CPP name.
14310 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14312 # Sed expression to map a string onto a valid variable name.
14313 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14317 ## ----------------------------------- ##
14318 ## Main body of $CONFIG_STATUS script. ##
14319 ## ----------------------------------- ##
14321 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14324 # Save the log message, to keep $0 and so on meaningful, and to
14325 # report actual input values of CONFIG_FILES etc. instead of their
14326 # values after options handling.
14328 This file was extended by $as_me, which was
14329 generated by GNU Autoconf 2.69. Invocation command line was
14331 CONFIG_FILES = $CONFIG_FILES
14332 CONFIG_HEADERS = $CONFIG_HEADERS
14333 CONFIG_LINKS = $CONFIG_LINKS
14334 CONFIG_COMMANDS = $CONFIG_COMMANDS
14337 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14342 case $ac_config_files in *"
14343 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14346 case $ac_config_headers in *"
14347 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14352 # Files that config.status was made for.
14353 config_files="$ac_config_files"
14354 config_headers="$ac_config_headers"
14355 config_commands="$ac_config_commands"
14359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14361 \`$as_me' instantiates files and other configuration actions
14362 from templates according to the current configuration. Unless the files
14363 and actions are specified as TAGs, all are instantiated by default.
14365 Usage: $0 [OPTION]... [TAG]...
14367 -h, --help print this help, then exit
14368 -V, --version print version number and configuration settings, then exit
14369 --config print configuration, then exit
14370 -q, --quiet, --silent
14371 do not print progress messages
14372 -d, --debug don't remove temporary files
14373 --recheck update $as_me by reconfiguring in the same conditions
14374 --file=FILE[:TEMPLATE]
14375 instantiate the configuration file FILE
14376 --header=FILE[:TEMPLATE]
14377 instantiate the configuration header FILE
14379 Configuration files:
14382 Configuration headers:
14385 Configuration commands:
14388 Report bugs to the package provider."
14391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14392 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14395 configured by $0, generated by GNU Autoconf 2.69,
14396 with options \\"\$ac_cs_config\\"
14398 Copyright (C) 2012 Free Software Foundation, Inc.
14399 This config.status script is free software; the Free Software Foundation
14400 gives unlimited permission to copy, distribute and modify it."
14407 test -n "\$AWK" || AWK=awk
14410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14411 # The default lists apply if the user does not specify any file.
14417 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14418 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14422 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14434 # Handling of the options.
14435 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14437 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14438 $as_echo "$ac_cs_version"; exit ;;
14439 --config |
--confi |
--conf |
--con |
--co |
--c )
14440 $as_echo "$ac_cs_config"; exit ;;
14441 --debug |
--debu |
--deb |
--de |
--d |
-d )
14443 --file |
--fil |
--fi |
--f )
14446 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14447 '') as_fn_error $?
"missing file argument" ;;
14449 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14450 ac_need_defaults
=false
;;
14451 --header |
--heade |
--head |
--hea )
14454 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14456 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14457 ac_need_defaults
=false
;;
14459 # Conflict between --help and --header
14460 as_fn_error $?
"ambiguous option: \`$1'
14461 Try \`$0 --help' for more information.";;
14462 --help |
--hel |
-h )
14463 $as_echo "$ac_cs_usage"; exit ;;
14464 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14465 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14468 # This is an error.
14469 -*) as_fn_error $?
"unrecognized option: \`$1'
14470 Try \`$0 --help' for more information." ;;
14472 *) as_fn_append ac_config_targets
" $1"
14473 ac_need_defaults
=false
;;
14479 ac_configure_extra_args
=
14481 if $ac_cs_silent; then
14483 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14488 if \$ac_cs_recheck; then
14489 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14491 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14492 CONFIG_SHELL='$SHELL'
14493 export CONFIG_SHELL
14498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14502 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14503 ## Running $as_me. ##
14509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14513 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14514 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
14515 # from automake < 1.5.
14516 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14517 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14518 LINGUAS="${LINGUAS-%UNSET%}"
14523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14525 # Handling of arguments.
14526 for ac_config_target
in $ac_config_targets
14528 case $ac_config_target in
14529 "lib/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/config.h" ;;
14530 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
14531 "$outlist") CONFIG_FILES
="$CONFIG_FILES $outlist" ;;
14533 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14538 # If the user did not use the arguments to specify the items to instantiate,
14539 # then the envvar interface is used. Set only those that are not.
14540 # We use the long form for the default assignment because of an extremely
14541 # bizarre bug on SunOS 4.1.3.
14542 if $ac_need_defaults; then
14543 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14544 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14545 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14548 # Have a temporary directory for convenience. Make it in the build tree
14549 # simply because there is no reason against having it here, and in addition,
14550 # creating and moving files from /tmp can sometimes cause problems.
14551 # Hook for its removal unless debugging.
14552 # Note that there is a small window in which the directory will not be cleaned:
14553 # after its creation but before its name has been assigned to `$tmp'.
14557 trap 'exit_status=$?
14558 : "${ac_tmp:=$tmp}"
14559 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14561 trap 'as_fn_exit 1' 1 2 13 15
14563 # Create a (secure) tmp directory for tmp files.
14566 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14570 tmp
=.
/conf$$
-$RANDOM
14571 (umask 077 && mkdir
"$tmp")
14572 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14575 # Set up the scripts for CONFIG_FILES section.
14576 # No need to generate them if there are no CONFIG_FILES.
14577 # This happens for instance with `./config.status config.h'.
14578 if test -n "$CONFIG_FILES"; then
14580 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14581 ac_cs_awk_getline
=:
14582 ac_cs_awk_pipe_init
=
14583 ac_cs_awk_read_file
='
14584 while ((getline aline < (F[key])) > 0)
14587 ac_cs_awk_pipe_fini
=
14589 ac_cs_awk_getline
=false
14590 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14591 ac_cs_awk_read_file
='
14593 print "cat " F[key] " &&"
14594 '$ac_cs_awk_pipe_init
14595 # The final `:' finishes the AND list.
14596 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14598 ac_cr
=`echo X | tr X '\015'`
14599 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14600 # But we know of no other shell where ac_cr would be empty at this
14601 # point, so we can use a bashism as a fallback.
14602 if test "x$ac_cr" = x
; then
14603 eval ac_cr
=\$
\'\\r
\'
14605 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14606 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14609 ac_cs_awk_cr
=$ac_cr
14612 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14615 # Create commands to substitute file output variables.
14617 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14618 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
14619 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14622 } >conf$
$files.sh
&&
14623 . .
/conf$
$files.sh ||
14624 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
14625 rm -f conf$
$files.sh
14628 echo "cat >conf$$subs.awk <<_ACEOF" &&
14629 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14631 } >conf$$subs.sh ||
14632 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14633 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14635 for ac_last_try in false false false false false :; do
14636 . ./conf$$subs.sh ||
14637 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14639 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14640 if test $ac_delim_n = $ac_delim_num; then
14642 elif $ac_last_try; then
14643 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14645 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14648 rm -f conf$$subs.sh
14650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14651 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14655 s/^/S["/; s
/!.
*/"]=/
14665 s/\(.\{148\}\)..*/\1/
14667 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14672 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14679 s/\(.\{148\}\)..*/\1/
14681 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14685 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14690 ' <conf$$subs.awk | sed '
14695 ' >>$CONFIG_STATUS || ac_write_fail=1
14696 rm -f conf$$subs.awk
14697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14699 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14700 for (key in S) S_is_set[key] = 1
14702 \$ac_cs_awk_pipe_init
14706 nfields = split(line, field, "@
")
14708 len = length(field[1])
14709 for (i = 2; i < nfields; i++) {
14711 keylen = length(key)
14712 if (S_is_set[key]) {
14714 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14715 len += length(value) + length(field[++i])
14720 if (nfields == 3 && !substed) {
14722 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14723 \$ac_cs_awk_read_file
14729 \$ac_cs_awk_pipe_fini
14732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14733 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14734 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14737 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14738 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14741 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14742 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14743 # trailing colons and then remove the whole line if VPATH becomes empty
14744 # (actually we leave an empty line to preserve line numbers).
14745 if test "x
$srcdir" = x.; then
14746 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14765 fi # test -n "$CONFIG_FILES"
14767 # Set up the scripts for CONFIG_HEADERS section.
14768 # No need to generate them if there are no CONFIG_HEADERS.
14769 # This happens for instance with `./config.status Makefile'.
14770 if test -n "$CONFIG_HEADERS"; then
14771 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14775 # Transform confdefs.h into an awk script `defines.awk', embedded as
14776 # here-document in config.status, that substitutes the proper values into
14777 # config.h.in to produce config.h.
14779 # Create a delimiter string that does not exist in confdefs.h, to ease
14780 # handling of long lines.
14782 for ac_last_try in false false :; do
14783 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14784 if test -z "$ac_tt"; then
14786 elif $ac_last_try; then
14787 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14789 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14793 # For the awk script, D is an array of macro values keyed by name,
14794 # likewise P contains macro parameters if any. Preserve backslash
14795 # newline sequences.
14797 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14799 s/.\{148\}/&'"$ac_delim"'/g
14802 s/^[ ]*#[ ]*define[ ][ ]*/ /
14809 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14811 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14815 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14816 D["\
1"]=" \
3\\\\\\n
"\\/p
14818 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14823 s/.\{148\}/&'"$ac_delim"'/g
14828 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14831 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14833 ' <confdefs.h | sed '
14834 s/'"$ac_delim"'/"\\\
14835 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14838 for (key in D) D_is_set[key] = 1
14841 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14843 split(line, arg, " ")
14844 if (arg[1] == "#") {
14848 defundef
= substr
(arg
[1], 2)
14851 split(mac1
, mac2
, "(") #)
14853 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14854 if (D_is_set
[macro
]) {
14855 # Preserve the white space surrounding the "#".
14856 print prefix
"define", macro P
[macro
] D
[macro
]
14859 # Replace #undef with comments. This is necessary, for example,
14860 # in the case of _POSIX_SOURCE, which is predefined and required
14861 # on some systems where configure will not decide to define it.
14862 if (defundef
== "undef") {
14863 print
"/*", prefix defundef
, macro
, "*/"
14871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14872 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14873 fi # test -n "$CONFIG_HEADERS"
14876 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14881 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14883 case $ac_mode$ac_tag in
14885 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14886 :[FH
]-) ac_tag
=-:-;;
14887 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14904 -) ac_f
="$ac_tmp/stdin";;
14905 *) # Look for the file first in the build tree, then in the source tree
14906 # (if the path is not absolute). The absolute path cannot be DOS-style,
14907 # because $ac_f cannot contain `:'.
14911 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14913 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14915 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14916 as_fn_append ac_file_inputs
" '$ac_f'"
14919 # Let's still pretend it is `configure' which instantiates (i.e., don't
14920 # use $as_me), people would be surprised to read:
14921 # /* config.h. Generated by config.status. */
14922 configure_input
='Generated from '`
14923 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14925 if test x
"$ac_file" != x-
; then
14926 configure_input
="$ac_file. $configure_input"
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14928 $as_echo "$as_me: creating $ac_file" >&6;}
14930 # Neutralize special characters interpreted by sed in replacement strings.
14931 case $configure_input in #(
14932 *\
&* |
*\|
* |
*\\* )
14933 ac_sed_conf_input
=`$as_echo "$configure_input" |
14934 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14935 *) ac_sed_conf_input
=$configure_input;;
14939 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14940 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14945 ac_dir
=`$as_dirname -- "$ac_file" ||
14946 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14947 X"$ac_file" : 'X\(//\)[^/]' \| \
14948 X"$ac_file" : 'X\(//\)$' \| \
14949 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14950 $as_echo X"$ac_file" |
14951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14955 /^X\(\/\/\)[^/].*/{
14968 as_dir
="$ac_dir"; as_fn_mkdir_p
14972 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14974 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14975 # A ".." for each directory in $ac_dir_suffix.
14976 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14977 case $ac_top_builddir_sub in
14978 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14979 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14982 ac_abs_top_builddir
=$ac_pwd
14983 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14984 # for backward compatibility:
14985 ac_top_builddir
=$ac_top_build_prefix
14988 .
) # We are building in place.
14990 ac_top_srcdir
=$ac_top_builddir_sub
14991 ac_abs_top_srcdir
=$ac_pwd ;;
14992 [\\/]* | ?
:[\\/]* ) # Absolute name.
14993 ac_srcdir
=$srcdir$ac_dir_suffix;
14994 ac_top_srcdir
=$srcdir
14995 ac_abs_top_srcdir
=$srcdir ;;
14996 *) # Relative name.
14997 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14998 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14999 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15001 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15011 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15012 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15014 ac_MKDIR_P
=$MKDIR_P
15016 [\\/$
]* | ?
:[\\/]* ) ;;
15017 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15022 # If the template does not know about datarootdir, expand it.
15023 # FIXME: This hack should be removed a few years after 2.60.
15024 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15035 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15036 *datarootdir
*) ac_datarootdir_seen
=yes;;
15037 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15039 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15042 ac_datarootdir_hack='
15043 s&@datadir@&$datadir&g
15044 s&@docdir@&$docdir&g
15045 s&@infodir@&$infodir&g
15046 s&@localedir@&$localedir&g
15047 s&@mandir@&$mandir&g
15048 s&\\\${datarootdir}&$datarootdir&g' ;;
15052 # Neutralize VPATH when `$srcdir' = `.'.
15053 # Shell code in configure.ac might set extrasub.
15054 # FIXME: do we really want to maintain this feature?
15055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15056 ac_sed_extra="$ac_vpsub
15059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15061 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15062 s|@configure_input@|
$ac_sed_conf_input|
;t t
15063 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15064 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15065 s
&@srcdir@
&$ac_srcdir&;t t
15066 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15067 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15068 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15069 s
&@builddir@
&$ac_builddir&;t t
15070 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15071 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15072 s
&@INSTALL@
&$ac_INSTALL&;t t
15073 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15074 $ac_datarootdir_hack
15076 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15077 if $ac_cs_awk_getline; then
15078 $AWK -f "$ac_tmp/subs.
awk"
15080 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
15082 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15084 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15085 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15086 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15087 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15089 which seems to be undefined. Please make sure it is defined" >&5
15090 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15091 which seems to be undefined. Please make sure it is defined" >&2;}
15093 rm -f "$ac_tmp/stdin"
15095 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15096 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15098 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15104 if test x"$ac_file" != x-; then
15106 $as_echo "/* $configure_input */" \
15107 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15108 } >"$ac_tmp/config.h" \
15109 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15110 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15112 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15115 mv "$ac_tmp/config.h" "$ac_file" \
15116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15119 $as_echo "/* $configure_input */" \
15120 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15121 || as_fn_error $? "could not create -" "$LINENO" 5
15125 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15126 $as_echo "$as_me: executing $ac_file commands" >&6;}
15131 case $ac_file$ac_mode in
15132 "po-directories":C)
15133 for ac_file in $CONFIG_FILES; do
15134 # Support "outfile[:infile[:infile...]]"
15136 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
15138 # PO directories have a Makefile.in generated from Makefile.in.in.
15139 case "$ac_file" in */Makefile.in)
15140 # Adjust a relative srcdir.
15141 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
15142 ac_dir_suffix=/`echo "$ac_dir"|sed 's
%^\.
/%%'`
15143 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
15144 # In autoconf-2.13 it is called $ac_given_srcdir.
15145 # In autoconf-2.50 it is called $srcdir.
15146 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
15147 case "$ac_given_srcdir" in
15148 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
15149 /*) top_srcdir="$ac_given_srcdir" ;;
15150 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
15152 # Treat a directory as a PO directory if and only if it has a
15153 # POTFILES.in file. This allows packages to have multiple PO
15154 # directories under different names or in different locations.
15155 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15156 rm -f "$ac_dir/POTFILES"
15157 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
15158 gt_tab=`printf '\t'`
15159 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15160 POMAKEFILEDEPS="POTFILES.in"
15161 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
15162 # on $ac_dir but don't depend on user-specified configuration
15164 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15165 # The LINGUAS file contains the set of available languages.
15166 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15167 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
15169 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15170 # Hide the ALL_LINGUAS assignment from automake < 1.5.
15171 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15172 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
15174 # The set of available languages was given in configure.in.
15175 # Hide the ALL_LINGUAS assignment from automake < 1.5.
15176 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15179 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
15180 # Compute UPDATEPOFILES
15181 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
15182 # Compute DUMMYPOFILES
15183 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
15185 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
15186 case "$ac_given_srcdir" in
15188 *) srcdirpre
='$(srcdir)/' ;;
15194 for lang
in $ALL_LINGUAS; do
15195 POFILES
="$POFILES $srcdirpre$lang.po"
15196 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15197 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15198 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15200 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15201 # environment variable.
15203 if test -n "$ALL_LINGUAS"; then
15204 for presentlang
in $ALL_LINGUAS; do
15206 if test "%UNSET%" != "$LINGUAS"; then
15207 desiredlanguages
="$LINGUAS"
15209 desiredlanguages
="$ALL_LINGUAS"
15211 for desiredlang
in $desiredlanguages; do
15212 # Use the presentlang catalog if desiredlang is
15213 # a. equal to presentlang, or
15214 # b. a variant of presentlang (because in this case,
15215 # presentlang can be used as a fallback for messages
15216 # which are not translated in the desiredlang catalog).
15217 case "$desiredlang" in
15218 "$presentlang"*) useit
=yes;;
15221 if test $useit = yes; then
15222 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15227 if test -n "$INST_LINGUAS"; then
15228 for lang
in $INST_LINGUAS; do
15229 CATALOGS
="$CATALOGS $lang.gmo"
15232 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15233 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
15234 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15235 if test -f "$f"; then
15237 *.orig |
*.bak |
*~
) ;;
15238 *) cat "$f" >> "$ac_dir/Makefile" ;;
15253 ac_clean_files
=$ac_clean_files_save
15255 test $ac_write_fail = 0 ||
15256 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15259 # configure is writing to config.log, and then calls config.status.
15260 # config.status does its own redirection, appending to config.log.
15261 # Unfortunately, on DOS this fails, as config.log is still kept open
15262 # by configure, so config.status won't be able to write to it; its
15263 # output is simply discarded. So we exec the FD to /dev/null,
15264 # effectively closing config.log, so it can be properly (re)opened and
15265 # appended to by config.status. When coming back to configure, we
15266 # need to make the FD available again.
15267 if test "$no_create" != yes; then
15269 ac_config_status_args
=
15270 test "$silent" = yes &&
15271 ac_config_status_args
="$ac_config_status_args --quiet"
15273 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15275 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15276 # would make configure fail if this is the last instruction.
15277 $ac_cs_success || as_fn_exit
1
15279 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15281 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15284 if test -f util
/gen-tarball
; then chmod +x util
/gen-tarball
; fi